1 2014-06-25 Will Newton <will.newton@linaro.org>
3 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4 comment changes throughout the file. Remove checks
5 for HAVE_*_H definitions that are not required.
6 (__gen_tempname): Call abort if an unknown kind value is
9 2014-06-25 Andreas Schwab <schwab@suse.de>
12 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13 scalbln, scalblnf, scalblnl in libc.
15 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22 2014-06-24 Roland McGrath <roland@hack.frob.com>
24 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
27 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
34 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
35 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37 * sysdeps/x86/bits/pthreadtypes.h: ... here.
38 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
39 * sysdeps/x86/bits/semaphore.h: ... here.
40 * sysdeps/x86/nptl/elide.h: Moved ...
41 * sysdeps/x86/elide.h: ... here.
42 * sysdeps/x86_64/nptl/Implies: File removed.
43 * sysdeps/i386/nptl/Implies: File removed.
45 2014-06-24 Joseph Myers <joseph@codesourcery.com>
48 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49 return the argument for normal arguments with exponent below -64.
50 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52 * math/auto-libm-test-in: Add another test of expm1.
53 * math/auto-libm-test-out: Regenerated.
56 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
57 calling __erfcl for arguments at least 16.
58 * math/auto-libm-test-in: Add more tests of erf.
59 * math/auto-libm-test-out: Regenerated.
61 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
62 individual architectures.
63 * sysdeps/unix/sysv/linux/configure: Regenerated.
64 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
65 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
66 * sysdeps/unix/sysv/linux/powerpc/configure.ac
67 (ldd_rewrite_script): Define variable.
68 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
71 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
73 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
74 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
75 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
76 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
77 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
78 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
79 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
80 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
82 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
85 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
86 Rename member __data.d to __data.__elision_data.
88 2014-06-24 Wilco <wdijkstr@arm.com>
90 * NEWS: Add 16918 to fixed bug list.
92 2014-06-24 Wilco <wdijkstr@arm.com>
94 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
96 2014-06-24 Wilco <wdijkstr@arm.com>
98 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
99 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
100 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
101 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
102 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
103 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
104 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
107 2014-06-24 Wilco <wdijkstr@arm.com>
109 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
111 2014-06-24 Wilco <wdijkstr@arm.com>
113 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
114 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
115 * sysdeps/arm/fesetround.c (fesetround): Remove space.
116 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
118 2014-06-24 Wilco <wdijkstr@arm.com>
121 * sysdeps/arm/feupdateenv.c (feupdateenv):
122 Rewrite to reduce FPSCR accesses and fix return value.
124 2014-06-24 Wilco <wdijkstr@arm.com>
126 * sysdeps/arm/fclrexcpt.c (feclearexcept):
127 Optimize to avoid unnecessary FPSCR writes.
128 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
129 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
130 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
131 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
133 2014-06-24 Wilco <wdijkstr@arm.com>
135 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
136 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
137 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
138 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
139 Call libc_fetestexcept_vfp.
140 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
141 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
142 __SOFTFP__ ifdef so that they can be built for softfp.
144 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
146 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
147 argument type signed char.
149 * Makerules (check-abi): Dump diff of symlist if the test
152 2014-06-23 Roland McGrath <roland@hack.frob.com>
154 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
157 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
158 Remove unused variable ST.
160 2014-06-23 Joseph Myers <joseph@codesourcery.com>
164 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
165 small arguments before calling __expm1.
166 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
167 small arguments before calling __expm1f.
168 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
169 small arguments before calling __expm1l.
170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
172 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
173 * math/auto-libm-test-in: Add more cosh tests. Do not allow
174 spurious underflow for some cosh tests.
175 * math/auto-libm-test-out: Regenerated.
176 * sysdeps/i386/fpu/libm-test-ulps: Update.
179 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
180 (__ieee754_y1): Set errno if return value overflows.
181 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
182 (__ieee754_y1f): Set errno if return value overflows.
183 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
184 (__ieee754_y1l): Set errno if return value overflows.
185 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
186 (__ieee754_y1l): Set errno if return value overflows.
187 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
188 * math/auto-libm-test-out: Regenerated.
190 * math/gen-auto-libm-tests.c: Document use of
191 ignore-zero-inf-sign.
192 (input_flag_type): Add value flag_ignore_zero_inf_sign.
193 (input_flags): Add ignore-zero-inf-sign.
194 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
195 * math/gen-libm-test.pl (generate_testfile): Handle
196 ignore-zero-inf-sign.
197 * math/auto-libm-test-in: Mark some cpow tests with
198 ignore-zero-inf-sign and some with xfail-rounding.
199 * math/auto-libm-test-out: Regenerated.
200 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
201 * sysdeps/i386/fpu/libm-test-ulps: Update.
202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
205 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
206 overflowing or underflowing operations take place with sign of
208 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
209 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
210 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
211 (__ieee754_pow): Recompute overflowing and underflowing results in
212 original rounding mode.
213 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
214 (__powl_helper): Allow negative argument X and scale negated value
215 as needed. Avoid passing value outside [-1, 1] to f2xm1.
216 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
217 overflowing or underflowing operations take place with sign of
219 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
221 * math/auto-libm-test-in: Add more tests of pow.
222 * math/auto-libm-test-out: Regenerated.
223 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
224 (pow_tonearest_test_data): Remove.
225 (pow_test_tonearest): Likewise.
226 (pow_towardzero_test_data): Likewise.
227 (pow_test_towardzero): Likewise.
228 (pow_downward_test_data): Likewise.
229 (pow_test_downward): Likewise.
230 (pow_upward_test_data): Likewise.
231 (pow_test_upward): Likewise.
232 (main): Don't call removed functions.
233 * sysdeps/i386/fpu/libm-test-ulps: Update.
234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
236 2014-06-23 Roland McGrath <roland@hack.frob.com>
238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
412 2014-06-23 Will Newton <will.newton@linaro.org>
413 Wilco <wdijkstr@arm.com>
415 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
416 implementation. Include get-rounding-mode.h.
417 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
418 [!libc_feholdsetround_noex_ctx]: Define
419 libc_feholdsetround_noex_ctx.
420 [!libc_feholdsetround_noexf_ctx]: Define
421 libc_feholdsetround_noexf_ctx.
422 [!libc_feholdsetround_noexl_ctx]: Define
423 libc_feholdsetround_noexl_ctx.
424 (libc_feholdsetround_ctx): New function.
425 (libc_feresetround_ctx): New function.
426 (libc_feholdsetround_noex_ctx): New function.
427 (libc_feresetround_noex_ctx): New function.
429 2014-06-23 Roland McGrath <roland@hack.frob.com>
431 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
432 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
433 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
434 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
435 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
436 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
438 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
439 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
440 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
441 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
442 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
443 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
444 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
445 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
446 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
447 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
448 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
450 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
452 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
453 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
454 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
455 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
456 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
458 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
459 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
460 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
461 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
462 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
463 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
464 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
465 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
467 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
468 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
470 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
471 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
472 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
473 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
475 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
476 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
477 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
478 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
479 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
480 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
481 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
482 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
483 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
484 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
486 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
488 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
489 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
490 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
491 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
492 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
493 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
494 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
495 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
496 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
497 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
498 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
499 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
500 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
502 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
503 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
504 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
505 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
506 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
507 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
509 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
510 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
511 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
512 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
513 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
515 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
516 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
517 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
518 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
519 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
520 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
521 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
522 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
523 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
524 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
525 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
526 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
527 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
528 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
529 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
530 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
531 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
532 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
533 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
534 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
535 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
536 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
537 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
538 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
539 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
540 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
541 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
542 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
544 2014-06-23 Joseph Myers <joseph@codesourcery.com>
546 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
547 (FALLOC_FL_COLLAPSE_RANGE): New macro.
548 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
549 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
550 (IPV6_PMTUDISC_INTERFACE): Likewise.
551 (IPV6_PMTUDISC_OMIT): Likewise.
553 2014-06-23 Andreas Schwab <schwab@suse.de>
555 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
556 Remove unused errout label.
558 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
560 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
561 macro: hardware supports Vector Crypto instructions.
563 2014-06-23 Will Newton <will.newton@linaro.org>
565 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
566 rather than __builtin_expect.
568 * elf/dl-lookup.c (undefined_msg): Remove variable.
569 (_dl_lookup_symbol_x): Replace undefined_msg with string
572 * elf/dl-lookup.c (do_lookup_unique): New function.
573 (do_lookup_x): Move STB_GNU_UNIQUE handling code
574 to a separate function.
576 2014-06-23 Andreas Schwab <schwab@suse.de>
579 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
580 before reading the next line.
582 2014-06-23 Will Newton <will.newton@linaro.org>
584 * test-skeleton.c (signal_handler): Use printf and %m
585 rather than perror. Use printf rather than fprintf to
586 stderr. Use puts rather than fputs to stderr.
589 2014-06-22 Ludovic Courtès <ludo@gnu.org>
591 * nscd/nscd.c (thread_info_t): Remove typedef.
592 (thread_info): Remove variable.
594 2014-06-21 Allan McRae <allan@archlinux.org>
596 * NEWS: Mention CVE-2014-4043.
598 2014-06-20 Roland McGrath <roland@hack.frob.com>
600 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
601 * nptl/smp.h: ... here.
603 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
605 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
606 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
607 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
608 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
610 * nptl/allocatestack.c: Include <stack-aliasing.h>.
611 * nptl/stack-aliasing.h: New file.
612 * sysdeps/i386/i686/stack-aliasing.h: New file.
613 * sysdeps/i386/i686/nptl/Makefile: File removed.
614 * sysdeps/x86_64/stack-aliasing.h: New file.
615 * sysdeps/x86_64/nptl/Makefile
616 (CFLAGS-pthread_create.c): Variable removed.
618 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
619 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
621 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
622 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
625 2014-06-21 Joseph Myers <joseph@codesourcery.com>
627 * sysdeps/unix/sysv/linux/arm/kernel-features.h
628 (__ASSUME_SIGFRAME_V2): Remove macro.
629 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
630 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
631 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
632 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
633 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
634 Declare as function. Remove conditional macro definitions.
635 (__default_rt_sa_restorer): Likewise.
636 (__default_sa_restorer_v1): Remove declaration.
637 (__default_sa_restorer_v2): Likewise.
638 (__default_rt_sa_restorer_v1): Likewise.
639 (__default_rt_sa_restorer_v2): Likewise.
640 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
641 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
642 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
644 2014-06-20 Roland McGrath <roland@hack.frob.com>
646 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
647 (libpthread-routines): Add sysdep.
648 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
649 * sysdeps/unix/sysv/linux/sparc/Versions
650 (libpthread: GLIBC_2.3.3): New version set.
651 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
652 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
653 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
654 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
655 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
656 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
658 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
659 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
660 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
661 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
662 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
663 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
664 * sysdeps/sparc/nptl/sem_init.c: ... here.
665 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
666 * sysdeps/sparc/nptl/sem_post.c: ... here.
667 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
668 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
669 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
670 * sysdeps/sparc/nptl/sem_wait.c: ... here.
671 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
672 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
673 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
674 (libpthread-routines): Add cpu_relax.
675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
677 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
678 (librt: GLIBC_2.3.3): New version set.
679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
680 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
681 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
682 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
685 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
688 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
690 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
692 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
694 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
696 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
699 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
701 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
703 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
707 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
709 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
711 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
715 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
719 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
722 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
726 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
727 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
728 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
730 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
733 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
735 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
737 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
739 2014-06-20 Joseph Myers <joseph@codesourcery.com>
741 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
742 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
743 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
744 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
745 * nscd/nscd.c: Likewise.
746 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
747 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
748 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
749 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
751 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
753 (init_mq_netlink): Remove conditional have_sock_cloexec
754 definitions. Remove code conditional on have_sock_cloexec < 0.
755 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
756 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
757 * sysdeps/unix/sysv/linux/opensock.c: Do not include
759 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
760 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
762 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
764 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
765 Add tests for memset_chk and memset.
767 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
770 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
773 * elf/tst-dl-iter-static.c: New file.
774 * elf/Makefile (tests-static): Add tst-dl-iter-static.
776 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
779 2014-06-20 Joseph Myers <joseph@codesourcery.com>
781 * sysdeps/unix/sysv/linux/kernel-features.h
782 (__ASSUME_F_GETOWN_EX): Remove macro.
783 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
785 (miss_F_GETOWN_EX): Remove variable or macro.
786 (do_fcntl): Do not check miss_F_GETOWN_EX.
787 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
789 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
792 [!__ASSUME_AT_RANDOM]: Remove conditional code.
793 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
795 * sysdeps/unix/sysv/linux/kernel-features.h
796 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
797 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
798 [ADJ_OFFSET_SS_READ]: Make code unconditional.
799 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
801 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
804 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
805 Fix calculation of the symbol's value.
806 * sysdeps/arm/tst-armtlsdescloc.c: New file.
807 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
808 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
809 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
810 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
811 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
812 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
813 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
814 (modules-names): Add `tst-armtlsdescmod',
815 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
816 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
817 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
818 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
819 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
820 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
821 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
822 ($(objpfx)tst-armtlsdescloc): New dependency.
823 ($(objpfx)tst-armtlsdescextnow): Likewise.
824 ($(objpfx)tst-armtlsdescextlazy): Likewise.
825 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
827 * sysdeps/arm/configure: Regenerate.
829 2014-06-20 Joseph Myers <joseph@codesourcery.com>
831 * include/fcntl.h (__atfct_seterrno): Remove prototype.
832 (__atfct_seterrno_2): Likewise.
833 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
835 (__ASSUME_ATFCTS): Do not undefine and redefine.
836 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
837 (__have_atfcts): Remove conditional definition.
838 (__fxstatat([__NR_fstatat64]: Make code unconditional.
839 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
840 unreachable if [__ASSUME_ATFCTS].
841 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
842 not undefine and redefine.
843 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
845 (faccessat) [__NR_faccessat]: Make code unconditional.
846 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
847 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
849 (fchmodat) [__NR_fchmodat]: Make code unconditional.
850 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
851 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
853 (fchownat) [__NR_fchownat]: Make code unconditional.
854 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
855 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
857 (futimesat) [__NR_futimesat]: Make code unconditional.
858 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
859 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
861 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
862 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
863 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
865 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
866 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
867 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
868 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
870 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
871 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
872 * sysdeps/unix/sysv/linux/linkat.c: Do not include
874 (linkat) [__NR_linkat]: Make code unconditional.
875 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
876 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
877 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
879 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
880 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
881 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
883 (mkdirat) [__NR_mkdirat]: Make code unconditional.
884 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
885 * sysdeps/unix/sysv/linux/openat.c: Do not include
887 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
888 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
889 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
890 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
891 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
892 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
894 (readlinkat) [__NR_readlinkat]: Make code unconditional.
895 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
896 result of INLINE_SYSCALL directly, not via int variable.
897 * sysdeps/unix/sysv/linux/renameat.c: Do not include
899 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
900 (renameat) [__NR_renameat]: Make code unconditional.
901 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
902 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
903 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
904 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
905 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
906 (__ASSUME_ATFCTS): Do not undefine and redefine.
907 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
909 (symlinkat) [__NR_symlinkat]: Make code unconditional.
910 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
911 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
913 (unlinkat) [__NR_unlinkat]: Make code unconditional.
914 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
915 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
916 (__ASSUME_ATFCTS): Do not undefine and redefine.
917 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
919 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
920 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
921 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
923 (__xmknodat) [__NR_mknodat]: Make code unconditional.
924 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
926 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
928 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
930 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
933 * posix/regcomp.c (parse_reg_exp): Deallocate partially
934 constructed tree before returning error.
935 * posix/bug-regexp36.c: Expand test case.
937 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
940 * math/libm-test.inc (scalbln_test_date):
941 Add errno expectations.
942 * math/w_scalblnf.c: New File.
943 Add wrapper which checks for setting errno to ERANGE.
944 Add weak_alias for corresponding scalbln function.
945 * math/w_scalbln.c: Likewise.
946 * math/w_scalblnl.c: Likewise.
947 * math/Makefile (libm-calls): Add w_scalbln.
948 * sysdeps/ieee754/flt-32/s_scalblnf.c:
949 Remove weak_alias for corresponding scalbln function.
950 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
951 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
952 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
953 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
954 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
955 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
956 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
957 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
958 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
959 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
960 Remove long_double_symbol for scalblnl function in libm, libc.
961 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
962 Add wrapper which checks for setting errno to ERANGE.
963 Add long_double_symbol for scalblnl function in libm, libc.
964 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
965 Remove long_double_symbol for scalblnl in libm.
966 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
967 Add wrapper which checks for setting errno to ERANGE.
968 Add long_double_symbol for scalblnl function in libm.
969 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
970 Do not use wrapper because of own implementation.
972 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
974 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
975 3 bytes for __pad1 for x32.
976 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
978 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
979 H.J. Lu <hongjiu.lu@intel.com>
981 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
982 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
983 * sysdeps/x86_64/multiarch/memset.S: Likewise.
984 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
985 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
987 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
990 * posix/regcomp.c (parse_expression): Deallocate partially
991 constructed tree before returning error.
992 * posix/Makefile.c (tests): Add bug-regex36.
993 (generated): Add bug-regex36.mtrace.
994 (tests-special): Add $(objpfx)bug-regex36-mem.out
995 (bug-regex36-ENV): New variable.
996 ($(objpfx)bug-regex36-mem.out): New rule.
997 * posix/bug-regex36.c: New file.
999 2014-06-19 Will Newton <will.newton@linaro.org>
1001 * malloc/malloc.c (systrim): If extra is zero then return
1004 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1006 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1008 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1010 * sysdeps/aarch64/strchr.S: New file.
1012 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1015 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1016 from arguments -2 or below.
1017 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1018 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1020 2014-06-18 Andreas Schwab <schwab@suse.de>
1023 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1024 of a bracket expr not to run off the end of the string.
1025 * posix/Makefile (tests): Add tst-fnmatch3.
1026 * posix/tst-fnmatch3.c: New file.
1028 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1030 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1031 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1032 [$(cross-compiling) = no]: Likewise.
1033 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1034 [$(cross-compiling) = no]: Likewise.
1036 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1039 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1040 double, adjusted for any remainder from the high double.
1041 * math/libm-test.inc (nearbyint): Add tests.
1044 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1046 * nptl/sysdeps/powerpc/Makefile: Moved ...
1047 * sysdeps/powerpc/nptl/Makefile: ... here.
1048 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1049 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1050 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1051 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1052 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1053 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1054 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1055 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1056 * nptl/sysdeps/powerpc/tls.h: Moved ...
1057 * sysdeps/powerpc/nptl/tls.h: ... here.
1059 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1062 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1063 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1064 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1065 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1066 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1067 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1068 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1069 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1070 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1072 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1074 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1076 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1078 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1081 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1084 2014-06-16 Florian Weimer <fweimer@redhat.com>
1087 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1088 non-executed part of the test.
1090 2014-06-16 Andreas Schwab <schwab@suse.de>
1092 * string/bits/string2.h (strdup, strndup): Update feature guard.
1094 2014-06-14 David S. Miller <davem@davemloft.net>
1096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1098 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1100 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1101 that was previously under [RESET_PID].
1102 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1104 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1105 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1106 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1107 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1108 (__libc_vfork): New strong alias.
1109 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1111 2014-06-14 Andi Kleen <ak@linux.intel.com>
1113 * sysdeps/generic/elide.h: New file.
1115 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1117 * Makefile (installed-headers): Adjust path of pthread.h header.
1119 2014-06-13 Roland McGrath <roland@hack.frob.com>
1121 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1122 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1123 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1124 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1126 * nptl/sysdeps/s390/Makefile: Moved ...
1127 * sysdeps/s390/nptl/Makefile: ... here.
1128 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1129 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1130 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1131 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1132 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1133 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1134 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1135 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1136 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1137 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1138 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1139 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1140 * nptl/sysdeps/s390/tls.h: Moved ...
1141 * sysdeps/s390/nptl/tls.h: ... here.
1143 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1144 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1146 2014-06-13 David S. Miller <davem@davemloft.net>
1148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1151 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1155 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1156 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1157 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1158 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1159 Remove RESET_PID cpp guards.
1160 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1161 Remove RESET_PID cpp guards.
1162 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1164 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1166 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1169 2014-06-13 Andi Kleen <ak@linux.intel.com>
1171 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1172 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1173 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1174 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1175 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1176 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1177 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1178 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1179 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1180 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1181 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1182 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1183 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1184 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1185 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1186 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1187 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1188 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1189 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1190 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1192 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1193 (pthread_rwlock_rdlock): Add elision.
1194 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1195 (pthread_rwlock_wrlock): Add elision.
1196 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1197 (pthread_rwlock_trywrlock): Add elision.
1198 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1199 (pthread_rwlock_tryrdlock): Add elision.
1200 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1201 (pthread_rwlock_tryrdlock): Add elision unlock.
1202 * nptl/sysdeps/pthread/pthread.h:
1203 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1204 (PTHREAD_RWLOCK_INITIALIZER,
1205 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1206 Handle new elision field.
1207 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1208 * sysdeps/arm/nptl/bits/pthreadtypes.h
1209 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1210 * sysdeps/sh/nptl/bits/pthreadtypes.h
1211 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1212 * sysdeps/tile/nptl/bits/pthreadtypes.h
1213 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1214 * sysdeps/a/nptl/bits/pthreadtypes.h
1215 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1216 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1217 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1218 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1219 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1220 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1221 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1222 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1223 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1224 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1225 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1226 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1227 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1228 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1229 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1230 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1231 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1232 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1233 (elision_init): Set try_xbegin to zero when no RTM.
1234 * sysdeps/x86/nptl/bits/pthreadtypes.h
1235 (pthread_rwlock_t): Change __pad1 to __rwelision.
1236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1238 2014-06-13 Andi Kleen <ak@linux.intel.com>
1240 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1241 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1242 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1243 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1245 2014-06-13 Meador Inge <meadori@codesourcery.com>
1248 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1249 that the cached result has been set before returning it.
1251 2014-06-12 Roland McGrath <roland@hack.frob.com>
1253 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1254 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1255 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1256 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1257 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1258 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1260 * nptl/sysdeps/sparc/Makefile: Moved ...
1261 * sysdeps/sparc/nptl/Makefile: ... here.
1262 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1263 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1264 * nptl/sysdeps/sparc/tls.h: Moved ...
1265 * sysdeps/sparc/nptl/tls.h: ... here.
1266 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1267 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1268 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1269 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1270 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1271 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1272 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1273 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1274 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1275 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1276 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1277 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1278 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1279 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1280 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1281 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1282 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1283 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1285 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1286 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1288 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1289 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1291 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1292 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1295 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1297 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1298 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1300 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1301 (struct list_links): Type removed.
1302 (struct thread_node, struct timer_node): Replace struct list_links
1303 with struct list_head.
1304 (list_unlink_ip): Likewise.
1305 * sysdeps/pthread/timer_routines.c
1306 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1307 (list_append, list_insbefore): Likewise.
1308 (list_init): Function removed.
1309 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1310 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1311 * sysdeps/pthread/Makefile: ... here, new file.
1313 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1314 * sysdeps/nptl/Implies: ... here.
1315 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1316 * nptl/sysdeps/pthread/list.h: Moved ...
1317 * include/list.h: ... here.
1318 * nptl/sysdeps/pthread/createthread.c: Moved ...
1319 * nptl/createthread.c: ... here.
1320 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1321 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1322 * nptl/pt-longjmp.c: ... here.
1323 * nptl/sysdeps/pthread/Makefile: Moved ...
1324 * sysdeps/nptl/Makefile: ... here.
1325 * nptl/sysdeps/pthread/Subdirs: Moved ...
1326 * sysdeps/nptl/Subdirs: ... here.
1327 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1328 * sysdeps/nptl/aio_misc.h: ... here.
1329 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1330 * sysdeps/nptl/bits/libc-lock.h: ... here.
1331 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1332 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1333 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1334 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1335 * nptl/sysdeps/pthread/configure: Moved ...
1336 * sysdeps/nptl/configure: ... here.
1337 * nptl/sysdeps/pthread/configure.ac: Moved ...
1338 * sysdeps/nptl/configure.ac: ... here.
1339 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1340 * sysdeps/nptl/gai_misc.h: ... here.
1341 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1342 * sysdeps/nptl/librt-cancellation.c: ... here.
1343 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1344 * sysdeps/nptl/malloc-machine.h: ... here.
1345 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1346 * sysdeps/nptl/pthread-functions.h: ... here.
1347 * nptl/sysdeps/pthread/pthread.h: Moved ...
1348 * sysdeps/nptl/pthread.h: ... here.
1349 * nptl/sysdeps/pthread/setxid.h: Moved ...
1350 * sysdeps/nptl/setxid.h: ... here.
1351 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1352 * sysdeps/nptl/sigfillset.c: ... here.
1353 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1354 * sysdeps/nptl/tcb-offsets.h: ... here.
1355 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1356 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1357 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1358 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1359 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1360 * sysdeps/pthread/allocalim.h: ... here.
1361 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1362 * sysdeps/pthread/bits/sigthread.h: ... here.
1363 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1364 * sysdeps/pthread/flockfile.c: ... here.
1365 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1366 * sysdeps/pthread/ftrylockfile.c: ... here.
1367 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1368 * sysdeps/pthread/funlockfile.c: ... here.
1369 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1370 * sysdeps/pthread/posix-timer.h: ... here.
1371 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1372 * sysdeps/pthread/timer_create.c: ... here.
1373 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1374 * sysdeps/pthread/timer_delete.c: ... here.
1375 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1376 * sysdeps/pthread/timer_getoverr.c: ... here.
1377 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1378 * sysdeps/pthread/timer_gettime.c: ... here.
1379 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1380 * sysdeps/pthread/timer_routines.c: ... here.
1381 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1382 * sysdeps/pthread/timer_settime.c: ... here.
1383 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1384 * sysdeps/pthread/tst-timer.c: ... here.
1385 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1386 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1388 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1389 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1391 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1392 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1393 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1394 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1395 Update #include target.
1396 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1397 * sysdeps/i386/i686/nptl/Makefile: ... here.
1398 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1399 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1400 Update #include target.
1401 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1402 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1403 * nptl/sysdeps/i386/Makefile: Moved ...
1404 * sysdeps/i386/nptl/Makefile: ... here.
1405 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1406 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1407 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1408 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1409 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1410 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1411 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1412 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1413 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1414 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1415 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1416 * nptl/sysdeps/i386/tls.h: Moved ...
1417 * sysdeps/i386/nptl/tls.h: ... here.
1419 * sysdeps/sh/Makefile [$(subdir) = csu]
1420 (gen-as-const-headers): Add tcb-offsets.sym.
1421 * nptl/sysdeps/sh/Makefile: File removed.
1422 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1423 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1424 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1425 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1426 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1427 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1428 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1429 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1430 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1431 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1432 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1433 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1434 * nptl/sysdeps/sh/tls.h: Moved ...
1435 * sysdeps/sh/nptl/tls.h: ... here.
1436 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1437 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1438 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1439 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1440 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1441 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1442 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1443 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1444 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1445 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1446 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1447 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1448 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1449 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1450 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1451 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1452 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1453 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1454 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1455 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1456 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1457 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1458 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1459 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1460 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1462 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1463 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1465 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1466 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1467 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1468 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1469 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1470 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1471 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1472 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1473 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1474 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1475 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1476 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1477 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1478 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1479 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1480 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1481 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1482 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1483 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1485 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1487 * posix/spawn_faction_addopen.c: Include string.h.
1489 2014-06-11 Roland McGrath <roland@hack.frob.com>
1491 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1492 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1493 * nptl/sysdeps/x86_64/Makefile: Moved ...
1494 * sysdeps/x86_64/nptl/Makefile: ... here.
1495 * nptl/sysdeps/x86_64/configure: Moved ...
1496 * sysdeps/x86_64/nptl/configure: ... here.
1497 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1498 * sysdeps/x86_64/nptl/configure.ac: ... here.
1499 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1500 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1501 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1502 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1503 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1504 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1505 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1506 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1507 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1508 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1509 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1510 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1511 * nptl/sysdeps/x86_64/tls.h: Moved ...
1512 * sysdeps/x86_64/nptl/tls.h: ... here.
1513 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1514 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1515 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1516 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1518 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1520 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1524 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1526 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1528 [POSIX] (off_t): Likewise.
1529 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1530 [POSIX] (S_ISBLK): Require macro.
1531 [POSIX] (S_ISCHR): Likewise.
1532 [POSIX] (S_ISDIR): Likewise.
1533 [POSIX] (S_ISFIFO): Likewise.
1534 [POSIX] (S_ISREG): Likewise.
1535 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1537 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1539 [POSIX] (time_t): Likewise.
1540 [POSIX] (timer_t): Likewise.
1542 2014-06-11 Florian Weimer <fweimer@redhat.com>
1545 * posix/spawn_int.h (struct __spawn_action): Make the path string
1546 non-const to support deallocation.
1547 * posix/spawn_faction_addopen.c
1548 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1549 * posix/spawn_faction_destroy.c
1550 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1551 path in all spawn_do_open actions.
1552 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1553 posix_spawn_file_actions_addopen.
1555 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1557 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1558 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1559 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1560 conditional code always true.
1561 (__libc_vfork): New alias.
1563 2014-06-11 Roland McGrath <roland@hack.frob.com>
1565 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1566 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1568 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1570 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1571 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1573 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1574 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1576 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1577 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1579 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1581 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1582 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1583 multiarch strcmp for PPC64.
1584 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1585 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1587 multiarch optimizations.
1588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1589 (__libc_ifunc_impl_list): Likewise.
1591 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1593 * benchtests/scripts/validate_benchout.py: New script.
1594 * benchtests/Makefile (bench-func): Call it.
1595 * benchtests/scripts/benchout.schema.json: New file.
1597 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1599 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1600 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1601 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1602 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1603 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1604 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1605 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1606 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1607 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1608 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1609 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1610 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1611 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1612 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1613 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1614 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1718 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1719 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1720 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1721 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1722 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1724 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1726 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1727 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1728 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1729 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1730 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1731 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1732 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1733 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1735 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1736 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1737 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1738 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1740 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1741 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1743 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1744 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1745 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1746 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1748 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1749 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1750 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1751 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1752 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1753 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1754 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1756 2014-06-10 Wilco <wdijkstr@arm.com>
1758 * math/test-fenv-return.c: New file.
1759 * math/Makefile: Add new test test-fenv-return.
1761 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1764 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1766 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1767 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1768 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1769 0.0L for an argument of 1.0L.
1770 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1772 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1773 value when x - 1 is zero.
1774 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1775 * sysdeps/i386/fpu/libm-test-ulps: Update.
1776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1778 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1781 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1783 2014-06-09 Roland McGrath <roland@hack.frob.com>
1785 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1786 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1788 2014-06-09 Roland McGrath <roland@hack.frob.com>
1790 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1791 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1793 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1794 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1796 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1797 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1799 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1800 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1802 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1803 if not already defined.
1804 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1805 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1806 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1807 (TLS_INIT_TP): Use it.
1808 (TLS_DEFINE_INIT_TP): New macro.
1809 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1811 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1813 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1815 [POSIX] (IXANY): Likewise.
1816 [POSIX] (OLCUC): Likewise.
1817 [POSIX || POSIX2008] (CBAUD): Do not allow.
1818 [POSIX || POSIX2008] (DEFECHO): Likewise.
1819 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1820 [POSIX || POSIX2008] (ECHOKE): Likewise.
1821 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1822 [POSIX || POSIX2008] (EXTA): Likewise.
1823 [POSIX || POSIX2008] (EXTB): Likewise.
1824 [POSIX || POSIX2008] (FLUSHO): Likewise.
1825 [POSIX || POSIX2008] (LOBLK): Likewise.
1826 [POSIX || POSIX2008] (PENDIN): Likewise.
1827 [POSIX || POSIX2008] (SWTCH): Likewise.
1828 [POSIX || POSIX2008] (VDISCARD): Likewise.
1829 [POSIX || POSIX2008] (VDSUSP): Likewise.
1830 [POSIX || POSIX2008] (VLNEXT): Likewise.
1831 [POSIX || POSIX2008] (VREPRINT): Likewise.
1832 [POSIX || POSIX2008] (VSTATUS): Likewise.
1833 [POSIX || POSIX2008] (VWERASE): Likewise.
1834 (B*): Change to B[0123456789]*.
1835 * conform/data/time.h-data [POSIX || UNIX98]
1836 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1837 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1838 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1839 [POSIX] (tm_*): Do not allow.
1841 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1843 * Makefile (install): Don't set LANGUAGE.
1844 * Makefile.in (install): Likewise.
1845 * assert/Makefile (test-assert-ENV): Remove variable.
1846 (test-assert-perr-ENV): Likewise.
1847 * elf/Makefile (neededtest4-ENV): Likewise.
1848 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1849 [$(cross-compiling) = no]: Don't set LANGUAGE.
1850 * io/ftwtest-sh (LANG): Remove variable.
1851 * libio/Makefile (tst-widetext-ENV): Likewise.
1852 * manual/install.texi (Running make install): Don't refer to
1853 environment settings for make install.
1854 * INSTALL: Regenerated.
1855 * nptl/tst-tls6.sh: Don't set LANG.
1856 * posix/globtest.sh (LANG): Remove variable.
1857 * string/Makefile (tester-ENV): Likewise.
1858 (inl-tester-ENV): Likewise.
1859 (noinl-tester-ENV): Likewise.
1860 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1861 [$(cross-compiling) = no]: Don't set LANGUAGE.
1862 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1863 without explicit environment settings.
1865 2014-06-06 Roland McGrath <roland@hack.frob.com>
1867 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1868 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1869 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1870 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1872 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1874 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1875 other files in the crypt directory.
1876 * crypt/crypt.c: Remove duplicate includes.
1877 * crypt/crypt-entry.c: Likewise.
1878 * crypt/crypt_util.c: Likewise.
1880 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1882 * Makeconfig (run-program-env): New variable.
1883 (run-program-prefix-before-env): Likewise.
1884 (run-program-prefix-after-env): Likewise.
1885 (run-program-prefix): Define in terms of new variables.
1886 (built-program-cmd-before-env): New variable.
1887 (built-program-cmd-after-env): Likewise.
1888 (built-program-cmd): Define in terms of new variables.
1889 (test-program-prefix-before-env): New variable.
1890 (test-program-prefix-after-env): Likewise.
1891 (test-program-prefix): Define in terms of new variables.
1892 (test-program-cmd-before-env): New variable.
1893 (test-program-cmd-after-env): Likewise.
1894 (test-program-cmd): Define in terms of new variables.
1895 * Rules (make-test-out): Use $(run-program-env).
1896 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1897 (help): Do not mention environment variables. Mention
1898 --timeoutfactor option.
1899 (timeoutfactor): New variable.
1900 (blacklist_exports): Remove function.
1901 (exports): Remove variable.
1902 (command): Do not include ${exports}.
1903 * manual/install.texi (Configuring and compiling): Do not mention
1904 test wrappers preserving environment variables. Mention that last
1905 assignment to a variable must take precedence.
1906 * INSTALL: Regenerated.
1907 * benchtests/Makefile (run-bench): Use $(run-program-env).
1908 * catgets/Makefile ($(objpfx)test1.cat): Use
1909 $(built-program-cmd-before-env), $(run-program-env) and
1910 $(built-program-cmd-after-env).
1911 ($(objpfx)test2.cat): Do not specify environment variables
1913 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1914 $(run-program-env) and $(built-program-cmd-after-env).
1915 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1916 $(run-program-env) and $(test-program-cmd-after-env).
1917 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1919 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1920 run_program_env and test_program_cmd_after_env arguments.
1921 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1922 * elf/tst-pathopt.sh: Use run_program_env argument.
1923 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1924 $(test-wrapper-env) and $(run-program-env).
1925 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1926 run_program_env arguments.
1927 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1928 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1929 $(test-program-prefix-before-env), $(run-program-env) and
1930 $(test-program-prefix-after-env).
1931 ($(objpfx)tst-gettext2.out): Likewise.
1932 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1933 run_program_env and test_program_prefix_after_env arguments.
1934 * intl/tst-gettext2.sh: Likewise.
1935 * intl/tst-gettext4.sh: Do not set environment variables
1937 * intl/tst-gettext6.sh: Likewise.
1938 * intl/tst-translit.sh: Likewise.
1939 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1940 $(test-program-prefix-before-env), $(run-program-env) and
1941 $(test-program-prefix-after-env).
1942 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1943 run_program_env and test_program_prefix_after_env arguments.
1944 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1945 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1946 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1947 explicitly with each use of ${test_wrapper_env}.
1948 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1949 $(test-program-prefix-before-env), $(run-program-env) and
1950 $(test-program-prefix-after-env).
1951 * posix/tst-getconf.sh: Do not set environment variables
1953 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1954 run_program_env and test_program_prefix_after_env arguments.
1955 * stdio-common/tst-printf.sh: Do not set environment variables
1957 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1958 $(test-program-prefix-before-env), $(run-program-env) and
1959 $(test-program-prefix-after-env).
1960 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1961 run_program_env and test_program_prefix_after_env arguments.
1962 Split $test calls into $test_pre and $test.
1963 * timezone/Makefile (build-testdata): Use
1964 $(built-program-cmd-before-env), $(run-program-env) and
1965 $(built-program-cmd-after-env).
1967 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1969 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1970 strlen for non SHARED builds.
1972 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1974 * nptl/allocatestack.c (check_list): Inlined function...
1975 (__reclaim_stacks): ... here.
1977 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1980 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1983 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1985 * Rules (make-test-out): Include
1986 LOCPATH=$(common-objpfx)localedata in default environment.
1987 * debug/Makefile (tst-chk1-ENV): Remove variable.
1988 (tst-chk2-ENV): Likewise.
1989 (tst-chk3-ENV): Likewise.
1990 (tst-chk4-ENV): Likewise.
1991 (tst-chk5-ENV): Likewise.
1992 (tst-chk6-ENV): Likewise.
1993 (tst-lfschk1-ENV): Likewise.
1994 (tst-lfschk2-ENV): Likewise.
1995 (tst-lfschk3-ENV): Likewise.
1996 (tst-lfschk4-ENV): Likewise.
1997 (tst-lfschk5-ENV): Likewise.
1998 (tst-lfschk6-ENV): Likewise.
1999 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2000 (tst-iconv7-ENV): Likewise.
2001 * intl/Makefile (LOCPATH-ENV): Likewise.
2002 (tst-codeset-ENV): Likewise.
2003 (tst-gettext3-ENV): Likewise.
2004 (tst-gettext5-ENV): Likewise.
2005 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2006 (tst-fopenloc-ENV): Likewise.
2007 (tst-fgetws-ENV): Remove variable.
2008 (tst-ungetwc1-ENV): Likewise.
2009 (tst-ungetwc2-ENV): Likewise.
2010 (bug-ungetwc2-ENV): Likewise.
2011 (tst-swscanf-ENV): Likewise.
2012 (bug-ftell-ENV): Likewise.
2013 (tst-fgetwc-ENV): Likewise.
2014 (tst-fseek-ENV): Likewise.
2015 (tst-ftell-partial-wide-ENV): Likewise.
2016 (tst-ftell-active-handler-ENV): Likewise.
2017 (tst-ftell-append-ENV): Likewise.
2018 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2019 (tst-regexloc-ENV): Likewise.
2020 (bug-regex1-ENV): Likewise.
2021 (tst-regex-ENV): Likewise.
2022 (tst-regex2-ENV): Likewise.
2023 (bug-regex5-ENV): Likewise.
2024 (bug-regex6-ENV): Likewise.
2025 (bug-regex17-ENV): Likewise.
2026 (bug-regex18-ENV): Likewise.
2027 (bug-regex19-ENV): Likewise.
2028 (bug-regex20-ENV): Likewise.
2029 (bug-regex22-ENV): Likewise.
2030 (bug-regex23-ENV): Likewise.
2031 (bug-regex25-ENV): Likewise.
2032 (bug-regex26-ENV): Likewise.
2033 (bug-regex30-ENV): Likewise.
2034 (bug-regex32-ENV): Likewise.
2035 (bug-regex33-ENV): Likewise.
2036 (bug-regex34-ENV): Likewise.
2037 (bug-regex35-ENV): Likewise.
2038 (tst-rxspencer-ENV): Likewise.
2039 (tst-rxspencer-no-utf8-ENV): Likewise.
2040 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2041 (tst-sscanf-ENV): Likewise.
2042 (tst-swprintf-ENV): Likewise.
2043 (tst-swscanf-ENV): Likewise.
2044 (test-vfprintf-ENV): Likewise.
2045 (scanf13-ENV): Likewise.
2046 (bug14-ENV): Likewise.
2047 (tst-grouping-ENV): Likewise.
2048 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2049 (tst-strtod3-ENV): Likewise.
2050 (tst-strtod4-ENV): Likewise.
2051 (tst-strtod5-ENV): Likewise.
2052 (testmb2-ENV): Likewise./
2053 * string/Makefile (tst-strxfrm-ENV): Likewise.
2054 (tst-strxfrm2-ENV): Likewise.
2055 (bug-strcoll1-ENV): Likewise.
2056 (test-strcasecmp-ENV): Likewise.
2057 (test-strncasecmp-ENV): Likewise.
2058 * time/Makefile (tst-strptime-ENV): Likewise.
2059 (tst-ftime_l-ENV): Likewise.
2060 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2061 (tst-mbrtowc-ENV): Likewise.
2062 (tst-wcrtomb-ENV): Likewise.
2063 (tst-mbrtowc2-ENV): Likewise.
2064 (tst-c16c32-1-ENV): Likewise.
2065 (tst-mbsnrtowcs-ENV): Likewise.
2067 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2069 * manual/resource.texi (How to get information about the memory
2070 subsystem?): Fix typo.
2071 Reported by Peon de la Parra Ivan <peon@keba.com>
2073 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2076 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2077 (pthread_spin_lock): Branch out of spin loop to proper location.
2078 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2079 (pthread_spin_lock): Likewise.
2081 * nptl/tst-spin4.c: New test.
2082 * nptl/Makefile (tests): Add tst-spin4.
2084 2014-06-03 Andreas Schwab <schwab@suse.de>
2087 * resolv/res_send.c (send_dg): Reload file descriptor after
2090 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2092 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2094 2014-06-03 Richard Henderson <rth@redhat.com>
2096 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2097 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2098 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2099 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2100 in the SAVE_PID block.
2101 (__libc_vfork): New alias.
2102 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2104 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2105 child in registers, not on the stack. Remove RESET_PID conditionals.
2106 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2108 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2110 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2112 2014-06-03 Wilco <wdijkstr@arm.com>
2114 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2115 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2116 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2117 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2118 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2121 2014-06-03 Wilco <wdijkstr@arm.com>
2123 * sysdeps/aarch64/fpu/math_private.h
2124 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2125 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2126 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2127 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2130 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2132 * crypt/crypt-private.h: Include ufc-crypt.h.
2133 (__b64_from_24bit): Declare extern.
2134 * crypt/crypt_util.c(__b64_from_24bit): New function.
2135 (b64t): New static const variable.
2136 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2137 (b64t): Remove variable.
2138 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2139 * crypt/sha256-crypt.c: Include crypt-private.h.
2140 (b64t): Remove variable.
2141 (__sha256_crypt_r): Remove b64_from_24bit and replace
2142 with __b64_from_24bit.
2143 * crypt/sha512-crypt.c: Likewise.
2145 2014-06-02 Roland McGrath <roland@hack.frob.com>
2147 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2148 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2149 Label the code __libc_vfork rather than __vfork.
2150 [!NOT_IN_libc] (vfork): Define as weak alias.
2151 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2152 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2153 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2155 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2157 * malloc/malloc.c (malloc_info): Fix format specifier for
2160 2014-06-02 Wilco <wdijkstr@arm.com>
2162 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2165 2014-06-02 Wilco <wdijkstr@arm.com>
2168 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2169 Rewrite to reduce FPCR/FPSR accesses.
2171 2014-06-01 David S. Miller <davem@davemloft.net>
2173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2175 2014-05-31 David S. Miller <davem@davemloft.net>
2177 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2178 to occur in round to nearest mode when |x| >= 2.0
2180 2014-05-30 Richard Henderson <rth@twiddle.net>
2182 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2183 (PSEUDO_RET_NOERRNO): Remove.
2184 (ret): Don't redefine.
2185 (ret_NOERRNO): Define in terms of ret.
2186 (ret_ERRVAL): Likewise.
2188 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2189 use of PSEUDO_RET; perform the error check directly.
2191 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2193 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2196 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2198 * malloc/malloc (malloc_info): Fix formatting.
2200 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2201 Roland McGrath <roland@hack.frob.com>
2203 * malloc/malloc (malloc_info): Also print mmapped statistics.
2205 2014-05-30 Roland McGrath <roland@hack.frob.com>
2207 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2208 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2210 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2212 * malloc/malloc.c (malloc_info): Inline mi_arena.
2214 2014-05-29 Richard Henderson <rth@twiddle.net>
2216 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2217 Remove comma before expanding ASM_ARGS_##nr.
2218 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2219 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2221 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2222 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2223 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2224 (ASM_ARGS_1): Add leading comma.
2226 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2227 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2228 to __errno_location.
2229 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2230 Remove the expected plt for __errno_location.
2232 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2233 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2236 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2237 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2238 it and break it down.
2239 (DOCARGS_0, DOCARGS_1): Do nothing.
2240 (DOCARGS_2): Update to store into the new stack frame.
2241 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2242 (UNDOCARGS_1): Update to restore from the new stack frame.
2243 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2244 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2246 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2247 (SINGLE_THREAD_P): New parameter for result regno.
2248 (PSEUDO): Update to match; use cbz instead of beq.
2250 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2251 Use ENTRY to define the _nocancel entry point. Share the syscall
2252 and syscall error check paths with the cancel path.
2255 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2256 whitespace; tabs before and after asm mnemonics.
2258 2014-05-29 Eric Wong <normalperson@yhbt.net>
2261 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2262 Call fstat64 or stat64 internally, depending on arguments passed.
2263 Replace stat buffer argument with file descriptor argument.
2264 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2265 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2266 Pass fd to __internal_statvfs instead of calling fstat64.
2267 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2268 Pass fd to __internal_statvfs64 instead of calling fstat64.
2269 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2270 Pass -1 to __internal_statvfs instead of calling stat64.
2271 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2272 Pass -1 to __internal_statvfs64 instead of calling stat64.
2274 2014-05-28 Roland McGrath <roland@hack.frob.com>
2276 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2277 that was previously under [RESET_PID].
2278 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2280 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2281 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2283 2014-05-27 Roland McGrath <roland@hack.frob.com>
2285 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2287 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2288 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2290 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2292 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2294 2014-05-27 Andreas Schwab <schwab@suse.de>
2296 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2298 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2299 * elf/rtld.c (init_tls, dl_main): Likewise.
2300 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2301 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2302 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2303 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2304 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2305 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2306 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2307 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2308 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2309 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2310 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2311 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2312 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2313 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2314 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2315 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2316 * sysdeps/generic/tls.h: Update description.
2318 2014-05-27 Will Newton <will.newton@linaro.org>
2321 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2322 and restore r2 rather than just restoring.
2324 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2327 * libio/tst-ftell-append.c: New test case.
2328 * libio/Makefile (tests): Add test case.
2329 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2331 * libio/wfileops.c (do_ftell_wide): Likewise.
2333 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2337 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2341 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2342 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2343 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2344 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2345 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2346 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2347 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2350 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2353 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2354 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2355 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2356 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2357 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2359 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2360 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2362 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2364 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2366 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2367 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2368 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2370 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2371 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2372 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2373 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2375 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2378 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2381 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2391 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2396 conditional [RESET_PID].
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2400 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2405 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2406 (__libc_vfork): New strong alias.
2407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2409 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2414 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2415 (__libc_vfork): New strong alias.
2416 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2418 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2421 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2423 * malloc/malloc.c (mi_arena): New function.
2424 (malloc_info): Remove nested function mi_arena. Call non-nosted
2427 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2429 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2431 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2432 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2433 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2434 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2435 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2436 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2437 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2439 2014-05-26 Andreas Schwab <schwab@suse.de>
2442 * locale/programs/repertoire.c (repertoire_read): Add slash
2443 between I18NPATH element and file name.
2444 * locale/programs/locfile.c (locfile_read): Likewise.
2446 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2448 * nptl/pthread_mutexattr_settype.c
2449 (__pthread_mutexattr_settype):
2450 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2452 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2454 * nptl/tst-mutex5 (do_test):
2455 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2457 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2459 * benchtests/README: Document 'init' directive.
2460 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2462 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2463 (parse_file): Recognize 'init' directive.
2465 2014-05-26 Kyle McMartin <kyle@redhat.com>
2468 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2469 alignment of struct pthread.
2471 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2474 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2475 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2476 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2477 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2479 2014-05-25 Richard Henderson <rth@twiddle.net>
2481 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2482 (SINGLE_THREAD_P_PIC): Remove.
2483 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2484 (SINGLE_THREAD_P_PIC): Remove.
2486 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2487 branch to syscall error ...
2489 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2490 from __local_syscall_error to .Lsyscall_error.
2491 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2492 (SYSCALL_ERROR): Update label name.
2494 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2495 Do not use DOARGS/UNDOARGS.
2496 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2497 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2498 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2499 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2500 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2502 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2505 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2506 define if !NOT_IN_libc.
2507 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2508 define with non-default symbol versions.
2510 2014-05-23 Richard Henderson <rth@twiddle.net>
2512 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2513 (vfork, __vfork): Define via compat_symbol.
2515 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2516 [!HAVE_IFUNC] (vfork_compat): Remove.
2517 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2519 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2522 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2523 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2526 2014-05-23 Richard Henderson <rth@twiddle.net>
2528 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2529 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2530 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2531 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2533 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2534 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2535 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2536 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2537 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2538 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2539 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2540 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2541 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2542 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2543 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2544 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2545 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2546 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2548 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2549 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2550 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2551 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2552 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2553 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2554 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2555 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2556 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2557 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2558 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2559 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2560 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2561 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2562 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2563 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2564 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2565 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2566 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2567 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2568 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2569 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2570 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2571 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2572 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2573 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2574 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2575 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2576 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2577 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2578 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2579 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2580 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2581 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2582 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2583 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2584 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2585 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2586 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2587 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2588 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2590 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2591 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2592 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2593 before exiting on error.
2594 (__libc_vfork): New strong alias.
2595 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2596 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2598 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2599 that was previously under [RESET_PID].
2600 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2602 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2604 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2607 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2608 value when x - 1 is zero.
2609 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2610 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2611 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2612 0.0L for an argument of 1.0L.
2613 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2615 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2616 value when x - 1 is zero.
2617 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2618 * sysdeps/i386/fpu/libm-test-ulps: Update.
2619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2621 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2623 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2624 alphasort and versionsort.
2626 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2628 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2630 [copysignf]: Likewise.
2632 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2634 * crypt/md5-crypt.c: Fix formatting.
2636 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2638 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2639 (b64_from_24bit): New function.
2641 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2643 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2644 libc_hidden_builtin_def to ifunc.
2645 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2646 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2648 2014-05-21 Roland McGrath <roland@hack.frob.com>
2650 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2651 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2653 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2655 * nscd/Depend (linuxthreads): Remove.
2657 * resolv/Depend (linuxthreads): Remove.
2658 * rt/Depend (linuxthreads): Remove.
2660 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2661 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2662 $(common-objpfx)elf/.
2663 (link-libc-before-gnulib): Likewise.
2664 (elfobjdir): Remove variable.
2665 * Makefile (install): Use $(elf-objpfx) instead of
2666 $(common-objpfx)elf/.
2667 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2669 (link-libc-deps): Likewise.
2670 ($(common-objpfx)libc.so): Likewise.
2671 ($(common-objpfx)linkobj/libc.so): Likewise.
2672 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2673 instead of $(common-objpfx)elf/.
2674 (symbolic-link-list): Likewise.
2675 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2676 [$(cross-compiling) = no]: Likewise.
2677 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2679 (static-gnulib-arch): Likewise.
2680 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2681 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2682 $(common-objpfx)elf/.
2684 2014-05-21 Richard Henderson <rth@redhat.com>
2686 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2687 (SINGLE_THREAD_P): Use the correct width load. Fold
2688 into the ldr offset.
2690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2691 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2693 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2695 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2696 (libgcc_s_resume): Use __attribute_used__.
2697 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2700 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2702 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2703 optimization when used with float constants.
2705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2707 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2710 * locale/nl_langinfo_l.c: Make direct reference to every
2711 _nl_current_CATEGORY symbol.
2712 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2713 (tests-static): Add tst-langinfo-static.
2714 (tests-special): Add tst-langinfo-static.out.
2715 ($(objpfx)tst-langinfo.out): Redirect output.
2716 ($(objpfx)tst-langinfo-static.out): New.
2717 * localedata/tst-langinfo.sh: Send output to stdout.
2718 * localedata/tst-langinfo-static.c: New file.
2721 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2722 when the shift amount is modulo the limb size.
2724 2014-05-20 Richard Henderson <rth@redhat.com>
2727 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2728 Change type of sa_flags from unsigned int to int.
2731 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2733 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2735 2014-05-20 Will Newton <will.newton@linaro.org>
2737 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2738 Test the return value of the system call in the nocancel case.
2740 2014-05-20 Will Newton <will.newton@linaro.org>
2741 Yvan Roux <yvan.roux@linaro.org>
2743 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2744 #include of asm/ptrace.h.
2745 (PTRACE_GET_THREAD_AREA): Remove #undef.
2746 (PTRACE_GETHBPREGS): Likewise.
2747 (PTRACE_SETHBPREGS): Likewise.
2748 (struct user_regs_struct): New structure.
2749 (struct user_fpsimd_struct): New structure.
2750 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2751 #include of asm/ptrace.h and second #include of sys/user.h.
2752 (PTRACE_GET_THREAD_AREA): Remove #undef.
2753 (PTRACE_GETHBPREGS): Likewise.
2754 (PTRACE_SETHBPREGS): Likewise.
2755 (ELF_NGREG): Use new struct user_regs_struct.
2756 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2758 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2760 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2761 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2763 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2766 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2767 membar to avoid block loads/stores to overlap previous stores.
2769 2014-05-17 Richard Henderson <rth@redhat.com>
2771 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2772 Create the __##syscall_name##_nocancel entry point.
2773 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2774 Remove; let the sysdep-cancel.h code create it.
2776 2014-05-17 David S. Miller <davem@davemloft.net>
2778 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2779 Protect with __USE_GNU.
2780 (TIOCSET_TEMPT): Likewise.
2781 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2782 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2783 these are already provided in bits/ioctl-types.h
2785 2014-05-16 Roland McGrath <roland@hack.frob.com>
2787 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2788 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2790 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2791 Use wait4 regardless of [__NR_waitpid].
2793 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2796 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2797 (_FP_NANSIGN_Q): Set the quiet bit.
2799 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2801 * benchtests/Makefile
2802 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2803 not $(common-objpfx)math/libm.so.
2804 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2805 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2806 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2807 $(common-objpfx)dlfcn/libdl.so.
2808 ($(objpfx)tst-audit8): Depend on $(libm), not
2809 $(common-objpfx)math/libm.so.
2810 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2811 not $(common-objpfx)dlfcn/libdl.so.
2813 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2814 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2815 [$(build-shared) = yes].
2816 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2817 $(common-objpfx)nptl/libpthread.so.
2818 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2819 $(common-objpfx)math/libm.so$(libm.so-version) or
2820 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2821 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2822 $(common-objpfx)dlfcn/libdl.so.
2823 * setjmp/Makefile (link-libm): Remove variable.
2824 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2825 * stdio-common/Makefile (link-libm): Remove variable.
2826 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2827 * stdlib/Makefile (link-libm): Remove variable.
2828 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2829 ($(objpfx)tst-strtod-round): Likewise.
2830 ($(objpfx)tst-tininess): Likewise.
2831 ($(objpfx)tst-strtod-underflow): Likewise.
2832 ($(objpfx)tst-strtod6): Likewise.
2833 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2834 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2835 $(common-objpfx)dlfcn/libdl.so.
2837 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2839 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2840 BSD terminal modes definitions.
2842 2014-05-16 Roland McGrath <roland@hack.frob.com>
2844 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2845 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2847 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2848 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2849 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2850 Don't do #include_next.
2851 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2852 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2853 Don't do #include_next.
2854 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2855 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2856 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2857 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2859 2014-05-16 Allan McRae <allan@archlinux.org>
2861 * po/sv.po: Update Swedish translation from translation project.
2863 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2866 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2869 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2870 errno if the TIOCGPTN ioctl fails with an error different than
2872 * login/tst-ptsname.c: New file.
2873 * login/Makefile (tests): Add tst-ptsname.
2876 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2879 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2883 herrno to return EAI_AGAIN.
2885 2014-05-14 Roland McGrath <roland@hack.frob.com>
2887 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2888 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2889 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2890 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2891 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2892 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2893 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2894 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2895 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2896 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2897 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2898 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2899 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2900 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2901 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2902 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2903 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2904 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2905 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2906 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2907 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2908 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2910 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2911 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2912 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2913 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2914 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2915 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2916 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2918 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2920 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2923 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2925 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2927 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2929 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2931 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2933 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2935 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2937 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2939 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2941 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2943 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2945 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2947 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2949 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2952 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2954 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2956 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2958 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2960 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2962 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2966 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2968 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2970 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2973 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2977 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2978 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2979 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2980 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2981 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2982 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2983 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2984 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2985 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2986 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2987 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2988 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2989 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2990 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2991 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2992 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2993 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2994 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2995 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2996 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2997 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2998 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2999 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3000 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3001 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3002 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3003 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3004 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3005 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3006 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3007 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3009 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3010 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3012 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3013 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3014 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3015 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3016 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3017 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3019 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3020 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3022 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3023 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3025 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3026 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3028 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3029 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3030 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3031 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3033 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3034 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3035 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3037 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3038 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3039 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3040 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3042 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3043 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3045 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3047 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3048 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3049 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3050 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3051 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3053 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3055 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3057 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3058 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3059 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3060 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3061 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3062 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3064 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3067 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3068 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3070 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3073 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3074 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3075 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3076 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3078 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3080 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3081 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3082 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3083 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3084 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3085 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3087 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3088 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3090 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3092 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3093 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3094 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3095 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3096 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3098 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3100 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3102 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3104 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3105 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3106 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3108 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3110 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3111 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3113 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3114 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3116 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3117 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3119 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3120 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3122 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3123 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3124 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3125 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3126 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3127 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3129 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3130 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3131 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3132 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3133 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3134 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3135 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3136 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3138 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3139 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3141 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3143 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3144 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3145 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3146 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3147 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3149 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3151 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3153 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3154 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3155 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3156 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3157 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3158 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3159 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3160 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3161 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3162 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3163 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3165 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3166 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3168 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3169 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3171 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3172 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3173 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3174 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3175 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3177 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3179 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3180 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3181 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3182 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3183 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3184 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3185 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3186 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3187 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3188 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3190 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3192 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3195 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3196 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3197 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3198 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3199 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3200 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3201 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3202 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3204 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3205 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3207 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3208 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3209 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3210 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3211 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3212 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3213 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3214 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3215 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3216 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3217 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3218 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3219 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3220 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3221 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3222 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3223 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3225 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3226 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3227 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3228 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3229 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3231 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3232 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3233 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3234 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3235 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3236 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3237 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3238 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3239 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3240 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3242 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3243 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3245 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3246 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3248 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3249 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3250 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3251 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3252 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3253 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3254 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3255 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3256 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3257 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3258 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3263 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3265 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3267 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3275 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3279 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3280 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3281 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3282 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3283 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3284 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3285 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3286 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3287 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3288 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3289 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3290 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3291 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3292 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3293 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3295 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3296 that was previously under [RESET_PID].
3297 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3298 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3299 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3301 * sysdeps/i386/nptl/Implies: New file.
3302 * sysdeps/x86_64/nptl/Implies: New file.
3303 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3304 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3305 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3306 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3308 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3309 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3310 (__libc_vfork): New strong alias.
3311 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3312 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3314 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3315 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3316 (__libc_vfork): New strong alias.
3317 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3318 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3320 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3321 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3322 (__libc_vfork): New strong alias.
3323 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3324 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3325 * nptl/pt-vfork.c: New file.
3326 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3327 (libpthread: GLIBC_2.20): New version set (empty).
3329 2014-05-14 Will Newton <will.newton@linaro.org>
3331 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3334 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3337 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3338 arguments with exponent 65 or above.
3339 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3340 arguments 0x1p113L or above.
3341 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3342 to arguments 0x1p107L or above.
3343 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3344 positive arguments with exponent 65 or above.
3345 * math/auto-libm-test-in: Add more tests of log1p.
3346 * math/auto-libm-test-out: Regenerated.
3349 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3350 non-finite arguments is +0.
3351 * math/s_cacosf.c (__cacosf): Likewise.
3352 * math/s_cacosl.c (__cacosl): Likewise.
3353 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3354 * sysdeps/i386/fpu/libm-test-ulps: Update.
3355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3358 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3360 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3361 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3362 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3363 for explicit high bit of mantissa when testing for argument equal
3365 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3366 * sysdeps/i386/fpu/libm-test-ulps: Update.
3367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3370 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3371 (__erf): Scale by 16 instead of 8 in potentially underflowing
3372 case. Ensure exception if result actually underflows.
3373 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3374 (__erff): Scale by 16 instead of 8 in potentially underflowing
3375 case. Ensure exception if result actually underflows.
3376 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3377 (efx8): Remove variable.
3378 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3379 case. Ensure exception if result actually underflows.
3380 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3381 (efx8): Remove variable.
3382 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3383 case. Ensure exception if result actually underflows.
3384 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3385 (efx8): Remove variable.
3386 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3387 case. Ensure exception if result actually underflows.
3388 * math/auto-libm-test-in: Add more tests of erf.
3389 * math/auto-libm-test-out: Regenerated.
3391 2014-05-14 Andreas Schwab <schwab@suse.de>
3393 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3394 Remove code conditionalized on USE___THREAD.
3396 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3397 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3400 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3402 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3403 Define unconditionally.
3404 (__ASSUME_O_CLOEXEC): Likewise.
3405 (__ASSUME_SOCK_CLOEXEC): Likewise.
3406 (__ASSUME_IN_NONBLOCK): Likewise.
3407 (__ASSUME_PIPE2): Likewise.
3408 (__ASSUME_EVENTFD2): Likewise.
3409 (__ASSUME_SIGNALFD4): Likewise.
3410 (__ASSUME_DUP3): Likewise.
3411 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3412 (__ASSUME_DUP3): Do not define.
3413 (__ASSUME_EVENTFD2): Likewise.
3414 (__ASSUME_IN_NONBLOCK): Likewise.
3415 (__ASSUME_O_CLOEXEC): Likewise.
3416 (__ASSUME_PIPE2): Likewise.
3417 (__ASSUME_SIGNALFD4): Likewise.
3418 (__ASSUME_SOCK_CLOEXEC): Likewise.
3419 (__ASSUME_UTIMES): Undefine.
3420 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3421 (__ASSUME_UTIMES): Do not define.
3422 (__ASSUME_O_CLOEXEC): Likewise.
3423 (__ASSUME_SOCK_CLOEXEC): Likewise.
3424 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3425 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3427 (__ASSUME_PIPE2): Likewise.
3428 (__ASSUME_EVENTFD2): Likewise.
3429 (__ASSUME_SIGNALFD4): Likewise.
3430 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3431 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3433 (__ASSUME_EVENTFD2): Likewise.
3434 (__ASSUME_SIGNALFD4): Likewise.
3435 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3436 (__ASSUME_32BITUIDS): Likewise.
3437 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3438 (__ASSUME_IPC64): Likewise.
3439 (__ASSUME_ST_INO_64_BIT): Likewise.
3440 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3441 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3442 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3443 (__ASSUME_UTIMES): Do not define.
3444 (__ASSUME_PSELECT): Likewise.
3445 (__ASSUME_PPOLL): Likewise.
3446 (__ASSUME_O_CLOEXEC): Likewise.
3447 (__ASSUME_SOCK_CLOEXEC): Likewise.
3448 (__ASSUME_IN_NONBLOCK): Likewise.
3449 (__ASSUME_PIPE2): Likewise.
3450 (__ASSUME_EVENTFD2): Likewise.
3451 (__ASSUME_SIGNALFD4): Likewise.
3452 (__ASSUME_DUP3): Likewise.
3453 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3454 (__ASSUME_UTIMES): Likewise.
3455 (__ASSUME_O_CLOEXEC): Likewise.
3456 (__ASSUME_SOCK_CLOEXEC): Likewise.
3457 (__ASSUME_IN_NONBLOCK): Likewise.
3458 (__ASSUME_PIPE2): Likewise.
3459 (__ASSUME_EVENTFD2): Likewise.
3460 (__ASSUME_SIGNALFD4): Likewise.
3461 (__ASSUME_DUP3): Likewise.
3462 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3463 (__ASSUME_UTIMES): Likewise.
3464 (__ASSUME_O_CLOEXEC): Likewise.
3465 (__ASSUME_SOCK_CLOEXEC): Likewise.
3466 (__ASSUME_IN_NONBLOCK): Likewise.
3467 (__ASSUME_PIPE2): Likewise.
3468 (__ASSUME_EVENTFD2): Likewise.
3469 (__ASSUME_SIGNALFD4): Likewise.
3470 (__ASSUME_DUP3): Likewise.
3471 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3473 (__ASSUME_UTIMES): Likewise.
3474 (__ASSUME_EVENTFD2): Likewise.
3475 (__ASSUME_SIGNALFD4): Likewise.
3476 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3477 (__ASSUME_O_CLOEXEC): Likewise.
3478 (__ASSUME_SOCK_CLOEXEC): Likewise.
3479 (__ASSUME_IN_NONBLOCK): Likewise.
3480 (__ASSUME_PIPE2): Likewise.
3481 (__ASSUME_EVENTFD2): Likewise.
3482 (__ASSUME_SIGNALFD4): Likewise.
3483 (__ASSUME_DUP3): Likewise.
3484 (__ASSUME_UTIMES): Undefine.
3486 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3487 feclearexcept. Remove symbol versioning code.
3488 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3489 symbol versioning code.
3490 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3491 symbol versioning code.
3492 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3493 feupdateenv. Remove symbol versioning code.
3494 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3495 fegetexceptflag. Remove symbol versioning code.
3496 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3497 fesetexceptflag. Remove symbol versioning code.
3498 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3499 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3500 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3501 (__posix_fadvise64_l32): Remove prototype.
3502 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3505 2014-05-13 Roland McGrath <roland@hack.frob.com>
3507 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3508 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3509 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3510 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3512 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3514 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3515 current working directory
3517 2014-05-13 Roland McGrath <roland@hack.frob.com>
3519 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3520 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3521 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3522 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3523 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3524 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3525 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3526 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3527 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3528 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3529 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3530 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3531 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3532 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3533 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3534 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3535 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3536 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3537 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3538 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3539 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3540 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3541 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3542 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3543 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3544 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3545 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3546 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3547 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3548 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3549 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3550 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3551 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3552 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3553 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3554 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3555 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3556 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3557 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3558 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3559 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3560 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3562 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3563 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3565 * sysdeps/unix/sysv/linux/arm/Makefile
3566 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3567 Add rt-aeabi_unwind_cpp_pr1.
3568 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3569 Add nptl-aeabi_unwind_cpp_pr1.
3570 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3571 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3572 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3573 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3574 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3575 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3577 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3578 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3579 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3580 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3582 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3583 Deconditionalize the code that was previously under [RESET_PID].
3584 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3586 * sysdeps/generic/exit-thread.h: New file.
3587 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3588 * include/unistd.h (__exit_thread): Remove declaration.
3589 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3590 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3591 * csu/libc-start.c: Include <exit-thread.h>.
3592 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3593 * nptl/pthread_create.c: Include <exit-thread.h>.
3594 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3595 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3596 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3597 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3598 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3599 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3600 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3601 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3602 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3603 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3604 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3605 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3606 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3607 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3608 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3609 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3610 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3612 2014-05-13 Andreas Schwab <schwab@suse.de>
3614 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3616 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3618 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3619 (__ASSUME_UTIMES): Do not condition on kernel version.
3620 (__ASSUME_PSELECT): Define unconditionally.
3621 (__ASSUME_PPOLL): Likewise.
3622 (__ASSUME_ATFCTS): Likewise.
3623 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3624 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3625 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3626 (__ASSUME_UTIMENSAT): Define unconditionally.
3627 (__ASSUME_PRIVATE_FUTEX): Likewise.
3628 (__ASSUME_FALLOCATE): Likewise.
3629 (__ASSUME_O_CLOEXEC): Likewise.
3630 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3631 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3632 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3633 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3634 (__ASSUME_IN_NONBLOCK): Likewise.
3635 (__ASSUME_PIPE2): Likewise.
3636 (__ASSUME_EVENTFD2): Likewise.
3637 (__ASSUME_SIGNALFD4): Likewise.
3638 (__ASSUME_DUP3): Likewise.
3639 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3640 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3641 (__ASSUME_AT_RANDOM): Likewise.
3642 (__ASSUME_PREADV): Likewise.
3643 (__ASSUME_PWRITEV): Likewise.
3644 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3645 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3646 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3647 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3648 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3649 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3650 (__ASSUME_O_CLOEXEC): Define unconditionally.
3651 (__ASSUME_PSELECT): Do not undefine conditionally.
3652 (__ASSUME_PPOLL): Likewise.
3653 (__ASSUME_ATFCTS): Likewise.
3654 (__ASSUME_SET_ROBUST_LIST): Likewise.
3655 (__ASSUME_UTIMENSAT): Likewise.
3656 (__ASSUME_FDATASYNC): Define unconditionally.
3657 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3658 (__ASSUME_SIGFRAME_V2): Likewise.
3659 )__ASSUME_EVENTFD2): Likewise.
3660 (__ASSUME_SIGNALFD4): Likewise.
3661 (__ASSUME_PSELECT): Do not undefine conditionally.
3662 (__ASSUME_PPOLL): Likewise.
3663 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3664 (__ASSUME_PSELECT): Define unconditionally.
3665 (__ASSUME_PPOLL): Likewise.
3666 (__ASSUME_O_CLOEXEC): Likewise.
3667 (__ASSUME_SOCK_CLOEXEC): Likewise.
3668 (__ASSUME_IN_NONBLOCK): Likewise.
3669 (__ASSUME_PIPE2): Likewise.
3670 (__ASSUME_EVENTFD2): Likewise.
3671 (__ASSUME_SIGNALFD4): Likewise.
3672 (__ASSUME_DUP3): Likewise.
3673 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3674 (__ASSUME_O_CLOEXEC): Likewise.
3675 (__ASSUME_SOCK_CLOEXEC): Likewise.
3676 (__ASSUME_IN_NONBLOCK): Likewise.
3677 (__ASSUME_PIPE2): Likewise.
3678 (__ASSUME_EVENTFD2): Likewise.
3679 (__ASSUME_SIGNALFD4): Likewise.
3680 (__ASSUME_DUP3): Likewise.
3681 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3682 (__ASSUME_EVENTFD2): Likewise.
3683 (__ASSUME_SIGNALFD4): Likewise.
3684 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3686 2014-05-12 Andreas Schwab <schwab@suse.de>
3689 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3690 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3691 than maximum RPC packet size.
3692 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3693 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3694 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3695 (_nss_nis_getservbyport_r): Likewise.
3697 2014-05-12 Will Newton <will.newton@linaro.org>
3699 * malloc/Makefile (tests): Add tst-mallopt.
3700 * malloc/tst-mallopt.c: New file.
3702 2014-05-09 Roland McGrath <roland@hack.frob.com>
3704 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3705 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3707 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3709 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3710 (tst-tlsmod6.so): Likewise.
3712 2014-05-09 Roland McGrath <roland@hack.frob.com>
3714 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3716 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3719 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3720 and <dl-procinfo.h>.
3721 (__fegetenv): Save SSE state in envp->__eip if supported.
3722 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3723 envp->__eip if supported.
3724 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3725 and <dl-procinfo.h>.
3726 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3727 __data_offset and __data_selector in environment to 0. Set SSE
3729 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3731 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3733 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3735 2014-05-09 Will Newton <will.newton@linaro.org>
3737 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3738 and libc_relro_required for ARM.
3739 * sysdeps/arm/preconfigure: Regenerate.
3741 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3742 Stefan Liebler <stli@linux.vnet.ibm.com>
3744 * config.make.in (enable-lock-elision): New Makefile variable.
3745 * configure.ac: Likewise.
3746 * configure: Regenerate.
3747 * sysdeps/s390/configure.ac:
3748 Add check for gcc transactions support.
3749 * sysdeps/s390/configure: Regenerate.
3750 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3751 Build elision files if enabled.
3752 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3753 Add lock elision support for s390.
3754 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3755 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3756 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3757 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3758 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3759 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3760 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3762 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3764 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3766 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3768 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3769 (__lll_timedlock_elision, __lll_lock_elision)
3770 (__lll_unlock_elision, __lll_trylock_elision)
3771 (lll_timedlock_elision, lll_lock_elision)
3772 (lll_unlock_elision, lll_trylock_elision): Add.
3773 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3774 (pthread_mutex_t): Add lock elision support for s390.
3776 2014-05-14 Wilco <wdijkstr@arm.com>
3778 * sysdeps/arm/fclrexcpt.c: Cleanup.
3779 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3780 * sysdeps/arm/feenablxcpt.c: Cleanup.
3781 * sysdeps/arm/fegetenv.c: Cleanup.
3782 * sysdeps/arm/fegetexcept.c: Cleanup.
3783 * sysdeps/arm/fegetround.c: Cleanup.
3784 * sysdeps/arm/feholdexcpt.c: Cleanup.
3785 * sysdeps/arm/fesetenv.c: Cleanup.
3786 * sysdeps/arm/fesetround.c: Cleanup.
3787 * sysdeps/arm/feupdateenv.c: Cleanup.
3788 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3789 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3790 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3791 * sysdeps/arm/ftestexcept.c: Cleanup.
3792 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3793 * sysdeps/arm/setfpucw.c: Cleanup.
3795 2014-05-09 Will Newton <will.newton@linaro.org>
3797 * sysdeps/arm/armv7/strcmp.S: New file.
3798 * NEWS: Mention addition of ARMv7 optimized strcmp.
3800 2014-05-08 Roland McGrath <roland@hack.frob.com>
3802 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3803 look for %.ac rather than %.in.
3805 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3806 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3807 * sysdeps/mach/hurd/configure: Regenerated.
3808 * sysdeps/unix/sysv/linux/configure: Regenerated.
3810 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3812 2014-05-07 Steve Ellcey <sellcey@mips.com>
3815 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3819 2014-05-07 Andreas Schwab <schwab@suse.de>
3821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3822 when skipping over non-matching result from nscd.
3824 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3827 * nptl/sockperf.c (client): Check socket return value.
3830 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3831 nscd security class.
3833 2014-05-06 Roland McGrath <roland@hack.frob.com>
3835 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3836 * sysdeps/arm/unwind.h: ... here.
3838 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3841 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3844 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3846 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3847 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3848 multiarch strncpy for PPC64.
3849 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3850 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3852 multiarch optimizations.
3853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3854 (__libc_ifunc_impl_list): Likewise.
3855 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3856 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3857 multiarch stpncpy for PPC64.
3858 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3859 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3861 2014-05-06 Andreas Schwab <schwab@suse.de>
3864 * gmon/mcount.c (_MCOUNT_DECL): Use
3865 atomic_compare_and_exchange_bool_acq instead of
3866 catomic_compare_and_exchange_bool_acq.
3868 2014-05-05 Roland McGrath <roland@hack.frob.com>
3870 * elf/Makefile (others, install-bin): Remove pldd.
3871 (pldd-modules): Variable removed.
3872 ($(objpfx)pldd): Target removed.
3873 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3874 (others, install-bin): Append pldd here.
3875 ($(objpfx)pldd): New target.
3877 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3878 to 0, so the first #if test emitted later doesn't see it undefined.
3879 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3880 * sysdeps/gnu/errlist.c: Regenerated.
3882 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3884 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3885 [libc_hidden_builtin_def]: Define to empty value.
3886 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3887 [libc_hidden_builtin_def]: Likewise.
3888 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3889 [libc_hidden_builtin_def]: Likewise.
3890 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3891 [libc_hidden_builtin_def]: Likewise.
3892 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3893 __redirect_memcpy and define ifunc as default hidden symbol.
3894 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3895 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3897 2014-05-04 Adam Conrad <adconrad@0c3.net>
3899 * locale/iso-4217.def: Reintroduce XDR currency.
3901 2014-05-04 Allan McRae <allan@archlinux.org>
3903 * po/eo.po: Update Esperanto translation from translation project.
3905 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3907 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3908 and FEATURE_INDEX_MAX to 1.
3909 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3911 2014-05-01 Steve Ellcey <sellcey@mips.com>
3913 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3914 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3915 * iconvdata/big5.c (ONE_DIRECTION): Define.
3916 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3917 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3918 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3919 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3920 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3921 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3922 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3923 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3924 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3925 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3926 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3927 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3928 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3929 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3930 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3931 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3932 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3933 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3934 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3935 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3936 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3937 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3938 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3939 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3940 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3941 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3942 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3943 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3944 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3945 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3946 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3947 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3948 * iconvdata/johab.c (ONE_DIRECTION): Define.
3949 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3950 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3951 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3952 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3953 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3954 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3955 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3956 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3957 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3958 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3960 2014-05-01 Roland McGrath <roland@hack.frob.com>
3962 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3963 (_IO_JUMPS_OFFSET): Define to 0.
3965 * nptl/sysdeps/pthread/bits/libc-lock.h
3966 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3967 (__libc_lock_define_initialized_recursive): Always define using
3968 initializer. Modern compilers treat uninitialized (implicit zero) and
3969 explicit zero initializers the same (i.e. put the datum in bss).
3971 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3973 * nscd/nscd-client.h: Include <string.h>.
3975 2014-05-01 David S. Miller <davem@davemloft.net>
3978 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3979 multiple zero bytes exist at the end of a string.
3980 Reported by Aurelien Jarno <aurelien@aurel32.net>
3982 * string/test-strcmp.c (check): Add explicit test for situations where
3983 there are multiple zero bytes after the first.
3985 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3988 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3989 when compiling wprintf.
3990 * stdio-common/tstdiomisc.c (t3): New function.
3993 2014-05-01 Steve Ellcey <sellcey@mips.com>
3995 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3996 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3997 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3998 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4000 2014-05-01 Steve Ellcey <sellcey@mips.com>
4002 * stdlib/longlong.h: Updated from GCC.
4004 2014-05-01 Will Newton <will.newton@linaro.org>
4005 Bernard Ogden <bernie.ogden@linaro.org>
4007 * NEWS: Update fixed bug list.
4010 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4012 2014-04-30 David S. Miller <davem@davemloft.net>
4014 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4015 (libc_feholdexcept_setround_sparc_ctx): New function.
4016 (libc_fesetenv_sparc_ctx): Likewise.
4017 (libc_feupdateenv_sparc_ctx): Likewise.
4018 (libc_feholdsetround_sparc_ctx): Likewise.
4019 (libc_feholdexcept_setround_ctx): Define.
4020 (libc_feholdexcept_setroundf_ctx): Likewise.
4021 (libc_feholdexcept_setroundl_ctx): Likewise.
4022 (libc_fesetenv_ctx): Likewise.
4023 (libc_fesetenvf_ctx): Likewise.
4024 (libc_fesetenvl_ctx): Likewise.
4025 (libc_feupdateenv_ctx): Likewise.
4026 (libc_feupdateenvf_ctx): Likewise.
4027 (libc_feupdateenvl_ctx): Likewise.
4028 (libc_feresetround_ctx): Likewise.
4029 (libc_feresetroundf_ctx): Likewise.
4030 (libc_feresetroundl_ctx): Likewise.
4031 (libc_feholdsetround_ctx): Likewise.
4032 (libc_feholdsetroundf_ctx): Likewise.
4033 (libc_feholdsetroundl_ctx): Likewise.
4035 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4036 with __USE_GNU instead of XOPEN cpp guards.
4038 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4041 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4042 with XOPEN cpp guards.
4044 2014-04-30 Julian Brown <julian@codesourcery.com>
4047 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4050 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4053 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4055 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4056 * sysdeps/unix/sysv/linux/configure: Regenerated.
4057 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4058 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4059 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4060 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4061 * README: Update reference to required Linux kernel version.
4062 * manual/install.texi (Linux): Update reference to required Linux
4063 kernel headers version.
4064 * INSTALL: Regenerated.
4066 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4068 [POSIX] (limits.h): Likewise.
4069 [POSIX] (math.h): Likewise.
4070 [POSIX] (sys/wait.h): Likewise.
4071 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4073 [POSIX] (stddef.h): Do not allow header inclusion.
4075 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4077 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4079 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4081 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4082 Return immediately after lll_futex_wake.
4084 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4087 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4089 (datahead_init_pos): Call datahead_init_common early.
4090 (datahead_init_neg): Likewise.
4092 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4093 datahead_init_neg): New functions.
4094 * nscd/aicache.c (addhstaiX): Use them.
4095 * nscd/grpcache.c (cache_addgr): Likewise.
4096 * nscd/hstcache.c (cache_addhst): Likewise.
4097 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4098 * nscd/netgroupcache.c (do_notfound): Likewise.
4099 (addgetnetgrentX): Likewise.
4100 (addinnetgrX): Likewise.
4101 * nscd/pwdcache.c (cache_addpw): Likewise.
4102 * nscd/servicescache.c (cache_addserv): Likewise.
4104 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4105 Atsushi Onoe <atsushi@onoe.org>
4110 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4111 one response is valid.
4112 * resolv/res_send.c (send_dg): Check for validity of other
4113 response if the current response is a referral.
4115 2014-04-29 Steve Ellcey <sellcey@mips.com>
4117 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4119 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4122 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4123 Always divide by positive zero when computing -Inf result.
4124 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4125 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4127 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4129 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4130 FPSCR if value do not change.
4131 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4132 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4133 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4134 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4135 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4136 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4139 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4141 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4142 * sysdeps/unix/sysv/linux/hppa: Move directory from
4143 ports/systeps/unix/sysv/linux/hppa.
4144 * README: Update listing for hppa-*-linux-gnu.
4146 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4149 * manual/stdio.texi (Hook functions): Fix types of stream hook
4152 * socket/sys/socket.h: Fix typo in comment.
4154 2014-04-28 Wilco <wdijkstr@arm.com>
4156 * sysdeps/arm/fenv_private.h: New file.
4157 * sysdeps/arm/math_private.h: New file.
4158 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4160 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4162 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4164 (La_x86_64_retval): Likewise.
4166 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4168 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4169 fpsr if value didn't change.
4170 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4171 to fpcr if value didn't change.
4172 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4173 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4174 fpsr or fpcr if value didn't change.
4175 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4176 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4177 fpcr if value didn't change.
4178 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4179 to fpsr if value didn't change.
4181 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4183 * nptl/tst-sem3.c: Use test-skeleton.c
4184 (main): Rename to do_test. Use return instead of
4186 * nptl/tst-sem4.c: Use test-skeleton.c
4187 (main): Rename to do_test.
4189 2014-04-22 David S. Miller <davem@davemloft.net>
4191 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4192 (struct sigaction): New struct member __glibc_reserved0, change
4193 type of sa_flags to int.
4195 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4197 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4198 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4200 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4202 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4203 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4205 2014-04-22 Will Newton <will.newton@linaro.org>
4206 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4208 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4209 (__longjmp): Add longjmp and longjmp_target SystemTap
4211 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4212 (__sigsetjmp): Add setjmp SystemTap probe.
4214 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4216 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4219 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4221 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4223 * sysdeps/powerpc/fpu/fenv_private.h
4224 (libc_feholdexcept_setroundl_ctx): Define to
4225 libc_feholdexcept_setround_ppc_ctx.
4226 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4227 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4228 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4229 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4231 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4233 * sysdeps/aarch64/math-tests.h: New file.
4235 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4237 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4240 Check and set bit_AVX2_Usable.
4241 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4243 (bit_AVX2): Likewise.
4244 (index_AVX2_Usable): Likewise.
4245 (CPUID_AVX2): Likewise.
4246 (HAS_AVX2): Likewise.
4248 2014-04-17 Will Newton <will.newton@linaro.org>
4250 * manual/setjmp.texi (System V contexts): Add note that
4251 calling setcontext on a context created by a call to a
4252 signal handler is undefined. Update text to note that
4253 setcontext from a signal handler is possible but not
4257 * stdlib/tst-setcontext.c: Include signal.h.
4258 (main): Check that the signal stack before and
4259 after swapcontext is the same.
4261 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4262 Re-implement to restore registers in user code and avoid
4263 rt_sigreturn system call.
4265 2014-04-17 Wilco <wdijkstr@arm.com>
4267 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4268 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4269 * math/test-fenv.c: Skip exception trap tests on targets which only
4270 support non-stop mode.
4272 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4273 Wilco Dijkstra <wilco.dijkstra@arm.com>
4275 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4276 (libc_feholdsetround_aarch64_ctx)
4277 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4278 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4279 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4280 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4281 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4282 (libc_feresetround_noexl_ctx): Define.
4284 2014-04-16 Richard Henderson <rth@redhat.com>
4286 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4288 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4291 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4292 const from the non-libc, non-ldso copy.
4294 * sysdeps/alpha/libm-test-ulps: Regenerate.
4296 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4297 Wilco Dijkstra <wilco.dijkstra@arm.com>
4299 * sysdeps/aarch64/fpu/math_private.h: New file.
4301 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4303 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4305 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4307 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4308 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4310 Intel MPX bound registers before _dl_profile_fixup.
4311 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4312 registers after _dl_profile_fixup. Save and restore bound
4313 registers bnd0/bnd1 when calling _dl_call_pltexit.
4314 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4315 (LR_BND_OFFSET): Likewise.
4316 (LRV_BND0_OFFSET): Likewise.
4317 (LRV_BND1_OFFSET): Likewise.
4319 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4321 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4323 * sysdeps/mach/hurd/i386/tls.h: ... here.
4324 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4325 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4328 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4330 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4332 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4334 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4336 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4339 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4340 * sysdeps/s390/configure: Regenerate.
4343 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4344 Set round-to-nearest internally to reduce error accumulation.
4346 2014-04-16 Alan Modra <amodra@gmail.com>
4350 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4351 * math/libm-test.inc (frexp_test_data): Add tests.
4352 * NEWS: Update fixed bug list.
4354 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4356 * benchtests/Makefile: Depend on libraries in build directory.
4357 (bench-math): Separate out math tests.
4358 (bench-pthread): Separate out pthread tests.
4359 (bench): Include math and pthread tests.
4361 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4364 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4365 _dl_debug_initialize.
4367 * configure.ac: Remove SELinux header check.
4368 * configure: Regenerate.
4369 * nscd/selinux.c (perms): Array of const char* to permission names.
4370 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4371 default policy. Call string_to_security_class and string_to_av_perm to
4372 translate strings. Enforce default policy and call avs_has_perm with
4373 results of translated strings.
4375 2014-04-13 David S. Miller <davem@davemloft.net>
4377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4379 2014-04-12 Allan McRae <allan@archlinux.org>
4382 * manual/string.texi (Collation Functions): Fix qsort argument
4384 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4386 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4388 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4389 Make the test a no-op if there are no exceptions defined.
4391 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4393 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4394 enable-hardcoded-path-in-tests
4396 2014-04-11 Will Newton <will.newton@linaro.org>
4398 * benchtests/Makefile (extra-objs): Add json-lib.o.
4399 (bench-func): Tidy up JSON output.
4400 * benchtests/bench-skeleton.c: Include json-lib.h.
4401 (main): Use JSON library functions to do output of
4403 * benchtests/bench-timing-type.c (main): Output the
4404 timing type simply, leaving formatting to the user.
4405 * benchtests/json-lib.c: New file.
4406 * benchtests/json-lib.h: Likewise.
4408 2014-04-11 Torvald Riegel <triegel@redhat.com>
4411 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4412 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4413 memory barriers. Add comments.
4414 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4415 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4416 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4417 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4418 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4419 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4421 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4423 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4424 * sysdeps/s390/s390-64/configure.ac: ... this ...
4425 * sysdeps/s390/configure.ac: ... to here.
4426 * sysdeps/s390/s390-32/configure: Delete file.
4427 * sysdeps/s390/s390-64/configure: Delete file.
4428 * sysdeps/s390/configure: Regenerate.
4430 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4432 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4434 2014-04-11 Will Newton <will.newton@linaro.org>
4436 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4437 to zero if it is not defined elsewhere. (mtrim): Test
4438 the value of MALLOC_DEBUG with #if rather than #ifdef.
4440 2014-04-10 Torvald Riegel <triegel@redhat.com>
4442 * benchtests/pthread_once-inputs: New file.
4443 * benchtests/pthread_once-source.c: New file.
4444 * benchtests/README: Update documentation.
4446 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4447 H.J. Lu <hongjiu.lu@intel.com>
4449 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4450 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4451 * sysdeps/x86_64/configure: Regenerated.
4452 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4454 (REGISTER_SAVE_RAX): Likewise.
4455 (REGISTER_SAVE_RCX): Likewise.
4456 (REGISTER_SAVE_RDX): Likewise.
4457 (REGISTER_SAVE_RSI): Likewise.
4458 (REGISTER_SAVE_RDI): Likewise.
4459 (REGISTER_SAVE_R8): Likewise.
4460 (REGISTER_SAVE_R9): Likewise.
4461 (REGISTER_SAVE_BND0): Likewise.
4462 (REGISTER_SAVE_BND1): Likewise.
4463 (REGISTER_SAVE_BND2): Likewise.
4464 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4465 bound registers when calling _dl_fixup.
4467 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4469 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4470 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4472 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4473 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4474 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4475 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4476 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4477 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4478 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4480 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4483 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4484 pathconf(_PC_NAME_MAX).
4486 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4488 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4490 (__PTHREAD_SPINS): Move definition to ...
4491 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4492 (__PTHREAD_SPINS): ... here.
4493 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4494 (__PTHREAD_SPIN): Likewise.
4495 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4496 (__PTHREAD_SPIN): Likewise.
4497 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4498 (__PTHREAD_SPIN): Likewise.
4499 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4500 (__PTHREAD_SPIN): Likewise.
4501 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4502 (__PTHREAD_SPIN): Likewise.
4503 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4504 (__PTHREAD_SPIN): Likewise.
4505 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4506 (__PTHREAD_SPIN): Likewise.
4507 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4508 (__PTHREAD_SPIN): Likewise.
4509 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4510 (__PTHREAD_SPIN): Likewise.
4511 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4512 (__PTHREAD_SPIN): Likewise.
4513 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4514 (__PTHREAD_SPIN): Likewise.
4515 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4516 (__PTHREAD_SPIN): Likewise.
4518 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4519 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4520 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4521 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4523 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4524 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4525 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4526 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4528 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4529 strlen symbol for non multi-arch builds.
4530 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4531 missing hidden_def and weak_alias.
4533 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4535 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4537 2014-04-07 Will Newton <will.newton@linaro.org>
4539 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4540 and contents. [!_LIBC] Remove #ifndef and contents.
4541 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4542 * string/memccpy.c (__memccpy): Use ANSI prototype.
4543 * string/memfrob.c (memfrob): Likewise.
4544 * string/strcoll.c (STRCOLL): Likewise.
4545 * string/strlen.c (strlen): Likewise.
4546 * string/strtok.c (STRTOK): Likewise.
4547 * string/strcat.c: Remove unused #include of memcopy.h.
4548 (strcat): Use ANSI prototype.
4549 * string/strchr.c: Remove unused #include of memcopy.h.
4550 (strchr): Use ANSI prototype.
4551 * string/strcmp.c: Remove unused #include of memcopy.h.
4552 (strcmp): Use ANSI prototype.
4553 * string/strcpy.c: Remove unused #include of memcopy.h.
4554 (strcpy): Use ANSI prototype.
4556 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4558 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4559 * config.make.in (config-extra-cppflags): Set it from
4560 libc_extra_cppflags.
4561 * configure.ac (libc_extra_cflags): Make it accumulate over
4562 configure fragments.
4563 (libc_extra_cppflags): New flag.
4564 * configure. Regenerate.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4566 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4567 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4571 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4572 result for FE_DOWNWARD rounding mode.
4573 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4577 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4579 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4580 in function argument name.
4582 2014-04-03 David Svoboda <svoboda@cert.org>
4585 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4588 2014-04-03 Roland McGrath <roland@hack.frob.com>
4590 * elf/dl-unmap-segments.h: New file.
4591 * sysdeps/generic/ldsodefs.h
4592 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4593 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4594 * elf/dl-fptr.c: Likewise.
4595 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4596 * sysdeps/aarch64/tlsdesc.c: Likewise.
4597 * sysdeps/arm/tlsdesc.c: Likewise.
4598 * sysdeps/i386/tlsdesc.c: Likewise.
4599 * sysdeps/tile/dl-runtime.c: Likewise.
4600 * sysdeps/x86_64/tlsdesc.c: Likewise.
4601 * elf/dl-load.h: New file.
4602 * elf/dl-load.c: Include it.
4603 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4604 Macros moved to dl-load.h.
4605 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4606 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4607 Use _dl_unmap_segments in place of __munmap.
4608 Break out segment-mapping loop into ...
4609 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4611 2014-04-03 Will Newton <will.newton@linaro.org>
4613 * elf/dl-lookup.c (do_lookup_x): Remove comment
4614 referring to nested function and move variable
4615 declarations down to before first use.
4617 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4621 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4623 * math/s_catanf.c (__catanf): Likewise.
4624 * math/s_catanh.c (__catanh): Likewise.
4625 * math/s_catanhf.c (__catanhf): Likewise.
4626 * math/s_catanhl.c (__catanhl): Likewise.
4627 * math/s_catanl.c (__catanl): Likewise.
4628 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4629 by positive zero when computing -Inf result.
4630 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4631 (catanh_test): Likewise.
4632 * sysdeps/i386/fpu/libm-test-ulps: Update.
4633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4636 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4637 instead of using underflowing value in computing result.
4638 * math/s_clog10.c (__clog10): Likewise.
4639 * math/s_clog10f.c (__clog10f): Likewise.
4640 * math/s_clog10l.c (__clog10l): Likewise.
4641 * math/s_clogf.c (__clogf): Likewise.
4642 * math/s_clogl.c (__clogl): Likewise.
4643 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4644 (clog10_test): Likewise.
4645 * sysdeps/i386/fpu/libm-test-ulps: Update.
4646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4648 2014-04-02 Alan Modra <amodra@gmail.com>
4651 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4652 output when value is near a power of two. Use int64_t for lx and
4653 remove casts. Use decimal rather than hex exponent constants.
4654 Don't use long double multiplication when double will suffice.
4655 * math/libm-test.inc (nextafter_test_data): Add tests.
4656 * NEWS: Add 16739 and 16786 to bug list.
4658 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4660 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4662 2014-04-01 Will Newton <will.newton@linaro.org>
4664 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4665 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4667 2014-04-01 Florian Weimer <fweimer@redhat.com>
4670 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4671 * nptl/tst-setuid2.c: New file.
4672 * nptl/Makefile (xtests): Add tst-setuid2.
4674 2014-04-01 Alan Modra <amodra@gmail.com>
4677 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4679 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4683 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4684 set errno as appropriate.
4685 * math/w_scalbf.c (__scalbf): Likewise.
4686 * math/w_scalbl.c (__scalbl): Likewise.
4687 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4688 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4689 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4693 * math/w_atan2.c: Include <errno.h>.
4694 (__atan2): Set errno for result underflowing to zero.
4695 * math/w_atan2f.c: Include <errno.h>.
4696 (__atan2f): Set errno for result underflowing to zero.
4697 * math/w_atan2l.c: Include <errno.h>.
4698 (__atan2l): Set errno for result underflowing to zero.
4699 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4701 * math/auto-libm-test-out: Regenerated.
4703 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4705 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4706 Encode instruction correctly in little endian.
4707 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4709 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4711 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4713 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4716 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4719 * sysdeps/unix/sysv/linux/kernel-features.h
4720 [__sparc__ && !__arch64__ && !__sparc_v9__]
4721 (__ASSUME_SET_ROBUST_LIST): Do not define.
4722 [__sparc__ && !__arch64__ && !__sparc_v9__]
4723 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4724 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4726 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4727 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4728 (__ASSUME_REQUEUE_PI): Likewise.
4729 (__ASSUME_SET_ROBUST_LIST): Likewise.
4730 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4731 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4733 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4734 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4736 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4738 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4740 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4741 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4743 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4744 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4748 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4749 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4750 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4752 2014-03-31 Will Newton <will.newton@linaro.org>
4754 * benchtests/Makefile (bench): Add ffs and ffsll to list
4756 * benchtests/ffs-inputs: New file.
4757 * benchtests/ffsll-inputs: Likewise.
4759 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4762 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4763 too large before casting to int.
4764 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4765 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4766 * math/libm-test.inc (scalb_test_data): Add more tests.
4768 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4770 * benchtests/Makefile (DETAILED_OPT): New make option.
4771 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4773 * benchtests/bench-skeleton.c: Include stdbool.h.
4774 (main): Store and print timings per input.
4775 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4776 member to each argument value.
4777 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4778 (_print_arg_data): Initialize per-input timing to 0.
4780 * benchtests/Makefile (timing-type): New binary.
4781 (bench-clean): Also remove bench-timing-type.
4782 (bench): New target for timing-type.
4783 (bench-func): Print output in JSON format.
4784 * benchtests/bench-skeleton.c (main): Print output in JSON
4786 * benchtests/bench-timing-type.c: New file.
4787 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4788 (TIMING_PRINT_STATS): Remove.
4789 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4792 * benchtests/bench-modf.c: Remove.
4793 * benchtests/modf-inputs: New inputs file.
4795 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4798 * math/s_clog10.c (M_PI_LOG10E): New macro.
4799 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4800 imaginary parts are 0.
4801 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4802 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4803 imaginary parts are 0.
4804 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4805 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4806 imaginary parts are 0.
4807 * math/libm-test.inc (clog10_test_data): Update expected results
4808 for when real and imaginary parts are 0.
4810 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4812 * elf/dl-load.c: Finish conversion of __builtin_expect into
4815 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4818 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4819 1+x for argument with exponent below -67.
4820 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4822 * math/auto-libm-test-in: Add more tests of exp.
4823 * math/auto-libm-test-out: Regenerated.
4825 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4828 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4829 (nscd_getnetgrent): Use it.
4832 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4835 2014-03-27 Andi Kleen <ak@linux.intel.com>
4837 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4838 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4839 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4840 (lll_robust_unlock): Remove out of line section. Use cfi
4842 (LLL_STUB_UNWIND_INFO*): Remove.
4843 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4844 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4845 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4846 (lll_robust_unlock): Remove out of line section. Use cfi
4848 (LLL_STUB_UNWIND_INFO*): Remove.
4850 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4853 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4856 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4858 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4860 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4863 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4865 * math/test-fenv-preserve.c: New file.
4866 * math/Makefile (tests): Add test-fenv-preserve.
4868 2014-03-26 Will Newton <will.newton@linaro.org>
4870 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4872 2014-03-25 Roland McGrath <roland@hack.frob.com>
4874 * scripts/versionlist.awk: Partition the version sets and emit all
4875 GLIBC_* (sorted) before all others (sorted).
4877 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4879 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4880 GLIBC_2.2.5 version.
4882 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4884 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4887 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4892 2014-03-25 Andreas Schwab <schwab@suse.de>
4894 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4895 label to be used after in6ailist is initialized.
4897 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4899 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4900 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4902 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4906 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4908 (fp_formats): Update initializers.
4909 (init_fp_formats): Initialize new field.
4910 (output_for_one_input_case): Allow underflow for results up to
4912 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4913 * math/auto-libm-test-in: Don't mark some underflows from asin and
4915 * math/auto-libm-test-out: Regenerated.
4916 * sysdeps/i386/fpu/libm-test-ulps: Update.
4917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4919 2014-03-25 Andreas Schwab <schwab@suse.de>
4921 * libio/Makefile (tst-ftell-partial-wide-ENV)
4922 (tst-ftell-active-handler-ENV): Define.
4924 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4926 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4928 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4930 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4932 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4934 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4935 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4936 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4938 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4941 * elf/dl-load.c (open_verify): Add mode parameter.
4942 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4943 (open_path): Change from boolean 'secure' to complete flag 'mode'
4944 (_dl_map_object): Adjust.
4945 * elf/Makefile (tests): Add tst-dlopen-aout.
4946 * elf/tst-dlopen-aout.c: New test.
4948 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4951 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4952 (struct stat): Rename member pad0 to __glibc_reserved0.
4955 * sysdeps/s390/s390-32/bits/wordsize.h
4956 (__WORDSIZE32_SIZE_ULONG): New define.
4957 * sysdeps/s390/s390-64/bits/wordsize.h
4958 (__WORDSIZE32_SIZE_ULONG): Likewise.
4959 * sysdeps/generic/stdint.h (SIZE_MAX):
4960 Define as UL if __WORDSIZE32_SIZE_ULONG.
4963 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4964 (__glibc_reserved0): New variable.
4965 (sa_flags): Change type to int.
4967 * posix/Makefile (before-compile): Use += before-compile instead
4970 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4971 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4973 2014-03-20 Andreas Schwab <schwab@suse.de>
4976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4977 non-matching result from nscd.
4979 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4981 * scripts/bench.py: Moved to ...
4982 * benchtests/scripts/bench.py: ... here.
4983 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4985 2014-03-24 Andreas Schwab <schwab@suse.de>
4988 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4989 alloca_account and account alloca use for struct in6ailist.
4991 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4994 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4995 rounding mode to recompute results that overflow to infinity or
4997 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4999 * math/auto-libm-test-out: Regenerated.
5000 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5001 (ccosh_test): Likewise.
5002 (csin_test_data): Use plus_oflow.
5003 (csin_test): Use ALL_RM_TEST.
5004 (csinh_test_data): Use plus_oflow.
5005 (csinh_test): Use ALL_RM_TEST.
5006 * sysdeps/i386/fpu/libm-test-ulps: Update.
5007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5009 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5011 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5012 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5013 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5016 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5018 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5019 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5020 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5021 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5023 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5024 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5026 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5027 * sysdeps/i386/fpu/libm-test-ulps: Update.
5028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5030 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5032 * scripts/bench.pl: Remove file.
5033 * scripts/bench.py: New benchmark script.
5034 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5035 * benchtests/README: Mention python dependency.
5036 * scripts/pylintrc: New file.
5037 * scripts/pylint: New file.
5039 * bits/mathdef.h: Use #ifdef instead of #if.
5040 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5041 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5042 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5043 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5044 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5045 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5047 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5048 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5050 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5052 and strpbrk-ppc64 objects.
5053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5054 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5055 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5056 multiarch strpbrk for POWER7.
5057 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5058 multiarch strpbrk for PPC64.
5059 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5061 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5064 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5066 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5067 (atan_test): Likewise.
5068 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5069 (atanh_test): Use ALL_RM_TEST.
5070 (atan2_test_data): Likewise.
5071 (cabs_test): Likewise.
5072 (cacosh_test): Likewise.
5073 (carg_test): Likewise.
5074 (casin_test): Likewise.
5075 (casinh_test): Likewise.
5076 (cbrt_test): Likewise.
5077 (csqrt_test): Likewise.
5078 (erf_test): Likewise.
5079 (erfc_test): Likewise.
5080 (pow10_test): Likewise.
5081 (exp2_test): Likewise.
5082 (hypot_test): Likewise.
5083 (j0_test): Likewise.
5084 (j1_test): Likewise.
5085 (lgamma_test): Likewise.
5086 (gamma_test): Likewise.
5087 (sincos_test): Likewise.
5088 (tanh_test): Likewise.
5089 (y0_test): Likewise.
5090 (y1_test): Likewise.
5091 * sysdeps/i386/fpu/libm-test-ulps: Update.
5092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5094 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5096 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5098 and strcspn-ppc64 objects.
5099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5100 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5101 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5102 multiarch strcspn for POWER7.
5103 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5104 multiarch strcspn for PPC64.
5105 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5107 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5110 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5112 * math/gen-libm-test.pl (generate_testfile): Expect only function
5113 name as argument to AUTO_TESTS_* and pass results for all rounding
5114 modes to parse_args.
5115 (parse_auto_input): Separate inputs of automatic tests from
5116 outputs before storing in %auto_tests.
5117 * math/libm-test.inc (acos_test_data): Update call to
5119 (acos_test): Use ALL_RM_TEST.
5120 (acos_tonearest_test_data): Remove.
5121 (acos_test_tonearest): Likewise.
5122 (acos_towardzero_test_data): Likewise.
5123 (acos_test_towardzero): Likewise.
5124 (acos_downward_test_data): Likewise.
5125 (acos_test_downward): Likewise.
5126 (acos_upward_test_data): Likewise.
5127 (acos_test_upward): Likewise.
5128 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5129 (asin_test_data): Likewise.
5130 (asin_test): Use ALL_RM_TEST.
5131 (asin_tonearest_test_data): Remove.
5132 (asin_test_tonearest): Likewise.
5133 (asin_towardzero_test_data): Likewise.
5134 (asin_test_towardzero): Likewise.
5135 (asin_downward_test_data): Likewise.
5136 (asin_test_downward): Likewise.
5137 (asin_upward_test_data): Likewise.
5138 (asin_test_upward): Likewise.
5139 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5140 (atan_test_data): Likewise.
5141 (atanh_test_data): Likewise.
5142 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5143 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5144 (carg_test_data): Likewise.
5145 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5146 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5147 (ccosh_test_data): Likewise.
5148 (cexp_test_data): Likewise.
5149 (clog_test_data): Likewise.
5150 (clog10_test_data): Likewise.
5151 (cos_test_data): Update call to AUTO_TESTS_f_f.
5152 (cos_test): Use ALL_RM_TEST.
5153 (cos_tonearest_test_data): Remove.
5154 (cos_test_tonearest): Likewise.
5155 (cos_towardzero_test_data): Likewise.
5156 (cos_test_towardzero): Likewise.
5157 (cos_downward_test_data): Likewise.
5158 (cos_test_downward): Likewise.
5159 (cos_upward_test_data): Likewise.
5160 (cos_test_upward): Likewise.
5161 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5162 (cosh_test): Use ALL_RM_TEST.
5163 (cosh_tonearest_test_data): Remove.
5164 (cosh_test_tonearest): Likewise.
5165 (cosh_towardzero_test_data): Likewise.
5166 (cosh_test_towardzero): Likewise.
5167 (cosh_downward_test_data): Likewise.
5168 (cosh_test_downward): Likewise.
5169 (cosh_upward_test_data): Likewise.
5170 (cosh_test_upward): Likewise.
5171 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5172 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5173 (ctan_test_data): Likewise.
5174 (ctan_test): Use ALL_RM_TEST.
5175 (ctan_tonearest_test_data): Remove.
5176 (ctan_test_tonearest): Likewise.
5177 (ctan_towardzero_test_data): Likewise.
5178 (ctan_test_towardzero): Likewise.
5179 (ctan_downward_test_data): Likewise.
5180 (ctan_test_downward): Likewise.
5181 (ctan_upward_test_data): Likewise.
5182 (ctan_test_upward): Likewise.
5183 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5184 (ctanh_test): Use ALL_RM_TEST.
5185 (ctanh_tonearest_test_data): Remove.
5186 (ctanh_test_tonearest): Likewise.
5187 (ctanh_towardzero_test_data): Likewise.
5188 (ctanh_test_towardzero): Likewise.
5189 (ctanh_downward_test_data): Likewise.
5190 (ctanh_test_downward): Likewise.
5191 (ctanh_upward_test_data): Likewise.
5192 (ctanh_test_upward): Likewise.
5193 (erf_test_data): Update call to AUTO_TESTS_f_f.
5194 (erfc_test_data): Likewise.
5195 (exp_test_data): Likewise.
5196 (exp_test): Use ALL_RM_TEST.
5197 (exp_tonearest_test_data): Remove.
5198 (exp_test_tonearest): Likewise.
5199 (exp_towardzero_test_data): Likewise.
5200 (exp_test_towardzero): Likewise.
5201 (exp_downward_test_data): Likewise.
5202 (exp_test_downward): Likewise.
5203 (exp_upward_test_data): Likewise.
5204 (exp_test_upward): Likewise.
5205 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5206 (exp10_test): Use ALL_RM_TEST.
5207 (exp10_tonearest_test_data): Remove.
5208 (exp10_test_tonearest): Likewise.
5209 (exp10_towardzero_test_data): Likewise.
5210 (exp10_test_towardzero): Likewise.
5211 (exp10_downward_test_data): Likewise.
5212 (exp10_test_downward): Likewise.
5213 (exp10_upward_test_data): Likewise.
5214 (exp10_test_upward): Likewise.
5215 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5216 (expm1_test_data): Likewise.
5217 (expm1_test): Use ALL_RM_TEST.
5218 (expm1_tonearest_test_data): Remove.
5219 (expm1_test_tonearest): Likewise.
5220 (expm1_towardzero_test_data): Likewise.
5221 (expm1_test_towardzero): Likewise.
5222 (expm1_downward_test_data): Likewise.
5223 (expm1_test_downward): Likewise.
5224 (expm1_upward_test_data): Likewise.
5225 (expm1_test_upward): Likewise.
5226 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5227 (fma_test): Use ALL_RM_TEST.
5228 (fma_towardzero_test_data): Remove.
5229 (fma_test_towardzero): Likewise.
5230 (fma_downward_test_data): Likewise.
5231 (fma_test_downward): Likewise.
5232 (fma_upward_test_data): Likewise.
5233 (fma_test_upward): Likewise.
5234 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5235 (j0_test_data): Update call to AUTO_TESTS_f_f.
5236 (j1_test_data): Likewise.
5237 (jn_test_data): Update call to AUTO_TESTS_if_f.
5238 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5239 (log_test_data): Update call to AUTO_TESTS_f_f.
5240 (log10_test_data): Likewise.
5241 (log1p_test_data): Likewise.
5242 (log2_test_data): Likewise.
5243 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5244 (pow_tonearest_test_data): Likewise.
5245 (sin_test_data): Update call to AUTO_TESTS_f_f.
5246 (sin_test): Use ALL_RM_TEST.
5247 (sin_tonearest_test_data): Remove.
5248 (sin_test_tonearest): Likewise.
5249 (sin_towardzero_test_data): Likewise.
5250 (sin_test_towardzero): Likewise.
5251 (sin_downward_test_data): Likewise.
5252 (sin_test_downward): Likewise.
5253 (sin_upward_test_data): Likewise.
5254 (sin_test_upward): Likewise.
5255 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5256 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5257 (sinh_test): Use ALL_RM_TEST.
5258 (sinh_tonearest_test_data): Remove.
5259 (sinh_test_tonearest): Likewise.
5260 (sinh_towardzero_test_data): Likewise.
5261 (sinh_test_towardzero): Likewise.
5262 (sinh_downward_test_data): Likewise.
5263 (sinh_test_downward): Likewise.
5264 (sinh_upward_test_data): Likewise.
5265 (sinh_test_upward): Likewise.
5266 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5267 (sqrt_test): Use ALL_RM_TEST.
5268 (sqrt_tonearest_test_data): Remove.
5269 (sqrt_test_tonearest): Likewise.
5270 (sqrt_towardzero_test_data): Likewise.
5271 (sqrt_test_towardzero): Likewise.
5272 (sqrt_downward_test_data): Likewise.
5273 (sqrt_test_downward): Likewise.
5274 (sqrt_upward_test_data): Likewise.
5275 (sqrt_test_upward): Likewise.
5276 (tan_test_data): Update call to AUTO_TESTS_f_f.
5277 (tan_test): Use ALL_RM_TEST.
5278 (tan_tonearest_test_data): Remove.
5279 (tan_test_tonearest): Likewise.
5280 (tan_towardzero_test_data): Likewise.
5281 (tan_test_towardzero): Likewise.
5282 (tan_downward_test_data): Likewise.
5283 (tan_test_downward): Likewise.
5284 (tan_upward_test_data): Likewise.
5285 (tan_test_upward): Likewise.
5286 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5287 (tgamma_test_data): Likewise.
5288 (y0_test_data): Likewise.
5289 (y1_test_data): Likewise.
5290 (yn_test_data): Update call to AUTO_TESTS_if_f.
5291 (main): Do not call removed functions.
5293 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5295 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5296 (ldexp_test_data): Remove.
5297 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5299 (scalb_test): Use ALL_RM_TEST.
5301 2014-03-19 Andreas Schwab <schwab@suse.de>
5303 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5305 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5308 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5309 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5310 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5311 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5312 (__ASSUME_PREADV): Undefine.
5313 (__ASSUME_PWRITEV): Likewise.
5315 2014-03-18 Roland McGrath <roland@hack.frob.com>
5317 * bits/mman-linux.h: Add comment about non-Linux use.
5318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5319 bits/mman-linux.h resting place.
5321 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5322 * bits/mman-linux.h: ... here.
5324 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5326 * conform/conformtest.pl: Add standard definition when calling C
5327 preprocessor on data files.
5328 (checknamespace): Remove unused variable.
5330 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5332 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5333 minus_oflow, plus_uflow and minus_uflow in expected results.
5334 * math/libm-test.inc (scalbn_test_data): Add more tests of
5335 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5337 (scalbn_test): Use ALL_RM_TEST.
5338 (scalbln_test_data): Add more tests of negative arguments. Use
5339 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5340 (scalbln_test): Use ALL_RM_TEST.
5342 2014-03-18 Roland McGrath <roland@hack.frob.com>
5344 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5346 2014-03-18 Will Newton <will.newton@linaro.org>
5348 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5351 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5353 * Makerules [!subdir] (check-abi): Exit with error status if a
5356 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5358 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5359 for rint. Include results for all rounding modes.
5360 (nearbyint_test): Use ALL_RM_TEST.
5361 (rint_test_data): Include all tests used for nearbyint.
5363 2014-03-17 Will Newton <will.newton@linaro.org>
5365 * nptl/sysdeps/pthread/pthread.h: Revert previous
5368 * sysdeps/generic/ldsodefs.h: Revert previous
5371 * libio/genops.c: Revert previous change.
5372 * libio/libioP.h: Likewise.
5373 * stdio-common/vfprintf.c: Likewise.
5375 * sysdeps/generic/math_private.h: Revert previous
5378 * sysdeps/generic/math_private.h: Check whether
5379 HAVE_RM_CTX is defined with #ifdef rather
5382 * argp/argp-fmtstream.h: Check whether
5383 __STRICT_ANSI__ is defined with #ifdef rather
5385 * argp/argp.h: Likewise.
5387 * libio/genops.c: Check whether
5388 _IO_JUMPS_OFFSET is defined with #ifdef rather
5390 * libio/libioP.h: Likewise.
5391 * stdio-common/vfprintf.c: Likewise.
5393 * sysdeps/generic/ldsodefs.h: Check whether
5394 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5397 * nptl/sysdeps/pthread/pthread.h: Check
5398 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5401 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5403 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5405 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5409 * libio/fileops.c (_IO_file_open): Seek to end of file but
5410 don't cache the offset.
5411 (get_file_offset): Remove function.
5412 (do_ftell): Use cached offset when available.
5413 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5414 don't cache the offset.
5415 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5417 (do_one_test): Call it.
5418 (do_ftell_test): Fix up expected old offset for a+ mode.
5419 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5422 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5423 up test status with function return status.
5424 (do_write_test): Likewise.
5425 (do_append_test): Likewise.
5427 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5428 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5431 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5433 * math/gen-libm-test.pl (parse_args): Handle results specified for
5434 each rounding mode separately.
5435 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5436 tests and results from lrint_tonearest_test_data,
5437 lrint_towardzero_test_data, lrint_downward_test_data and
5438 lrint_upward_test_data.
5439 (lrint_test): Use ALL_RM_TEST.
5440 (lrint_tonearest_test_data): Remove.
5441 (lrint_test_tonearest): Likewise.
5442 (lrint_towardzero_test_data): Likewise.
5443 (lrint_test_towardzero): Likewise.
5444 (lrint_downward_test_data): Likewise.
5445 (lrint_test_downward): Likewise.
5446 (lrint_upward_test_data): Likewise.
5447 (lrint_test_upward): Likewise.
5448 (llrint_test_data): Merge in per-rounding-mode tests and results
5449 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5450 llrint_downward_test_data and llrint_upward_test_data.
5451 (llrint_test): Use ALL_RM_TEST.
5452 (llrint_tonearest_test_data): Remove.
5453 (llrint_test_tonearest): Likewise.
5454 (llrint_towardzero_test_data): Likewise.
5455 (llrint_test_towardzero): Likewise.
5456 (llrint_downward_test_data): Likewise.
5457 (llrint_test_downward): Likewise.
5458 (llrint_upward_test_data): Likewise.
5459 (llrint_test_upward): Likewise.
5460 (rint_test_data): Merge in per-rounding-mode tests and results
5461 from rint_tonearest_test_data, rint_towardzero_test_data,
5462 rint_downward_test_data and rint_upward_test_data. Add
5463 per-rounding-mode results for tests not in those arrays.
5464 (rint_test): Use ALL_RM_TEST.
5465 (rint_tonearest_test_data): Remove.
5466 (rint_test_tonearest): Likewise.
5467 (rint_towardzero_test_data): Likewise.
5468 (rint_test_towardzero): Likewise.
5469 (rint_downward_test_data): Likewise.
5470 (rint_test_downward): Likewise.
5471 (rint_upward_test_data): Likewise.
5472 (rint_test_upward): Likewise.
5473 (main): Don't call removed functions.
5475 2014-03-14 Roland McGrath <roland@hack.frob.com>
5477 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5478 "Compiled on ..." crapola. It is anti-useful.
5480 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5482 * scripts/evaluate-test.sh: Handle fourth argument to determine
5483 whether test run should stop on failure.
5484 * Makeconfig (stop-on-test-failure): New variable.
5485 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5486 $(stop-on-test-failure).
5487 * Makefile (tests): Give a summary of results from testing and
5488 exit with failure status if they include an ERROR or FAIL.
5490 * manual/install.texi (Configuring and compiling): Mention
5491 stop-on-test-failure=y.
5492 * INSTALL: Regenerated.
5494 2014-03-14 Roland McGrath <roland@hack.frob.com>
5496 * scripts/versionlist.awk: New file.
5497 * Makerules [$(build-shared) = yes]
5498 (postclean-generated): Add Versions.def, not Versions.def.v and
5500 ($(common-objpfx)Versions.def.v.i): Target removed.
5501 ($(common-objpfx)Versions.def): New target.
5502 ($(common-objpfx)Versions.all): Depend on that rather that
5503 $(common-objpfx)Versions.def.v.
5504 * Versions.def: File removed.
5506 * Makeconfig (+gccwarn): Add -Wundef.
5507 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5508 a dl-sysdep.h breaking its contract.
5509 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5510 * include/stackinfo.h: New file.
5511 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5512 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5513 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5514 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5515 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5516 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5517 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5518 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5519 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5520 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5521 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5522 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5523 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5524 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5525 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5527 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5530 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5532 * math/libm-test.inc (round_test_data): Add more tests.
5535 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5537 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5540 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5542 * math/libm-test.inc (ceil_test_data): Add more tests.
5544 * math/libm-test.inc (trunc_test_data): Add more tests related to
5547 2014-03-14 Roland McGrath <roland@hack.frob.com>
5549 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5550 with #if rather than #ifdef.
5551 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5553 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5555 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5556 first. Disable AVX-512 GCC support if assembler doesn't support
5558 * sysdeps/x86_64/configure: Regenerated.
5560 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5562 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5563 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5564 (__old_pthread_attr_setstack): Likewise.
5565 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5566 [!_STACK_GROWS_DOWN]: Likewise.
5568 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5570 * config.make.in (have-bash2): Delete.
5571 * configure.ac (libc_cv_have_bash2): Delete.
5572 * configure: Regenerate.
5573 * elf/Makefile (common-ldd-rewrite): Rename to ...
5574 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5575 (sh-ldd-rewrite): Delete.
5576 (bash-ldd-rewrite): Delete.
5577 (have-bash2): Delete checks.
5578 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5581 * config.make.in (have-ksh): Delete.
5583 * configure.ac (libc_cv_have_ksh): Delete.
5584 * configure: Regenerate.
5586 * elf/Makefile: Delete $(have-ksh) check.
5587 ($(objpfx)sotruss): Change KSH to BASH.
5588 * elf/sotruss.ksh: Rename to ...
5589 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5590 function style to match POSIX. Drop ksh vim mode setting.
5592 * manual/time.texi (Specifying the Time Zone with TZ): Change
5593 Tuesday to Thursday.
5595 * debug/tst-longjmp_chk2.c: Update header comment.
5596 (stackoverflow_handler): Add comment. Call assert on pass value.
5598 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5600 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5601 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5602 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5603 (La_x86_64_vector): Add zmm.
5604 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5605 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5606 ($(objpfx)tst-audit10): New target.
5607 ($(objpfx)tst-audit10.out): Likewise.
5608 (tst-audit10-ENV): New.
5609 (AVX512-CFLAGS): Likewise.
5610 (CFLAGS-tst-audit10.c): Likewise.
5611 (CFLAGS-tst-auditmod10a.c): Likewise.
5612 (CFLAGS-tst-auditmod10b.c): Likewise.
5613 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5614 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5615 * sysdeps/x86_64/configure: Regenerated.
5616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5617 AVX-512 zmm register support.
5618 (_dl_x86_64_save_sse): Likewise.
5619 (_dl_x86_64_restore_sse): Likewise.
5620 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5621 size vector registers.
5622 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5623 (ZMM_SIZE): Likewise.
5624 * sysdeps/x86_64/tst-audit10.c: New file.
5625 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5626 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5628 2014-03-13 Roland McGrath <roland@hack.frob.com>
5630 * configure.ac (HAVE_EHDR_START): New check.
5631 * configure: Regenerated.
5632 * config.h.in (HAVE_EHDR_START): New #undef.
5633 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5634 assuming the lowest-addressed segment maps the start of the file.
5636 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5638 * INSTALL: Regenerated.
5640 2014-03-13 Will Newton <will.newton@linaro.org>
5642 * manual/setjmp.texi (System V contexts): Improve
5643 clarity and grammar of documentation.
5645 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5648 * elf/Makefile (tests): Add tst-pie2.
5649 (tests-pie): Add tst-pie2.
5650 * elf/tst-pie2.c: New file.
5651 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5653 * elf/rtld.c (map_doit): Load executable as lt_executable.
5654 (dl_main): Likewise.
5656 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5659 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5660 (__ASSUME_PSELECT): Undefine.
5662 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5665 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5666 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5668 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5669 selector for static builds.
5671 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5674 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5677 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5679 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5680 IFUNC selector for static builds.
5682 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5684 * sysdeps/mips/math_private.h [__mips_hard_float]
5685 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5686 libc_feresetround_mips_ctx.
5687 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5688 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5689 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5692 * math/s_nextafter.c (__nextafter): Do not return value from
5693 overflowing computation.
5694 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5695 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5696 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5698 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5700 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5701 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5703 2014-03-11 Roland McGrath <roland@hack.frob.com>
5705 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5706 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5707 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5708 the new mov targetting sp.
5710 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5713 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5714 Define it for static builds as well.
5715 (NO_BZERO_IMPL): Likewise.
5717 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5719 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5720 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5721 multiarch strspn for PPC64.
5722 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5723 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5725 (__libc_ifunc_impl_list): Likewise.
5726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5727 multiarch optimizations
5728 * string/strspn.c (strspn): Using macro to redefine symbol name.
5730 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5731 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5733 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5734 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5735 multiarch strncat for PPC64.
5736 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5737 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5739 (__libc_ifunc_impl_list): Likewise.
5740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5741 multiarch optimizations
5743 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5746 * nscd/nscd.service: Make service type forking.
5748 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5750 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5751 sign in non default rounding modes.
5752 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5754 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5756 * math/libm-test.inc (ALL_RM_TEST): New macro.
5757 (ceil_test): Use ALL_RM_TEST.
5758 (cimag_test): Likewise.
5759 (conj_test): Likewise.
5760 (copysign_test): Likewise.
5761 (cproj_test): Likewise.
5762 (creal_test): Likewise.
5763 (fabs_test): Likewise.
5764 (floor_test): Likewise.
5765 (fmax_test): Likewise.
5766 (fmin_test): Likewise.
5767 (fmod_test): Likewise.
5768 (fpclassify_test): Likewise.
5769 (frexp_test): Likewise.
5770 (ilogb_test): Likewise.
5771 (isfinite_test): Likewise.
5772 (finite_test): Likewise.
5773 (isgreater_test): Likewise.
5774 (isgreaterequal_test): Likewise.
5775 (isinf_test): Likewise.
5776 (isless_test): Likewise.
5777 (islessequal_test): Likewise.
5778 (islessgreater_test): Likewise.
5779 (isnan_test): Likewise.
5780 (isnormal_test): Likewise.
5781 (issignaling_test): Likewise.
5782 (isunordered_test): Likewise.
5783 (logb_test): Likewise.
5784 (logb_downward_test_data): Remove.
5785 (logb_test_downward): Likewise.
5786 (lround_test): Use ALL_RM_TEST.
5787 (llround_test): Likewise.
5788 (modf_test): Likewise.
5789 (nexttoward_test): Likewise.
5790 (remainder_test): Likewise.
5791 (drem_test): Likewise.
5792 (remainder_tonearest_test_data): Likewise.
5793 (remainder_test_tonearest): Likewise.
5794 (drem_test_tonearest): Likewise.
5795 (remainder_towardzero_test_data): Likewise.
5796 (remainder_test_towardzero): Likewise.
5797 (drem_test_towardzero): Likewise.
5798 (remainder_downward_test_data): Likewise.
5799 (remainder_test_downward): Likewise.
5800 (drem_test_downward): Likewise.
5801 (remainder_upward_test_data): Likewise.
5802 (remainder_test_upward): Likewise.
5803 (drem_test_upward): Likewise.
5804 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5805 (round_test): Use ALL_RM_TEST.
5806 (signbit_test): Likewise.
5807 (trunc_test): Likewise.
5808 (significand_test): Likewise.
5809 (main): Don't call removed functions.
5811 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5814 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5816 (ILL_ILLOPN): Likewise.
5817 (ILL_ILLADR): Likewise.
5818 (ILL_ILLTRP): Likewise.
5819 (ILL_PRVOPC): Likewise.
5820 (ILL_PRVREG): Likewise.
5821 (ILL_COPROC): Likewise.
5822 (ILL_BADSTK): Likewise.
5823 (FPE_INTDIV): Likewise.
5824 (FPE_INTOVF): Likewise.
5825 (FPE_FLTDIV): Likewise.
5826 (FPE_FLTOVF): Likewise.
5827 (FPE_FLTUND): Likewise.
5828 (FPE_FLTRES): Likewise.
5829 (FPE_FLTINV): Likewise.
5830 (FPE_FLTSUB): Likewise.
5831 (SEGV_MAPERR): Likewise.
5832 (SEGV_ACCERR): Likewise.
5833 (BUS_ADRALN): Likewise.
5834 (BUS_ADRERR): Likewise.
5835 (BUS_OBJERR): Likewise.
5836 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5837 (TRAP_TRACE): Likewise.
5838 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5840 (CLD_KILLED): Likewise.
5841 (CLD_DUMPED): Likewise.
5842 (CLD_TRAPPED): Likewise.
5843 (CLD_STOPPED): Likewise.
5844 (CLD_CONTINUED): Likewise.
5845 (POLL_IN): Likewise.
5846 (POLL_OUT): Likewise.
5847 (POLL_MSG): Likewise.
5848 (POLL_ERR): Likewise.
5849 (POLL_PRI): Likewise.
5850 (POLL_HUP): Likewise.
5851 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5853 (ILL_ILLOPN): Likewise.
5854 (ILL_ILLADR): Likewise.
5855 (ILL_ILLTRP): Likewise.
5856 (ILL_PRVOPC): Likewise.
5857 (ILL_PRVREG): Likewise.
5858 (ILL_COPROC): Likewise.
5859 (ILL_BADSTK): Likewise.
5860 (FPE_INTDIV): Likewise.
5861 (FPE_INTOVF): Likewise.
5862 (FPE_FLTDIV): Likewise.
5863 (FPE_FLTOVF): Likewise.
5864 (FPE_FLTUND): Likewise.
5865 (FPE_FLTRES): Likewise.
5866 (FPE_FLTINV): Likewise.
5867 (FPE_FLTSUB): Likewise.
5868 (SEGV_MAPERR): Likewise.
5869 (SEGV_ACCERR): Likewise.
5870 (BUS_ADRALN): Likewise.
5871 (BUS_ADRERR): Likewise.
5872 (BUS_OBJERR): Likewise.
5873 (BUS_MCEERR_AR): Likewise.
5874 (BUS_MCEERR_AO): Likewise.
5875 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5876 (TRAP_TRACE): Likewise.
5877 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5879 (CLD_KILLED): Likewise.
5880 (CLD_DUMPED): Likewise.
5881 (CLD_TRAPPED): Likewise.
5882 (CLD_STOPPED): Likewise.
5883 (CLD_CONTINUED): Likewise.
5884 (POLL_IN): Likewise.
5885 (POLL_OUT): Likewise.
5886 (POLL_MSG): Likewise.
5887 (POLL_ERR): Likewise.
5888 (POLL_PRI): Likewise.
5889 (POLL_HUP): Likewise.
5890 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5891 (ILL_ILLOPN): Likewise.
5892 (ILL_ILLADR): Likewise.
5893 (ILL_ILLTRP): Likewise.
5894 (ILL_PRVOPC): Likewise.
5895 (ILL_PRVREG): Likewise.
5896 (ILL_COPROC): Likewise.
5897 (ILL_BADSTK): Likewise.
5898 (FPE_INTDIV): Likewise.
5899 (FPE_INTOVF): Likewise.
5900 (FPE_FLTDIV): Likewise.
5901 (FPE_FLTOVF): Likewise.
5902 (FPE_FLTUND): Likewise.
5903 (FPE_FLTRES): Likewise.
5904 (FPE_FLTINV): Likewise.
5905 (FPE_FLTSUB): Likewise.
5906 (SEGV_MAPERR): Likewise.
5907 (SEGV_ACCERR): Likewise.
5908 (BUS_ADRALN): Likewise.
5909 (BUS_ADRERR): Likewise.
5910 (BUS_OBJERR): Likewise.
5911 (BUS_MCEERR_AR): Likewise.
5912 (BUS_MCEERR_AO): Likewise.
5913 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5914 (TRAP_TRACE): Likewise.
5915 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5917 (CLD_KILLED): Likewise.
5918 (CLD_DUMPED): Likewise.
5919 (CLD_TRAPPED): Likewise.
5920 (CLD_STOPPED): Likewise.
5921 (CLD_CONTINUED): Likewise.
5922 (POLL_IN): Likewise.
5923 (POLL_OUT): Likewise.
5924 (POLL_MSG): Likewise.
5925 (POLL_ERR): Likewise.
5926 (POLL_PRI): Likewise.
5927 (POLL_HUP): Likewise.
5928 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5930 (ILL_ILLOPN): Likewise.
5931 (ILL_ILLADR): Likewise.
5932 (ILL_ILLTRP): Likewise.
5933 (ILL_PRVOPC): Likewise.
5934 (ILL_PRVREG): Likewise.
5935 (ILL_COPROC): Likewise.
5936 (ILL_BADSTK): Likewise.
5937 (ILL_BADIADDR): Likewise.
5938 (ILL_BREAK): Likewise.
5939 (FPE_INTDIV): Likewise.
5940 (FPE_INTOVF): Likewise.
5941 (FPE_FLTDIV): Likewise.
5942 (FPE_FLTOVF): Likewise.
5943 (FPE_FLTUND): Likewise.
5944 (FPE_FLTRES): Likewise.
5945 (FPE_FLTINV): Likewise.
5946 (FPE_FLTSUB): Likewise.
5947 (FPE_DECOVF): Likewise.
5948 (FPE_DECDIV): Likewise.
5949 (FPE_DECERR): Likewise.
5950 (FPE_INVASC): Likewise.
5951 (FPE_INVDEC): Likewise.
5952 (SEGV_MAPERR): Likewise.
5953 (SEGV_ACCERR): Likewise.
5954 (SEGV_PSTKOVF): Likewise.
5955 (BUS_ADRALN): Likewise.
5956 (BUS_ADRERR): Likewise.
5957 (BUS_OBJERR): Likewise.
5958 (BUS_MCEERR_AR): Likewise.
5959 (BUS_MCEERR_AO): Likewise.
5960 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5961 (TRAP_TRACE): Likewise.
5962 (TRAP_BRANCH): Likewise.
5963 (TRAP_HWBKPT): Likewise.
5964 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5966 (CLD_KILLED): Likewise.
5967 (CLD_DUMPED): Likewise.
5968 (CLD_TRAPPED): Likewise.
5969 (CLD_STOPPED): Likewise.
5970 (CLD_CONTINUED): Likewise.
5971 (POLL_IN): Likewise.
5972 (POLL_OUT): Likewise.
5973 (POLL_MSG): Likewise.
5974 (POLL_ERR): Likewise.
5975 (POLL_PRI): Likewise.
5976 (POLL_HUP): Likewise.
5977 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
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 (FPE_INTDIV): Likewise.
5986 (FPE_INTOVF): Likewise.
5987 (FPE_FLTDIV): Likewise.
5988 (FPE_FLTOVF): Likewise.
5989 (FPE_FLTUND): Likewise.
5990 (FPE_FLTRES): Likewise.
5991 (FPE_FLTINV): Likewise.
5992 (FPE_FLTSUB): Likewise.
5993 (SEGV_MAPERR): Likewise.
5994 (SEGV_ACCERR): Likewise.
5995 (BUS_ADRALN): Likewise.
5996 (BUS_ADRERR): Likewise.
5997 (BUS_OBJERR): Likewise.
5998 (BUS_MCEERR_AR): Likewise.
5999 (BUS_MCEERR_AO): Likewise.
6000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6001 (TRAP_TRACE): Likewise.
6002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6004 (CLD_KILLED): Likewise.
6005 (CLD_DUMPED): Likewise.
6006 (CLD_TRAPPED): Likewise.
6007 (CLD_STOPPED): Likewise.
6008 (CLD_CONTINUED): Likewise.
6009 (POLL_IN): Likewise.
6010 (POLL_OUT): Likewise.
6011 (POLL_MSG): Likewise.
6012 (POLL_ERR): Likewise.
6013 (POLL_PRI): Likewise.
6014 (POLL_HUP): Likewise.
6015 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6016 (ILL_ILLOPN): Likewise.
6017 (ILL_ILLADR): Likewise.
6018 (ILL_ILLTRP): Likewise.
6019 (ILL_PRVOPC): Likewise.
6020 (ILL_PRVREG): Likewise.
6021 (ILL_COPROC): Likewise.
6022 (ILL_BADSTK): Likewise.
6023 (FPE_INTDIV): Likewise.
6024 (FPE_INTOVF): Likewise.
6025 (FPE_FLTDIV): Likewise.
6026 (FPE_FLTOVF): Likewise.
6027 (FPE_FLTUND): Likewise.
6028 (FPE_FLTRES): Likewise.
6029 (FPE_FLTINV): Likewise.
6030 (FPE_FLTSUB): Likewise.
6031 (SEGV_MAPERR): Likewise.
6032 (SEGV_ACCERR): Likewise.
6033 (BUS_ADRALN): Likewise.
6034 (BUS_ADRERR): Likewise.
6035 (BUS_OBJERR): Likewise.
6036 (BUS_MCEERR_AR): Likewise.
6037 (BUS_MCEERR_AO): Likewise.
6038 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6039 (TRAP_TRACE): Likewise.
6040 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6042 (CLD_KILLED): Likewise.
6043 (CLD_DUMPED): Likewise.
6044 (CLD_TRAPPED): Likewise.
6045 (CLD_STOPPED): Likewise.
6046 (CLD_CONTINUED): Likewise.
6047 (POLL_IN): Likewise.
6048 (POLL_OUT): Likewise.
6049 (POLL_MSG): Likewise.
6050 (POLL_ERR): Likewise.
6051 (POLL_PRI): Likewise.
6052 (POLL_HUP): Likewise.
6053 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6054 (ILL_ILLOPN): Likewise.
6055 (ILL_ILLADR): Likewise.
6056 (ILL_ILLTRP): Likewise.
6057 (ILL_PRVOPC): Likewise.
6058 (ILL_PRVREG): Likewise.
6059 (ILL_COPROC): Likewise.
6060 (ILL_BADSTK): Likewise.
6061 (FPE_INTDIV): Likewise.
6062 (FPE_INTOVF): Likewise.
6063 (FPE_FLTDIV): Likewise.
6064 (FPE_FLTOVF): Likewise.
6065 (FPE_FLTUND): Likewise.
6066 (FPE_FLTRES): Likewise.
6067 (FPE_FLTINV): Likewise.
6068 (FPE_FLTSUB): Likewise.
6069 (SEGV_MAPERR): Likewise.
6070 (SEGV_ACCERR): Likewise.
6071 (BUS_ADRALN): Likewise.
6072 (BUS_ADRERR): Likewise.
6073 (BUS_OBJERR): Likewise.
6074 (BUS_MCEERR_AR): Likewise.
6075 (BUS_MCEERR_AO): Likewise.
6076 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6077 (TRAP_TRACE): Likewise.
6078 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6080 (CLD_KILLED): Likewise.
6081 (CLD_DUMPED): Likewise.
6082 (CLD_TRAPPED): Likewise.
6083 (CLD_STOPPED): Likewise.
6084 (CLD_CONTINUED): Likewise.
6085 (POLL_IN): Likewise.
6086 (POLL_OUT): Likewise.
6087 (POLL_MSG): Likewise.
6088 (POLL_ERR): Likewise.
6089 (POLL_PRI): Likewise.
6090 (POLL_HUP): Likewise.
6091 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6092 (ILL_ILLOPN): Likewise.
6093 (ILL_ILLADR): Likewise.
6094 (ILL_ILLTRP): Likewise.
6095 (ILL_PRVOPC): Likewise.
6096 (ILL_PRVREG): Likewise.
6097 (ILL_COPROC): Likewise.
6098 (ILL_BADSTK): Likewise.
6099 (ILL_DBLFLT): Likewise.
6100 (ILL_HARDWALL): Likewise.
6101 (FPE_INTDIV): Likewise.
6102 (FPE_INTOVF): Likewise.
6103 (FPE_FLTDIV): Likewise.
6104 (FPE_FLTOVF): Likewise.
6105 (FPE_FLTUND): Likewise.
6106 (FPE_FLTRES): Likewise.
6107 (FPE_FLTINV): Likewise.
6108 (FPE_FLTSUB): Likewise.
6109 (SEGV_MAPERR): Likewise.
6110 (SEGV_ACCERR): Likewise.
6111 (BUS_ADRALN): Likewise.
6112 (BUS_ADRERR): Likewise.
6113 (BUS_OBJERR): Likewise.
6114 (BUS_MCEERR_AR): Likewise.
6115 (BUS_MCEERR_AO): Likewise.
6116 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6117 (TRAP_TRACE): Likewise.
6118 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6120 (CLD_KILLED): Likewise.
6121 (CLD_DUMPED): Likewise.
6122 (CLD_TRAPPED): Likewise.
6123 (CLD_STOPPED): Likewise.
6124 (CLD_CONTINUED): Likewise.
6125 (POLL_IN): Likewise.
6126 (POLL_OUT): Likewise.
6127 (POLL_MSG): Likewise.
6128 (POLL_ERR): Likewise.
6129 (POLL_PRI): Likewise.
6130 (POLL_HUP): Likewise.
6131 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6132 (ILL_ILLOPN): Likewise.
6133 (ILL_ILLADR): Likewise.
6134 (ILL_ILLTRP): Likewise.
6135 (ILL_PRVOPC): Likewise.
6136 (ILL_PRVREG): Likewise.
6137 (ILL_COPROC): Likewise.
6138 (ILL_BADSTK): Likewise.
6139 (FPE_INTDIV): Likewise.
6140 (FPE_INTOVF): Likewise.
6141 (FPE_FLTDIV): Likewise.
6142 (FPE_FLTOVF): Likewise.
6143 (FPE_FLTUND): Likewise.
6144 (FPE_FLTRES): Likewise.
6145 (FPE_FLTINV): Likewise.
6146 (FPE_FLTSUB): Likewise.
6147 (SEGV_MAPERR): Likewise.
6148 (SEGV_ACCERR): Likewise.
6149 (BUS_ADRALN): Likewise.
6150 (BUS_ADRERR): Likewise.
6151 (BUS_OBJERR): Likewise.
6152 (BUS_MCEERR_AR): Likewise.
6153 (BUS_MCEERR_AO): Likewise.
6154 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6155 (TRAP_TRACE): Likewise.
6156 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6158 (CLD_KILLED): Likewise.
6159 (CLD_DUMPED): Likewise.
6160 (CLD_TRAPPED): Likewise.
6161 (CLD_STOPPED): Likewise.
6162 (CLD_CONTINUED): Likewise.
6163 (POLL_IN): Likewise.
6164 (POLL_OUT): Likewise.
6165 (POLL_MSG): Likewise.
6166 (POLL_ERR): Likewise.
6167 (POLL_PRI): Likewise.
6168 (POLL_HUP): Likewise.
6169 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6170 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6173 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6174 before #include of <time.h>.
6175 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6176 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6177 (test-xfail-UNIX98/sched.h/conform): Likewise.
6179 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6181 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6182 error absence of trapping exception support.
6183 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6185 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6187 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6188 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6189 * timezone/Makefile (testdata): Move definition above include of
6191 (test-zones): New variable.
6192 (tests-special): Add zone files.
6193 (build-testdata): Use $(evaluate-test).
6195 * elf/Makefile (tests-special): Rename tests to end with .out.
6196 ($(objpfx)noload-mem): Likewise.
6197 ($(objpfx)tst-leaks1-mem): Likewise.
6198 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6199 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6200 $(objpfx)test-iconvconfig.out.
6201 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6202 set -e inside subshell and redirect output to file.
6203 * iconvdata/Makefile (generated): Rename tests to end with .out.
6205 (tests-special): Rename tests to end with .out.
6206 ($(objpfx)mtrace-tst-loading): Likewise.
6207 * intl/Makefile (generated): Likewise.
6208 (tests-special): Likewise.
6209 ($(objpfx)mtrace-tst-gettext): Likewise.
6210 * misc/Makefile (generated): Likewise.
6211 (tests-special): Likewise.
6212 ($(objpfx)tst-error1-mem): Likewise.
6213 * nptl/Makefile (tests-special): Likewise.
6214 ($(objpfx)tst-stack3-mem): Likewise.
6215 (generated): Likewise.
6216 * posix/Makefile (generated): Likewise.
6217 (tests-special): Likewise.
6218 (xtests-special): Likewise.
6219 ($(objpfx)tst-fnmatch-mem): Likewise.
6220 ($(objpfx)bug-regex2-mem): Likewise.
6221 ($(objpfx)bug-regex14-mem): Likewise.
6222 ($(objpfx)bug-regex21-mem): Likewise.
6223 ($(objpfx)bug-regex31-mem): Likewise.
6224 ($(objpfx)tst-vfork3-mem): Likewise.
6225 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6226 ($(objpfx)tst-pcre-mem): Likewise.
6227 ($(objpfx)tst-boost-mem): Likewise.
6228 ($(objpfx)bug-ga2-mem): Likewise.
6229 ($(objpfx)bug-glob2-mem): Likewise.
6230 * resolv/Makefile (generate): Likewise.
6231 (tests-special): Likewise.
6232 (xtests-special): Likewise.
6233 (generated): Likewise.
6234 ($(objpfx)mtrace-tst-leaks): Likewise.
6235 ($(objpfx)mtrace-tst-leaks2): Likewise.
6237 * scripts/merge-test-results.sh: New file.
6238 * Makefile (tests-special-notdir): New variable.
6239 (tests): Run merge-test-results.sh.
6241 * Rules (tests-special-notdir): New variable.
6242 (xtests-special-notdir): Likewise.
6243 (tests): Run merge-test-results.sh
6246 * Makeconfig (test-xfail-name): New variable.
6247 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6248 compute variable name for expected failures.
6249 * conform/Makefile (conformtest-headers-data): New variable.
6250 (conformtest-standards): Likewise.
6251 (conformtest-headers-ISO): Likewise.
6252 (conformtest-headers-ISO99): Likewise.
6253 (conformtest-headers-ISO11): Likewise.
6254 (conformtest-headers-POSIX): Likewise.
6255 (conformtest-headers-XPG3): Likewise.
6256 (conformtest-headers-XPG4): Likewise.
6257 (conformtest-headers-UNIX98): Likewise.
6258 (conformtest-headers-XOPEN2K): Likewise.
6259 (conformtest-headers-POSIX2008): Likewise.
6260 (conformtest-headers-XOPEN2K8): Likewise.
6261 (conformtest-header-list-base): Likewise.
6262 (conformtest-header-list-tests): Likewise.
6263 (conformtest-header-base): Likewise.
6264 (conformtest-header-tests): Likewise.
6265 (tests-special): Add $(conformtest-header-list-tests). If
6266 [$(fast-check) && !$(cross-compiling)], add
6267 $(conformtest-header-tests) instead of
6268 $(objpfx)run-conformtest.out.
6269 (generated): Add $(conformtest-header-list-base). If
6270 [$(fast-check) && !$(cross-compiling)], add
6271 $(conformtest-header-base). Remove previous setting.
6272 ($(conformtest-header-list-tests)): New target.
6273 (test-xfail-run-conformtest): Remove variable.
6274 ($(objpfx)run-conformtest.out): Remove target.
6275 (test-xfail-ISO11/complex.h/conform): New variable.
6276 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6277 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6278 (test-xfail-XPG3/varargs.h/conform): Likewise.
6279 (test-xfail-XPG4/varargs.h/conform): Likewise.
6280 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6281 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6282 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6283 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6284 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6285 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6286 (test-xfail-XPG3/ftw.h/conform): Likewise.
6287 (test-xfail-XPG3/grp.h/conform): Likewise.
6288 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6289 (test-xfail-XPG3/limits.h/conform): Likewise.
6290 (test-xfail-XPG3/pwd.h/conform): Likewise.
6291 (test-xfail-XPG3/search.h/conform): Likewise.
6292 (test-xfail-XPG3/signal.h/conform): Likewise.
6293 (test-xfail-XPG3/stdio.h/conform): Likewise.
6294 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6295 (test-xfail-XPG3/string.h/conform): Likewise.
6296 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6297 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6298 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6299 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6300 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6301 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6302 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6303 (test-xfail-XPG3/termios.h/conform): Likewise.
6304 (test-xfail-XPG3/time.h/conform): Likewise.
6305 (test-xfail-XPG3/unistd.h/conform): Likewise.
6306 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6307 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6308 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6309 (test-xfail-XPG4/netdb.h/conform): Likewise.
6310 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6311 (test-xfail-XPG4/signal.h/conform): Likewise.
6312 (test-xfail-XPG4/stdio.h/conform): Likewise.
6313 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6314 (test-xfail-XPG4/stropts.h/conform): Likewise.
6315 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6316 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6317 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6318 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6319 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6320 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6321 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6322 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6323 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6324 (test-xfail-XPG4/termios.h/conform): Likewise.
6325 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6326 (test-xfail-XPG4/unistd.h/conform): Likewise.
6327 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6328 (test-xfail-POSIX/sched.h/conform): Likewise.
6329 (test-xfail-POSIX/signal.h/conform): Likewise.
6330 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6331 (test-xfail-POSIX/tar.h/conform): Likewise.
6332 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6333 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6334 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6335 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6336 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6337 (test-xfail-UNIX98/sched.h/conform): Likewise.
6338 (test-xfail-UNIX98/signal.h/conform): Likewise.
6339 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6340 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6341 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6342 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6343 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6344 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6345 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6346 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6347 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6348 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6349 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6350 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6351 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6352 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6353 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6354 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6355 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6356 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6357 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6358 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6359 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6360 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6361 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6362 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6363 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6364 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6365 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6366 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6367 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6368 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6369 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6370 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6371 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6372 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6373 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6374 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6375 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6376 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6377 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6378 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6379 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6380 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6381 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6382 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6383 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6384 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6385 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6386 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6387 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6388 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6389 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6390 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6391 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6392 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6393 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6394 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6395 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6396 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6397 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6398 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6399 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6400 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6401 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6402 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6403 (conformtest-cc-flags): Likewise.
6404 ($(conformtest-header-tests): New target.
6405 * conform/check-header-lists.sh: New file.
6406 * conform/run-conformtest.sh: Remove.
6408 * conform/conformtest.pl: Allow ' and \ in values given for
6410 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6412 [POSIX] (sys/types.h): Likewise.
6413 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6415 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6417 * conform/data/signal.h-data (SIGIO): Remove expectation.
6418 [XPG3] (SIGBUS): Do not expect.
6419 [POSIX || XPG3] (SIGPOLL): Likewise.
6420 [POSIX || XPG3] (SIGPROF): Likewise.
6421 [POSIX || XPG3] (SIGSYS): Likewise.
6422 [XPG3] (SIGTRAP): Likewise.
6423 [POSIX || XPG3] (SIGURG): Likewise.
6424 [POSIX || XPG3] (SIGVTALRM): Likewise.
6425 [POSIX || XPG3] (SIGXCPU): Likewise.
6426 [POSIX || XPG3] (SIGXFSZ): Likewise.
6427 [POSIX] (SA_SIGINFO): Expect.
6428 [XPG3] (siginfo_t): Do not expect type or contents.
6429 [POSIX] (si_pid): Do not expect element.
6430 [POSIX] (si_uid): Likewise.
6431 [POSIX] (si_addr): Likewise.
6432 [POSIX] (si_status): Likewise.
6433 [POSIX] (si_band): Likewise.
6434 [XPG4] (si_value): Likewise.
6435 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6436 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6437 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6438 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6439 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6440 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6441 [POSIX || XPG3] (ILL_COPROC): Likewise.
6442 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6443 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6444 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6445 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6446 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6447 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6448 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6449 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6450 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6451 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6452 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6453 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6454 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6455 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6456 [POSIX || XPG3] (CLD_EXITED): Likewise.
6457 [POSIX || XPG3] (CLD_KILLED): Likewise.
6458 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6459 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6460 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6461 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6462 [POSIX || XPG3] (POLL_IN): Likewise.
6463 [POSIX || XPG3] (POLL_OUT): Likewise.
6464 [POSIX || XPG3] (POLL_MSG): Likewise.
6465 [POSIX || XPG3] (POLL_ERR): Likewise.
6466 [POSIX || XPG3] (POLL_PRI): Likewise.
6467 [POSIX || XPG3] (POLL_HUP): Likewise.
6468 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6469 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6470 (SIG*): Do not allow.
6471 [XPG3] (si_*): Likewise.
6472 [XPG3] (SI_*): Likewise.
6473 [XPG3 || XPG4] (sigev_*): Likewise.
6474 [XPG3 || XPG4] (SIGEV_*): Likewise.
6475 [XPG3 || XPG4] (sival_*): Likewise.
6476 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6477 [POSIX || XPG3] (BUS_*): Likewise.
6478 [POSIX || XPG3] (CLD_*): Likewise.
6479 [POSIX || XPG3] (FPE_*): Likewise.
6480 [POSIX || XPG3] (ILL_*): Likewise.
6481 [POSIX || XPG3] (POLL_*): Likewise.
6482 [POSIX || XPG3] (SEGV_*): Likewise.
6483 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6484 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6485 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6486 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6487 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6488 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6489 Specify type and value.
6490 (TVERSLEN): Likewise.
6491 (REGTYPE): Likewise.
6492 (AREGTYPE): Likewise.
6493 (LNKTYPE): Likewise.
6494 (SYMTYPE): Likewise.
6495 (CHRTYPE): Likewise.
6496 (BLKTYPE): Likewise.
6497 (DIRTYPE): Likewise.
6498 (FIFOTYPE): Likewise.
6499 (CONTTYPE): Likewise.
6504 (TUWRITE): Likewise.
6507 (TGWRITE): Likewise.
6510 (TOWRITE): Likewise.
6512 [POSIX] (TSVTX): Expect constant.
6514 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6516 * Makefile (tests): Change dependencies to ....
6517 (tests-special): ... additions to this variable.
6518 (tests): Depend on $(tests-special).
6519 * Makerules (check-abi-list): New variable.
6520 (check-abi): Depend on $(check-abi-list).
6521 [$(subdir) = elf] (tests-special): Add
6522 $(objpfx)check-abi-libc.out.
6523 [$(build-shared) = yes && subdir] (tests-special): Add
6525 [$(build-shared) = yes && subdir] (tests): Do not depend on
6527 * Rules (tests): Depend on $(tests-special).
6528 (xtests): Depend on $(xtests-special).
6529 * catgets/Makefile (tests): Change dependencies to ....
6530 (tests-special): ... additions to this variable.
6531 * conform/Makefile (tests): Change dependencies to ....
6532 (tests-special): ... additions to this variable.
6533 * elf/Makefile (tests): Change dependencies to ....
6534 (tests-special): ... additions to this variable.
6535 * grp/Makefile (tests): Change dependencies to ....
6536 (tests-special): ... additions to this variable.
6537 * iconv/Makefile (xtests): Change dependencies to ....
6538 (xtests-special): ... additions to this variable.
6539 * iconvdata/Makefile (tests): Change dependencies to ....
6540 (tests-special): ... additions to this variable.
6541 * intl/Makefile (tests): Change dependencies to ....
6542 (tests-special): ... additions to this variable. Also add
6543 $(objpfx)tst-gettext.out.
6544 * io/Makefile (tests): Change dependencies to ....
6545 (tests-special): ... additions to this variable.
6546 * libio/Makefile (tests): Change dependencies to ....
6547 (tests-special): ... additions to this variable.
6548 * malloc/Makefile (tests): Change dependencies to ....
6549 (tests-special): ... additions to this variable.
6550 * misc/Makefile (tests): Change dependencies to ....
6551 (tests-special): ... additions to this variable.
6552 * nptl/Makefile (tests): Change dependencies to ....
6553 (tests-special): ... additions to this variable.
6554 * nptl_db/Makefile (tests): Change dependencies to ....
6555 (tests-special): ... additions to this variable.
6556 * posix/Makefile (tests): Change dependencies to ....
6557 (tests-special): ... additions to this variable.
6558 (xtests): Change dependencies to ....
6559 (xtests-special): ... additions to this variable.
6560 * resolv/Makefile (tests): Change dependencies to ....
6561 (tests-special): ... additions to this variable.
6562 (xtests): Change dependencies to ....
6563 (xtests-special): ... additions to this variable.
6564 * stdio-common/Makefile (tests): Change dependencies to ....
6565 (tests-special): ... additions to this variable.
6566 (do-tst-unbputc): Remove target.
6567 (do-tst-printf): Likewise.
6568 * stdlib/Makefile (tests): Change dependencies to ....
6569 (tests-special): ... additions to this variable.
6570 * string/Makefile (tests): Change dependencies to ....
6571 (tests-special): ... additions to this variable.
6572 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6573 (tests-special): ... additions to this variable.
6575 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6577 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6579 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6580 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6582 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6583 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6584 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6585 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6586 * conform/data/libgen.h-data [XPG3]: Likewise.
6587 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6588 * conform/data/ndbm.h-data [XPG3]: Likewise.
6589 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6590 * conform/data/netdb.h-data [XPG3]: Likewise.
6591 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6592 * conform/data/poll.h-data [XPG3]: Likewise.
6593 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6594 * conform/data/strings.h-data [XPG3]: Likewise.
6595 * conform/data/stropts.h-data [XPG3]: Likewise.
6596 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6597 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6598 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6600 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6601 * conform/data/sys/time.h-data [XPG3]: Likewise.
6602 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6603 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6604 * conform/data/sys/un.h-data [XPG3]: Likewise.
6605 * conform/data/syslog.h-data [XPG3]: Likewise.
6606 * conform/data/ucontext.h-data [XPG3]: Likewise.
6607 * conform/data/utmpx.h-data [XPG3]: Likewise.
6608 * conform/data/varargs.h-data [UNIX98]: Enable file.
6610 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6612 * math/libm-test.inc (struct test_f_f_data): Move expected results
6613 into structure for each rounding mode.
6614 (struct test_ff_f_data): Likewise.
6615 (struct test_ff_f_data_nexttoward): Likewise.
6616 (struct test_fi_f_data): Likewise.
6617 (struct test_fl_f_data): Likewise.
6618 (struct test_if_f_data): Likewise.
6619 (struct test_fff_f_data): Likewise.
6620 (struct test_c_f_data): Likewise.
6621 (struct test_f_f1_data): Likewise.
6622 (struct test_fF_f1_data): Likewise.
6623 (struct test_ffI_f1_data): Likewise.
6624 (struct test_c_c_data): Likewise.
6625 (struct test_cc_c_data): Likewise.
6626 (struct test_f_i_data): Likewise.
6627 (struct test_ff_i_data): Likewise.
6628 (struct test_f_l_data): Likewise.
6629 (struct test_f_L_data): Likewise.
6630 (struct test_fFF_11_data): Likewise.
6632 (RM_FE_DOWNWARD): Likewise.
6633 (RM_FE_TONEAREST): Likewise.
6634 (RM_FE_TOWARDZERO): Likewise.
6635 (RM_FE_UPWARD): Likewise.
6636 (RUN_TEST_LOOP_f_f): Update references to expected results.
6637 (RUN_TEST_LOOP_2_f): Likewise.
6638 (RUN_TEST_LOOP_fff_f): Likewise.
6639 (RUN_TEST_LOOP_c_f): Likewise.
6640 (RUN_TEST_LOOP_f_f1): Likewise.
6641 (RUN_TEST_LOOP_fF_f1): Likewise.
6642 (RUN_TEST_LOOP_fI_f1): Likewise.
6643 (RUN_TEST_LOOP_ffI_f1): Likewise.
6644 (RUN_TEST_LOOP_c_c): Likewise.
6645 (RUN_TEST_LOOP_cc_c): Likewise.
6646 (RUN_TEST_LOOP_f_i): Likewise.
6647 (RUN_TEST_LOOP_f_i_tg): Likewise.
6648 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6649 (RUN_TEST_LOOP_f_b): Likewise.
6650 (RUN_TEST_LOOP_f_b_tg): Likewise.
6651 (RUN_TEST_LOOP_f_l): Likewise.
6652 (RUN_TEST_LOOP_f_L): Likewise.
6653 (RUN_TEST_LOOP_fFF_11): Likewise.
6654 * math/gen-libm-test.pl (parse_args): Output four copies of
6655 expected results for each test.
6657 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6658 (__ASSUME_UTIMES): Remove.
6659 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6660 (__ASSUME_UTIMES): Likewise.
6662 * math/gen-auto-libm-tests.c: Update comment on output format.
6663 (output_for_one_input_case): Generate before-rounding and
6664 after-rounding information as conditions on output flags not
6665 floating-point format.
6666 * math/auto-libm-test-out: Regenerated.
6667 * math/gen-libm-test.pl (cond_value): New function.
6668 (or_cond_value): Use cond_value.
6669 (generate_testfile): Handle conditional exceptions.
6671 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6673 * math/libm-test.inc (max_valid_error): New variable.
6674 (init_max_error): Take new argument specifying whether function
6675 results are exactly determined. Set max_valid_error and bound
6676 other variables for errors based on this argument.
6677 (set_max_error): Do not record results above max_valid_error.
6678 (check_float_internal): Only accept errors of up to 0.5ulps if
6679 also at most max_valid_error.
6680 (START): Take new argument EXACT and pass it to init_max_error.
6681 (acos_test): Update call to START.
6682 (acos_test_tonearest): Likewise.
6683 (acos_test_towardzero): Likewise.
6684 (acos_test_downward): Likewise.
6685 (acos_test_upward): Likewise.
6686 (acosh_test): Likewise.
6687 (asin_test): Likewise.
6688 (asin_test_tonearest): Likewise.
6689 (asin_test_towardzero): Likewise.
6690 (asin_test_downward): Likewise.
6691 (asin_test_upward): Likewise.
6692 (asinh_test): Likewise.
6693 (atan_test): Likewise.
6694 (atanh_test): Likewise.
6695 (atan2_test): Likewise.
6696 (cabs_test): Likewise.
6697 (cacos_test): Likewise.
6698 (cacosh_test): Likewise.
6699 (carg_test): Likewise.
6700 (casin_test): Likewise.
6701 (casinh_test): Likewise.
6702 (catan_test): Likewise.
6703 (catanh_test): Likewise.
6704 (cbrt_test): Likewise.
6705 (ccos_test): Likewise.
6706 (ccosh_test): Likewise.
6707 (ceil_test): Likewise.
6708 (cexp_test): Likewise.
6709 (cimag_test): Likewise.
6710 (clog_test): Likewise.
6711 (clog10_test): Likewise.
6712 (conj_test): Likewise.
6713 (copysign_test): Likewise.
6714 (cos_test): Likewise.
6715 (cos_test_tonearest): Likewise.
6716 (cos_test_towardzero): Likewise.
6717 (cos_test_downward): Likewise.
6718 (cos_test_upward): Likewise.
6719 (cosh_test): Likewise.
6720 (cosh_test_tonearest): Likewise.
6721 (cosh_test_towardzero): Likewise.
6722 (cosh_test_downward): Likewise.
6723 (cosh_test_upward): Likewise.
6724 (cpow_test): Likewise.
6725 (cproj_test): Likewise.
6726 (creal_test): Likewise.
6727 (csin_test): Likewise.
6728 (csinh_test): Likewise.
6729 (csqrt_test): Likewise.
6730 (ctan_test): Likewise.
6731 (ctan_test_tonearest): Likewise.
6732 (ctan_test_towardzero): Likewise.
6733 (ctan_test_downward): Likewise.
6734 (ctan_test_upward): Likewise.
6735 (ctanh_test): Likewise.
6736 (ctanh_test_tonearest): Likewise.
6737 (ctanh_test_towardzero): Likewise.
6738 (ctanh_test_downward): Likewise.
6739 (ctanh_test_upward): Likewise.
6740 (erf_test): Likewise.
6741 (erfc_test): Likewise.
6742 (exp_test): Likewise.
6743 (exp_test_tonearest): Likewise.
6744 (exp_test_towardzero): Likewise.
6745 (exp_test_downward): Likewise.
6746 (exp_test_upward): Likewise.
6747 (exp10_test): Likewise.
6748 (exp10_test_tonearest): Likewise.
6749 (exp10_test_towardzero): Likewise.
6750 (exp10_test_downward): Likewise.
6751 (exp10_test_upward): Likewise.
6752 (pow10_test): Likewise.
6753 (exp2_test): Likewise.
6754 (expm1_test): Likewise.
6755 (expm1_test_tonearest): Likewise.
6756 (expm1_test_towardzero): Likewise.
6757 (expm1_test_downward): Likewise.
6758 (expm1_test_upward): Likewise.
6759 (fabs_test): Likewise.
6760 (fdim_test): Likewise.
6761 (floor_test): Likewise.
6762 (fma_test): Likewise.
6763 (fma_test_towardzero): Likewise.
6764 (fma_test_downward): Likewise.
6765 (fma_test_upward): Likewise.
6766 (fmax_test): Likewise.
6767 (fmin_test): Likewise.
6768 (fmod_test): Likewise.
6769 (fpclassify_test): Likewise.
6770 (frexp_test): Likewise.
6771 (hypot_test): Likewise.
6772 (ilogb_test): Likewise.
6773 (isfinite_test): Likewise.
6774 (finite_test): Likewise.
6775 (isgreater_test): Likewise.
6776 (isgreaterequal_test): Likewise.
6777 (isinf_test): Likewise.
6778 (isless_test): Likewise.
6779 (islessequal_test): Likewise.
6780 (islessgreater_test): Likewise.
6781 (isnan_test): Likewise.
6782 (isnormal_test): Likewise.
6783 (issignaling_test): Likewise.
6784 (isunordered_test): Likewise.
6785 (j0_test): Likewise.
6786 (j1_test): Likewise.
6787 (jn_test): Likewise.
6788 (ldexp_test): Likewise.
6789 (lgamma_test): Likewise.
6790 (gamma_test): Likewise.
6791 (lrint_test): Likewise.
6792 (lrint_test_tonearest): Likewise.
6793 (lrint_test_towardzero): Likewise.
6794 (lrint_test_downward): Likewise.
6795 (lrint_test_upward): Likewise.
6796 (llrint_test): Likewise.
6797 (llrint_test_tonearest): Likewise.
6798 (llrint_test_towardzero): Likewise.
6799 (llrint_test_downward): Likewise.
6800 (llrint_test_upward): Likewise.
6801 (log_test): Likewise.
6802 (log10_test): Likewise.
6803 (log1p_test): Likewise.
6804 (log2_test): Likewise.
6805 (logb_test): Likewise.
6806 (logb_test_downward): Likewise.
6807 (lround_test): Likewise.
6808 (llround_test): Likewise.
6809 (modf_test): Likewise.
6810 (nearbyint_test): Likewise.
6811 (nextafter_test): Likewise.
6812 (nexttoward_test): Likewise.
6813 (pow_test): Likewise.
6814 (pow_test_tonearest): Likewise.
6815 (pow_test_towardzero): Likewise.
6816 (pow_test_downward): Likewise.
6817 (pow_test_upward): Likewise.
6818 (remainder_test): Likewise.
6819 (drem_test): Likewise.
6820 (remainder_test_tonearest): Likewise.
6821 (drem_test_tonearest): Likewise.
6822 (remainder_test_towardzero): Likewise.
6823 (drem_test_towardzero): Likewise.
6824 (remainder_test_downward): Likewise.
6825 (drem_test_downward): Likewise.
6826 (remainder_test_upward): Likewise.
6827 (drem_test_upward): Likewise.
6828 (remquo_test): Likewise.
6829 (rint_test): Likewise.
6830 (rint_test_tonearest): Likewise.
6831 (rint_test_towardzero): Likewise.
6832 (rint_test_downward): Likewise.
6833 (rint_test_upward): Likewise.
6834 (round_test): Likewise.
6835 (scalb_test): Likewise.
6836 (scalbn_test): Likewise.
6837 (scalbln_test): Likewise.
6838 (signbit_test): Likewise.
6839 (sin_test): Likewise.
6840 (sin_test_tonearest): Likewise.
6841 (sin_test_towardzero): Likewise.
6842 (sin_test_downward): Likewise.
6843 (sin_test_upward): Likewise.
6844 (sincos_test): Likewise.
6845 (sinh_test): Likewise.
6846 (sinh_test_tonearest): Likewise.
6847 (sinh_test_towardzero): Likewise.
6848 (sinh_test_downward): Likewise.
6849 (sinh_test_upward): Likewise.
6850 (sqrt_test): Likewise.
6851 (sqrt_test_tonearest): Likewise.
6852 (sqrt_test_towardzero): Likewise.
6853 (sqrt_test_downward): Likewise.
6854 (sqrt_test_upward): Likewise.
6855 (tan_test): Likewise.
6856 (tan_test_tonearest): Likewise.
6857 (tan_test_towardzero): Likewise.
6858 (tan_test_downward): Likewise.
6859 (tan_test_upward): Likewise.
6860 (tanh_test): Likewise.
6861 (tgamma_test): Likewise.
6862 (trunc_test): Likewise.
6863 (y0_test): Likewise.
6864 (y1_test): Likewise.
6865 (yn_test): Likewise.
6866 (significand_test): Likewise.
6868 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6869 individual tests in comment.
6870 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6871 (prev_max_error): New variable.
6872 (prev_real_max_error): Likewise.
6873 (prev_imag_max_error): Likewise.
6874 (compare_ulp_data): Don't refer to test names in comment.
6875 (find_test_ulps): Remove function.
6876 (find_function_ulps): Likewise.
6877 (find_complex_function_ulps): Likewise.
6878 (init_max_error): Take function name as argument. Look up ulps
6880 (print_ulps): Remove function.
6881 (print_max_error): Use prev_max_error instead of calling
6883 (print_complex_max_error): Use prev_real_max_error and
6884 prev_imag_max_error instead of calling find_complex_function_ulps.
6885 (check_float_internal): Take max_ulp parameter instead of calling
6886 find_test_ulps. Don't call print_ulps.
6887 (check_float): Update call to check_float_internal.
6888 (check_complex): Update calls to check_float_internal.
6889 (START): Pass argument to init_max_error.
6890 * math/gen-libm-test.pl (%results): Don't include "kind"
6892 (parse_ulps): Don't handle ulps of individual tests.
6893 (print_ulps_file): Likewise.
6894 (output_ulps): Likewise.
6895 * math/README.libm-test: Update.
6896 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6898 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6899 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6900 * sysdeps/arm/libm-test-ulps: Likewise.
6901 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6902 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6903 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6904 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6905 * sysdeps/microblaze/libm-test-ulps: Likewise.
6906 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6907 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6908 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6909 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6910 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6911 * sysdeps/sh/libm-test-ulps: Likewise.
6912 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6913 * sysdeps/tile/libm-test-ulps: Likewise.
6914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6916 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6918 * math/libm-test.inc (print_complex_max_error): Check separately
6919 whether real and imaginary errors are within allowed range and
6920 pass 0 to print_complex_function_ulps instead of value within
6923 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6925 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6927 (get_handles_fopen): Likewise.
6928 (do_write_test): Likewise.
6930 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6932 * libio/fileops.c (do_ftell): Use cached offset when
6934 * libio/iofwide.c (do_ftell_wide): Likewise.
6935 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6937 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6940 * libio/libioP.h (get_file_offset): New function.
6941 * libio/fileops.c (get_file_offset): Likewise.
6942 (do_ftell): Likewise.
6943 (_IO_new_file_seekoff): Split out ftell logic.
6944 * libio/wfileops.c (do_ftell_wide): Likewise.
6945 (_IO_wfile_seekoff): Split out ftell logic.
6946 * libio/tst-ftell-active-handler.c: New test case.
6947 * libio/Makefile (tests): Add it.
6949 2014-03-03 Roland McGrath <roland@hack.frob.com>
6951 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6952 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6954 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6957 * nscd/connections.c (nscd_init): Call do_exit.
6958 (start_threads): Call do_exit and notify_parent.
6959 (begin_drop_privileges): Call do_exit.
6960 (finish_drop_privileges): Likewise.
6961 * nscd/selinux.c (preserve_capabilities): Likewise.
6962 (install_real_capabilities): Likewise.
6963 (nscd_selinux_enabled): Likewise.
6964 (avc_create_thread): Likewise.
6965 (avc_alloc_lock): Likewise.
6966 (nscd_avc_init): Likewise.
6967 * nscd/nscd.c (parent_fd): New static variable.
6968 (main): Create a pipe between parent and child processes.
6969 Skip closing parent_fd.
6970 (monitor_child): New function.
6971 (do_exit): Likewise.
6972 (notify_parent): Likewise.
6973 * nscd/nscd.h (notify_parent): Likewise.
6974 (do_exit): Likewise.
6976 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6978 * malloc/malloc.c (__libc_calloc): Revert last change.
6980 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6984 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6986 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6990 (__libc_ifunc_impl_list): Likewise.
6991 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6992 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6993 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6994 * string/strrchr.c: Define STRRCHR.
6996 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6998 * benchtest/bench-strtok.c (simple_strtok): Delete.
6999 (strtok_string): Use as benchmark.
7000 * string/strtok (STRTOK): New macro.
7002 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7004 * manual/threads.texi: Add header and standard comments to all
7007 * elf/dl-lookup.c (check_match): New function.
7008 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7009 (do_lookup_x): Remove nested function check_match. Use non-nested
7010 function check_match.
7012 2014-02-28 Roland McGrath <roland@hack.frob.com>
7014 * csu/Makefile (generated, before-compile): Use += rather than =.
7015 * catgets/Makefile (generated, generated-dirs): Likewise.
7016 * debug/Makefile (generated): Likewise.
7017 * dlfcn/Makefile (generated): Likewise.
7018 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7019 * iconvdata/Makefile (before-compile, generated): Likewise.
7020 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7021 * libio/Makefile (generated): Likewise.
7022 * malloc/Makefile (generated): Likewise.
7023 * manual/Makefile (generated, generated-dirs): Likewise.
7024 * misc/Makefile (generated): Likewise.
7025 * posix/Makefile (generated): Likewise.
7026 * resolv/Makefile (generated): Likewise.
7027 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7028 * timezone/Makefile (generated, generated-dirs): Likewise.
7030 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7032 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7034 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7035 power8 implementation.
7036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7037 file: POWER8 llround ifunc implementation.
7038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7039 (__lllround): Add POWER8 implementation.
7040 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7041 POWER8 llround implementation.
7043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7044 power8 implementation.
7045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7046 file: POWER8 llrint ifunc implementation.
7047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7048 Add POWER8 implementation.
7049 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7050 POWER8 llrint implementation.
7052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7053 power8 implementation.
7054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7055 file: POWER8 finite ifunc implementation.
7056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7057 Add POWER8 implementation.
7058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7060 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7061 POWER8 finite implementation.
7062 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7065 power8 implementation.
7066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7067 file: POWER8 isinf ifunc implementation.
7068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7069 POWER8 implementation.
7070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7072 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7073 isinf implementation.
7074 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7076 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7077 (INIT_ARCH): Add hwcap2 initialization.
7078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7079 power8 implementation.
7080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7081 file: POWER8 isnan ifunc implementation.
7082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7083 POWER8 implementation.
7084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7086 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7087 isnan implementation.
7088 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7090 2014-02-27 Joey Ye <joey.ye@arm.com>
7092 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7093 (_FP_NANFRAC_Q): Set to zero.
7095 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7098 * math/auto-libm-test-in: New test inputs.
7099 * math/auto-libm-test-out: Regenerate.
7100 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7103 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7105 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7107 * scripts/evaluate-test.sh: Take new argument indicating whether
7108 failure is expected.
7109 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7110 indicating whether failure is expected.
7111 * conform/Makefile (test-xfail-run-conformtest): New variable.
7112 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7114 * posix/Makefile (test-xfail-annexc): New variable.
7115 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7117 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7119 * argp/Makefile: Include Makeconfig immediately after defining
7121 * assert/Makefile: Likewise.
7122 * benchtests/Makefile: Likewise.
7123 * catgets/Makefile: Likewise.
7124 * conform/Makefile: Likewise.
7125 * crypt/Makefile: Likewise.
7126 * csu/Makefile: Likewise.
7127 (all): Remove target.
7128 * ctype/Makefile: Include Makeconfig immediately after defining
7130 * debug/Makefile: Likewise.
7131 * dirent/Makefile: Likewise.
7132 * dlfcn/Makefile: Likewise.
7133 * gmon/Makefile: Likewise.
7134 * gnulib/Makefile: Likewise.
7135 * grp/Makefile: Likewise.
7136 * gshadow/Makefile: Likewise.
7137 * hesiod/Makefile: Likewise.
7138 * hurd/Makefile: Likewise.
7139 (all): Remove target.
7140 * iconvdata/Makefile: Include Makeconfig immediately after
7142 * inet/Makefile: Likewise.
7143 * intl/Makefile: Likewise.
7144 * io/Makefile: Likewise.
7145 * libio/Makefile: Likewise.
7146 (all): Remove target.
7147 * locale/Makefile: Include Makeconfig immediately after defining
7149 * login/Makefile: Likewise.
7150 * mach/Makefile: Likewise.
7151 (all): Remove target.
7152 * malloc/Makefile: Include Makeconfig immediately after defining
7154 (all): Remove target.
7155 * manual/Makefile: Include Makeconfig immediately after defining
7157 * math/Makefile: Likewise.
7158 * misc/Makefile: Likewise.
7159 * nis/Makefile: Likewise.
7160 * nss/Makefile: Likewise.
7161 * po/Makefile: Likewise.
7162 (all): Remove target.
7163 * posix/Makefile: Include Makeconfig immediately after defining
7165 * pwd/Makefile: Likewise.
7166 * resolv/Makefile: Likewise.
7167 * resource/Makefile: Likewise.
7168 * rt/Makefile: Likewise.
7169 * setjmp/Makefile: Likewise.
7170 * shadow/Makefile: Likewise.
7171 * signal/Makefile: Likewise.
7172 * socket/Makefile: Likewise.
7173 * soft-fp/Makefile: Likewise.
7174 * stdio-common/Makefile: Likewise.
7175 * stdlib/Makefile: Likewise.
7176 * streams/Makefile: Likewise.
7177 * string/Makefile: Likewise.
7178 * sunrpc/Makefile: Likewise.
7179 (all): Remove target.
7180 * sysvipc/Makefile: Include Makeconfig immediately after defining
7182 * termios/Makefile: Likewise.
7183 * time/Makefile: Likewise.
7184 * timezone/Makefile: Likewise.
7185 (all): Remove target.
7186 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7188 * wctype/Makefile: Likewise.
7190 2014-02-26 Steve Ellcey <sellcey@mips.com>
7192 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7193 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7194 (libc_feholdexcept_setround_mips): Ditto.
7195 (libc_feholdsetround): New.
7196 (libc_feholdsetroundf): New.
7197 (libc_feholdsetroundl): New.
7198 (libc_feupdateenv_test_mips): New.
7199 (libc_feupdateenv_test): New.
7200 (libc_feupdateenv_testf): New.
7201 (libc_feupdateenv_testl): New.
7202 (libc_feresetround): New.
7203 (libc_feresetroundf): New.
7204 (libc_feresetroundl): New.
7205 (libc_fetestexcept_mips): New.
7206 (libc_fetestexcept): New.
7207 (libc_fetestexceptf): New.
7208 (libc_fetestexceptl): New.
7210 (libc_feholdexcept_setround_mips_ctx): New.
7211 (libc_feholdexcept_setround_ctx): New.
7212 (libc_feholdexcept_setroundf_ctx): New.
7213 (libc_feholdexcept_setroundl_ctx): New.
7214 (libc_fesetenv_mips_ctx): New.
7215 (libc_fesetenv_ctx): New.
7216 (libc_fesetenv_ctxf): New.
7217 (libc_fesetenv_ctxl): New.
7218 (libc_feupdateenv_mips_ctx): New.
7219 (libc_feupdateenv_ctx): New.
7220 (libc_feupdateenvf_ctx): New.
7221 (libc_feupdateenvl_ctx): New.
7222 (libc_feholdsetround_mips_ctx): New.
7223 (libc_feholdsetround_ctx): New.
7224 (libc_feholdsetroundf_ctx): New.
7225 (libc_feholdsetroundl_ctx): New.
7226 (libc_feresetround_mips_ctx): New.
7227 (libc_feresetround_ctx): New.
7228 (libc_feresetroundf_ctx): New.
7229 (libc_feresetroundl_ctx): New.
7231 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7233 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7235 * manual/ipc.texi: New file.
7236 * manual/Makefile (chapters): Add ipc.
7237 * manual/job.texi: Add "Inter-Process Communication" to next.
7238 * manual/process.texi: Add "Inter-Process Communication" to prev.
7240 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7244 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7246 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7248 * manual/arith.texi: Fix spaces after sentences.
7249 * manual/charset.texi: Likewise.
7250 * manual/errno.texi: Likewise.
7251 * manual/install.texi: Likewise.
7252 * manual/llio.texi: Likewise.
7253 * manual/locale.texi: Likewise.
7254 * manual/maint.texi: Likewise.
7255 * manual/math.texi: Likewise.
7256 * manual/memory.texi: Likewise.
7257 * manual/message.texi: Likewise.
7258 * manual/probes.texi: Likewise.
7259 * manual/resource.texi: Likewise.
7260 * manual/signal.texi: Likewise.
7261 * manual/socket.texi: Likewise.
7262 * manual/stdio.texi: Likewise.
7263 * manual/string.texi: Likewise.
7264 * manual/time.texi: Likewise.
7265 * manual/users.texi: Likewise.
7267 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7270 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7271 _DEFAULT_SOURCE is defined.
7273 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7274 Carlos O'Donell <carlos@redhat.com>
7277 * elf/dl-tls.c (_dl_count_modids): New function.
7278 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7279 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7280 audit library and increment generation counter.
7281 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7282 * elf/tst-audit9.c: New file.
7283 * elf/tst-auditmod9a.c: New file.
7284 * elf/tst-auditmod9b.c: New file.
7285 * elf/Makefile: Add rules to build and run tst-audit9.
7287 2014-02-25 Florian Weimer <fweimer@redhat.com>
7290 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7292 2014-02-25 Will Newton <will.newton@linaro.org>
7294 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7295 (__longjmp): Restore sp and lr before restoring callee
7296 saved registers. Add longjmp and longjmp_target
7297 SystemTap probe point.
7298 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7299 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7300 Define to zero to match jmpbuf layout.
7301 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7302 (__sigsetjmp): Save sp and lr before saving callee
7303 saved registers. Add setjmp SystemTap probe point.
7305 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7307 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7309 2014-02-24 Andreas Schwab <schwab@suse.de>
7312 * elf/pldd.c (wait_for_ptrace_stop): New function.
7313 (main): Call it after attaching.
7315 2014-02-22 Roland McGrath <roland@hack.frob.com>
7317 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7318 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7319 Versions files is now verboten.
7320 * hurd/Versions (libc: GLIBC_2.0):
7321 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7322 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7323 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7324 * mach/Versions: Likewise.
7326 * csu/Versions: Remove unused %include.
7327 * resolv/Versions: Likewise.
7329 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7331 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7332 ($(objpfx)check-local-headers.out): Likewise.
7333 ($(objpfx)begin-end-check.out): Likewise.
7334 * Makerules (check-abi-%.out): Likewise.
7335 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7336 ($(objpfx)test2.cat): Likewise.
7337 ($(objpfx)de/libc.cat): Likewise.
7338 ($(objpfx)test-gencat.out): Likewise.
7339 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7340 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7341 ($(objpfx)noload-mem): Likewise.
7342 ($(objpfx)tst-pathopt.out): Likewise.
7343 ($(objpfx)tst-rtld-load-self.out): Likewise.
7344 ($(objpfx)tst-array1-cmp.out): Likewise.
7345 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7346 ($(objpfx)tst-array2-cmp.out): Likewise.
7347 ($(objpfx)tst-array3-cmp.out): Likewise.
7348 ($(objpfx)tst-array4-cmp.out): Likewise.
7349 ($(objpfx)tst-array5-cmp.out): Likewise.
7350 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7351 ($(objpfx)check-textrel.out): Likewise.
7352 ($(objpfx)check-execstack.out): Likewise.
7353 ($(objpfx)check-localplt.out): Likewise.
7354 ($(objpfx)order2-cmp.out): Likewise.
7355 ($(objpfx)tst-leaks1-mem): Likewise.
7356 ($(objpfx)tst-leaks1-static-mem): Likewise.
7357 ($(objpfx)tst-initorder-cmp.out): Likewise.
7358 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7359 ($(objpfx)tst-unused-dep.out): Likewise.
7360 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7361 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7362 * iconv/Makefile (test-iconvconfig): Likewise.
7363 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7364 ($(objpfx)iconv-test.out): Likewise.
7365 ($(objpfx)tst-tables.out): Likewise.
7366 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7367 ($(objpfx)tst-gettext.out): Likewise.
7368 ($(objpfx)tst-translit.out): Likewise.
7369 ($(objpfx)tst-gettext2.out): Likewise.
7370 ($(objpfx)tst-gettext4.out): Likewise.
7371 ($(objpfx)tst-gettext6.out): Likewise.
7372 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7373 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7374 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7375 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7376 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7377 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7378 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7379 ($(objpfx)wordexp-tst.out): Likewise.
7380 ($(objpfx)annexc.out): Likewise.
7381 ($(objpfx)tst-fnmatch-mem): Likewise.
7382 ($(objpfx)bug-regex2-mem): Likewise.
7383 ($(objpfx)bug-regex14-mem): Likewise.
7384 ($(objpfx)bug-regex21-mem): Likewise.
7385 ($(objpfx)bug-regex31-mem): Likewise.
7386 ($(objpfx)tst-vfork3-mem): Likewise.
7387 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7388 ($(objpfx)tst-pcre-mem): Likewise.
7389 ($(objpfx)tst-boost-mem): Likewise.
7390 ($(objpfx)tst-getconf.out): Likewise.
7391 ($(objpfx)bug-ga2-mem): Likewise.
7392 ($(objpfx)bug-glob2-mem): Likewise.
7393 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7394 ($(objpfx)mtrace-tst-leaks2): Likewise.
7395 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7396 ($(objpfx)tst-printf.out): Likewise.
7397 ($(objpfx)tst-setvbuf1.out): Likewise.
7398 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7399 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7400 ($(objpfx)tst-fmtmsg.out): Likewise.
7401 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7402 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7404 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7405 * bits/sigaction.h [__USE_MISC]: Likewise.
7406 * bits/waitstatus.h: Update #endif comments.
7407 * ctype/ctype.h: Likewise.
7408 * dirent/dirent.h: Likewise.
7409 [__USE_MISC]: Remove redundant conditionals.
7410 * grp/grp.h: Update #endif comments.
7411 [__USE_GNU]: Remove redundant conditionals.
7412 [__USE_MISC]: Likewise.
7413 * inet/netinet/in.h [__USE_GNU]: Likewise.
7414 * io/sys/stat.h [__USE_MISC]: Likewise.
7415 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7416 * libio/bits/stdio.h: Update #endif comments.
7417 [__USE_MISC]: Remove redundant conditionals.
7418 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7419 * libio/stdio.h: Update #endif comments.
7420 [__USE_MISC]: Remove redundant conditionals.
7421 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7422 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7423 * math/math.h: Update #else and #endif comments.
7424 [__USE_MISC]: Remove redundant conditionals.
7425 * misc/sys/uio.h: Update #endif comments.
7426 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7427 * posix/glob.h [__USE_MISC]: Likewise.
7428 * posix/sys/types.h: Update #endif comments.
7429 [__USE_MISC]: Remove redundant conditionals.
7430 * posix/sys/wait.h: Update #endif comments.
7431 [__USE_MISC]: Remove redundant conditionals.
7432 * posix/unistd.h: Update #endif comments.
7433 [__USE_MISC]: Remove redundant conditionals.
7434 * pwd/pwd.h [__USE_GNU]: Likewise.
7435 [__USE_MISC]: Likewise.
7436 * resolv/netdb.h [__USE_GNU]: Likewise.
7437 * signal/signal.h: Update #endif comments.
7438 [__USE_MISC]: Remove redundant conditionals.
7439 * stdlib/stdlib.h: Update #else and #endif comments.
7440 [__USE_MISC]: Remove redundant conditionals.
7441 [__USE_GNU]: Likewise.
7442 * string/bits/string2.h [__USE_MISC]: Likewise.
7443 * string/string.h: Update #endif comments.
7444 [__USE_MISC]: Remove redundant conditionals.
7445 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7447 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7448 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7449 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7451 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7453 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7455 [__USE_MISC]: Remove redundant conditionals.
7456 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7457 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7458 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7459 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7460 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7462 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7463 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7465 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7466 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7468 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7470 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7471 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7473 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7475 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7476 * sysdeps/x86/bits/string.h: Update #endif comments.
7477 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7479 * time/sys/time.h: Update #endif comments.
7480 * time/time.h: Likewise.
7481 [__USE_MISC]: Remove redundant conditionals.
7483 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7486 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7488 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7490 * Versions.def (librt): Add GLIBC_2.17.
7492 2014-02-21 Adam Conrad <adconrad@0c3.net>
7494 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7495 synonym for _SYS_AUXV_H to allow direct inclusion.
7496 * sysdeps/sparc/bits/hwcap.h: Likewise.
7497 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7498 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7499 * sysdeps/sparc/sysdep.h: Likewise.
7501 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7503 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7505 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7507 * benchtests/bench-strrchr.c: Print length instead of position.
7509 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7512 * sysdeps/unix/sysv/linux/kernel-features.h
7513 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7514 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7515 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7516 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7518 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7519 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7520 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7521 (__ASSUME_SENDMMSG): Define instead of using previous
7522 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7523 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7524 (__ASSUME_SENDMMSG_SYSCALL): Define.
7525 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7526 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7528 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7529 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7531 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7532 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7534 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7535 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7536 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7537 [__ASSUME_SENDMMSG]: Change conditionals to
7538 [__ASSUME_SENDMMSG_SOCKETCALL].
7539 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7540 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7542 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7543 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7545 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7546 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7547 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7548 [!__ASSUME_SENDMMSG]: Change conditional to
7549 [!__ASSUME_SENDMMSG_SOCKETCALL].
7550 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7551 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7555 * sysdeps/unix/sysv/linux/kernel-features.h
7556 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7557 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7558 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7559 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7560 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7561 [__i386__ || __sparc__]
7562 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7563 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7564 (__ASSUME_RECVMMSG): Define instead of using previous
7565 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7566 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7567 (__ASSUME_RECVMMSG_SYSCALL): Define.
7568 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7569 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7571 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7572 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7574 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7575 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7577 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7578 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7579 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7580 [__ASSUME_RECVMMSG]: Change condition to
7581 [__ASSUME_RECVMMSG_SOCKETCALL].
7582 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7583 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7585 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7586 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7587 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7589 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7590 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7591 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7592 [!__ASSUME_RECVMMSG]: Change condition to
7593 [!__ASSUME_RECVMMSG_SOCKETCALL].
7594 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7595 (__ASSUME_RECVMMSG_SYSCALL): Define.
7598 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7599 __powerpc__ || __s390__ || __sh__ || __sparc__]
7600 (__ASSUME_SOCKETCALL): Define.
7601 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7602 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7603 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7604 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7605 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7606 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7607 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7608 (__ASSUME_ACCEPT4): Define instead of using previous
7609 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7610 __powerpc__ || __sparc__ || __s390__)] condition.
7611 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7612 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7613 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7614 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7615 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7616 [!__ASSUME_ACCEPT4]: Change condition to
7617 [!__ASSUME_ACCEPT4_SOCKETCALL].
7618 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7619 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7620 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7621 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7622 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7623 __ASSUME_ACCEPT4_SYSCALL.
7624 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7625 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7626 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7627 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7628 __ASSUME_ACCEPT4_SYSCALL.
7629 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7630 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7631 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7632 [__ASSUME_ACCEPT4]: Change condition to
7633 [__ASSUME_ACCEPT4_SOCKETCALL].
7634 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7635 (__ASSUME_SOCKETCALL): Define.
7636 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7637 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7638 (__ASSUME_SOCKETCALL): Define.
7639 (__ASSUME_ACCEPT4): Remove.
7640 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7642 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7643 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7645 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7646 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7648 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7650 (HWCAP_ARM_LPAE): Likewise.
7651 (HWCAP_ARM_EVTSTRM): Likewise.
7652 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7653 Add vpfd32, lpae and evtstrm.
7654 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7657 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7659 * math/auto-libm-test-in: Add tests of clog10.
7660 * math/auto-libm-test-out: Regenerated.
7661 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7662 * sysdeps/i386/fpu/libm-test-ulps: Update.
7663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7665 2014-02-18 Andreas Schwab <schwab@suse.de>
7668 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7669 Store non-zero if the second buffer was newly allocated.
7670 (send_dg): Likewise.
7671 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7672 to send_vc and send_dg.
7673 (res_nsend): Pass NULL for ansp2_malloced.
7674 * resolv/res_query.c (__libc_res_nquery): Add parameter
7675 answerp2_malloced and pass it down to __libc_res_nsend.
7676 (res_nquery): Pass additional NULL to __libc_res_nquery.
7677 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7678 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7679 second answer buffer if answerp2_malloced was set.
7680 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7681 (__libc_res_nquerydomain): Add parameter
7682 answerp2_malloced and pass it down to __libc_res_nquery.
7683 (res_nquerydomain): Pass additional NULL to
7684 __libc_res_nquerydomain.
7685 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7686 additional NULL to __libc_res_nsend and __libc_res_nquery.
7687 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7688 additional NULL to __libc_res_nsearch.
7689 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7690 parameter of __libc_res_nsearch to check for separately allocated
7692 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7694 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7695 additional NULL to __libc_res_nquery.
7696 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7698 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7699 * include/resolv.h: Update prototypes of __libc_res_nquery,
7700 __libc_res_nsearch, __libc_res_nsend.
7702 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7704 * math/auto-libm-test-in: Add tests of fma.
7705 * math/auto-libm-test-out: Regenerated.
7706 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7707 (fma_towardzero_test_data): Likewise.
7708 (fma_downward_test_data): Likewise.
7709 (fma_upward_test_data): Likewise.
7710 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7712 (rounding_modes): Add values for new field.
7713 (func_calc_method): Add value mpfr_fff_f.
7714 (func_calc_desc): Add mpfr_fff_f union field.
7715 (test_function): Add field exact_args.
7716 (FUNC): Add macro argument EXACT_ARGS.
7717 (FUNC_mpfr_f_f): Update call to FUNC.
7718 (FUNC_mpfr_f_f): Likewise.
7719 (FUNC_mpfr_ff_f): Likewise.
7720 (FUNC_mpfr_if_f): Likewise.
7721 (FUNC_mpc_c_f): Likewise.
7722 (FUNC_mpc_c_c): Likewise.
7723 (test_functions): Add fma. Update calls to FUNC.
7724 (handle_input_arg): Add argument exact_args.
7725 (add_test): Update call to handle_input_arg.
7726 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7727 (output_for_one_input_case): Update call to calc_generic_results.
7728 Recalculate exact zero results in each rounding mode.
7730 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7731 non-negative before setting low bit.
7732 * math/auto-libm-test-in: Mark one asin test possibly having
7734 * math/auto-libm-test-out: Regenerated.
7735 * sysdeps/i386/fpu/libm-test-ulps: Update.
7736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7738 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7740 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7741 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7742 ports/sysdeps/unix/sysv/linux/microblaze.
7743 * README: Add missing listing for microblaze*-*-linux-gnu.
7745 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7747 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7748 * sysdeps/unix/sysv/linux/ia64: Move directory from
7749 ports/sysdeps/unix/sysv/linux/ia64.
7750 * README: Update listing for ia64-*-linux-gnu.
7752 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7753 Joseph Myers <joseph@codesourcery.com>
7755 * Makeconfig (test-name): New variable.
7756 (evaluate-test): Likewise.
7757 * Makerules (do-test-clean): Remove .test-result files.
7758 (common-mostlyclean): Likewise.
7759 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7760 * scripts/evaluate-test.sh: New file.
7762 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7764 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7765 separate $(objpfx)tst-fopenloc-cmp.out and
7766 $(objpfx)tst-fopenloc-mem.out targets.
7767 (tests): Update dependencies.
7768 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7769 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7770 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7771 (tst-rxspencer-no-utf8-ARGS): New variable.
7772 (tst-rxspencer-no-utf8-ENV): Likewise.
7773 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7774 instead of $(objpfx)tst-rxspencer-mem.
7775 ($(objpfx)tst-rxspencer-mem): Change target to
7776 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7777 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7778 * posix/tst-rxspencer-no-utf8.c: New file.
7780 * elf/Makefile ($(objpfx)order.out): Remove rule.
7781 [$(run-built-tests) = yes] (tests): Depend on
7782 $(objpfx)order-cmp.out.
7783 ($(objpfx)order-cmp.out): New rule.
7784 [$(run-built-tests) = yes] (tests): Depend on
7785 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7786 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7787 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7788 $(objpfx)tst-array5-static-cmp.out.
7789 ($(objpfx)tst-array1.out): Remove rule.
7790 ($(objpfx)tst-array1-cmp.out): New rule.
7791 ($(objpfx)tst-array1-static.out): Remove rule.
7792 ($(objpfx)tst-array1-static-cmp.out): New rule.
7793 ($(objpfx)tst-array2.out): Remove rule.
7794 ($(objpfx)tst-array2-cmp.out): New rule.
7795 ($(objpfx)tst-array3.out): Remove rule.
7796 ($(objpfx)tst-array3-cmp.out): New rule.
7797 ($(objpfx)tst-array4.out): Remove rule.
7798 ($(objpfx)tst-array4-cmp.out): New rule.
7799 ($(objpfx)tst-array5.out): Remove rule.
7800 ($(objpfx)tst-array5-cmp.out): New rule.
7801 ($(objpfx)tst-array5-static.out): Remove rule.
7802 ($(objpfx)tst-array5-static-cmp.out): New rule.
7803 [$(run-built-tests) = yes] (tests): Depend on
7804 $(objpfx)order2-cmp.out.
7805 ($(objpfx)order2.out): Remove rule.
7806 ($(objpfx)order2-cmp.out): New rule.
7807 ($(objpfx)tst-initorder.out): Remove rule.
7808 [$(run-built-tests) = yes] (tests): Depend on
7809 $(objpfx)tst-initorder-cmp.out.
7810 ($(objpfx)tst-initorder-cmp.out): New rule.
7811 ($(objpfx)tst-initorder2.out): Remove rule.
7812 [$(run-built-tests) = yes] (tests): Depend on
7813 $(objpfx)tst-initorder2-cmp.out.
7814 ($(objpfx)tst-initorder2-cmp.out): New rule.
7815 [$(run-built-tests) = yes] (tests): Depend on
7816 $(objpfx)tst-unused-dep-cmp.out.
7817 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7818 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7819 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7820 on $(objpfx)tst-setvbuf1-cmp.out.
7821 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7822 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7823 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7824 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7825 ($(objpfx)tst-svc.out): Remove rule.
7826 ($(objpfx)tst-svc-cmp.out): New rule.
7828 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7830 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7831 * ctype/ctype.h [__USE_MISC]: Likewise.
7832 * dirent/dirent.h [__USE_MISC]: Likewise.
7833 * grp/grp.h [__USE_MISC]: Likewise.
7834 * io/fcntl.h [__USE_MISC]: Likewise.
7835 * io/sys/stat.h [__USE_MISC]: Likewise.
7836 * libio/stdio.h [__USE_MISC]: Likewise.
7837 * posix/unistd.h [__USE_MISC]: Likewise.
7838 * pwd/pwd.h [__USE_MISC]: Likewise.
7839 * stdlib.h [__USE_MISC]: Likewise.
7840 * string/bits/string2.h [__USE_MISC]: Likewise.
7841 * string/string.h [__USE_MISC]: Likewise.
7842 * time/time.h [__USE_MISC]: Likewise.
7844 2014-02-13 Andreas Schwab <schwab@suse.de>
7847 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7848 second answer buffer if it was separately allocated.
7850 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7852 * sysdeps/mips/math-tests.h: Include <features.h>.
7853 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7854 (ROUNDING_TESTS_long_double): Do not define.
7855 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7856 (EXCEPTION_TESTS_long_double): Likewise.
7857 * sysdeps/mips/mips64/libm-test-ulps: Update.
7859 * include/features.h (__USE_BSD): Remove macro definitions.
7860 (__USE_SVID): Likewise.
7861 (_BSD_SOURCE): Likewise.
7862 (_SVID_SOURCE): Likewise.
7863 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7864 from definition of _DEFAULT_SOURCE.
7865 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7867 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7868 * bits/mman.h [__USE_BSD]: Likewise.
7869 * bits/termios.h [__USE_BSD]: Likewise.
7870 * bits/waitstatus.h [__USE_BSD]: Likewise.
7871 * ctype/ctype.h [__USE_SVID]: Likewise.
7872 * dirent/dirent.h [__USE_BSD]: Likewise.
7873 * grp/grp.h [__USE_SVID]: Likewise.
7874 [__USE_BSD]: Likewise.
7875 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7876 * io/fcntl.h [__USE_BSD]: Likewise.
7877 * io/ftw.h [__USE_BSD]: Likewise.
7878 * io/sys/stat.h [__USE_BSD]: Likewise.
7879 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7880 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7881 * libio/stdio.h [__USE_SVID]: Likewise.
7882 [__USE_BSD]: Likewise.
7883 * math/math.h [__USE_SVID]: Likewise.
7884 [__USE_BSD]: Likewise.
7885 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7886 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7887 * misc/search.h [__USE_SVID]: Likewise.
7888 * misc/sys/mman.h [__USE_BSD]: Likewise.
7889 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7890 * misc/sys/uio.h [__USE_BSD]: Likewise.
7891 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7892 * posix/glob.h [__USE_BSD]: Likewise.
7893 * posix/regex.h [__USE_BSD]: Likewise.
7894 * posix/sys/types.h [__USE_BSD]: Likewise.
7895 [__USE_SVID]: Likewise.
7896 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7897 * posix/sys/wait.h [__USE_BSD]: Likewise.
7898 [__USE_SVID]: Likewise.
7899 * posix/unistd.h [__USE_BSD]: Likewise.
7900 [__USE_SVID]: Likewise.
7901 * pwd/pwd.h [__USE_SVID]: Likewise.
7902 * resolv/netdb.h [__USE_BSD]: Likewise.
7903 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7904 * signal/signal.h [__USE_BSD]: Likewise.
7905 [__USE_SVID]: Likewise.
7906 * socket/sys/socket.h [__USE_BSD]: Likewise.
7907 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7908 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7909 [__USE_SVID]: Likewise.
7910 * string/bits/string2.h [__USE_BSD]: Likewise.
7911 [__USE_SVID]: Likewise.
7912 * string/bits/string3.h [__USE_BSD]: Likewise.
7913 * string/endian.h [__USE_BSD]: Likewise.
7914 * string/string.h [__USE_SVID]: Likewise.
7915 [__USE_BSD]: Likewise.
7916 * string/strings.h [__USE_BSD]: Likewise.
7917 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7918 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7919 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7920 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7921 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7922 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7924 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7926 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7927 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7929 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7930 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7932 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7934 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7935 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7936 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7938 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7940 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7941 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7942 * termios/termios.h [__USE_BSD]: Likewise.
7943 * time/sys/time.h [__USE_BSD]: Likewise.
7944 * time/time.h [__USE_BSD]: Likewise.
7945 [__USE_SVID]: Likewise.
7947 * Makefile (subdir_targets): Remove subdir_lint.out.
7949 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7950 (do-tst-printf): Likewise.
7951 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7952 $(objpfx)tst-printf.out.
7954 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7956 * Makerules (check-abi-%): Change target to
7957 $(objpfx)check-abi-%.out.
7958 (check-abi target): Update dependencies.
7959 (check-abi-pattern variable): Redirect output of diff to $@.
7960 (check-abi variable): Likewise.
7961 * elf/Makefile (check-abi): Update dependencies.
7963 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7965 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7966 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7968 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7969 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7970 value has largest subnormal exponent.
7971 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7972 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7973 * sysdeps/aarch64/soft-fp/sfp-machine.h
7974 (_FP_TININESS_AFTER_ROUNDING): New macro.
7975 * sysdeps/alpha/soft-fp/sfp-machine.h
7976 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7977 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7979 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7980 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7981 * sysdeps/mips/soft-fp/sfp-machine.h
7982 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7983 * sysdeps/powerpc/soft-fp/sfp-machine.h
7984 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7985 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7987 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7988 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7989 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7990 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7991 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7994 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7997 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8000 2014-02-12 Richard Henderson <rth@redhat.com>
8002 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8003 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8004 * sysdeps/unix/sysv/linux/alpha: Move directory from
8005 ports/sysdeps/unix/sysv/linux/alpha.
8006 * README: Update listing for alpha-*-linux-gnu.
8008 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8010 * include/features.h: Update comment documenting feature test
8012 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8014 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8015 (_SVID_SOURCE): Likewise.
8016 (_DEFAULT_SOURCE): Update description of default features.
8017 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8019 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8020 (S_ISVTX): Likewise.
8021 * manual/math.texi (Mathematical Constants): Likewise.
8022 * manual/signal.texi (Interrupted Primitives): Likewise.
8023 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8024 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8025 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8026 Don't refer to _SVID_SOURCE in warning text.
8028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8030 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8032 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8033 * sysdeps/mips/dl-lookup.c: Remove.
8034 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8036 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8039 * math/auto-libm-test-in: Add testcase for expl.
8040 * math/auto-libm-test-out: Regenerate.
8041 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8042 calculation of unsafe.
8043 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8045 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8047 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8048 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8049 ports/sysdeps/unix/sysv/linux/aarch64.
8050 * README: Update listing for aarch64*-*-linux-gnu.
8052 2014-02-11 Will Newton <will.newton@linaro.org>
8054 * manual/probes.texi (Mathematical Function Probes): Use
8055 "triggered" instead of "hit".
8057 * manual/probes.texi (Internal Probes): Add documentation
8058 of setjmp, longjmp and longjmp_target probes.
8060 * include/stap-probe.h: Add comment about probe argument
8063 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8064 definition. (tr_where, tr_freehook, tr_mallochook,
8065 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8067 2014-02-11 David S. Miller <davem@davemloft.net>
8069 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8070 processing int_tests.
8072 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8074 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8075 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8076 * sysdeps/unix/sysv/linux/mips: Move directory from
8077 ports/sysdeps/unix/sysv/linux/mips.
8078 * README: Update listing for mips-*-linux-gnu and
8081 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8083 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8084 * sysdeps/unix/sysv/linux/m68k: Move directory from
8085 ports/sysdeps/unix/sysv/linux/m68k.
8086 * README: Update listing for m68k-*-linux-gnu.
8088 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8090 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8091 * sysdeps/unix/sysv/linux/generic: Move directory from
8092 ports/sysdeps/unix/sysv/linux/generic.
8093 * sysdeps/unix/sysv/linux/tile: Move directory from
8094 ports/sysdeps/unix/sysv/linux/tile.
8095 * README: Update listing for tile*-*-linux-gnu.
8097 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8099 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8101 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8102 * catgets/open_catalog.c (__open_catalog): Likewise.
8103 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8104 * debug/confstr_chk.c: Likewise.
8105 * debug/fread_chk.c (__fread_chk): Likewise.
8106 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8107 * debug/getgroups_chk.c: Likewise.
8108 * debug/mbsnrtowcs_chk.c: Likewise.
8109 * debug/mbsrtowcs_chk.c: Likewise.
8110 * debug/mbstowcs_chk.c: Likewise.
8111 * debug/memcpy_chk.c: Likewise.
8112 * debug/memmove_chk.c: Likewise.
8113 * debug/mempcpy_chk.c: Likewise.
8114 * debug/memset_chk.c: Likewise.
8115 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8116 * debug/strcat_chk.c (__strcat_chk): Likewise.
8117 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8118 * debug/strncat_chk.c (__strncat_chk): Likewise.
8119 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8120 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8121 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8122 * debug/wcpncpy_chk.c: Likewise.
8123 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8124 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8125 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8126 * debug/wcsncpy_chk.c: Likewise.
8127 * debug/wcsnrtombs_chk.c: Likewise.
8128 * debug/wcsrtombs_chk.c: Likewise.
8129 * debug/wcstombs_chk.c: Likewise.
8130 * debug/wmemcpy_chk.c: Likewise.
8131 * debug/wmemmove_chk.c: Likewise.
8132 * debug/wmempcpy_chk.c: Likewise.
8133 * debug/wmemset_chk.c: Likewise.
8134 * dirent/scandirat.c (SCANDIRAT): Likewise.
8135 * dlfcn/dladdr1.c (dladdr1): Likewise.
8136 * dlfcn/dladdr.c (dladdr): Likewise.
8137 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8138 * dlfcn/dlerror.c (__dlerror): Likewise.
8139 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8140 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8141 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8142 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8143 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8144 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8145 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8146 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8148 * elf/dl-conflict.c: Likewise.
8149 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8150 * elf/dl-dst.h: Likewise.
8151 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8152 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8153 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8154 * elf/dl-init.c (call_init, _dl_init): Likewise.
8155 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8156 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8157 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8159 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8161 * elf/dl-minimal.c (__libc_memalign): Likewise.
8162 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8163 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8164 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8165 * elf/dl-sym.c (do_sym): Likewise.
8166 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8167 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8168 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8169 * elf/dl-writev.h (_dl_writev): Likewise.
8170 * elf/ldconfig.c (search_dir): Likewise.
8171 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8172 (dl_main): Likewise.
8173 * elf/setup-vdso.h (setup_vdso): Likewise.
8174 * grp/compat-initgroups.c (compat_call): Likewise.
8175 * grp/fgetgrent.c (fgetgrent): Likewise.
8176 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8177 * grp/putgrent.c (putgrent): Likewise.
8178 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8180 * hurd/hurdinit.c: Likewise.
8181 * iconvdata/8bit-gap.c (struct): Likewise.
8182 * iconvdata/ansi_x3.110.c : Likewise.
8183 * iconvdata/big5.c : Likewise.
8184 * iconvdata/big5hkscs.c : Likewise.
8185 * iconvdata/cp1255.c: Likewise.
8186 * iconvdata/cp1258.c : Likewise.
8187 * iconvdata/cp932.c : Likewise.
8188 * iconvdata/euc-cn.c: Likewise.
8189 * iconvdata/euc-jisx0213.c : Likewise.
8190 * iconvdata/euc-jp.c: Likewise.
8191 * iconvdata/euc-jp-ms.c : Likewise.
8192 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8193 * iconvdata/gb18030.c : Likewise.
8194 * iconvdata/gbbig5.c (const): Likewise.
8195 * iconvdata/gbgbk.c: Likewise.
8196 * iconvdata/gbk.c : Likewise.
8197 * iconvdata/ibm1364.c : Likewise.
8198 * iconvdata/ibm930.c : Likewise.
8199 * iconvdata/ibm932.c: Likewise.
8200 * iconvdata/ibm933.c : Likewise.
8201 * iconvdata/ibm935.c : Likewise.
8202 * iconvdata/ibm937.c : Likewise.
8203 * iconvdata/ibm939.c : Likewise.
8204 * iconvdata/ibm943.c: Likewise.
8205 * iconvdata/iso_11548-1.c: Likewise.
8206 * iconvdata/iso-2022-cn.c : Likewise.
8207 * iconvdata/iso-2022-cn-ext.c : Likewise.
8208 * iconvdata/iso-2022-jp-3.c: Likewise.
8209 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8210 * iconvdata/iso-2022-kr.c : Likewise.
8211 * iconvdata/iso646.c (gconv_end): Likewise.
8212 * iconvdata/iso_6937-2.c : Likewise.
8213 * iconvdata/iso_6937.c : Likewise.
8214 * iconvdata/iso8859-1.c: Likewise.
8215 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8216 * iconvdata/shift_jisx0213.c : Likewise.
8217 * iconvdata/sjis.c : Likewise.
8218 * iconvdata/t.61.c : Likewise.
8219 * iconvdata/tcvn5712-1.c : Likewise.
8220 * iconvdata/tscii.c: Likewise.
8221 * iconvdata/uhc.c : Likewise.
8222 * iconvdata/unicode.c (gconv_end): Likewise.
8223 * iconvdata/utf-16.c (gconv_end): Likewise.
8224 * iconvdata/utf-32.c (gconv_end): Likewise.
8225 * iconvdata/utf-7.c (base64): Likewise.
8226 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8227 * iconv/gconv_close.c (__gconv_close): Likewise.
8228 * iconv/gconv_open.c (__gconv_open): Likewise.
8229 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8230 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8231 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8232 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8233 (ucs4le_internal_loop_single): Likewise.
8234 * iconv/iconv.c (iconv): Likewise.
8235 * iconv/iconv_close.c: Likewise.
8236 * iconv/loop.c (SINGLE): Likewise.
8237 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8238 * include/atomic.h: Likewise.
8239 * inet/inet6_option.c (option_alloc): Likewise.
8240 * intl/bindtextdom.c (set_binding_values): Likewise.
8241 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8242 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8243 * intl/localealias.c (read_alias_file): Likewise.
8244 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8245 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8246 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8247 * libio/fmemopen.c (fmemopen): Likewise.
8248 * libio/iofgets.c (_IO_fgets): Likewise.
8249 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8250 * libio/iofgetws.c (fgetws): Likewise.
8251 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8252 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8253 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8254 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8255 * locale/findlocale.c (_nl_find_locale): Likewise.
8256 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8257 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8259 * locale/setlocale.c (setlocale): Likewise.
8260 * login/programs/pt_chown.c (main): Likewise.
8261 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8262 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8263 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8264 (mmap, mmap64, mremap, munmap): Likewise.
8265 * math/e_exp2l.c: Likewise.
8266 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8267 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8268 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8269 * math/s_catan.c (__catan): Likewise.
8270 * math/s_catanf.c (__catanf): Likewise.
8271 * math/s_catanh.c (__catanh): Likewise.
8272 * math/s_catanhf.c (__catanhf): Likewise.
8273 * math/s_catanhl.c (__catanhl): Likewise.
8274 * math/s_catanl.c (__catanl): Likewise.
8275 * math/s_ccosh.c (__ccosh): Likewise.
8276 * math/s_ccoshf.c (__ccoshf): Likewise.
8277 * math/s_ccoshl.c (__ccoshl): Likewise.
8278 * math/s_cexp.c (__cexp): Likewise.
8279 * math/s_cexpf.c (__cexpf): Likewise.
8280 * math/s_cexpl.c (__cexpl): Likewise.
8281 * math/s_clog10.c (__clog10): Likewise.
8282 * math/s_clog10f.c (__clog10f): Likewise.
8283 * math/s_clog10l.c (__clog10l): Likewise.
8284 * math/s_clog.c (__clog): Likewise.
8285 * math/s_clogf.c (__clogf): Likewise.
8286 * math/s_clogl.c (__clogl): Likewise.
8287 * math/s_csin.c (__csin): Likewise.
8288 * math/s_csinf.c (__csinf): Likewise.
8289 * math/s_csinh.c (__csinh): Likewise.
8290 * math/s_csinhf.c (__csinhf): Likewise.
8291 * math/s_csinhl.c (__csinhl): Likewise.
8292 * math/s_csinl.c (__csinl): Likewise.
8293 * math/s_csqrt.c (__csqrt): Likewise.
8294 * math/s_csqrtf.c (__csqrtf): Likewise.
8295 * math/s_csqrtl.c (__csqrtl): Likewise.
8296 * math/s_ctan.c (__ctan): Likewise.
8297 * math/s_ctanf.c (__ctanf): Likewise.
8298 * math/s_ctanh.c (__ctanh): Likewise.
8299 * math/s_ctanhf.c (__ctanhf): Likewise.
8300 * math/s_ctanhl.c (__ctanhl): Likewise.
8301 * math/s_ctanl.c (__ctanl): Likewise.
8302 * math/w_pow.c: Likewise.
8303 * math/w_powf.c: Likewise.
8304 * math/w_powl.c: Likewise.
8305 * math/w_scalb.c (sysv_scalb): Likewise.
8306 * math/w_scalbf.c (sysv_scalbf): Likewise.
8307 * math/w_scalbl.c (sysv_scalbl): Likewise.
8308 * misc/error.c (error_tail): Likewise.
8309 * misc/pselect.c (__pselect): Likewise.
8310 * nis/nis_callback.c (__nis_create_callback): Likewise.
8311 * nis/nis_call.c (__nisfind_server): Likewise.
8312 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8313 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8314 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8315 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8316 * nis/nis_lookup.c (nis_lookup): Likewise.
8317 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8318 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8319 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8320 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8321 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8322 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8323 * nis/nss_compat/compat-initgroups.c (add_group)
8324 (internal_getgrent_r): Likewise.
8325 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8326 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8327 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8328 (internal_getspnam_r): Likewise.
8329 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8330 (_nss_nis_getaliasbyname_r): Likewise.
8331 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8332 (_nss_nis_getntohost_r): Likewise.
8333 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8334 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8335 (_nss_nis_getgrgid_r): Likewise.
8336 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8337 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8338 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8339 (_nss_nis_gethostbyname4_r): Likewise.
8340 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8341 (initgroups_netid): Likewise.
8342 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8343 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8344 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8345 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8346 (_nss_nis_getprotobynumber_r): Likewise.
8347 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8348 (_nss_nis_getsecretkey): Likewise.
8349 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8350 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8351 (_nss_nis_getpwuid_r): Likewise.
8352 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8353 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8354 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8355 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8356 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8357 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8358 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8360 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8361 (_nss_nisplus_getntohost_r): Likewise.
8362 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8363 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8364 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8365 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8367 * nis/nss_nisplus/nisplus-initgroups.c
8368 (_nss_nisplus_initgroups_dyn): Likewise.
8369 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8370 (_nss_nisplus_getnetbyaddr_r): Likewise.
8371 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8372 (_nss_nisplus_getprotobynumber_r): Likewise.
8373 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8374 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8375 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8377 * nis/nss_nisplus/nisplus-service.c
8378 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8379 (_nss_nisplus_getservbyport_r): Likewise.
8380 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8381 (_nss_nisplus_getspnam_r): Likewise.
8382 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8384 * nscd/aicache.c (addhstaiX): Likewise.
8385 * nscd/cache.c (cache_search, prune_cache): Likewise.
8386 * nscd/connections.c (register_traced_file, send_ro_fd)
8387 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8388 (main_loop_epoll): Likewise.
8389 * nscd/grpcache.c (addgrbyX): Likewise.
8390 * nscd/hstcache.c (addhstbyX): Likewise.
8391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8392 * nscd/mem.c (gc, mempool_alloc): Likewise.
8393 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8394 (addinnetgrX): Likewise.
8395 * nscd/nscd-client.h (__nscd_acquire_maplock)
8396 (__nscd_drop_map_ref): Likewise.
8397 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8398 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8399 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8401 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8402 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8403 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8404 (__nscd_get_map_ref): Likewise.
8405 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8406 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8408 * nscd/pwdcache.c (addpwbyX): Likewise.
8409 * nscd/selinux.c (preserve_capabilities): Likewise.
8410 * nscd/servicescache.c (addservbyX): Likewise.
8411 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8412 * posix/fnmatch.c (fnmatch): Likewise.
8413 * posix/getopt.c (_getopt_internal_r): Likewise.
8414 * posix/glob.c (glob, glob_in_dir): Likewise.
8415 * posix/wordexp.c (exec_comm_child): Likewise.
8416 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8417 (getanswer_r, gaih_getanswer_slice): Likewise.
8418 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8419 * resolv/res_init.c: Likewise.
8420 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8421 * resolv/res_query.c (__libc_res_nquery): Likewise.
8422 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8424 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8425 * stdio-common/perror.c (perror): Likewise.
8426 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8427 * stdio-common/tmpnam.c (tmpnam): Likewise.
8428 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8429 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8430 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8432 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8433 * stdlib/putenv.c (putenv): Likewise.
8434 * stdlib/setenv.c (__add_to_environ): Likewise.
8435 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8436 * stdlib/strtol_l.c (INTERNAL): Likewise.
8437 * string/memmem.c (memmem): Likewise.
8438 * string/strerror.c (strerror): Likewise.
8439 * string/strnlen.c (__strnlen): Likewise.
8440 * string/test-memmem.c (simple_memmem): Likewise.
8441 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8442 * sunrpc/pm_getport.c (__get_socket): Likewise.
8443 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8444 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8445 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8446 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8448 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8449 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8450 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8451 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8452 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8453 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8455 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8457 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8458 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8460 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8461 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8463 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8464 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8465 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8466 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8467 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8468 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8470 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8472 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8474 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8475 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8476 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8477 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8478 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8479 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8480 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8481 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8483 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8484 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8486 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8487 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8489 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8491 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8493 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8495 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8497 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8498 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8499 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8501 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8502 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8503 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8504 * sysdeps/posix/sleep.c: Likewise.
8505 * sysdeps/posix/tempname.c: Likewise.
8506 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8507 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8509 * sysdeps/powerpc/powerpc32/dl-machine.h
8510 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8511 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8512 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8513 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8514 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8516 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8517 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8518 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8519 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8520 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8521 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8522 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8523 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8524 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8525 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8526 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8527 (elf_machine_lazy_rel): Likewise.
8528 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8529 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8530 (elf_machine_lazy_rel): Likewise.
8531 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8532 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8533 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8534 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8535 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8536 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8537 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8540 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8541 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8542 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8543 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8544 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8545 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8546 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8547 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8548 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8549 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8550 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8552 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8553 (__posix_fallocate64_l64): Likewise.
8554 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8555 (posix_fallocate): Likewise.
8556 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8558 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8559 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8560 (getifaddrs_internal): Likewise.
8561 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8562 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8563 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8564 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8565 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8566 (__posix_fallocate64_l64): Likewise.
8567 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8569 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8570 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8571 (__get_clockfreq): Likewise.
8572 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8573 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8574 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8575 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8577 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8578 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8579 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8581 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8582 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8583 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8584 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8585 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8586 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8587 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8589 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8590 (posix_fallocate): Likewise.
8591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8592 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8593 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8594 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8595 (elf_machine_rela, elf_machine_rela_relative)
8596 (elf_machine_lazy_rel): Likewise.
8597 * time/asctime.c (asctime_internal): Likewise.
8598 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8599 * time/tzset.c (__tzset_parse_tz): Likewise.
8600 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8601 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8602 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8603 * wcsmbs/wcsmbsload.h: Likewise.
8606 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8608 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8609 (arena_get2): Remove THREAD_STATS conditionals.
8610 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8611 (__malloc_stats, int): Likewise.
8613 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8615 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8616 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8618 * manual/setjmp.texi: Fix typos/grammar errors.
8620 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8621 Only return early when n is <= 0. Delete unused return statement.
8623 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8624 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8625 * debug/tst-longjmp_chk3.c: New file.
8627 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8628 (test_main): Replace code with set_fortify_handler call.
8629 * debug/test-strcpy_chk.c: Likewise.
8630 * debug/tst-chk1.c: Likewise.
8631 * debug/tst-longjmp_chk.c: Likewise.
8632 * test-skeleton.c: Include fcntl.h & paths.h
8633 (set_fortify_handler): Define.
8635 * debug/tst-longjmp_chk.c: Add header comment and include
8637 (do_test): Mark static.
8638 (TEST_FUNCTION): Define.
8640 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8641 (IP_PMTUDISC_INTERFACE): Likewise.
8642 (IP_MULTICAST_IF): Likewise.
8643 (IP_MULTICAST_TTL): Likewise.
8644 (IP_MULTICAST_LOOP): Likewise.
8645 (IP_ADD_MEMBERSHIP): Likewise.
8646 (IP_DROP_MEMBERSHIP): Likewise.
8647 (IP_UNBLOCK_SOURCE): Likewise.
8648 (IP_BLOCK_SOURCE): Likewise.
8649 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8650 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8651 (IP_MSFILTER): Likewise.
8652 (MCAST_JOIN_GROUP): Likewise.
8653 (MCAST_BLOCK_SOURCE): Likewise.
8654 (MCAST_UNBLOCK_SOURCE): Likewise.
8655 (MCAST_LEAVE_GROUP): Likewise.
8656 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8657 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8658 (MCAST_MSFILTER): Likewise.
8659 (IP_MULTICAST_ALL): Likewise.
8660 (IP_UNICAST_IF): Likewise.
8662 * timezone/Makefile: Delete $(have-ksh) check.
8663 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8664 * timezone/tzselect.ksh: Add +x mode bits.
8666 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8667 (ANON_INODE_FS_MAGIC): Likewise.
8668 (BDEVFS_MAGIC): Likewise.
8669 (BINFMTFS_MAGIC): Likewise.
8670 (BTRFS_TEST_MAGIC): Likewise.
8671 (CRAMFS_MAGIC_WEND): Likewise.
8672 (DEBUGFS_MAGIC): Likewise.
8673 (ECRYPTFS_SUPER_MAGIC): Likewise.
8674 (EXT3_SUPER_MAGIC): Likewise.
8675 (EXT4_SUPER_MAGIC): Likewise.
8676 (FUTEXFS_SUPER_MAGIC): Likewise.
8677 (HOSTFS_SUPER_MAGIC): Likewise.
8678 (HUGETLBFS_MAGIC): Likewise.
8679 (MINIX3_SUPER_MAGIC): Likewise.
8680 (MTD_INODE_FS_MAGIC): Likewise.
8681 (NILFS_SUPER_MAGIC): Likewise.
8682 (OPENPROM_SUPER_MAGIC): Likewise.
8683 (PIPEFS_MAGIC): Likewise.
8684 (PSTOREFS_MAGIC): Likewise.
8685 (QNX6_SUPER_MAGIC): Likewise.
8686 (RAMFS_MAGIC): Likewise.
8687 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8688 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8689 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8690 (SECURITYFS_MAGIC): Likewise.
8691 (SELINUX_MAGIC): Likewise.
8692 (SMACK_MAGIC): Likewise.
8693 (SOCKFS_MAGIC): Likewise.
8694 (SQUASHFS_MAGIC): Likewise.
8695 (STACK_END_MAGIC): Likewise.
8696 (TMPFS_MAGIC): Likewise.
8697 (USBDEVICE_SUPER_MAGIC): Likewise.
8698 (V9FS_MAGIC): Likewise.
8699 (XENFS_SUPER_MAGIC): Likewise.
8700 (CRAMFS_MAGIC): Fix typo in comment.
8701 (EXT2_SUPER_MAGIC): Update comment.
8702 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8704 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8706 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8707 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8708 * sysdeps/unix/sysv/linux/arm: Move directory from
8709 ports/sysdeps/unix/sysv/linux/arm.
8710 * README: Update listing for arm-*-linux-gnueabi.
8712 * README: Remove mention of am33.
8714 2014-02-07 Roland McGrath <roland@hack.frob.com>
8716 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8717 than the comma operator, to avoid "rhs of comma has no effect"
8719 (__sigfillset, __sigandset, __sigorset): Likewise.
8720 * include/signal.h (__sigemptyset): Likewise.
8721 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8723 2014-02-07 Allan McRae <allan@archlinux.org>
8725 * version.h (RELEASE): Set to "development".
8726 (VERSION): Set to "2.19.90"
8727 * NEWS: Add 2.20 section.
8729 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8732 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8734 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8736 * manual/contrib.texi: Update entry for Carlos O'Donell,
8737 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8739 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8741 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8743 * sysdeps/unix/sysv/linux/kernel-features.h
8744 [__LINUX_KERNEL_VERSION >= 0x020621]
8745 (__ASSUME_PROC_PID_TASK_COMM): Define.
8747 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8750 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8751 conversion when destination buffer does not have enough space.
8752 * libio/tst-ftell-partial-wide.c: New test case.
8753 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8755 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8756 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8757 Leonard and Allan McRae.
8759 2014-02-04 David S. Miller <davem@davemloft.net>
8761 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8764 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8793 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8795 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8796 * shlib-versions: Likewise.
8798 2014-02-04 Roland McGrath <roland@hack.frob.com>
8799 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8801 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8802 (abilist-pattern): New variable, set to %-le.abilist.
8804 * Makerules (abilist-pattern): New variable.
8805 (vpath): Use $(abilist-pattern) in place of %.abilist.
8806 (check-abi-% pattern rule): Likewise.
8807 (check-abi, update-abi): Likewise.
8809 2014-02-04 Eric Wong <normalperson@yhbt.net>
8811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8813 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8815 * manual/startup.texi: Add next, previous, and top entries for
8816 the `Program Arguments' and `Environment Variables' nodes.
8818 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8820 * manual/macros.texi: Add comments before MTASC-safety macros.
8822 * manual/users.texi: Document MTASC-safety properties.
8824 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8825 (pthread_getspecific, pthread_setspecific): Format with
8826 @deftypefun, and add @safety note.
8827 * manual/signal.texi: Move comments that analyze the above
8828 functions to their home place.
8830 2014-02-03 Allan McRae <allan@archlinux.org>
8832 * po/sl.po: Update Slovenian translation from translation project.
8834 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8836 * manual/time.texi (timegm): Add missing blank after @c.
8837 Reported by Joseph Myers <joseph@codesourcery.com>.
8839 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8841 * manual/check-safety.sh: New.
8842 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8844 * manual/terminal.texi: Document MTASC-safety properties.
8846 * manual/filesys.texi: Document MTASC-safety properties.
8848 * manual/errno.texi: Document MTASC-safety properties.
8850 * manual/intro.texi: Document safety identifiers and
8853 * manual/string.texi (wcstok): Fix prototype.
8854 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8856 * manual/time.texi: Document MTASC-safety properties.
8858 * manual/string.texi: Document MTASC-safety properties.
8860 * manual/threads.texi: Document MTASC-safety properties.
8862 * manual/stdio.texi: Document MTASC-safety properties.
8864 * manual/syslog.texi: Document MTASC-safety properties.
8866 * manual/sysinfo.texi: Document MTASC-safety properties.
8868 * manual/startup.texi: Document MTASC-safety properties.
8870 * manual/socket.texi: Document MTASC-safety properties.
8872 * manual/signal.texi: Document MTASC-safety properties.
8874 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8876 * manual/setjmp.texi: Document MTASC-safety properties.
8878 * manual/search.texi: Document MTASC-safety properties.
8880 * manual/resource.texi: Document MTASC-safety properties.
8882 * manual/process.texi: Document MTASC-safety properties.
8884 * manual/platform.texi: Document MTASC-safety properties.
8886 * manual/pipe.texi: Document MTASC-safety properties.
8888 * manual/pattern.texi: Document MTASC-safety properties.
8890 * manual/message.texi: Document MTASC-safety properties.
8893 * manual/memory.texi: Document MTASC-safety properties.
8895 * manual/math.texi: Document MTASC-safety properties.
8897 * manual/locale.texi: Document MTASC-safety properties.
8899 * manual/llio.texi: Document MTASC-safety properties.
8901 * manual/libdl.texi: New.
8903 * manual/lang.texi: Document MTASC-safety properties.
8905 * manual/job.texi: Document MTASC-safety properties.
8907 * manual/getopt.texi: Document MTASC-safety properties.
8909 * manual/ctype.texi: Document MTASC-safety properties.
8911 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8914 * csu/libc-tls.c (static_map): Remove variable.
8915 (__libc_setup_tls): Use main executable's link map for TLS data.
8916 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8917 casing for LM_ID_BASE and GL(dl_nns).
8918 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8919 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8920 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8921 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8922 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8924 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8927 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8929 * manual/debug.texi: Document MTASC-safety properties.
8931 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8934 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8935 of __x86_64__ when disabling x87 inline functions.
8937 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8939 * manual/charset.texi: Document MTASC-safety properties.
8941 * manual/crypt.texi: Document MTASC-safety properties.
8943 * manual/conf.texi: Document MTASC-safety properties.
8945 * manual/arith.texi: Document MTASC-safety properties.
8947 * manual/argp.texi: Document MTASC-safety properties.
8949 * manual/macros.texi: Introduce macros to document multi
8950 thread, asynchronous signal and asynchronous cancellation
8952 * manual/intro.texi: Introduce the properties themselves.
8954 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8956 * sysdeps/sh/sh4/Makefile: New file.
8958 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8960 * math/gen-libm-test.pl ($srcdir): New variable.
8961 ($auto_input): Use it.
8963 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8966 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8967 access beyond array bounds when parsing netgroups file.
8969 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8970 the old buffer before realloc.
8972 2014-01-27 Allan McRae <allan@archlinux.org>
8974 * po/fr.po: Update French translation from translation project.
8976 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8978 * sysdeps/sh/libm-test-ulps: Regenerate.
8980 2014-01-24 David S. Miller <davem@davemloft.net>
8982 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8984 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8986 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8987 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8989 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8992 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8993 string pointers after reallocation.
8995 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8997 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8998 __SH4A__ instead of __SH_FPU_ANY__.
9000 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9002 * sysdeps/sh/fpu_control.h: New file.
9003 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9004 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9005 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9006 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9007 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9008 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9009 * sysdeps/sh/sys/ucontext.h: Remove.
9010 * sysdeps/sh/sys: Remove directory.
9012 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9014 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9015 s390/sys/ucontext.h.
9016 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9017 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9019 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9022 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9024 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9027 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9028 Adjust the vDSO correctly for internal calls.
9029 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9031 2014-01-20 Allan McRae <allan@archlinux.org>
9033 * po/ca.po: Update Catalan translation from translation project.
9035 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9037 * sysdeps/s390/sotruss-lib.c: New file.
9039 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9042 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9043 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9044 local calls issues by not having a PLT stub required for IFUNC calls.
9045 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9047 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9049 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9050 * math/test-fpucw-static.c: Likewise.
9052 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9055 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9057 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9059 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9060 implementation for powerpc.
9062 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9065 * sysdeps/posix/system.c (__libc_system): Do not enable
9066 asynchronous cancellation.
9068 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9071 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9072 handling only for numbers special also in the IEEE case.
9074 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9076 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9078 2014-01-11 Allan McRae <allan@archlinux.org>
9080 * po/bg.po: Update Bulgarian translation from translation project.
9082 * po/de.po: Update German translation from translation project.
9084 2014-01-10 Roland McGrath <roland@hack.frob.com>
9086 * sysdeps/generic/gcc-compat.h: New file.
9088 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9090 * benchtests/asin-inputs: Correct slow inputs.
9091 * benchtests/acos-inputs: Likewise.
9093 2014-01-10 Allan McRae <allan@archlinux.org>
9095 * po:sv.po: Update Swedish translation from translation project.
9097 * po/vi.po: Update Vietnamese translation from translation project.
9099 * po/eo.po: Update Esperanto translation from translation project.
9101 * po/cs.po: Update Czech translation from translation project.
9103 * po/nl.po: Update Dutch translation from translation project.
9105 * po/pl.po: Update Polish translation from translation project.
9107 * po/ru.po: Update Russian translation from translation project.
9109 * po/uk.po: Update Ukrainian translation from translation project.
9111 2014-01-08 Brooks Moses <bmoses@google.com>
9113 * elf/dl-load.c: Fix comment typo.
9115 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9117 * po/header.pot: Rename to...
9118 * po/pot.header: ... this.
9119 * po/Makefile: Use pot.header.
9121 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9122 Maxim Kuvyrkov <maxim@kugelworks.com>
9125 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9126 SRC and DEST against LEN.
9128 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9131 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9133 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9135 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9139 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9142 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9143 for large positive arguments.
9145 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9147 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9149 * math/auto-libm-test-in: Mark various tests with
9150 xfail-rounding:ldbl-128ibm.
9151 * math/auto-libm-test-out: Regenerated.
9154 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9155 Increase overflow threshold.
9157 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9160 * stdio-common/vfprintf.c: Check for integer overflow.
9162 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9164 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9165 the first argument and return value of __tls_get_addr_internal.
9167 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9169 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9170 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9172 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9174 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9175 * sysdeps/s390/rtld-global-offsets.sym: New file.
9176 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9178 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9179 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9180 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9182 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9183 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9189 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9190 halfs of GPRs for high_gprs contexts.
9191 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9192 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9194 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9196 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9198 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9199 for high GPRs (uc_high_gprs) and for future extensions
9201 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9202 for future extensions (__reserved).
9203 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9205 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9206 SC_HIGHGPRS offset definition.
9207 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9208 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9210 * Versions.def: Add GLIBC_2.19 for libpthread.
9211 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9212 siglongjmp for libpthread with GLIBC_2.19 symver.
9213 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9214 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9215 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9216 * sysdeps/s390/__longjmp.c: New file.
9217 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9218 * sysdeps/s390/longjmp.c: New file.
9219 * sysdeps/s390/setjmp.S: New file.
9220 * sysdeps/s390/sigjmp.S: New file.
9221 * sysdeps/s390/v1-longjmp.c: New file.
9222 * sysdeps/s390/v1-setjmp.h: New file.
9223 * sysdeps/s390/v1-sigjmp.c: New file.
9224 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9225 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9227 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9228 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9229 versioned symbols for ____longjmp_chk.
9230 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9240 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9241 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9242 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9243 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9244 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9245 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9246 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9247 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9248 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9249 * sysdeps/s390/rtld-__longjmp.c: New file.
9250 * sysdeps/s390/rtld-setjmp.S: New file.
9252 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9255 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9256 Return -__logl (x) for small positive arguments without evaluating
9259 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9261 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9263 (__ptrace_peeksiginfo_args): ... this.
9264 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9265 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9266 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9268 2014-01-06 Allan McRae <allan@archlinux.org>
9270 * inet/netinet/in.h: Fix typo in comment.
9272 2014-01-05 Andreas Jaeger <aj@suse.de>
9274 * sysdeps/i386/fpu/libm-test-ulps: Update.
9276 2014-01-05 Allan McRae <allan@archlinux.org>
9278 * po/libc.pot: Regenerated.
9280 * malloc/memusagestat.c: Fix gettext call formatting.
9282 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9284 * nscd/nscd.c: Improve usage() output.
9286 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9288 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9289 * sysdeps/unix/sysv/linux/configure: Regenerated.
9290 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9291 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9293 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9296 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9297 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9299 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9301 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9302 extra tokens at end of #undef directive.
9303 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9304 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9305 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9307 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9309 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9311 * math/auto-libm-test-in: Mark various tests with
9312 xfail-rounding:ldbl-128ibm.
9313 * math/auto-libm-test-out: Regenerated.
9315 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9319 numbers with subnormal high part when calculating exponent.
9322 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9326 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9328 (__ieee754_acoshl): Use __log1pl not __log1p.
9330 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9332 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9333 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9334 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9335 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9336 (reused_arena, arena_get2): Convert to GNU style.
9337 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9338 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9339 (memalign_check, __malloc_set_state): Likewise.
9340 * malloc/mallocbug.c (main): Likewise.
9341 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9342 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9343 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9344 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9345 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9346 (__posix_memalign, malloc_info): Likewise.
9347 * malloc/malloc.h: Likewise.
9348 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9349 (mallochook, memalignhook, reallochook, mabort): Likewise.
9350 * malloc/mcheck.h: Likewise.
9351 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9352 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9353 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9354 * malloc/morecore.c (__default_morecore): Likewise.
9355 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9356 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9357 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9358 (print_and_abort): Likewise.
9359 * malloc/obstack.h: Likewise.
9360 * malloc/set-freeres.c (__libc_freeres): Likewise.
9361 * malloc/tst-mallocstate.c (main): Likewise.
9362 * malloc/tst-mtrace.c (main): Likewise.
9363 * malloc/tst-realloc.c (do_test): Likewise.
9365 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9368 * nscd/netgroupcache.c (do_notfound): New function.
9369 (addgetnetgrentX): Use it.
9372 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9373 NSS_STATUS_NOTFOUND.
9375 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9377 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9380 2014-01-01 Allan McRae <allan@archlinux.org>
9382 * scripts/update-copyrights: Update configure input file suffix.
9384 * NEWS: Update copyright year.
9385 * catgets/gencat.c: Likewise.
9386 * csu/version.c: Likewise.
9387 * debug/catchsegv.sh: Likewise.
9388 * debug/pcprofiledump.c: Likewise.
9389 * debug/xtrace.sh: Likewise.
9390 * elf/ldconfig.c: Likewise.
9391 * elf/ldd.bash.in: Likewise.
9392 * elf/pldd.c: Likewise.
9393 * elf/sotruss.ksh: Likewise.
9394 * elf/sprof.c: Likewise.
9395 * iconv/iconv_prog.c: Likewise.
9396 * iconv/iconvconfig.c: Likewise.
9397 * locale/programs/locale.c: Likewise.
9398 * locale/programs/localedef.c: Likewise.
9399 * login/programs/pt_chown.c: Likewise.
9400 * malloc/memusage.sh: Likewise.
9401 * malloc/memusagestat.c: Likewise.
9402 * malloc/mtrace.pl: Likewise.
9403 * manual/libc.texinfo: Likewise.
9404 * nscd/nscd.c: Likewise.
9405 * nss/getent.c: Likewise.
9406 * nss/makedb.c: Likewise.
9407 * posix/getconf.c: Likewise.
9408 * scripts/test-installation.pl: Likewise.
9410 * All files with FSF copyright notices: Update copyright dates
9411 using scripts/update-copyrights.
9412 * intl/plural.c: Regenerated.
9413 * locale/programs/charmap-kw.h: Likewise.
9414 * locale/programs/locfile-kw.h: Likewise.
9416 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9418 * sysdeps/unix/sysv/linux/configure: Regenerated.
9419 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9420 the linux/fanotify.h header.
9421 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9422 HAVE_LINUX_FANOTIFY_H is defined.
9424 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9426 * benchtests/cos-inputs: New inputs.
9427 * benchtests/sin-inputs: Likewise.
9429 * benchtests/atan-inputs: New inputs. Fix name of multiple
9430 precision fallback inputs.
9432 * benchtests/atanh-inputs: New inputs.
9433 * benchtests/tanh-inputs: Likewise.
9435 * benchtests/acosh-inputs: New inputs.
9436 * benchtests/asinh-inputs: Likewise.
9438 * benchtests/cosh-inputs: New inputs.
9439 * benchtests/sinh-inputs: Likewise.
9441 * benchtests/acos-inputs: Add more inputs.
9442 * benchtests/asin-inputs: Likewise.
9444 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9447 * manual/arith.texi: Fix spelling.
9448 * manual/charset.texi: Likewise.
9449 * manual/errno.texi: Likewise.
9450 * manual/filesys.texi: Likewise.
9451 * manual/lang.texi: Likewise.
9452 * manual/llio.texi: Likewise.
9453 * manual/locale.texi: Likewise.
9454 * manual/message.texi: Likewise.
9455 * manual/resource.texi: Likewise.
9456 * manual/search.texi: Likewise.
9457 * manual/setjmp.texi: Likewise.
9458 * manual/stdio.texi: Likewise.
9459 * manual/string.texi: Likewise.
9460 * manual/sysinfo.texi: Likewise.
9461 * manual/time.texi: Likewise.
9463 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9465 * po/sl.po: New file.
9467 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9469 * .gitignore: Add core/.gdbinit/.gdb_history.
9471 2013-12-27 Allan McRae <allan@archlinux.org>
9474 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9475 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9477 2013-12-24 Brooks Moses <bmoses@google.com>
9479 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9480 all compilers that claim C++98 compliance, not just GCC.
9481 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9484 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9486 * NEWS: Restore accidentally deleted bug-fix entries.
9488 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9489 Ondřej Bílka <neleai@seznam.cz>
9492 * malloc/malloc.c (_int_free): Perform sanity check only if we
9495 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9498 * manual/stdio.texi (String Input Conversions): Clarify that character
9499 classes are not supported.
9501 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9505 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9508 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9509 Calculate results for small negative arguments directly rather
9510 than using reflection formula with special underflow handling.
9512 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9513 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9514 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9515 (fchflags): Likewise.
9517 (setlogin): Likewise.
9518 (sigaltstack): Likewise.
9521 (sigsetmask): Likewise.
9523 (waitpid): Likewise.
9524 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9525 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9527 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9528 * sysdeps/unix/bsd/Makefile: ... here.
9529 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9530 * sysdeps/unix/bsd/Versions: ... here.
9531 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9532 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9533 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9534 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9535 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9536 * sysdeps/unix/bsd/sigblock.c: ... here.
9537 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9538 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9539 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9540 * sysdeps/unix/bsd/sigvec.c: ... here.
9541 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9542 * sysdeps/unix/bsd/tcdrain.c: ... here.
9543 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9544 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9545 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9546 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9547 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9548 * sysdeps/unix/bsd/wait.c: ... here.
9549 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9550 * sysdeps/unix/bsd/wait3.c: ... here.
9551 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9552 * sysdeps/unix/bsd/waitpid.c: ... here.
9554 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9557 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9558 round-to-nearest for [!USE_AS_EXPM1L].
9559 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9560 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9561 more tests of exp and exp10. Expect some exp10 tests to miss
9562 exceptions or fail in directed rounding modes.
9563 * math/auto-libm-test-out: Regenerated.
9564 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9565 (exp10_test_tonearest): New function.
9566 (exp10_towardzero_test_data): New array.
9567 (exp10_test_towardzero): New function.
9568 (exp10_downward_test_data): New array.
9569 (exp10_test_downward): New function.
9570 (exp10_upward_test_data): New array.
9571 (exp10_test_upward): New function.
9572 (main): Call the new functions.
9573 * sysdeps/i386/fpu/libm-test-ulps: Update.
9574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9576 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9578 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9579 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9580 * math/auto-libm-test-out: Regenerated.
9581 * math/libm-test.inc (acosh_test_data): Add more tests.
9582 (atanh_test_data): Likewise.
9583 (ceil_test_data): Likewise.
9584 (copysign_test_data): Likewise.
9585 * sysdeps/i386/fpu/libm-test-ulps: Update.
9586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9588 * timezone/checktab.awk: Update from tzcode 2013i.
9589 * timezone/private.h: Likewise.
9590 * timezone/scheck.c: Likewise.
9591 * timezone/tzfile.h: Likewise.
9592 * timezone/tzselect.ksh: Likewise.
9593 * timezone/zdump.c: Likewise.
9594 * timezone/zic.c: Likewise.
9596 * math/auto-libm-test-in: Add tests of cpow.
9597 * math/auto-libm-test-out: Regenerated.
9598 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9599 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9601 (func_calc_desc): Add mpc_cc_c union field.
9602 (test_functions): Add cpow.
9603 (special_fill_2pi): New function.
9604 (special_real_inputs): Add 2pi.
9605 (calc_generic_results): Handle mpc_cc_c.
9606 * sysdeps/i386/fpu/libm-test-ulps: Update.
9607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9609 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9610 csqrt, ctan and ctanh.
9611 * math/auto-libm-test-out: Regenerated.
9612 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9613 (TEST_COND_x86): Likewise.
9614 (ccos_test_data): Use AUTO_TESTS_c_c.
9615 (ccosh_test_data): Likewise.
9616 (cexp_test_data): Likewise.
9617 (clog_test_data): Likewise.
9618 (csqrt_test_data): Likewise.
9619 (ctan_test_data): Likewise.
9620 (ctan_tonearest_test_data): Likewise.
9621 (ctan_towardzero_test_data): Likewise.
9622 (ctan_downward_test_data): Likewise.
9623 (ctan_upward_test_data): Likewise.
9624 (ctanh_test_data): Likewise.
9625 (ctanh_tonearest_test_data): Likewise.
9626 (ctanh_towardzero_test_data): Likewise.
9627 (ctanh_downward_test_data): Likewise.
9628 (ctanh_upward_test_data): Likewise.
9629 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9631 (func_calc_desc): Add mpc_c_c union field.
9632 (FUNC_mpc_c_c): New macro.
9633 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9634 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9636 (special_fill_min_subnorm_p120): New function.
9637 (special_real_inputs): Add min_subnorm_p120.
9638 (calc_generic_results): Handle mpc_c_c.
9639 * sysdeps/i386/fpu/libm-test-ulps: Update.
9640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9642 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9644 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9645 (do_sin_slow): New functions.
9646 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9647 (cslow2, csloww1, csloww2): Use the new functions.
9649 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9650 Use M to change sign of result instead of X. Assume X is
9652 (csloww1): Likewise.
9656 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9663 (sloww1): Don't adjust sign of DX.
9664 (csloww1): Likewise.
9665 (sloww2): Use X directly and don't adjust sign of DX.
9666 (csloww2): Likewise.
9668 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9670 * math/auto-libm-test-in: Add tests of cabs and carg.
9671 * math/auto-libm-test-out: Regenerated.
9672 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9673 (carg_test_data): Likewise.
9674 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9676 (func_calc_desc): Add mpc_c_f union field.
9677 (test_functions): Add cabs and carg.
9678 (calc_generic_results): Handle mpc_c_f.
9680 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9681 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9682 as a macro and a compat symbol.
9683 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9684 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9685 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9686 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9687 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9688 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9690 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9692 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9694 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9696 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9698 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9700 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9701 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9704 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9708 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9710 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9711 trailing whitespace removed.
9712 * scripts/config.guess: Update to version 2013-11-29.
9713 * scripts/config.sub: Update to version 2013-10-01.
9715 * math/auto-libm-test-in: Add tests of sincos.
9716 * math/auto-libm-test-out: Regenerated.
9717 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9718 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9720 (func_calc_desc): Add mpfr_f_11 union field.
9721 (test_functions): Add sincos.
9722 (calc_generic_results): Handle mpfr_f_11.
9723 * sysdeps/i386/fpu/libm-test-ulps: Update.
9724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9726 2013-12-19 Andreas Schwab <schwab@suse.de>
9728 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9731 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9732 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9734 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9736 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9737 * sysdeps/i386/fpu/libm-test-ulps: Update.
9738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9741 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9742 round-to-nearest mode when using frndint.
9743 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9744 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9745 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9747 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9749 * math/auto-libm-test-out: Regenerated.
9750 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9751 (TEST_COND_x86): Likewise.
9752 (expm1_tonearest_test_data): New array.
9753 (expm1_test_tonearest): New function.
9754 (expm1_towardzero_test_data): New array.
9755 (expm1_test_towardzero): New function.
9756 (expm1_downward_test_data): New array.
9757 (expm1_test_downward): New function.
9758 (expm1_upward_test_data): New array.
9759 (expm1_test_upward): New function.
9760 (main): Run the new test functions.
9761 * sysdeps/i386/fpu/libm-test-ulps: Update.
9762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9764 * include/features.h: Update comment documenting feature test
9765 macros. Mention _DEFAULT_SOURCE in comment.
9766 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9767 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9768 _BSD_SOURCE and _SVID_SOURCE.
9769 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9770 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9771 !_SVID_SOURCE]: Likewise.
9772 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9773 (__USE_POSIX_IMPLICITLY): Define.
9774 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9775 (_POSIX_SOURCE): Undefine and redefine.
9776 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9777 (_POSIX_C_SOURCE): Likewise.
9778 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9779 (Feature Test Macros): Update documentation of default features.
9781 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9783 * benchtests/Makefile: Add bench-strtok.
9784 * benchtests/bench-strtok.c: New file: strtok benchtest.
9786 2013-12-19 Allan McRae <allan@archlinux.org>
9788 * manual/install.texi: Suppress menu for plain text output.
9789 * INSTALL: Regenerated.
9791 2013-12-18 Brooks Moses <bmoses@google.com>
9794 * misc/getauxval.c: Include errno.h.
9795 (__getauxval): Set errno to ENOENT if the requested type is not
9797 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9798 don't declare with __attribute_const__.
9799 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9800 * manual/startup.texi: Document that getauxval sets errno.
9802 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9804 * math/auto-libm-test-in: Add tests of jn and yn.
9805 * math/auto-libm-test-out: Regenerated.
9806 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9807 (yn_test_data): Likewise.
9808 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9810 (func_calc_desc): Add mpfr_if_f union field.
9811 (FUNC_mpfr_if_f): New macro.
9812 (test_functions): Add jn and yn.
9813 (calc_generic_results): Assert type of second input for
9814 mpfr_ff_f. Handle mpfr_if_f.
9815 (output_for_one_input_case): Disable all checking for arguments
9816 fitting floating-point types in case of an integer argument.
9817 * sysdeps/i386/fpu/libm-test-ulps: Update.
9818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9821 Don't expect fegetround reference in libm.so.
9823 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9825 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9826 $(config-cflags-nofma).
9828 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9830 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9831 * math/auto-libm-test-out: Regenerated.
9834 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9835 to determine exponent and adjust argument to have exponent of -1.
9836 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9838 * math/auto-libm-test-out: Regenerated.
9839 * sysdeps/i386/fpu/libm-test-ulps: Update.
9840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9842 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9844 * manual/probes.texi: Remove cases when per-thread arenas are
9847 2013-12-18 Andreas Schwab <schwab@suse.de>
9849 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9850 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9851 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9852 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9853 * sysdeps/i386/i686/multiarch/Makefile: Update.
9854 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9856 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9858 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9859 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9861 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9864 Support TZ transition times < 00:00:00.
9865 This is needed for version-3 tz-format files; it supports time
9866 stamps past 2037 for America/Godthab (the only entry in the tz
9867 database for which this change is relevant).
9868 * manual/time.texi (TZ Variable): Document transition times
9869 from -167:59:59 through -00:00:01.
9870 * time/tzset.c (tz_rule): Time of day is now signed.
9871 (__tzset_parse_tz): Parse negative time of day.
9873 Document TZ transition times >= 25:00:00.
9874 * manual/time.texi (TZ Variable): Document transition times from
9875 25:00:00 through 167:59:59. These are already supported, and this
9876 support will help with version-3 tz-format files.
9878 * manual/time.texi (TZ Variable): Modernize North America example
9879 to reflect current (i.e., 2007-and-later) daylight saving rules.
9881 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9883 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9885 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9886 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9889 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9890 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9891 * sysdeps/unix/bsd/clock.c: Likewise.
9892 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9893 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9894 * sysdeps/unix/bsd/init-posix.c: Likewise.
9895 * sysdeps/unix/bsd/poll.c: Likewise.
9896 * sysdeps/unix/bsd/ptsname.c: Likewise.
9897 * sysdeps/unix/bsd/seekdir.c: Likewise.
9898 * sysdeps/unix/bsd/setegid.c: Likewise.
9899 * sysdeps/unix/bsd/seteuid.c: Likewise.
9900 * sysdeps/unix/bsd/setgid.c: Likewise.
9901 * sysdeps/unix/bsd/setrgid.c: Likewise.
9902 * sysdeps/unix/bsd/setruid.c: Likewise.
9903 * sysdeps/unix/bsd/setsid.c: Likewise.
9904 * sysdeps/unix/bsd/setuid.c: Likewise.
9905 * sysdeps/unix/bsd/sigaction.c: Likewise.
9906 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9907 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9908 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9909 * sysdeps/unix/bsd/telldir.c: Likewise.
9910 * sysdeps/unix/bsd/times.c: Likewise.
9911 * sysdeps/unix/bsd/usleep.c: Likewise.
9913 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9914 ($(objpfx)libbsd-compat.a): Remove rule.
9916 * include/features.h (__FAVOR_BSD): Do not define.
9917 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9918 features conflicting with POSIX.
9919 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9920 (_BSD_SOURCE): Remove description of not being a subset of other
9921 feature test macros.
9922 * manual/job.texi (getpgrp): Do not document BSD version.
9923 (getpgid): Do not document by reference to BSD getpgrp.
9924 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9925 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9926 * signal/signal.h [__FAVOR_BSD]: Likewise.
9927 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9928 instead of making contents conditional on [__FAVOR_BSD].
9929 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9931 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9935 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9938 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9939 values below 2**-450, not 2**-500.
9940 * math/auto-libm-test-in: Don't allow spurious underflow from
9942 * math/auto-libm-test-out: Regenerated.
9946 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9947 values of ha and hb and sort them after adjusting subnormal
9949 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9951 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9952 values of ea and eb and sort them after adjusting subnormal
9954 * math/auto-libm-test-in: Do not expect some hypot tests of
9955 subnormals to fail. Add more hypot tests.
9956 * math/auto-libm-test-out: Regenerated.
9958 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9961 * sysdeps/sh/s_fma.c: New file.
9962 * sysdeps/sh/s_fmaf.c: New file.
9963 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9965 * sysdeps/sh/Implies: Add sh/soft-fp.
9967 2013-12-16 Roland McGrath <roland@hack.frob.com>
9969 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9970 level of indirection to members `objname', `errstring', `malloced'.
9971 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9972 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9973 it as the __longjmp argument (just pass 1 instead).
9974 (_dl_catch_error): Initialize C with argument pointers and address of
9975 volatile local ERRCODE rather than copying values out of C at return.
9977 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9979 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9980 * math/auto-libm-test-out: Regenerated.
9981 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9982 (hypot_test_data): Likewise.
9983 (pow_test_data): Likewise.
9984 (pow_tonearest_test_data): Likewise.
9985 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9987 (func_calc_desc): Add mpfr_ff_f union field.
9988 (FUNC_mpfr_ff_f): New macro.
9989 (test_functions): Add atan2, hypot and pow.
9990 (special_fill_min): New function.
9991 (special_fill_minus_min): Likewise.
9992 (special_fill_min_subnorm): Likewise.
9993 (special_fill_minus_min_subnorm): Likewise.
9994 (special_real_inputs): Add min, -min, min_subnorm and
9996 (calc_generic_results): Handle mpfr_ff_f.
9997 * sysdeps/i386/fpu/libm-test-ulps: Update.
9998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10000 2013-12-16 Will Newton <will.newton@linaro.org>
10002 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10003 (Aligned Memory Blocks): Add documentation for aligned_alloc
10004 and suggest it as an alternative to posix_memalign.
10005 (Hooks for Malloc): Document __memalign_hook is also called
10006 for aligned_alloc. (Summary of Malloc): Add summary for
10007 aligned alloc. Document __memalign_hook is also called
10010 2013-12-16 Will Newton <will.newton@linaro.org>
10012 * manual/memory.texi (Malloc Examples): Clarify default
10013 alignment documentation. Suggest posix_memalign rather
10014 than memalign or valloc.
10015 (Aligned Memory Blocks): Remove suggestion to use memalign
10016 or valloc. Remove obsolete comment about BSD.
10017 Document memalign errno values and mark the function obsolete.
10018 Document posix_memalign returned error codes. Mark valloc
10019 as obsolete. (Hooks for Malloc): __memalign_hook is also
10020 called for posix_memalign and valloc.
10021 (Summary of Malloc): Add posix_memalign to function summary.
10022 __memalign_hook is also called for posix_memalign and valloc.
10024 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10026 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10030 (sloww): Use mynumber union. Expand ternary operator into
10031 if-else statements.
10032 (cslow): use mynumber union.
10034 2013-12-16 Allan McRae <allan@archlinux.org>
10036 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10037 * configure: Regenerated.
10039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10042 * configure.ac: Added --enable-maintainer-mode. Check for
10043 autoconf when enabled.
10044 * configure: Regenerated.
10046 * nscd/nscd.service: New file.
10047 * nscd/nscd.tmpfiles: New file.
10049 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10052 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10053 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10054 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10055 (strstr): Add __strstr_sse2_unaligned ifunc.
10056 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10057 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10058 (strcasestr): Remove __strcasestr_sse42 ifunc.
10059 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10063 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10065 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10066 * sysdeps/sh/bits/fenv.h: ... here.
10067 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10069 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10071 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10074 hypotf multiarch implementations.
10075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10076 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10078 multiarch hypot for PPC64.
10079 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10080 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10081 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10082 multiarch hypotf for PPC64.
10084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10085 modff multiarch implementations.
10086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10089 multiarch modf for PPC64.
10090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10093 multiarch modff for PPC64.
10095 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10096 and logl multiarch implementations.
10097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10100 multiarch logb for PPC64.
10101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10104 multiarch logb for PPC64.
10105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10108 multiarch logb for PPC64.
10110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10111 isinff multiarch implementation.
10112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10116 multiarch isinf for PPC64.
10117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10120 multiarch isinff for PPC64.
10122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10123 finitef multiarch implementation.
10124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10128 multiarch finite for PPC64.
10129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10132 multiarch finitef for PPC64.
10134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10135 lrint multiarch implementation.
10136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10140 multiarch llrint for PPC64.
10141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10142 multiarch lrint for PPC64.
10144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10145 copysignf multiarch implementation.
10146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10151 multiarch copysign for PPC64.
10152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10153 multiarch copysignf for PPC64.
10155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10156 multiarch implementation.
10157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10165 multiarch llround for PPC64.
10166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10167 multiarch trunc for PPC64.
10168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10169 multiarch truncf for PPC64.
10171 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10172 multiarch implementation.
10173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10181 multiarch llround for PPC64.
10182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10183 multiarch round for PPC64.
10184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10185 multiarch roundf for PPC64.
10187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10188 multiarch implementation.
10189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10197 multiarch llround for PPC64.
10198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10199 multiarch floor for PPC64.
10200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10201 multiarch floorf for PPC64.
10203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10204 multiarch implementation.
10205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10213 multiarch llround for PPC64.
10214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10215 multiarch ceil for PPC64.
10216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10217 multiarch ceilf for PPC64.
10219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10220 multiarch implementation.
10221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10228 multiarch llround for PPC64.
10229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10230 multiarch lround for PPC64.
10232 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10233 multiarch implementation.
10234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10241 multiarch isnan for PPC64.
10242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10243 multiarch isnanf for PPC64.
10245 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10246 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10247 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10248 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10249 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10252 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10253 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10258 multiarch implementations.
10259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10260 (__libc_ifunc_impl_list): Likewise.
10261 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10262 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10263 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10264 multiarch stpcpy for PPC64.
10266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10267 multiarch implementations.
10268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10269 (__libc_ifunc_impl_list): Likewise.
10270 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10271 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10272 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10273 multiarch strcpy for PPC64.
10275 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10276 redefine function name.
10277 (_wordcopy_fwd_dest_aligned): Likewise.
10278 (_wordcopy_bwd_aligned): Likewise.
10279 (_wordcopy_bwd_dest_aligned): Likewise.
10280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10281 multiarch implementations.
10282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10283 (__libc_ifunc_impl_list): Likewise.
10284 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10285 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10286 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10287 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10288 multiarch wcscpy for PPC64.
10290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10291 multiarch implementations.
10292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10293 (__libc_ifunc_impl_list): Likewise.
10294 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10295 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10296 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10297 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10298 multiarch wcscpy for PPC64.
10300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10301 multiarch implementations.
10302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10303 (__libc_ifunc_impl_list): Likewise.
10304 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10305 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10306 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10307 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10308 multiarch wcsrchr for PPC64.
10310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10311 multiarch implementations.
10312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10313 (__libc_ifunc_impl_list): Likewise.
10314 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10315 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10316 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10317 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10318 multiarch wcschr for PPC64.
10320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10321 multiarch implementations.
10322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10323 (__libc_ifunc_impl_list): Likewise.
10324 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10325 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10326 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10327 multiarch strchrnul for PPC64.
10329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10332 (__libc_ifunc_impl_list): Likewise.
10333 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10334 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10335 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10336 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10342 (__libc_ifunc_impl_list): Likewise.
10343 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10344 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10345 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10346 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10350 multiarch implementations.
10351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10352 (__libc_ifunc_impl_list): Likewise.
10353 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10354 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10355 strncasecmp for PPC64.
10356 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10357 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10358 multiarch strncasecmp_l for PPC64.
10360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10361 multiarch implementations.
10362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10363 (__libc_ifunc_impl_list): Likewise.
10364 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10365 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10366 multiarch strcasecmp for PPC64.
10367 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10369 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10370 multiarch strcasecmp_l for PPC64.
10372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10375 (__libc_ifunc_impl_list): Likewise.
10376 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10377 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10378 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10384 (__libc_ifunc_impl_list): Likewise.
10385 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10386 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10387 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10393 (__libc_ifunc_impl_list): Likewise.
10394 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10395 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10396 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10397 rawmemrchr for PPC64.
10399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10402 (__libc_ifunc_impl_list): Likewise.
10403 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10404 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10405 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10411 (__libc_ifunc_impl_list): Likewise.
10412 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10413 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10414 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10420 (__libc_ifunc_impl_list): Likewise.
10421 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10422 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10423 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10426 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10427 avoid cretion of __bzero symbol.
10428 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10430 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10432 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10435 multiarch implementations.
10436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10437 (__libc_ifunc_impl_list): Likewise.
10438 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10439 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10440 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10441 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10443 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10444 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10445 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10446 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10447 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10449 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10451 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10455 (__libc_ifunc_impl_list): Likewise.
10456 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10457 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10458 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10459 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10463 multiarch for POWER/PPC64.
10464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10465 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10467 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10468 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10469 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10470 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10471 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10472 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10475 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10476 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10477 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10478 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10479 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10480 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10481 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10482 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10483 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10484 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10485 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10486 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10487 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10488 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10489 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10498 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10500 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10502 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10504 * benchtests/Makefile (bench): Add exp2 and log2.
10505 (LDLIBS-bench-exp2): Add -lm.
10506 (LDLIBS-bench-log2): Likewise.
10507 * benchtests/exp2-inputs: New inputs file.
10508 * benchtests/log2-inputs: New inputs file.
10509 * benchtests/log-inputs: Add new inputs.
10510 * benchtests/tan-inputs: Likewise.
10512 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10514 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10516 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10517 (csloww2): ... from here.
10519 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10520 instead of structures.
10521 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10522 (POLYNOMIAL): Likewise.
10523 (TAYLOR_SLOW): Likewise.
10529 (sloww1); Likewise.
10530 (sloww2): Likewise.
10531 (bsloww1): Likewise.
10532 (bsloww2): Likewise.
10533 (cslow2): Likewise.
10534 (csloww): Likewise.
10535 (csloww1): Likewise.
10536 (csloww2): Likewise.
10538 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10540 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10541 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10542 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10543 * malloc/hooks.c (realloc_check): Likewise.
10545 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10546 * malloc/arena.c: Remove PER_THREAD conditional.
10547 [!PER_THREAD]: Remove code.
10548 (ptmalloc_unlock_all2): Likewise.
10549 (ptmalloc_init): Likewise.
10550 (_int_new_arena): Likewise.
10551 (arena_get2): Likewise.
10552 * malloc/hooks.c (__malloc_get_state): Likewise.
10553 (__malloc_set_state): Likewise.
10554 * malloc/malloc.c: Likewise.
10555 (struct malloc_state): Likewise.
10556 (struct malloc_par): Likewise.
10557 (__libc_realloc): Likewise.
10558 (__libc_mallopt): Likewise.
10560 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10562 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10564 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10566 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10567 macro to a function. Check for zero perturb_byte.
10568 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10570 * malloc/malloc.c: (force_reg): Remove.
10571 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10572 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10573 force_reg by atomic_forced_read.
10574 * malloc/arena.c (ptmalloc_init): Likewise.
10575 * malloc/hooks.c (top_check): Likewise.
10577 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10581 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10585 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10587 * math/auto-libm-test-in: Add tests of lgamma.
10588 * math/auto-libm-test-out: Regenerated.
10589 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10590 (M_LOG_2_SQRT_PIl): Likewise.
10591 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10592 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10594 (func_calc_desc): Add mpfr_f_f1 union field.
10595 (ARGS1): New macro.
10603 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10604 (test_functions): Add lgamma.
10605 (calc_generic_results): Handle mpfr_f_f1.
10606 * sysdeps/i386/fpu/libm-test-ulps: Update.
10607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10609 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10611 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10612 __mpn_add_n for PowerPC64/POWER7.
10613 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10614 __mpn_sub_n for PowerPC64/POWER7.
10616 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10617 __mpn_addmul_1 for PowerPC64.
10618 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10619 __mpn_submul_1 for PowerPC64.
10620 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10622 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10625 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10628 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10630 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10632 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10634 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10635 add multiarch folders.
10636 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10637 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10638 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10639 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10640 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10641 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10642 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10643 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10644 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10645 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10646 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10655 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10661 multiarch __ieee754_hypot for PowerPC32.
10662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10667 multiarch __ieee754_hypotf for PowerPC32.
10669 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10670 long_double_symbol only if __logbl is defined.
10671 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10672 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10673 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10674 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10675 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10676 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10677 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10678 path for implementation.
10679 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10680 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10682 logb, and logbl multiarch implementations for PowerPC32.
10683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10688 multiarch logb for PowerPC32.
10689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10694 multiarch logbf for PowerPC32.
10695 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10699 multiarch logbl implementation for PowerPC32.
10701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10702 and modff multiarch implementations.
10703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10708 multiarch modf for PowerPC32.
10709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10714 multiarch modff for PowerPC32.
10716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10717 and lrintf multiarch implementations.
10718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10723 multiarch lrint for PowerPC32.
10724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10725 file: multiarch lrintf for PowerPC32.
10727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10728 and lroundf multiarch implementations.
10729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10736 multiarch lround for PowerPC32.
10737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10738 file: multiarch lroundf for PowerPC32.
10740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10741 copysign and copysignf multiarch implementations.
10742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10747 file: multiarch copysign for PowerPC32.
10748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10749 file: multiarch copysignf for PowerPC32.
10751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10752 and truncf multiarch implementations.
10753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10758 multiarch trunc for PowerPC32.
10759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10764 multiarch truncf for PowerPC32.
10766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10767 and roundf multiarch implementations.
10768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10773 multiarch round for PowerPC32.
10774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10779 multiarch roundf for PowerPC32.
10781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10782 and floorf multiarch implementations.
10783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10788 multiarch floor for PowerPC32.
10789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10794 multiarch floorf for PowerPC32.
10796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10797 and ceilf multiarch implementations.
10798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10803 multiarch ceil for PowerPC32.
10804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10809 multiarch ceilf for PowerPC32.
10811 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10813 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10814 FINITEF is defined.
10815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10816 and finitef multiarch implementations.
10817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10822 multiarch finite for PowerPC32.
10823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10826 file: multiarch finitef for PowerPC32.
10828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10829 and isinff multiarch implementations.
10830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10835 multiarch isinf for PowerPC32.
10836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10839 multiarch isinff for PowerPC32.
10841 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10842 alias when __isnan is defined.
10843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10844 and isnanf multiarch implementations.
10845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10854 multiarch isnan for PowerPC32.
10855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10860 multiarch isnanf for PowerPC32.
10862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10863 and sqrtf multiarch implementations.
10864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10869 multiarch sqrt for PowerPC32.
10870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10875 multiarch sqrtf for PowerPC32.
10877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10878 and llroundf multiarch implementations.
10879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10886 file: multiarch llround for PowerPC32.
10887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10888 file: multiarch llroundf for PowerPC32.
10890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10891 multiarch PowerPC32 fpu implementations.
10892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10897 multiarch llrint for PowerPC32.
10898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10907 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10909 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10911 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10913 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10914 multiarch wordcopy for PPC32.
10915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10918 (__libc_ifunc_impl_list): Likewise.
10919 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10920 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10922 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10923 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10924 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10926 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10934 multiarch wcscpy for PPC32.
10935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10938 (__libc_ifunc_impl_list): Likewise.
10939 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10940 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10941 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10942 sysdeps/powerpc/power6/wcscpy.c.
10944 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10952 multiarch wcsrchr for PPC32.
10953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10956 (__libc_ifunc_impl_list): Likewise.
10957 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10958 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10959 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10960 sysdeps/powerpc/power6/wcsrchr.c.
10962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10968 multiarch wcschr for PPc32.
10969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10972 (__libc_ifunc_impl_list): Likewise.
10973 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10974 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10975 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10976 sysdeps/powerpc/power6/wcschr.c.
10978 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10979 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10981 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10982 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10983 file: multiarch strchr for PPC32.
10984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10987 (__libc_ifunc_impl_list): Likewise.
10989 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10991 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10993 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10995 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10996 multiarch strchrnul for PPC32.
10997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11000 (__libc_ifunc_impl_list): Likewise.
11002 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11004 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11005 multiarch strncasecmp for PPC32.
11006 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11008 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11009 multiarch strncasecmp_l for PPC32.
11010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11011 strncasecmp multiarch objects.
11012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11013 (__libc_ifunc_impl_list): Likewise.
11015 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11017 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11018 multiarch strncasecmp for PPC32.
11019 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11021 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11022 multiarch strcasecmp_l for PPC32.
11023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11026 (__libc_ifunc_impl_list): Likewise.
11028 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11030 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11032 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11033 multiarch strncmp for PPC32.
11034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11037 (__libc_ifunc_impl_list): Likewise.
11039 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11040 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11042 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11043 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11047 (__libc_ifunc_impl_list): Likewise.
11049 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11051 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11053 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11057 (__libc_ifunc_impl_list): Likewise.
11059 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11061 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11063 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11064 multiarch rawmemchr for PPC32.
11065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11068 (__libc_ifunc_impl_list): Likewise.
11070 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11072 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11074 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11075 file: memrchr multiarch for PPC32.
11076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11079 (__libc_ifunc_impl_list): Likewise.
11081 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11082 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11084 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11085 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11086 multiarch memchr for PPC32.
11087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11090 (__libc_ifunc_impl_list): Likewise.
11092 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11093 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11095 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11097 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11098 file: multiarch mempcpy for PPC32.
11099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11102 (__libc_ifunc_impl_list): Likewise.
11104 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11105 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11106 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11107 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11108 multiarch bzero for PPC32.
11109 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11111 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11113 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11114 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11115 file: multiarch memset for PPC32.
11116 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11118 memset multiarch objects.
11119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11120 (__libc_ifunc_impl_list): Likewise.
11122 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11124 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11125 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11127 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11131 (__libc_ifunc_impl_list): Likewise.
11133 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11134 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11135 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11141 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11142 multiarch memcpy for PPC32.
11143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11146 (__libc_ifunc_impl_list): Likewise.
11148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11149 support multiarch for POWER/PPC32.
11150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11152 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11154 Implies file to make multiarch folder appers before the fpu and
11155 default folder for power4 configuration.
11157 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11159 * scripts/bench.pl: Append volatile keyword to type.
11161 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11163 * sysdeps/sh/sotruss-lib.c: New file.
11164 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11166 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11170 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11173 * math/w_tgamma.c: Include <errno.h>.
11174 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11175 * math/w_tgammaf.c: Include <errno.h>.
11176 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11177 * math/w_tgammal.c: Include <errno.h>.
11178 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11179 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11180 underflow. Add more tgamma tests.
11181 * math/auto-libm-test-out: Regenerated.
11182 * sysdeps/i386/fpu/libm-test-ulps: Update.
11183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11185 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11186 sin, sinh, tan, tanh, tgamma, y0 and y1.
11187 * math/auto-libm-test-out: Regenerated.
11188 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11189 (TEST_COND_x86): Likewise.
11190 (M_E2l): Remove macro.
11192 (M_2_SQRT_PIl): Likewise.
11193 (M_SQRT_PIl): Likewise.
11194 (M_1_DIV_El): Likewise.
11195 (log_test_data): Use AUTO_TESTS_f_f.
11196 (log10_test_data): Likewise.
11197 (log1p_test_data): Likewise.
11198 (log2_test_data): Likewise.
11199 (sin_test_data): Likewise.
11200 (sin_tonearest_test_data): Likewise.
11201 (sin_towardzero_test_data): Likewise.
11202 (sin_downward_test_data): Likewise.
11203 (sin_upward_test_data): Likewise.
11204 (sinh_test_data): Likewise.
11205 (sinh_tonearest_test_data): Likewise.
11206 (sinh_towardzero_test_data): Likewise.
11207 (sinh_downward_test_data): Likewise.
11208 (sinh_upward_test_data): Likewise.
11209 (tan_test_data): Likewise.
11210 (tan_tonearest_test_data): Likewise.
11211 (tan_towardzero_test_data): Likewise.
11212 (tan_downward_test_data): Likewise.
11213 (tan_upward_test_data): Likewise.
11214 (tanh_test_data): Likewise.
11215 (tgamma_test_data): Likewise.
11216 (y0_test_data): Likewise.
11217 (y1_test_data): Likewise.
11218 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11219 (special_real_inputs): Add pi/4.
11220 * sysdeps/i386/fpu/libm-test-ulps: Update.
11221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11223 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11225 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11226 "longjmp_target" static probes.
11227 (__longjmp): Rename to __longjmp_symbol.
11228 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11229 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11230 on which longjmp to generate.
11231 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11232 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11234 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11235 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11236 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11237 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11238 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11239 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11241 __longjmp_symbol based on which __longjmp to generate.
11242 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11244 (setjmp): Rename to setjmp_symbol.
11245 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11246 (_setjmp): Rename to _setjmp_symbol.
11247 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11248 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11249 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11250 which setjmp to generate.
11251 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11252 "longjmp_target" static probes.
11254 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11256 * benchtests/README: Add note about output arguments.
11257 * benchtests/bench-sincos.c: Remove file.
11258 * benchtests/sincos-inputs: New file.
11259 * scripts/bench.pl: Identify output arguments and define
11260 static variables for them.
11262 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11265 * Makefile (INSTALL): Add install-plain.texi as the primary
11267 * manual/install-plain.texi: New file.
11268 * manual/install.texi: Include node directive only for
11269 non-plaintext output.
11271 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11273 * stdlib/longlong.h: Update from GCC.
11277 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11278 * math/w_j0f.c (y0f): Likewise.
11279 * math/w_j0l.c (__y0l): Likewise.
11280 * math/w_j1.c (y1): Likewise.
11281 * math/w_j1f.c (y1f): Likewise.
11282 * math/w_j1l.c (__y1l): Likewise
11283 * math/w_jn.c (yn): Likewise.
11284 * math/w_jnf.c (ynf): Likewise.
11285 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11286 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11287 value for Bessel function domain errors outside _SVID_ mode.
11288 Adjust sign of return value for yn (negative integer, 0).
11289 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11290 by zero in return for negative x and set sign appropriately for
11292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11293 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11294 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11295 expectations in error cases.
11296 (y1_test_data): Likewise.
11297 (yn_test_data): Likewise.
11298 * sysdeps/i386/fpu/libm-test-ulps: Update.
11299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11301 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11303 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11304 "64" to "64-v1". Add "64-v2".
11305 (abi-64-options): Rename to ...
11306 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11307 (abi-64-condition): Rename to ...
11308 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11309 (abi-64-ld-soname): Rename to ...
11310 (abi-64-v1-ld-soname): ... this.
11311 (abi-64-v2-options): Define.
11312 (abi-64-v2-condition): Likewise.
11313 (abi-64-v2-ld-soname): Likewise.
11314 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11315 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11320 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11321 Alan Modra <amodra@gmail.com>
11323 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11324 New versions for use with the ELFv2 ABI.
11325 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11326 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11328 (struct La_ppc64v2_retval): Likewise.
11329 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11330 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11331 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11332 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11333 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11334 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11335 Do not save or restore CR.
11336 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11337 (_dl_profile_resolve): Do no save or restore CR. Support extended
11338 return values for ELFv2 ABI. Fix location of FPR return registers.
11339 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11340 updated values for _CALL_ELF == 2.
11341 (La_regs, La_retval, int_retval): Likewise.
11343 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11345 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11346 (FRAME_MIN_SIZE_PARM): Likewise.
11347 (FRAME_BACKCHAIN): Likewise.
11348 (FRAME_CR_SAVE): Likewise.
11349 (FRAME_LR_SAVE): Likewise.
11350 (FRAME_TOC_SAVE): Likewise.
11351 (FRAME_PARM_SAVE): Likewise.
11352 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11353 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11354 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11355 (call_mcount_parm_offset): New macro.
11356 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11357 (PROF): Use symbolic stack frame offsets.
11358 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11359 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11360 Redefine in terms of FRAME_MIN_SIZE.
11361 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11362 (_dl_profile_resolve): Likewise. Update comment.
11363 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11364 symbols stack frame offsets.
11365 (__sigsetjmp): Likewise.
11366 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11367 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11368 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11369 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11372 (FRAME_BACKCHAIN): Remove.
11373 (FRAME_CR_SAVE): Likewise.
11374 (FRAME_LR_SAVE): Likewise.
11375 (FRAME_COMPILER_DW): Likewise.
11376 (FRAME_LINKER_DW): Likewise.
11377 (FRAME_TOC_SAVE): Likewise.
11378 (FRAME_PARM_SAVE): Likewise.
11379 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11380 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11381 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11383 (CHECK_SP): Use symbolic stack frame offsets.
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11385 zone" instead of caller's parameter save area for temp storage.
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11387 Likewise. Also, use symbolic stack frame offsets.
11388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11389 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11390 our own stack frame instead of the caller's.
11391 (__socket): Use symbolic stack frame offsets.
11393 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11394 Alan Modra <amodra@gmail.com>
11396 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11398 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11399 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11400 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11402 (elf_machine_fixup_plt): Call it.
11403 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11405 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11406 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11407 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11408 r2 before calling target.
11410 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11411 Alan Modra <amodra@gmail.com>
11413 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11414 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11415 versions of macros to support ELFv2 ABI.
11416 (LOCALENTRY): New macro.
11417 (ENTRY, EALIGN): Use it.
11418 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11419 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11420 fall through into ENTRY entry point.
11421 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11422 Only define if _CALL_ELF != 2.
11424 (elf_machine_matches_host): Verify ABI version matches.
11425 (RTLD_START): Use LOCALENTRY.
11426 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11427 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11428 (PLT_ENTRY_WORDS): New macro.
11429 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11430 (elf_machine_runtime_setup): Support ELFv2 ABI.
11431 (elf_machine_fixup_plt): Likewise.
11432 (elf_machine_plt_conflict): Likewise.
11433 (resolve_ifunc): Likewise.
11434 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11435 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11438 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11440 (makecontext): Support ELFv2 ABI.
11441 * elf/elf.h (EF_PPC64_ABI): Define.
11443 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11445 * sysdeps/powerpc/powerpc64/sysdep.h
11446 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11447 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11448 (ENTRY) [ASSEMBLER]: ... but instead here ...
11449 (EALIGN) [ASSEMBLER]: ... and here.
11450 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11451 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11452 (ENTRY_2) [!ASSEMBLER]: Use it.
11453 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11454 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11455 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11456 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11457 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11459 Use PPC64_LOAD_FUNCPTR.
11461 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11463 2013-12-04 Alan Modra <amodra@gmail.com>
11465 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11466 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11467 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11468 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11471 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11472 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11473 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11474 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11475 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11477 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11480 (__makecontext): Fix incorrect CFI when backtracing out of
11481 context created via makecontext.
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11483 (__setcontext): Fix incorrect CFI during switch to new context.
11484 (__novec_setcontext): Likewise.
11486 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11489 * time/strptime_l.c (__strptime_internal): Allow modifiers
11491 * time/tst-strptime.c (day_tests): Add testcase.
11493 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11495 * scripts/bench.pl: Skip over blank lines.
11497 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11500 * manual/time.texi (Calendar Time): Clarify what timezone functions
11503 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11507 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11509 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11511 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11512 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11513 * debug/memset_chk.c (__memset_chk): Likewise.
11514 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11515 * debug/strncpy_chk.c: Likewise.
11517 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11521 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11522 (__ieee754_exp): For possibly underflowing results, check size of
11523 result and force underflow exception if required.
11524 * math/auto-libm-test-in: Add more tests of exp.
11525 * math/auto-libm-test-out: Regenerated.
11526 * sysdeps/i386/fpu/libm-test-ulps: Update.
11527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11530 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11531 * math/w_exp2f.c (__exp2f): Likewise.
11532 * math/w_exp2l.c (__exp2l): Likewise.
11533 * math/auto-libm-test-in: Do not allow missing errno on exp2
11535 * math/auto-libm-test-out: Regenerated.
11537 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11540 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11541 handle filename validation.
11542 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11545 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11548 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11549 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11550 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11552 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11553 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11554 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11555 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11556 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11557 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11558 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11559 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11560 Add more erfc tests.
11561 * math/auto-libm-test-out: Regenerated.
11562 * sysdeps/i386/fpu/libm-test-ulps: Update.
11563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11565 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11566 exp2, expm1, j0 and j1.
11567 * math/auto-libm-test-out: Regenerated.
11568 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11569 (erfc_test_data): Likewise.
11570 (exp_test_data): Likewise.
11571 (exp_tonearest_test_data): Likewise.
11572 (exp_towardzero_test_data): Likewise.
11573 (exp_downward_test_data): Likewise.
11574 (exp_upward_test_data): Likewise.
11575 (exp10_test_data): Likewise.
11576 (exp2_test_data): Likewise.
11577 (expm1_test_data): Likewise.
11578 (j0_test_data): Likewise.
11579 (j1_test_data): Likewise.
11580 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11581 (input_flag_type): Add flag_xfail_rounding.
11582 (input_flags): Add xfail-rounding.
11583 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11584 (output_for_one_input_case): Handle flag_xfail_rounding.
11585 * sysdeps/i386/fpu/libm-test-ulps: Update.
11586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11588 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11591 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11594 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11597 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11598 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11599 (STAP_PROBE0): New macro.
11600 (STAP_PROBE1): Likewise.
11601 (STAP_PROBE2): Likewise.
11602 (STAP_PROBE3): Likewise.
11603 (STAP_PROBE4): Likewise.
11605 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11607 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11609 2013-12-02 Steve Ellcey <sellcey@mips.com>
11611 * benchtests/Makefile (bench): Add sqrt.
11612 (LDLIBS-bench-sqrt): New.
11613 * benchtests/sqrt-input: New.
11615 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11617 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11618 (GAIH_EAI): Likewise.
11619 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11620 (gaih_inet): Likewise.
11621 (getaddrinfo): Don't use GAIH_EAI.
11623 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11624 (struct gaih): Remove definition.
11626 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11628 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11629 Use HERRNOP directly.
11631 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11635 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11637 * math/gen-auto-libm-tests.c (test_functions): Add more
11638 single-argument functions.
11639 (special_fill_pi_2): New function.
11640 (special_fill_minus_pi_2): Likewise.
11641 (special_fill_pi_6): Likewise.
11642 (special_fill_minus_pi_6): Likewise.
11643 (special_fill_pi_3): Likewise.
11644 (special_fill_2pi_3): Likewise.
11645 (special_fill_e): Likewise.
11646 (special_fill_1_e): Likewise.
11647 (special_fill_e_minus_1): Likewise.
11648 (special_real_inputs): Add more special inputs.
11649 (output_for_one_input_case): Do not require ERANGE on underflow to
11650 zero if round-to-nearest result does not underflow to zero, unless
11651 exact results required.
11652 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11653 atan, atanh, cbrt, cos and cosh.
11654 * math/auto-libm-test-out: Regenerated.
11655 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11656 (acos_tonearest_test_data): Likewise.
11657 (acos_towardzero_test_data): Likewise.
11658 (acos_downward_test_data): Likewise.
11659 (acos_upward_test_data): Likewise.
11660 (acosh_test_data): Likewise.
11661 (asin_test_data): Likewise.
11662 (asin_tonearest_test_data): Likewise.
11663 (asin_towardzero_test_data): Likewise.
11664 (asin_upward_test_data): Likewise.
11665 (asinh_test_data): Likewise.
11666 (atan_test_data): Likewise.
11667 (atanh_test_data): Likewise.
11668 (cbrt_test_data): Likewise.
11669 (cos_test_data): Likewise.
11670 (cos_tonearest_test_data): Likewise.
11671 (cos_towardzero_test_data): Likewise.
11672 (cos_downward_test_data): Likewise.
11673 (cos_upward_test_data): Likewise.
11674 (cosh_test_data): Likewise.
11675 (cosh_tonearest_test_data): Likewise.
11676 (cosh_towardzero_test_data): Likewise.
11677 (cosh_downward_test_data): Likewise.
11678 (cosh_upward_test_data): Likewise.
11679 * sysdeps/i386/fpu/libm-test-ulps: Update.
11680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11682 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11685 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11686 * math/w_exp10f.c (__exp10f): Likewise.
11687 * math/w_exp10l.c (__exp10l): Likewise.
11688 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11689 errno settings in existing tests.
11692 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11693 precision control set to double precision.
11694 * sysdeps/i386/fpu/w_sqrt.c: New file.
11695 * math/auto-libm-test-in: Add more tests.
11696 * math/auto-libm-test-out: Update.
11698 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11699 (sqrt_test_tonearest): New function.
11700 (sqrt_towardzero_test_data): New variable.
11701 (sqrt_test_towardzero): New function.
11702 (sqrt_downward_test_data): New variable.
11703 (sqrt_test_downward): New function.
11704 (sqrt_upward_test_data): New variable.
11705 (sqrt_test_upward): New function.
11706 (main): Call the new functions.
11708 * math/gen-auto-libm-tests.c: New file.
11709 * math/auto-libm-test-in: Likewise.
11710 * math/auto-libm-test-out: New generated file.
11711 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11713 (%beautify): Add generated representations of zero.
11714 (top level): Set $auto_input and call parse_auto_input.
11715 (beautify): Remove trailing "f" from hex float constants.
11716 (parse_args): Handle XFAIL_TEST.
11717 (convert_condition): New function.
11718 (or_value): Likewise.
11719 (or_cond_value): Likewise.
11720 (generate_testfile): Handle AUTO_TESTS_* lines.
11721 (parse_auto_input): New function.
11722 * math/libm-test.inc (XFAIL_TEST): New macro.
11723 (ERRNO_UNCHANGED): Update value.
11724 (ERRNO_EDOM): Likewise.
11725 (ERRNO_ERANGE): Likewise.
11726 (IGNORE_RESULT): Likewise.
11727 (TEST_COND_flt_32): New macro.
11728 (TEST_COND_dbl_64): Likewise.
11729 (TEST_COND_ldbl_96_intel): Likewise.
11730 (TEST_COND_ldbl_96_m68k): Likewise.
11731 (TEST_COND_ldbl_128): Likewise.
11732 (TEST_COND_ldbl_128ibm): Likewise.
11733 (TEST_COND_long32): Likewise.
11734 (TEST_COND_long64): Likewise.
11735 (TEST_COND_before_rounding): Likewise.
11736 (TEST_COND_after_rounding): Likewise.
11737 (enable_test): Handle XFAIL_TEST flag.
11738 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11739 with finite results.
11740 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11741 auto-libm-test-out.
11743 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11744 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11747 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11748 __tls_get_addr_internal instead of __tls_get_offset in order to
11749 avoid GOT pointer dependency. Make rtld export
11750 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11751 __tls_get_addr since we are a __tls_get_offset platform.
11752 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11753 GOT pointer being set up before.
11754 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11756 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11758 * manual/math.texi (Errors in Math Functions): Document accuracy
11762 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11763 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11766 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11768 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11779 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11780 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11781 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11782 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11783 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11785 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11787 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11789 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11790 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11791 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11792 atomic-feupdateenv and flt-rounds.
11793 * sysdeps/powerpc/nofpu/Versions (libc): Add
11794 __atomic_feholdexcept, __atomic_feclearexcept,
11795 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11796 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11797 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11798 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11799 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11804 * manual/arith.texi (FP Exceptions): Document that exceptions may
11805 not be raised when matherr is used.
11806 (Math Error Reporting): Document overflow in directed rounding
11807 modes. Document that errno may not be set when finite values are
11808 returned on overflow. Document intent to set errno on underflow
11809 only for underflow to zero.
11812 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11813 round-to-nearest then adjust result for other rounding modes.
11814 * include/fenv.h (fegetround): Use libm_hidden_proto.
11815 * math/fegetround.c (fegetround): Use libm_hidden_def.
11816 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11817 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11818 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11819 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11821 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11822 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11823 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11824 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11826 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11829 * nss/Versions (libnss_files): Add
11830 _nss_files_gethostbyname3_r.
11831 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11833 (HOST_DB_LOOKUP): Remove macro.
11834 (_nss_files_gethostbyname_r): Implement function without the
11835 HOST_DB_LOOKUP macro.
11836 (_nss_files_gethostbyname2_r): Likewise.
11838 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11840 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11842 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11844 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11845 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11848 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11850 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11851 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11852 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11853 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11854 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11855 __fe_nomask_env_priv and attribute_hidden.
11856 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11857 (libc_feupdateenv_test_ppc): Likewise.
11858 (libc_feresetround_ppc): Likewise.
11859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11860 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11861 compat_symbol macro.
11862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11863 (__fe_nomask_env): Likewise.
11864 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11866 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11868 * string/Makefile: Remove ifunc tests.
11869 * string/test-string.h: Define TEST_IFUNC.
11870 * string/test-bcopy-ifunc.c: Remove.
11871 * string/test-bzero-ifunc.c: Likewise.
11872 * string/test-memccpy-ifunc.c: Likewise.
11873 * string/test-memchr-ifunc.c: Likewise.
11874 * string/test-memcmp-ifunc.c: Likewise.
11875 * string/test-memcpy-ifunc.c: Likewise.
11876 * string/test-memmem-ifunc.c: Likewise.
11877 * string/test-memmove-ifunc.c: Likewise.
11878 * string/test-mempcpy-ifunc.c: Likewise.
11879 * string/test-memrchr-ifunc.c: Likewise.
11880 * string/test-memset-ifunc.c: Likewise.
11881 * string/test-rawmemchr-ifunc.c: Likewise.
11882 * string/test-stpcpy-ifunc.c: Likewise.
11883 * string/test-stpncpy-ifunc.c: Likewise.
11884 * string/test-strcasecmp-ifunc.c: Likewise.
11885 * string/test-strcasestr-ifunc.c: Likewise.
11886 * string/test-strcat-ifunc.c: Likewise.
11887 * string/test-strchr-ifunc.c: Likewise.
11888 * string/test-strchrnul-ifunc.c: Likewise.
11889 * string/test-strcmp-ifunc.c: Likewise.
11890 * string/test-strcpy-ifunc.c: Likewise.
11891 * string/test-strcspn-ifunc.c: Likewise.
11892 * string/test-strlen-ifunc.c: Likewise.
11893 * string/test-strncasecmp-ifunc.c: Likewise.
11894 * string/test-strncat-ifunc.c: Likewise.
11895 * string/test-strncmp-ifunc.c: Likewise.
11896 * string/test-strncpy-ifunc.c: Likewise.
11897 * string/test-strnlen-ifunc.c: Likewise.
11898 * string/test-strpbrk-ifunc.c: Likewise.
11899 * string/test-strrchr-ifunc.c: Likewise.
11900 * string/test-strspn-ifunc.c: Likewise.
11901 * string/test-strstr-ifunc.c: Likewise.
11903 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11905 * benchtests/Makefile: Remove ifunc tests.
11906 * benchtests/bench-string.h: Define TEST_IFUNC.
11907 * benchtests/bench-bcopy-ifunc.c: Remove.
11908 * benchtests/bench-bzero-ifunc.c: Likewise.
11909 * benchtests/bench-memccpy-ifunc.c: Likewise.
11910 * benchtests/bench-memchr-ifunc.c: Likewise.
11911 * benchtests/bench-memcmp-ifunc.c: Likewise.
11912 * benchtests/bench-memcpy-ifunc.c: Likewise.
11913 * benchtests/bench-memmem-ifunc.c: Likewise.
11914 * benchtests/bench-memmove-ifunc.c: Likewise.
11915 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11916 * benchtests/bench-memrchr-ifunc.c: Likewise.
11917 * benchtests/bench-memset-ifunc.c: Likewise.
11918 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11919 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11920 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11921 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11922 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11923 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11924 * benchtests/bench-strcat-ifunc.c: Likewise.
11925 * benchtests/bench-strchr-ifunc.c: Likewise.
11926 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11927 * benchtests/bench-strcmp-ifunc.c: Likewise.
11928 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11929 * benchtests/bench-strcpy-ifunc.c: Likewise.
11930 * benchtests/bench-strcspn-ifunc.c: Likewise.
11931 * benchtests/bench-strlen-ifunc.c: Likewise.
11932 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11933 * benchtests/bench-strncat-ifunc.c: Likewise.
11934 * benchtests/bench-strncmp-ifunc.c: Likewise.
11935 * benchtests/bench-strncpy-ifunc.c: Likewise.
11936 * benchtests/bench-strnlen-ifunc.c: Likewise.
11937 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11938 * benchtests/bench-strrchr-ifunc.c: Likewise.
11939 * benchtests/bench-strsep-ifunc.c: Likewise.
11940 * benchtests/bench-strspn-ifunc.c: Likewise.
11941 * benchtests/bench-strstr-ifunc.c: Likewise.
11943 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11945 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11947 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11949 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11950 * rt/aio.h: Likewise.
11951 * sysdeps/gnu/bits/utmp.h: Likewise.
11952 * sysdeps/gnu/bits/utmpx.h: Likewise.
11953 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11954 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11955 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11956 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11957 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11958 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11959 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11960 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11961 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11962 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11963 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11964 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11965 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11967 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11968 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11969 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11970 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11971 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11972 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11973 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11974 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11975 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11976 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11977 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11979 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11980 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11981 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11982 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11983 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11984 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11985 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11986 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11987 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11988 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11989 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11990 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11991 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11992 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11993 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11994 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11996 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11999 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12000 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12002 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12004 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12005 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12008 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12010 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12011 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12012 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12013 (__fesetround): Remove define.
12014 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12015 rounding and exceptions handling.
12016 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12017 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12018 (__fe_nomask_env): Likewise.
12019 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12020 __fegetround instead of fegetround.
12021 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12022 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12024 2013-11-21 Roland McGrath <roland@hack.frob.com>
12026 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12029 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12031 2013-11-21 Meador Inge <meadori@codesourcery.com>
12034 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12035 (encrypt_r): Likewise.
12036 * malloc/obstack.h (obstack_free): Likewise.
12037 * posix/unistd.h (encrypt): Likewise.
12039 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12041 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12042 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12043 DL_CALL_DT_FINI() that call the functions directly.
12044 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12045 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12046 * elf/dl-fini.c: Likewise.
12048 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12050 * malloc/hooks.c (memalign_check): Add alignment rounding.
12051 * malloc/malloc.c (_mid_memalign): New function.
12052 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12053 Implement by calling _mid_memalign.
12054 * manual/probes.texi (Memory Allocation Probes): Remove
12055 memory_valloc_retry and memory_pvalloc_retry.
12057 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12059 * locale/programs/locarchive.c (open_archive): Add const
12060 qualifier to ARCHIVEFNAME and copy default fname to
12064 * libio/tst-widetext.input: Rename Oriya to Odia.
12065 * locale/iso-639.def: Likewise.
12067 * manual/probes.texi (Mathematical Function Probes): Add
12068 documentation for sin, cos, asin and acos probes.
12069 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12070 (__sin32): Add slowasin probe.
12071 (__cos32): Add slowacos probe.
12072 (__mpsin): Add slowsin probe.
12073 (__mpcos): Add slowcos probe.
12075 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12078 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12079 thread-local __sim_exceptions_thread and global
12080 __sim_exceptions_global.
12081 (__sim_disabled_exceptions): Change to thread-local
12082 __sim_disabled_exceptions_thread and global
12083 __sim_disabled_exceptions_global.
12084 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12085 and global __sim_round_mode_global.
12086 (__simulate_exceptions): Use thread-local floating-point state and
12087 set global state from it as needed.
12088 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12089 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12090 __sim_round_mode_thread.
12091 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12092 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12093 and global __sim_exceptions_global.
12094 (__sim_disabled_exceptions): Change to thread-local
12095 __sim_disabled_exceptions_thread and global
12096 __sim_disabled_exceptions_global.
12097 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12098 and global __sim_round_mode_global.
12099 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12100 (SIM_SET_GLOBAL): Likewise.
12101 * sysdeps/powerpc/soft-fp/sfp-machine.h
12102 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12103 __sim_round_mode_thread.
12104 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12105 __sim_disabled_exceptions_thread.
12106 (__sim_exceptions): Change to __sim_exceptions_thread.
12107 (__sim_disabled_exceptions): Change to
12108 __sim_disabled_exceptions_thread.
12109 (__sim_round_mode): Change to __sim_round_mode_thread.
12110 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12111 thread-local floating-point state and set global state from it as
12113 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12114 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12115 (__sim_disabled_exceptions): Remove extern declaration.
12116 (feenableexcept): Use thread-local floating-point state and set
12117 global state from it as needed.
12118 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12119 extern declaration.
12120 (__sim_disabled_exceptions): Likewise.
12121 (__sim_round_mode): Likewise.
12122 (__fegetenv): Use thread-local floating-point state.
12123 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12124 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12125 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12126 floating-point state and set global state from it as needed.
12127 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12128 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12129 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12131 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12132 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12134 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12135 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12136 Use __sim_round_mode_thread.
12137 * math/test-fenv-tls.c: New file.
12138 * math/Makefile (tests): Add test-fenv-tls.
12139 ($(objpfx)test-fenv-tls): Depend on
12140 $(common-objpfx)nptl/libpthread.so.
12142 2013-11-19 Andreas Schwab <schwab@suse.de>
12144 * locale/programs/locale.c (show_info): Decode wordarray elements.
12145 * locale/categories.def (LC_MONETARY): Add element for
12146 _NL_MONETARY_CRNCYSTR.
12147 * locale/C-monetary.c (conversion_rate): New variable.
12148 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12151 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12153 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12154 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12156 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12158 * elf/Makefile (tst-auxv): New test.
12159 * elf/tst-auxv.c: New
12160 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12162 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12164 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12165 (hidden_proto): Caller changed.
12166 (hidden_tls_proto): New macro.
12167 (libc_hidden_tls_proto): Likewise.
12168 (rtld_hidden_tls_proto): Likewise.
12169 (libm_hidden_tls_proto): Likewise.
12170 (libresolv_hidden_tls_proto): Likewise.
12171 (librt_hidden_tls_proto): Likewise.
12172 (libdl_hidden_tls_proto): Likewise.
12173 (libnss_files_hidden_tls_proto): Likewise.
12174 (libnsl_hidden_tls_proto): Likewise.
12175 (libnss_nisplus_hidden_tls_proto): Likewise.
12176 (libutil_hidden_tls_proto): Likewise.
12178 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12181 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12182 (decompose_rpath): Defer expansion to fillin_rpath.
12183 (_dl_init_paths): Pass linkmap to fillin_rpath.
12185 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12187 * benchtests/Makefile: Add strsep.
12188 * benchtests/bench-strsep.c: New file: strsep benchtest.
12189 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12191 2013-11-18 Andreas Schwab <schwab@suse.de>
12193 * locale/programs/locale.c (show_info) [case byte]: Check for
12194 '\377' instead of '\177'.
12195 * locale/C-monetary.c (not_available): Always use "\377".
12196 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12197 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12198 detect unavailable sign_posn locale elements.
12199 * locale/localeconv.c (__localeconv): For grouping and
12200 mon_grouping handle "\177" and "\377" like no grouping.
12201 (INT_ELEM): New macro. Use it to set all numeric members.
12202 * locale/programs/ld-monetary.c (monetary_read)
12203 <tok_mon_grouping>: Normalize single -1 to the empty string.
12204 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12207 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12210 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12211 when we match (nil).
12212 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12214 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12216 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12217 (NO_TEST_INLINE): Update value.
12218 (ERRNO_UNCHANGED): Likewise.
12219 (ERRNO_EDOM): Likewise.
12220 (ERRNO_ERANGE): Likewise.
12221 (IGNORE_RESULT): Likewise.
12222 (check_float_internal): Check signs of NaN results if
12223 TEST_NAN_SIGN used.
12224 (check_complex): Pass TEST_NAN_SIGN flag through to second
12225 check_float_internal call.
12226 (copysign_test_data): Add tests with quiet NaNs as second
12227 argument. Use TEST_NAN_SIGN.
12228 (fabs_test_data): Add test of negative quiet NaN argument. Use
12230 (signbit_test_data): Add tests of quiet NaN argument.
12231 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12233 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12235 (parse_args): Handle function results specified as IGNORE.
12236 * math/libm-test.inc (IGNORE_RESULT): New macro.
12237 (check_float_internal): Do not check numerical result if flag
12239 (check_complex): Pass through IGNORE_RESULT to second
12240 check_float_internal call.
12241 (check_int): Do not check numerical result if flag IGNORE_RESULT
12243 (check_long): Likewise.
12244 (check_bool): Likewise.
12245 (check_longlong): Likewise.
12246 (lrint_test_data): Add tests of infinite and NaN arguments.
12247 (lrint_tonearest_test_data): Likewise.
12248 (lrint_towardzero_test_data): Likewise.
12249 (lrint_downward_test_data): Likewise.
12250 (lrint_upward_test_data): Likewise.
12251 (llrint_test_data): Likewise.
12252 (llrint_tonearest_test_data): Likewise.
12253 (llrint_towardzero_test_data): Likewise.
12254 (llrint_downward_test_data): Likewise.
12255 (llrint_upward_test_data): Likewise.
12256 (lround_test_data): Likewise.
12257 (llround_test_data): Likewise.
12259 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12260 (ERRNO_UNCHANGED): Update value.
12261 (ERRNO_EDOM): Likewise.
12262 (ERRNO_ERANGE): Likewise.
12263 (NO_TEST_INLINE_FLOAT): New macro.
12264 (NO_TEST_INLINE_DOUBLE): Likewise.
12265 (enable_test): New function.
12266 (RUN_TEST_f_f): Check enable_test before running test.
12267 (RUN_TEST_2_f): Likewise.
12268 (RUN_TEST_fff_f): Likewise.
12269 (RUN_TEST_c_f): Likewise.
12270 (RUN_TEST_f_f1): Likewise.
12271 (RUN_TEST_fF_f1): Likewise.
12272 (RUN_TEST_fI_f1): Likewise.
12273 (RUN_TEST_ffI_f1): Likewise.
12274 (RUN_TEST_c_c): Likewise.
12275 (RUN_TEST_cc_c): Likewise.
12276 (RUN_TEST_f_i): Likewise.
12277 (RUN_TEST_f_i_tg): Likewise.
12278 (RUN_TEST_ff_i_tg): Likewise.
12279 (RUN_TEST_f_b): Likewise.
12280 (RUN_TEST_f_b_tg): Likewise.
12281 (RUN_TEST_f_l): Likewise.
12282 (RUN_TEST_f_L): Likewise.
12283 (RUN_TEST_fFF_11): Likewise.
12284 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12286 (cosh_test_data): Likewise.
12287 (exp_test_data): Likewise.
12288 (expm1_test_data): Likewise.
12289 (hypot_test_data): Likewise.
12290 (pow_test_data): Likewise.
12291 (sinh_test_data): Likewise.
12292 (tanh_test_data): Likewise.
12293 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12296 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12297 tests with quiet NaN input and output.
12298 (acosh_test_data): Likewise.
12299 (asin_test_data): Likewise.
12300 (asinh_test_data): Likewise.
12301 (atan_test_data): Likewise.
12302 (atanh_test_data): Likewise.
12303 (atan2_test_data): Likewise.
12304 (cbrt_test_data): Likewise.
12305 (cos_test_data): Likewise.
12306 (cosh_test_data): Likewise.
12307 (erf_test_data): Likewise.
12308 (erfc_test_data): Likewise.
12309 (exp_test_data): Likewise.
12310 (exp10_test_data): Likewise.
12311 (exp2_test_data): Likewise.
12312 (expm1_test_data): Likewise.
12313 (hypot_test_data): Likewise.
12314 (j0_test_data): Likewise.
12315 (j1_test_data): Likewise.
12316 (jn_test_data): Likewise.
12317 (lgamma_test_data): Likewise.
12318 (log_test_data): Likewise.
12319 (log10_test_data): Likewise.
12320 (log1p_test_data): Likewise.
12321 (log2_test_data): Likewise.
12322 (pow_test_data): Likewise.
12323 (scalb_test_data): Likewise.
12324 (sin_test_data): Likewise.
12325 (sincos_test_data): Likewise.
12326 (sinh_test_data): Likewise.
12327 (tan_test_data): Likewise.
12328 (tanh_test_data): Likewise.
12329 (tgamma_test_data): Likewise.
12330 (y0_test_data): Likewise.
12331 (y1_test_data): Likewise.
12332 (yn_test_data): Likewise.
12335 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12336 argument being NaN and avoid computations with second argument in
12338 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12339 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12340 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12342 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12344 * locale/iso-639.def: Add Chitwani Tharu (the).
12346 2013-11-14 Andreas Schwab <schwab@suse.de>
12348 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12349 word instead of empty string.
12351 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12354 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12356 (__fe_nomask_env): Likewise.
12358 2013-11-13 Steve Ellcey <sellcey@mips.com>
12360 * benchtests/bench-timing.h: Include time.h.
12362 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12365 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12367 * sysdeps/unix/sysv/linux/configure: Regenerated.
12369 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12372 * stdlib/strtod_l.c (round_and_return): Do not consider
12373 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12374 exponent one less than half the least subnormal exponent.
12375 * stdlib/test-strtod-round-data: Add more tests.
12376 * stdlib/tst-strtod-round.c (tests): Regenerated.
12378 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12381 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12382 (__fe_mask_env): Likewise.
12383 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12384 libm_hidden_proto and add function prototype.
12385 (__fe_mask_env): Add function prototype.
12386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12387 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12389 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12391 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12393 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12395 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12396 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12398 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12400 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12401 of htab_find_slot().
12403 2013-11-11 David S. Miller <davem@davemloft.net>
12406 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12407 symbol in the non-vis3 case in static builds.
12408 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12409 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12410 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12411 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12413 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12416 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12419 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12421 * benchtests/Makefile: Add bench-strtod.
12422 * benchtests/bench-strtod.c: New file: strtod benchtest
12424 2013-11-11 Andreas Schwab <schwab@suse.de>
12427 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12428 terminating NUL in key length.
12430 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12433 Add artificial ODP entry for vDSO symbol for PPC64.
12434 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12435 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12437 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12440 * nss/getent.c (services_keys): Recognize services starting with digit.
12442 2013-11-06 David S. Miller <davem@davemloft.net>
12445 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12446 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12448 2013-11-06 Will Newton <will.newton@linaro.org>
12450 * manual/memory.texi (Malloc Examples): Remove register
12451 keyword from examples.
12453 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12455 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12457 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12460 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12461 depending on [__GCC_IEC_559 > 0].
12462 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12463 depending on [__GCC_IEC_559_COMPLEX > 0].
12465 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12467 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12470 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12472 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12474 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12477 * malloc/malloc (malloc_info): Do not handle first bin as
12480 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12482 * locale/iso-639.def: Add Central Nahuatl (nhn).
12484 2013-11-01 Bruno Haible <bruno@clisp.org>
12487 * manual/math.texi (BSD Random): Specify range upper bound as
12490 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12492 * locale/iso-639.def: Add Meadow Mari (mhr).
12494 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12496 [BZ #14752], [BZ #15763]
12497 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12499 * rt/tst_shm.c: Add test for escaping directory.
12501 2013-10-31 Andreas Schwab <schwab@suse.de>
12504 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12505 followed by 'x' as part of digit sequence.
12506 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12508 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12511 * configure.ac: allow GNU Make 4.0 and greater.
12512 * configure: Regenerated.
12514 2013-10-30 Will Newton <will.newton@linaro.org>
12517 * malloc/hooks.c (memalign_check): Limit alignment to the
12518 maximum representable power of two.
12519 * malloc/malloc.c (__libc_memalign): Likewise.
12520 * malloc/tst-memalign.c (do_test): Add test for very
12521 large alignment values.
12522 * malloc/tst-posix_memalign.c (do_test): Likewise.
12524 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12527 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12528 (munmap_chunk): Likewise.
12529 (mremap_chunk): Likewise.
12531 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12534 * stdlib/div.c (div): Remove obsolete code.
12535 * stdlib/ldiv.c (ldiv): Likewise.
12536 * stdlib/lldiv.c (lldiv): Likewise.
12538 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12541 * nss/nss_files/files-XXX.c (get_contents_ret): New
12543 (get_contents): New function.
12544 (internal_getent): Use it. Expand size of LINEBUFLEN.
12546 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12548 * configure.in: Moved to ...
12549 * configure.ac: ... here. Change reference to configure.in
12551 * sysdeps/arm/preconfigure.ac: ... here.
12552 configure.in to configure.ac.
12553 * sysdeps/gnu/configure.in: Moved to ...
12554 * sysdeps/gnu/configure.ac: ... here.
12555 * sysdeps/i386/configure.in: Moved to ...
12556 * sysdeps/i386/configure.ac: ... here.
12557 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12558 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12559 * sysdeps/mach/configure.in: Moved to ...
12560 * sysdeps/mach/configure.ac: ... here.
12561 * sysdeps/mach/hurd/configure.in: Moved to ...
12562 * sysdeps/mach/hurd/configure.ac: ... here.
12563 * sysdeps/powerpc/configure.in: Moved to ...
12564 * sysdeps/powerpc/configure.ac: ... here.
12565 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12566 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12567 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12568 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12569 * sysdeps/s390/s390-32/configure.in: Moved to ...
12570 * sysdeps/s390/s390-32/configure.ac: ... here.
12571 * sysdeps/s390/s390-64/configure.in: Moved to ...
12572 * sysdeps/s390/s390-64/configure.ac: ... here.
12573 * sysdeps/sh/configure.in: Moved to ...
12574 * sysdeps/sh/configure.ac: ... here.
12575 * sysdeps/sparc/configure.in: Moved to ...
12576 * sysdeps/sparc/configure.ac: ... here.
12577 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12578 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12579 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12580 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12581 * sysdeps/x86_64/configure.in: Moved to ...
12582 * sysdeps/x86_64/configure.ac: ... here.
12583 * sysdeps/x86_64/preconfigure.in: Moved to ...
12584 * sysdeps/x86_64/preconfigure.ac: ... here.
12585 * aclocal.m4: Change reference to configure.in to configure.ac.
12586 * config.h.in: Likewise.
12587 * manual/install.texi: Likewise.
12588 * manual/maint.texi: Likewise.
12589 * Makefile: Likewise.
12590 * malloc/Makefile: Likewise.
12591 * nscd/Makefile: Likewise.
12592 * Makeconfig: Change reference to configure.in and
12593 preconfigure.in to configure.ac and preconfigure.ac
12595 * INSTALL: Regenerated.
12596 * configure: Likewise.
12597 * sysdeps/gnu/configure: Likewise.
12598 * sysdeps/i386/configure: Likewise.
12599 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12600 * sysdeps/mach/configure: Likewise.
12601 * sysdeps/mach/hurd/configure: Likewise.
12602 * sysdeps/powerpc/configure: Likewise.
12603 * sysdeps/powerpc/powerpc32/configure: Likewise.
12604 * sysdeps/powerpc/powerpc64/configure: Likewise.
12605 * sysdeps/s390/s390-32/configure: Likewise.
12606 * sysdeps/s390/s390-64/configure: Likewise.
12607 * sysdeps/sh/configure: Likewise.
12608 * sysdeps/sparc/configure: Likewise.
12609 * sysdeps/unix/sysv/linux/configure: Likewise.
12610 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12611 * sysdeps/x86_64/configure: Likewise.
12612 * sysdeps/x86_64/preconfigure: Likewise.
12614 2013-10-29 Andreas Schwab <schwab@suse.de>
12616 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12618 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12620 * benchtests/pow-inputs: Add new inputs.
12622 * benchtests/exp-inputs: Add new inputs.
12624 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12625 conditional check for return value.
12626 (__cos32): Likewise.
12628 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12630 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12631 to provide a boost for large inputs with word alignment.
12632 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12633 implementation based on optimized PPC64 strcpy.
12634 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12635 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12636 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12637 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12639 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12642 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12644 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12647 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12648 * time/tst-strptime.c (day_tests): Add testcase.
12650 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12653 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12655 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12658 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12659 MAP_FAILED on error.
12661 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12664 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12665 heap for large requests.
12667 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12670 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12671 result if the result has no associated interface.
12672 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12673 interface for all 127.X.Y.Z addresses.
12675 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12677 * locale/iso-639.def: Add Ligurian (lij)
12679 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12682 * sunrpc/rpc_main.c: Document rpcgen -5.
12684 2013-10-19 Michael Stahl <mstahl@redhat.com>
12686 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12688 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12691 * posix/glob.c: Match only directories when trailing slash is present.
12692 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12693 (main): Add testcase.
12695 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12698 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12700 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12702 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12703 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12704 AUTH_DES and cindex for FIPS 140-2.
12705 (DES Encryption): Add cindex FIPS 46-3.
12707 * locale/locarchive.h (struct locarhandle): Add fname.
12708 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12709 if an optional argument was specified to --list-archive,
12711 * locale/programs/locarchive.c (show_archive_content): Take new
12712 argument fname and pass it via ah.fname to open_archive.
12713 * locale/programs/localedef.h: Update decl.
12714 (open_archive): If AH->fname is non-null, open that file
12715 rather than the default file name, and don't ignore ENOENT.
12716 (create_archive): Set AH.fname to NULL.
12717 (delete_locales_from_archive): Likewise.
12718 (add_locales_to_archive): Likewise.
12719 * locale/programs/locfile.c (write_all_categories): Likewise.
12721 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12722 Aldy Hernandez <aldyh@redhat.com>
12724 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12725 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12726 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12727 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12728 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12729 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12730 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12731 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12732 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12733 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12734 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12735 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12736 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12737 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12738 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12740 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12742 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12744 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12746 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12747 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12749 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12750 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12751 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12752 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12754 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12755 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12756 * sysdeps/powerpc/preconfigure: Likewise.
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12759 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12760 Replace contents of file by #include of <fenv_libc.h>.
12761 * sysdeps/powerpc/soft-fp/sfp-machine.h
12762 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12764 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12765 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12766 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12767 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12768 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12769 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12771 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12772 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12773 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12774 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12775 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12777 Allow copysignl PLT reference to be missing.
12779 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12780 Joseph Myers <joseph@codesourcery.com
12783 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12785 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12787 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12789 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12790 * elf/tst-tls1.c: Likewise.
12791 * elf/tst-tls10.h: Likewise.
12792 * elf/tst-tls14.c: Likewise.
12793 * elf/tst-tls2.c: Likewise.
12794 * elf/tst-tls3.c: Likewise.
12795 * elf/tst-tls4.c: Likewise.
12796 * elf/tst-tls5.c: Likewise.
12797 * elf/tst-tls6.c: Likewise.
12798 * elf/tst-tls7.c: Likewise.
12799 * elf/tst-tls8.c: Likewise.
12800 * elf/tst-tls9.c: Likewise.
12801 * elf/tst-tlsmod1.c: Likewise.
12802 * elf/tst-tlsmod13.c: Likewise.
12803 * elf/tst-tlsmod13a.c: Likewise.
12804 * elf/tst-tlsmod14a.c: Likewise.
12805 * elf/tst-tlsmod16a.c: Likewise.
12806 * elf/tst-tlsmod16b.c: Likewise.
12807 * elf/tst-tlsmod2.c: Likewise.
12808 * elf/tst-tlsmod3.c: Likewise.
12809 * elf/tst-tlsmod4.c: Likewise.
12810 * elf/tst-tlsmod5.c: Likewise.
12811 * elf/tst-tlsmod6.c: Likewise.
12813 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12816 * malloc/malloc.c: remove checks for statistics.
12818 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12821 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12822 * inet/tst-network.c: Add testcase.
12824 2013-10-17 Andreas Schwab <schwab@suse.de>
12827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12828 to determine canonical name.
12830 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12832 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12833 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12847 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12850 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12851 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12854 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12855 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12856 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12857 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12862 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12865 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12867 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12868 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12869 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12870 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12871 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12873 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12874 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12876 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12879 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12891 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12894 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12895 make result into a quiet NaN.
12897 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12899 * soft-fp/adddf3.c: Fix horizontal whitespace.
12900 * soft-fp/addsf3.c: Likewise.
12901 * soft-fp/addtf3.c: Likewise.
12902 * soft-fp/divdf3.c: Likewise.
12903 * soft-fp/divsf3.c: Likewise.
12904 * soft-fp/divtf3.c: Likewise.
12905 * soft-fp/double.h: Likewise.
12906 * soft-fp/eqdf2.c: Likewise.
12907 * soft-fp/eqsf2.c: Likewise.
12908 * soft-fp/eqtf2.c: Likewise.
12909 * soft-fp/extenddftf2.c: Likewise.
12910 * soft-fp/extended.h: Likewise.
12911 * soft-fp/extendsfdf2.c: Likewise.
12912 * soft-fp/extendsftf2.c: Likewise.
12913 * soft-fp/extendxftf2.c: Likewise.
12914 * soft-fp/fixdfdi.c: Likewise.
12915 * soft-fp/fixdfsi.c: Likewise.
12916 * soft-fp/fixdfti.c: Likewise.
12917 * soft-fp/fixsfdi.c: Likewise.
12918 * soft-fp/fixsfsi.c: Likewise.
12919 * soft-fp/fixsfti.c: Likewise.
12920 * soft-fp/fixtfdi.c: Likewise.
12921 * soft-fp/fixtfsi.c: Likewise.
12922 * soft-fp/fixtfti.c: Likewise.
12923 * soft-fp/fixunsdfdi.c: Likewise.
12924 * soft-fp/fixunsdfsi.c: Likewise.
12925 * soft-fp/fixunsdfti.c: Likewise.
12926 * soft-fp/fixunssfdi.c: Likewise.
12927 * soft-fp/fixunssfsi.c: Likewise.
12928 * soft-fp/fixunssfti.c: Likewise.
12929 * soft-fp/fixunstfdi.c: Likewise.
12930 * soft-fp/fixunstfsi.c: Likewise.
12931 * soft-fp/fixunstfti.c: Likewise.
12932 * soft-fp/floatdidf.c: Likewise.
12933 * soft-fp/floatdisf.c: Likewise.
12934 * soft-fp/floatditf.c: Likewise.
12935 * soft-fp/floatsidf.c: Likewise.
12936 * soft-fp/floatsisf.c: Likewise.
12937 * soft-fp/floatsitf.c: Likewise.
12938 * soft-fp/floattidf.c: Likewise.
12939 * soft-fp/floattisf.c: Likewise.
12940 * soft-fp/floattitf.c: Likewise.
12941 * soft-fp/floatundidf.c: Likewise.
12942 * soft-fp/floatundisf.c: Likewise.
12943 * soft-fp/floatunditf.c: Likewise.
12944 * soft-fp/floatunsidf.c: Likewise.
12945 * soft-fp/floatunsisf.c: Likewise.
12946 * soft-fp/floatunsitf.c: Likewise.
12947 * soft-fp/floatuntidf.c: Likewise.
12948 * soft-fp/floatuntisf.c: Likewise.
12949 * soft-fp/floatuntitf.c: Likewise.
12950 * soft-fp/fmadf4.c: Likewise.
12951 * soft-fp/fmasf4.c: Likewise.
12952 * soft-fp/fmatf4.c: Likewise.
12953 * soft-fp/gedf2.c: Likewise.
12954 * soft-fp/gesf2.c: Likewise.
12955 * soft-fp/getf2.c: Likewise.
12956 * soft-fp/ledf2.c: Likewise.
12957 * soft-fp/lesf2.c: Likewise.
12958 * soft-fp/letf2.c: Likewise.
12959 * soft-fp/muldf3.c: Likewise.
12960 * soft-fp/mulsf3.c: Likewise.
12961 * soft-fp/multf3.c: Likewise.
12962 * soft-fp/negdf2.c: Likewise.
12963 * soft-fp/negsf2.c: Likewise.
12964 * soft-fp/negtf2.c: Likewise.
12965 * soft-fp/op-1.h: Likewise.
12966 * soft-fp/op-2.h: Likewise.
12967 * soft-fp/op-4.h: Likewise.
12968 * soft-fp/op-8.h: Likewise.
12969 * soft-fp/op-common.h: Likewise.
12970 * soft-fp/quad.h: Likewise.
12971 * soft-fp/single.h: Likewise.
12972 * soft-fp/soft-fp.h: Likewise.
12973 * soft-fp/sqrtdf2.c: Likewise.
12974 * soft-fp/sqrtsf2.c: Likewise.
12975 * soft-fp/sqrttf2.c: Likewise.
12976 * soft-fp/subdf3.c: Likewise.
12977 * soft-fp/subsf3.c: Likewise.
12978 * soft-fp/subtf3.c: Likewise.
12979 * soft-fp/truncdfsf2.c: Likewise.
12980 * soft-fp/trunctfdf2.c: Likewise.
12981 * soft-fp/trunctfsf2.c: Likewise.
12982 * soft-fp/trunctfxf2.c: Likewise.
12983 * soft-fp/unorddf2.c: Likewise.
12984 * soft-fp/unordsf2.c: Likewise.
12985 * soft-fp/unordtf2.c: Likewise.
12987 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12989 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12990 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12992 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12994 * elf/dl-libc.c: Clear initfini list after freeing.
12996 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12998 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12999 * soft-fp/addsf3.c: Likewise.
13000 * soft-fp/addtf3.c: Likewise.
13001 * soft-fp/divdf3.c: Likewise.
13002 * soft-fp/divsf3.c: Likewise.
13003 * soft-fp/divtf3.c: Likewise.
13004 * soft-fp/double.h: Likewise.
13005 * soft-fp/eqdf2.c: Likewise.
13006 * soft-fp/eqsf2.c: Likewise.
13007 * soft-fp/eqtf2.c: Likewise.
13008 * soft-fp/extenddftf2.c: Likewise.
13009 * soft-fp/extended.h: Likewise.
13010 * soft-fp/extendsfdf2.c: Likewise.
13011 * soft-fp/extendsftf2.c: Likewise.
13012 * soft-fp/extendxftf2.c: Likewise.
13013 * soft-fp/fixdfdi.c: Likewise.
13014 * soft-fp/fixdfsi.c: Likewise.
13015 * soft-fp/fixdfti.c: Likewise.
13016 * soft-fp/fixsfdi.c: Likewise.
13017 * soft-fp/fixsfsi.c: Likewise.
13018 * soft-fp/fixsfti.c: Likewise.
13019 * soft-fp/fixtfdi.c: Likewise.
13020 * soft-fp/fixtfsi.c: Likewise.
13021 * soft-fp/fixtfti.c: Likewise.
13022 * soft-fp/fixunsdfdi.c: Likewise.
13023 * soft-fp/fixunsdfsi.c: Likewise.
13024 * soft-fp/fixunsdfti.c: Likewise.
13025 * soft-fp/fixunssfdi.c: Likewise.
13026 * soft-fp/fixunssfsi.c: Likewise.
13027 * soft-fp/fixunssfti.c: Likewise.
13028 * soft-fp/fixunstfdi.c: Likewise.
13029 * soft-fp/fixunstfsi.c: Likewise.
13030 * soft-fp/fixunstfti.c: Likewise.
13031 * soft-fp/floatdidf.c: Likewise.
13032 * soft-fp/floatdisf.c: Likewise.
13033 * soft-fp/floatditf.c: Likewise.
13034 * soft-fp/floatsidf.c: Likewise.
13035 * soft-fp/floatsisf.c: Likewise.
13036 * soft-fp/floatsitf.c: Likewise.
13037 * soft-fp/floattidf.c: Likewise.
13038 * soft-fp/floattisf.c: Likewise.
13039 * soft-fp/floattitf.c: Likewise.
13040 * soft-fp/floatundidf.c: Likewise.
13041 * soft-fp/floatundisf.c: Likewise.
13042 * soft-fp/floatunsidf.c: Likewise.
13043 * soft-fp/floatunsisf.c: Likewise.
13044 * soft-fp/floatuntidf.c: Likewise.
13045 * soft-fp/floatuntisf.c: Likewise.
13046 * soft-fp/floatuntitf.c: Likewise.
13047 * soft-fp/fmadf4.c: Likewise.
13048 * soft-fp/fmasf4.c: Likewise.
13049 * soft-fp/fmatf4.c: Likewise.
13050 * soft-fp/gedf2.c: Likewise.
13051 * soft-fp/gesf2.c: Likewise.
13052 * soft-fp/getf2.c: Likewise.
13053 * soft-fp/ledf2.c: Likewise.
13054 * soft-fp/lesf2.c: Likewise.
13055 * soft-fp/letf2.c: Likewise.
13056 * soft-fp/muldf3.c: Likewise.
13057 * soft-fp/mulsf3.c: Likewise.
13058 * soft-fp/multf3.c: Likewise.
13059 * soft-fp/negdf2.c: Likewise.
13060 * soft-fp/negsf2.c: Likewise.
13061 * soft-fp/negtf2.c: Likewise.
13062 * soft-fp/op-1.h: Likewise.
13063 * soft-fp/op-2.h: Likewise.
13064 * soft-fp/op-4.h: Likewise.
13065 * soft-fp/op-8.h: Likewise.
13066 * soft-fp/op-common.h: Likewise.
13067 * soft-fp/quad.h: Likewise.
13068 * soft-fp/single.h: Likewise.
13069 * soft-fp/soft-fp.h: Likewise.
13070 * soft-fp/sqrtdf2.c: Likewise.
13071 * soft-fp/sqrtsf2.c: Likewise.
13072 * soft-fp/sqrttf2.c: Likewise.
13073 * soft-fp/subdf3.c: Likewise.
13074 * soft-fp/subsf3.c: Likewise.
13075 * soft-fp/subtf3.c: Likewise.
13076 * soft-fp/truncdfsf2.c: Likewise.
13077 * soft-fp/trunctfdf2.c: Likewise.
13078 * soft-fp/trunctfsf2.c: Likewise.
13079 * soft-fp/trunctfxf2.c: Likewise.
13080 * soft-fp/unorddf2.c: Likewise.
13081 * soft-fp/unordsf2.c: Likewise.
13082 * soft-fp/unordtf2.c: Likewise.
13084 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13087 * misc/error.c (error_tail): Fix possible buffer overflow.
13089 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13092 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13095 2013-10-14 P. J. McDermott <pj@pehjota.net>
13098 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13099 testing pipefail option.
13101 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13103 * soft-fp/double.h: Indent preprocessor directives inside #if.
13104 * soft-fp/extended.h: Likewise.
13105 * soft-fp/op-2.h: Likewise.
13106 * soft-fp/op-4.h: Likewise.
13107 * soft-fp/op-common.h: Likewise.
13108 * soft-fp/quad.h: Likewise.
13109 * soft-fp/single.h: Likewise.
13110 * soft-fp/soft-fp.h: Likewise.
13112 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13114 * iconv/iconv_prog.c: Fix typos.
13115 * stdio-common/psiginfo-data.h: Likewise.
13117 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13120 * locale/setlocale.c: Fix typo.
13122 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13125 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13126 signaling NaN arguments.
13127 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13128 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13131 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13132 unordered operands.
13133 * soft-fp/gesf2.c (__gesf2): Likewise.
13134 * soft-fp/getf2.c (__getf2): Likewise.
13135 * soft-fp/ledf2.c (__ledf2): Likewise.
13136 * soft-fp/lesf2.c (__lesf2): Likewise.
13137 * soft-fp/letf2.c (__letf2): Likewise.
13139 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13140 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13141 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13142 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13143 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13144 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13145 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13146 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13147 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13148 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13149 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13150 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13151 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13152 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13153 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13154 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13155 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13156 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13157 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13158 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13159 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13160 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13161 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13162 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13163 * soft-fp/floattidf.c (__floattidf): Likewise.
13164 * soft-fp/floattisf.c (__floattisf): Likewise.
13165 * soft-fp/floattitf.c (__floattitf): Likewise.
13166 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13167 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13168 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13169 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13170 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13171 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13172 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13173 * soft-fp/gesf2.c (__gesf2): Likewise.
13174 * soft-fp/getf2.c (__getf2): Likewise.
13175 * soft-fp/ledf2.c (__ledf2): Likewise.
13176 * soft-fp/lesf2.c (__lesf2): Likewise.
13177 * soft-fp/letf2.c (__letf2): Likewise.
13179 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13180 Undefine and redefine.
13181 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13182 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13183 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13184 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13185 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13186 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13187 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13188 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13189 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13190 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13191 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13192 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13193 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13194 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13195 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13198 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13199 without decrementing exponent if mantissa >= that for the
13200 denominator, not >.
13201 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13202 denominator, not >. Decrement exponent in < case instead of
13203 incrementing in >= case.
13204 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13205 without decrementing exponent if mantissa >= that for the
13206 denominator, not >.
13208 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13209 computing saturated result for unsigned overflow.
13211 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13212 Jeff Law <law@redhat.com>
13214 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13215 (atan2Mp): Add systemtap probe marker.
13216 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13217 (__ieee754_log): Add systemtap probe marker.
13218 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13219 (atanMp): Add systemtap probe marker.
13220 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13221 (tanMp): Add systemtap probe marker.
13222 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13223 (__slowexp): Add systemtap probe marker.
13224 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13225 (__slowpow): Add systemtap probe marker.
13226 * manual/probes.texi: Document probes.
13228 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13231 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13233 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13235 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13236 written to buffer but not flushed.
13237 * libio/iofwrite_u.c: Likewise.
13238 * libio/iopadn.c: Return bytes returned even if EOF was
13240 * libio/iowpadn.c: Likewise.
13241 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13242 if _IO_padn does not write the whole buffer.
13243 [!COMPILE_WPRINTF] (PAD): Likewise.
13245 2013-10-10 David S. Miller <davem@davemloft.net>
13247 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13250 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13252 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13253 instead of FSF address.
13254 * soft-fp/fixdfti.c: Likewise.
13255 * soft-fp/fixsfti.c: Likewise.
13256 * soft-fp/fixtfti.c: Likewise.
13257 * soft-fp/fixunsdfti.c: Likewise.
13258 * soft-fp/fixunssfti.c: Likewise.
13259 * soft-fp/fixunstfti.c: Likewise.
13260 * soft-fp/floattidf.c: Likewise.
13261 * soft-fp/floattisf.c: Likewise.
13262 * soft-fp/floattitf.c: Likewise.
13263 * soft-fp/floatuntidf.c: Likewise.
13264 * soft-fp/floatuntisf.c: Likewise.
13265 * soft-fp/floatuntitf.c: Likewise.
13266 * soft-fp/trunctfxf2.c: Likewise.
13268 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13269 * soft-fp/fixdfti.c: Likewise.
13270 * soft-fp/fixsfti.c: Likewise.
13271 * soft-fp/fixtfti.c: Likewise.
13272 * soft-fp/fixunsdfti.c: Likewise.
13273 * soft-fp/fixunssfti.c: Likewise.
13274 * soft-fp/fixunstfti.c: Likewise.
13275 * soft-fp/floattidf.c: Likewise.
13276 * soft-fp/floattisf.c: Likewise.
13277 * soft-fp/floattitf.c: Likewise.
13278 * soft-fp/floatuntidf.c: Likewise.
13279 * soft-fp/floatuntisf.c: Likewise.
13280 * soft-fp/floatuntitf.c: Likewise.
13281 * soft-fp/trunctfxf2.c: Likewise.
13283 2013-10-10 David S. Miller <davem@davemloft.net>
13285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13287 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13289 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13290 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13291 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13292 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13293 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13294 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13295 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13297 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13298 for NaNs before doing comparisons on argument.
13299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13302 2013-10-10 Will Newton <will.newton@linaro.org>
13304 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13305 passed to _int_memalign does not overflow.
13307 2013-10-10 Torvald Riegel <triegel@redhat.com>
13309 * scripts/bench.pl: Add include-sources directive.
13310 * benchtests/README: Update documentation.
13312 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13314 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13315 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13316 instead of FP_INIT_ROUNDMODE.
13317 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13318 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13321 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13322 copy class of input value.
13323 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13324 not handle exceptions.
13325 * soft-fp/negsf2.c (__negsf2): Likewise.
13326 * soft-fp/negtf2.c (__negtf2): Likewise.
13327 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13329 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13331 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13332 semicolon. From Linux kernel.
13334 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13336 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13338 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13341 * manual/socket.texi: Added statement about buffer
13342 for gethostbyname2_r.
13344 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13346 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13347 Use .p2align directive instead, throughout.
13348 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13349 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13350 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13352 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13353 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13354 * sysdeps/x86_64/strchr.S: Likewise.
13355 * sysdeps/x86_64/strrchr.S: Likewise.
13357 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13359 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13361 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13363 * sysdeps/generic/math_private.h (__mpsin1): Remove
13365 (__mpcos1): Likewise.
13366 (__mpsin): New argument __range_reduce.
13367 (__mpcos): Likewise.
13368 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13369 (slow): Use __mpsin and __mpcos.
13373 (sloww1): Likewise.
13374 (sloww2): Likewise.
13375 (bsloww): Likewise.
13376 (bsloww1): Likewise.
13377 (bsloww2): Likewise.
13378 (cslow2): Likewise.
13379 (csloww): Likewise.
13380 (csloww1): Likewise.
13381 (csloww2): Likewise.
13382 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13383 range_reduce. Merge in __mpsin1.
13384 (__mpcos): Likewise.
13385 (__mpsin1): Remove.
13386 (__mpcos1): Likewise.
13388 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13390 * locale/loadlocale.c (_nl_intern_locale_data): Use
13392 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13393 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13394 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13395 obstack data is appropriately aligned.
13396 (obstack_int32_grow_fast): Likewise.
13397 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13398 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13399 (add_locale_uint32_array): Likewise.
13401 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13403 * benchtests/Makefile: Remove ARGLIST and RET variables.
13404 ($(objpfx)bench-%.c): Pass only function name to the script.
13405 * benchtests/README: Update documentation.
13406 * benchtests/acos-inputs: Add new directives.
13407 * benchtests/acosh-inputs: Likewise.
13408 * benchtests/asin-inputs: Likewise.
13409 * benchtests/asinh-inputs: Likewise.
13410 * benchtests/atan-inputs: Likewise.
13411 * benchtests/atanh-inputs: Likewise.
13412 * benchtests/cos-inputs: Likewise.
13413 * benchtests/cosh-inputs: Likewise.
13414 * benchtests/exp-inputs: Likewise.
13415 * benchtests/log-inputs: Likewise.
13416 * benchtests/pow-inputs: Likewise.
13417 * benchtests/rint-inputs: Likewise.
13418 * benchtests/sin-inputs: Likewise.
13419 * benchtests/sinh-inputs: Likewise.
13420 * benchtests/tan-inputs: Likewise.
13421 * benchtests/tanh-inputs: Likewise.
13422 * scripts/bench.pl: Add support for new directives.
13424 2013-10-07 Alan Modra <amodra@gmail.com>
13426 * README: Fix careless merge.
13428 2013-10-05 Alan Modra <amodra@gmail.com>
13430 * NEWS: Mention powerpc64le support and bugs fixed.
13431 * README: Both big-endian and little-endian powerpc64 supported.
13433 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13435 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13436 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13437 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13438 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13440 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13442 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13445 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13447 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13448 Move -mhard-float appending from
13449 ports/sysdeps/powerpc/powerpc32/Makefile.
13450 [$(with-fp) = yes] (ASFLAGS): Likewise.
13451 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13452 * sysdeps/powerpc/nofpu: Move directory from
13453 ports/sysdeps/powerpc/nofpu.
13454 * sysdeps/powerpc/soft-fp: Move directory from
13455 ports/sysdeps/powerpc/soft-fp.
13456 * sysdeps/powerpc/powerpc32/405: Move directory from
13457 ports/sysdeps/powerpc/powerpc32/405.
13458 * sysdeps/powerpc/powerpc32/440: Move directory from
13459 ports/sysdeps/powerpc/powerpc32/440.
13460 * sysdeps/powerpc/powerpc32/464: Move directory from
13461 ports/sysdeps/powerpc/powerpc32/464.
13462 * sysdeps/powerpc/powerpc32/476: Move directory from
13463 ports/sysdeps/powerpc/powerpc32/476.
13464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13465 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13467 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13469 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13471 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13473 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13474 * README: Update for powerpc-*-linux-gnu software floating point
13477 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13478 case to powerpc/powerpc32*.
13479 * sysdeps/unix/sysv/linux/configure: Regenerated.
13481 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13482 (_FPU_MASK_OM): Define as 0x04.
13483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13491 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13494 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13497 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13498 and setcontext_e500.
13500 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13502 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13504 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13506 * manual/threads.texi (Default Thread Attributes): Fix typo.
13508 2013-10-04 Will Newton <will.newton@linaro.org>
13510 * malloc/Makefile: Add tst-memalign.
13511 * malloc/tst-memalign.c: New file.
13513 * malloc/tst-posix_memalign.c: Add comments.
13514 (do_test): Add comments and call free on all potentially
13515 allocated pointers. Add space after cast.
13517 * malloc/tst-pvalloc.c: Add comments.
13518 (do_test): Add comments and call free on all potentially
13519 allocated pointers. Remove duplicate check for NULL pointer.
13520 Add space after cast.
13522 * malloc/tst-valloc.c: Add comments.
13523 (do_test): Add comments and call free on all potentially
13524 allocated pointers. Remove duplicate check for NULL pointer.
13525 Add space after cast.
13527 2013-10-04 Alan Modra <amodra@gmail.com>
13529 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13530 Use stdint types in rather than __attribute__((mode())).
13531 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13533 2013-10-04 Alan Modra <amodra@gmail.com>
13535 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13536 Correct handling of unaligned relocs for little-endian.
13537 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13539 2013-10-04 Alan Modra <amodra@gmail.com>
13541 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13542 * configure: Regenerate.
13543 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13544 * shlib-versions: Likewise.
13546 2013-10-04 Alan Modra <amodra@gmail.com>
13548 * string/tester.c (test_memrchr): Increment reported test cycle.
13550 2013-10-04 Alan Modra <amodra@gmail.com>
13552 * string/test-memcpy.c (do_one_test): When reporting errors, print
13553 string address and don't overrun end of string.
13555 2013-10-04 Alan Modra <amodra@gmail.com>
13557 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13558 insrdi. Make better use of reg selection to speed exit slightly.
13559 Schedule entry path a little better. Remove useless "are we done"
13560 checks on entry to main loop. Handle wrapping around zero address.
13561 Correct main loop count. Handle single left-over word from main
13562 loop inline rather than by using loop_small. Remove extra word
13563 case in loop_small caused by wrong loop count. Add little-endian
13565 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13566 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13568 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13569 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13570 support. Avoid rlwimi.
13571 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13573 2013-10-04 Alan Modra <amodra@gmail.com>
13575 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13576 insrdi. Formatting.
13577 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13578 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13579 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13580 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13581 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13582 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13584 2013-10-04 Alan Modra <amodra@gmail.com>
13586 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13587 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13588 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13589 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13590 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13591 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13592 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13593 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13594 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13595 use of regs. Use power7 mtocrf. Tidy function tails.
13597 2013-10-04 Alan Modra <amodra@gmail.com>
13599 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13600 Formatting. Consistently use rXXX register defines or rN defines.
13601 Use early exit labels that avoid restoring unused non-volatile regs.
13602 Make cr field use more consistent with rWORDn compares. Rename
13603 regs used as shift registers for unaligned loop, using rN defines
13604 for short lifetime/multiple use regs.
13605 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13606 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13607 addi 1,1,64 to pop stack frame. Simplify return value code.
13608 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13610 2013-10-04 Alan Modra <amodra@gmail.com>
13612 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13613 support. Correct typos, formatting. Optimize tail. Use insrdi
13614 rather than rlwimi.
13615 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13616 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13617 little-endian support. Correct typos.
13618 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13619 rather than rlwimi.
13620 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13621 in loop and entry code to keep "and." results.
13622 (strchr): Add little-endian support. Comment. Move cntlzd
13624 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13626 2013-10-04 Alan Modra <amodra@gmail.com>
13628 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13629 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13630 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13631 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13633 2013-10-04 Alan Modra <amodra@gmail.com>
13635 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13636 (rTMP): Define as r11.
13637 (strcmp): Add little-endian support. Optimise tail.
13638 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13639 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13640 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13641 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13642 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13646 2013-10-04 Alan Modra <amodra@gmail.com>
13648 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13649 little-endian support. Remove unnecessary "are we done" tests.
13650 Handle "s" wrapping around zero and extremely large "size".
13651 Correct main loop count. Handle single left-over word from main
13652 loop inline rather than by using small_loop. Correct comments.
13653 Delete "zero" tail, use "end_max" instead.
13654 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13656 2013-10-04 Alan Modra <amodra@gmail.com>
13658 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13659 support. Don't branch over align.
13660 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13661 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13662 support. Rearrange tmp reg use to suit. Comment.
13663 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13665 2013-10-04 Alan Modra <amodra@gmail.com>
13667 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13669 2013-10-04 Alan Modra <amodra@gmail.com>
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13672 conditional form of branch and link when obtaining pc.
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13675 2013-10-04 Alan Modra <amodra@gmail.com>
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13682 2013-10-04 Alan Modra <amodra@gmail.com>
13684 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13685 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13686 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13687 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13688 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13689 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13690 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13691 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13692 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13693 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13695 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13696 Alistair Popple <alistair@ozlabs.au.ibm.com>
13697 Alan Modra <amodra@gmail.com>
13700 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13701 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13702 _dl_hwcap access for little-endian.
13703 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13704 destroy vmx regs when saving unaligned.
13705 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13706 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13707 destroy vmx regs when saving unaligned.
13709 2013-10-04 Alan Modra <amodra@gmail.com>
13711 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13712 Don't use a union to pack hi/low value.
13714 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13716 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13718 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13720 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13721 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13722 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13724 2013-10-04 Alan Modra <amodra@gmail.com>
13726 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13727 constants to usual value for .cst8 section, and remove redundant
13729 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13730 constant for 0x1p52. Load little-endian words of double from
13731 correct stack offsets.
13733 2013-10-04 Alan Modra <amodra@gmail.com>
13735 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13736 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13737 words of double from correct stack offsets.
13738 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13739 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13740 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13741 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13742 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13743 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13744 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13745 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13746 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13747 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13748 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13749 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13750 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13751 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13752 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13753 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13754 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13756 2013-10-04 Alan Modra <amodra@gmail.com>
13758 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13759 64-bit int/double union.
13760 (_FPU_SETCW): Likewise.
13761 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13762 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13764 2013-10-04 Alan Modra <amodra@gmail.com>
13766 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13767 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13769 2013-10-04 Alan Modra <amodra@gmail.com>
13771 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13772 use vector int constants.
13773 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13775 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13777 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13778 array with long long.
13779 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13780 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13781 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13782 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13783 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13784 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13785 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13786 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13787 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13788 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13789 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13790 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13791 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13793 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13795 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13796 (__signbit): Likewise. Correct for little-endian.
13797 (__signbitl): Call __signbit.
13798 (lrint): Correct for little-endian.
13799 (lrintf): Call lrint.
13801 2013-10-04 Alan Modra <amodra@gmail.com>
13803 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13804 union 32-bit int array member with 64-bit int array.
13805 (t515, tm256): Double rather than long double.
13806 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13808 2013-10-04 Alan Modra <amodra@gmail.com>
13810 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13812 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13813 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13814 version of math_ldbl.h.
13816 2013-10-04 Alan Modra <amodra@gmail.com>
13818 [BZ #15734], [BZ #15735]
13819 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13820 all uses of ieee875 long double macros and unions. Simplify test
13821 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13822 ldbl_extract_mantissa value for ix,iy exponents. Properly
13823 normalize after ldbl_extract_mantissa, and don't add hidden bit
13824 already handled. Don't treat low word of ieee854 mantissa like
13825 low word of IBM long double and mask off bit when testing for
13827 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13828 all uses of ieee875 long double macros and unions. Simplify tests
13829 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13830 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13831 two1022, instead use their values. Recognise that tests for large
13832 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13833 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13834 Rewrite all uses of ieee875 long double macros and unions. Simplify
13835 test for 0.0L and nan. Correct negation.
13836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13837 ieee875 long double macros and unions. Correct output for large
13838 magnitude x. Correct absolute value calculation.
13839 (__erfcl): Likewise.
13840 * math/libm-test.inc: Add tests for errors discovered in IBM long
13841 double versions of fmodl, remainderl, erfl and erfcl.
13843 2013-10-04 Alan Modra <amodra@gmail.com>
13845 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13846 all uses of ieee854 long double macros and unions. Simplify tests
13847 for long doubles that are fully specified by the high double.
13848 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13850 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13851 Remove dead code too.
13852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13853 (__ieee754_ynl): Likewise.
13854 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13855 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13857 Remove dead code too.
13858 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13859 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13860 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13861 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13863 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13865 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13866 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13867 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13868 Comment on variable precision.
13869 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13870 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13872 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13873 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13874 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13875 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13876 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13878 2013-10-04 Alan Modra <amodra@gmail.com>
13880 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13881 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13882 all uses of ieee854 long double macros and unions.
13883 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13884 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13885 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13886 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13887 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13888 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13891 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13892 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13893 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13894 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13895 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13896 Simplify sign and nan test too.
13897 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13898 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13899 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13900 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13902 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13903 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13906 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13907 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13909 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13910 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13912 2013-10-04 Alan Modra <amodra@gmail.com>
13914 * stdio-common/printf_size.c (__printf_size): Don't use
13915 union ieee854_long_double in fpnum union.
13916 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13917 signbit macro to retrieve sign from long double.
13918 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13919 retrieve sign from long double.
13920 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13921 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13922 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13923 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13924 * math/test-misc.c (main): Don't use union ieee854_long_double.
13926 2013-10-04 Alan Modra <amodra@gmail.com>
13929 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13930 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13931 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13932 calculation. Remove unnecessary test for denormal exponent.
13933 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13934 Correct handling of denormals. Avoid undefined shift behaviour.
13935 Correct normalisation of low mantissa when low double is denormal.
13936 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13937 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13938 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13939 Correct normalisation of low mantissa. Test for overflow of high
13940 mantissa and normalise.
13941 (ldbl_nearbyint): Use more readable constant for two52.
13942 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13943 (__mpn_construct_long_double): Fix test for overflow of high
13944 mantissa and correct normalisation. Avoid undefined shift.
13946 2013-10-04 Alan Modra <amodra@gmail.com>
13948 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13949 (union ibm_extended_long_double): Define as an array of ieee754_double.
13950 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13951 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13952 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13953 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13962 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13964 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13965 page size instead of calling getpagesize.
13967 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13968 (LOCFILE_ALIGN_MASK): Likewise.
13969 (LOCFILE_ALIGN_UP): Likewise.
13970 (LOCFILE_ALIGNED_P): Likewise.
13971 * locale/programs/ld-collate.c (collate_output): Use the new
13972 macros instead of __alignof__ (int32_t).
13973 * locale/weight.h (findidx): Likewise.
13975 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13978 * manual/string.texi: Fix strncat and wcsncat.
13980 2013-10-03 Brooks Moses <bmoses@google.com>
13983 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13984 * Makerules: ...here, and adjust associated comments.
13986 2013-10-02 Will Newton <will.newton@linaro.org>
13988 * malloc/Makefile: Add tst-pvalloc.
13989 * malloc/tst-pvalloc.c: New file.
13991 2013-10-02 Will Newton <will.newton@linaro.org>
13993 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13994 improve test coverage.
13996 2013-10-02 Will Newton <will.newton@linaro.org>
13998 * malloc/Makefile: Add tst-posix_memalign.
13999 * malloc/tst-posix_memalign.c: New file.
14001 2013-10-01 Eric Blake <eblake@redhat.com>
14003 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14004 Use __THROWNL rather than __THROW on static functions.
14006 2013-09-30 Petr Machata <pmachata@redhat.com>
14008 * elf/elf.h (R_AARCH64_ABS16): New macro.
14009 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14010 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14011 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14012 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14013 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14014 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14015 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14016 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14017 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14018 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14019 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14020 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14021 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14022 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14023 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14024 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14025 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14026 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14027 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14028 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14029 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14030 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14031 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14032 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14033 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14034 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14035 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14036 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14037 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14038 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14039 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14040 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14041 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14042 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14043 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14044 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14045 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14046 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14047 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14048 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14049 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14050 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14051 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14052 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14053 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14054 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14055 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14056 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14057 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14058 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14059 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14060 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14061 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14062 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14063 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14064 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14065 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14066 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14067 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14068 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14069 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14070 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14071 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14072 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14073 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14074 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14075 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14076 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14077 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14078 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14079 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14080 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14081 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14082 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14083 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14084 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14085 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14086 (R_AARCH64_TLSDESC_LDR): Likewise.
14087 (R_AARCH64_TLSDESC_ADD): Likewise.
14088 (R_AARCH64_TLSDESC_CALL): Likewise.
14090 2013-09-30 Andreas Schwab <schwab@suse.de>
14093 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14094 the nss database lookup.
14095 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14098 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14100 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14102 2013-09-28 P. J. McDermott <pj@pehjota.net>
14104 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14105 ${Bash-specific parameter/pattern/string} parameter expansion.
14106 * sysdeps/unix/make-syscalls.sh: Likewise.
14108 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14110 * sysdeps/sh/stackguard-macros.h: New file.
14112 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14116 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14117 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14118 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14119 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14121 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14123 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14124 Fix thread ID register.
14126 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14128 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14129 [POSIX || UNIX98]: Require rather than permitting all symbols from
14131 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14132 element of struct sched_param.
14133 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14134 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14135 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14136 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14139 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14141 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14142 argument calculation.
14144 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14146 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14148 [POSIX] (pthread_attr_t): Do not require type.
14149 [POSIX] (pthread_cond_t): Likewise.
14150 [POSIX] (pthread_condattr_t): Likewise.
14151 [POSIX] (pthread_key_t): Likewise.
14152 [POSIX] (pthread_mutex_t): Likewise.
14153 [POSIX] (pthread_mutexattr_t): Likewise.
14154 [POSIX] (pthread_once_t): Likewise.
14155 [POSIX] (pthread_t): Likewise.
14156 [POSIX-based standards] (pthread_atfork): Expect function.
14158 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14159 Richard Sandiford <richard@codesourcery.com>
14161 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14162 (swap_endianness_p): New extern variable.
14163 (set_big_endian): New inline function.
14164 (maybe_swap_uint32): Likewise.
14165 (maybe_swap_uint32_array): Likewise.
14166 (maybe_swap_uint32_obstack): Likewise.
14167 * locale/programs/locfile.c: Include <stdbool.h>.
14168 (swap_endianness_p): New variable.
14169 (add_locale_uint32): Call maybe_swap_uint32.
14170 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14171 (write_locale_data): Call maybe_swap_uint32_array.
14172 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14174 (obstack_int32_grow_fast): Likewise.
14175 (output_weightwc): Call maybe_swap_uint32_obstack.
14176 (collate_output): Likewise.
14177 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14178 (OPT_LITTLE_ENDIAN): Likewise.
14179 (options): Add --little-endian and --big-endian options.
14180 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14181 * locale/programs/locarchive.c: Include "locfile.h".
14185 (create_archive): Use the new macros to access fields of
14186 structures directly mapped from or written to locale archives.
14187 (oldlocrecentcmp): Likewise.
14188 (enlarge_archive): Likewise.
14189 (insert_name): Likewise.
14190 (add_alias): Likewise.
14191 (add_locale): Likewise.
14192 (delete_locales_from_archive): Likewise.
14193 (show_archive_content): Likewise.
14194 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14197 2013-09-24 Roland McGrath <roland@hack.frob.com>
14199 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14200 http://www.gnu.org/doc/freemanuals.texi.
14201 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14203 2013-09-24 Will Newton <will.newton@linaro.org>
14205 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14208 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14210 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14213 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14215 * manual/threads.texi (POSIX Threads): Fix a typo.
14217 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14220 * string/tst-strcoll-overflow.c: New test case.
14221 * string/Makefile (xtests): Add tst-strcoll-overflow.
14222 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14223 cache if string sizes may cause integer overflow.
14226 * string/strcoll_l.c (coll_seq): New members rule, idx,
14227 save_idx and back_us.
14228 (get_next_seq_nocache): New function.
14229 (do_compare_nocache): New function.
14230 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14233 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14236 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14237 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14238 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14241 * elf/Makefile (tests): Add tst-ptrguard1.
14242 (tests-static): Add tst-ptrguard1-static.
14243 (tst-ptrguard1-ARGS): Define.
14244 (tst-ptrguard1-static-ARGS): Define.
14245 * elf/tst-ptrguard1.c: New file.
14246 * elf/tst-ptrguard1-static.c: New file.
14247 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14248 * sysdeps/i386/stackguard-macros.h: Likewise.
14249 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14250 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14251 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14252 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14253 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14254 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14256 2013-09-23 Hector Marco <hecmargi@upv.es>
14257 Ismael Ripoll <iripoll@disca.upv.es>
14258 Carlos O'Donell <carlos@redhat.com>
14261 * sysdeps/generic/stackguard-macros.h: Define
14262 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14263 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14264 Define __pointer_chk_guard_local.
14265 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14266 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14268 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14271 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14273 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14275 * include/string.h (__ffs): Declare as hidden.
14276 * string/ffs.c (__ffs): Define as hidden.
14277 * sysdeps/i386/ffs.c (__ffs): Likewise.
14278 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14279 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14280 * sysdeps/s390/ffs.c (__ffs): Likewise.
14281 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14283 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14285 * NEWS: Mention malloc probes.
14287 * malloc/arena.c (new_heap): New memory_heap_new probe.
14288 (grow_heap): New memory_heap_more probe.
14289 (shrink_heap): New memory_heap_less probe.
14290 (heap_trim): New memory_heap_free probe.
14291 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14292 (systrim): New memory_sbrk_less probe.
14293 * manual/probes.texi: Document them.
14295 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14296 * manual/probes.texi: Document it.
14298 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14299 (__libc_realloc): Add memory_realloc_retry probe.
14300 (__libc_memalign): Add memory_memalign_retry probe.
14301 (__libc_valloc): Add memory_valloc_retry probe.
14302 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14303 (__libc_calloc): Add memory_calloc_retry probe.
14304 * manual/probes.texi: Document them.
14306 * malloc/arena.c (get_free_list): Add probe
14307 memory_arena_reuse_free_list.
14308 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14309 and memory_arena_reuse.
14310 (arena_get2) [!PER_THREAD]: Likewise.
14311 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14312 memory_arena_reuse_realloc.
14313 * manual/probes.texi: Document them.
14315 * malloc/malloc.c (__libc_free): Add
14316 memory_mallopt_free_dyn_thresholds probe.
14317 (__libc_mallopt): Add multiple memory_mallopt probes.
14318 * manual/probes.texi: Document them.
14320 * malloc/malloc.c: Include stap-probe.h.
14321 (__libc_mallopt): Add memory_mallopt probe.
14322 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14323 * manual/probes.texi: New.
14324 * manual/Makefile (chapters): Add probes.
14325 * manual/threads.texi: Set next node.
14327 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14329 [BZ #15963, #13985]
14330 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14331 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14332 Add `Chinese' to `nan' entry name.
14334 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14336 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14337 (POLYNOMIAL): Likewise.
14338 (TAYLOR_SINCOS): Likewise.
14339 (TAYLOR_SLOW): Likewise.
14340 (__sin): Use TAYLOR_SINCOS.
14342 (slow): Use TAYLOR_SLOW.
14344 (bsloww): Likewise.
14345 (csloww): Likewise.
14347 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14349 * stdlib/strtod_l.c: Fix buffer overrun.
14351 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14353 * benchtests/Makefile (bench): Add sincos.
14354 * benchtests/bench-sincos.c: New file.
14356 * math/libm-test.inc (cos_test_data): New test inputs.
14357 (sin_test_data): Likewise.
14359 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14365 (sloww1): Likewise.
14366 (sloww2): Likewise.
14367 (bsloww1): Likewise.
14368 (bsloww2): Likewise.
14369 (cslow2): Likewise.
14370 (csloww1): Likewise.
14371 (csloww2): Likewise.
14373 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14378 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14382 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14384 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14385 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14386 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14387 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14388 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14389 * elf/cache.c (print_entry): Handle the new cache flags.
14391 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14392 Aldy Hernandez <aldyh@redhat.com>
14394 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14395 Change condition to [_SOFT_FLOAT].
14396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14408 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14411 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14414 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14416 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14417 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14418 (__longjmp): Use LOAD_GP to load saved GPRs.
14419 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14420 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14421 (__sigsetjmp): Use SAVE_GP to save GPRs.
14423 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14424 Do not append -msoft-float.
14425 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14427 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14429 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14431 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14434 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14435 (_FPU_GETCW): Use initial "__" on variable and field names but not
14436 on macro parameter name.
14437 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14438 parentheses around reference to macro parameter.
14440 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14442 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14444 (ctype_startup): Use uint32_t in cast and sizeof for
14447 2013-09-11 Jia Liu <proljc@gmail.com>
14449 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14451 [__FreeBSD__]: Likewise.
14453 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14456 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14457 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14458 (strchr): Remove __strchr_sse42 ifunc selection.
14459 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14460 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14462 2013-09-11 Will Newton <will.newton@linaro.org>
14464 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14465 parameter to RES. Remove hardcoded 1000 value.
14466 * benchtests/bench-skeleton.c (main): Pass RES parameter
14467 to TIMING_INIT and multiply result by 1000.
14469 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14473 2013-09-11 Andreas Schwab <schwab@suse.de>
14475 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14477 (O_TMPFILE) [__USE_GNU]: Define.
14478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14481 2013-09-11 Will Newton <will.newton@linaro.org>
14484 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14487 2013-09-11 Will Newton <will.newton@linaro.org>
14490 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14493 2013-09-11 Will Newton <will.newton@linaro.org>
14496 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14499 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14501 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14502 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14503 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14504 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14505 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14507 2013-09-10 Allan McRae <allan@archlinux.org>
14510 * manual/arith.texi (Parsing of Floats): Clarify
14514 * manual/install.texi (Running make install): Mention
14516 * INSTALL: Regenerated.
14518 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14520 * csu/init-first.c (_init): Remove the !SHARED condition around
14521 FPU control word initialization.
14522 * elf/dl-support.c (_dl_fpu_control): New variable.
14523 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14524 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14525 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14526 * math/test-fpucw-static.c: New file.
14527 * math/test-fpucw-ieee.c: New file.
14528 * math/test-fpucw-ieee-static.c: New file.
14529 * math/Makefile (tests): Add `test-fpucw-ieee' and
14531 (tests-static): New variable.
14532 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14534 [($(build-shared),yes)]
14535 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14537 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14540 2013-09-09 Allan McRae <allan@archlinux.org>
14543 * manual/string.texi (Collation Functions): Fix typo in
14545 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14548 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14551 * libio/memstream.c (open_memstream): Fix memory leak.
14552 * libio/wmemstream.c (open_wmemstream): Likewise.
14555 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14557 2013-09-09 Will Newton <will.newton@linaro.org>
14559 * malloc/Makefile: Add tst-realloc to tests.
14560 * malloc/tst-realloc.c: New file.
14562 2013-09-09 Allan McRae <allan@archlinux.org>
14565 * COPYING: Update from GNU website to fix FSF address.
14566 * COPYING.LIB: Likewise.
14568 2013-09-06 David S. Miller <davem@davemloft.net>
14570 * po/zh_TW.po: Update Chinese (traditional) translation from
14571 translation project.
14573 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14574 Joseph Myers <joseph@codesourcery.com>
14576 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14578 (obstack_chunk_alloc): New macro.
14579 (obstack_chunk_free): Likewise.
14580 (record_offset): New function.
14581 (init_locale_data): Likewise.
14582 (align_locale_data): Likewise.
14583 (add_locale_empty): Likewise.
14584 (add_locale_raw_data): Likewise.
14585 (add_locale_raw_obstack): Likewise.
14586 (add_locale_string): Likewise.
14587 (add_locale_wstring): Likewise.
14588 (add_locale_uint32): Likewise.
14589 (add_locale_uint32_array): Likewise.
14590 (add_locale_char): Likewise.
14591 (start_locale_structure): Likewise.
14592 (end_locale_structure): Likewise.
14593 (start_locale_prelude): Likewise.
14594 (end_locale_prelude): Likewise.
14595 (write_locale_data): Take locale_file structure rather than an
14597 * locale/programs/locfile.h: Include "obstack.h".
14598 (struct locale_file): Change to store locale file contents instead
14600 (init_locale_data): New prototype.
14601 (align_locale_data): Likewise.
14602 (add_locale_empty): Likewise.
14603 (add_locale_raw_data): Likewise.
14604 (add_locale_raw_obstack): Likewise.
14605 (add_locale_string): Likewise.
14606 (add_locale_wstring): Likewise.
14607 (add_locale_uint32): Likewise.
14608 (add_locale_uint32_array): Likewise.
14609 (add_locale_char): Likewise.
14610 (start_locale_structure): Likewise.
14611 (end_locale_structure): Likewise.
14612 (start_locale_prelude): Likewise.
14613 (end_locale_prelude): Likewise.
14614 (write_locale_data): Update prototype.
14615 * locale/programs/3level.h (struct TABLE): Remove result field.
14616 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14617 Use new locale_file interface.
14618 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14619 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14620 * locale/programs/ld-address.c (address_output): Use new
14621 locale_file interface.
14622 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14624 (collate_finish): Don't call collseq_table_finalize.
14625 (collate_output): Use new locale_file interface.
14626 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14628 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14629 (TABLE): Move defines earlier in file.
14630 (ELEMENT): Likewise.
14631 (DEFAULT): Likewise.
14632 (wctrans_table_add): Move macro and inline function earlier in
14634 (struct wctype_table): Move type earlier in file.
14635 (add_locale_wctype_table): New static prototype.
14636 (struct locale_ctype_t): Use logical types instead of struct iovec
14637 pointers for members.
14638 (ctype_output): Use new locale_file interface.
14639 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14640 new locale_file interface.
14641 (allocate_arrays): Update for use of new locale_file interface.
14642 * locale/programs/ld-identification.c (identification_output): Use
14643 new locale_file interface.
14644 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14645 * locale/programs/ld-messages.c (messages_output): Likewise.
14646 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14647 * locale/programs/ld-name.c (name_output): Likewise.
14648 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14649 * locale/programs/ld-paper.c (paper_output): Likewise.
14650 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14651 * locale/programs/ld-time.c (time_output): Likewise.
14653 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14655 * benchtests/Makefile: Add memrchr benchmark.
14656 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14657 benchmark as memrchr.
14658 * benchtests/bench-memrchr-ifunc.c: New file.
14659 * benchtests/bench-memrchr.c: New file.
14661 2013-09-06 Will Newton <will.newton@linaro.org>
14663 * benchtests/Makefile (string-bench): Add memcpy.
14665 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14666 Cong Wang <amwang@redhat.com>
14669 * sysdeps/unix/sysv/linux/bits/in.h
14670 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14671 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14672 before __USE_KERNEL_IPV6_DEFS uses.
14673 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14675 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14676 sockaddr_in6, or ipv6_mreq.
14678 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14680 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14681 memory access for final bytes in some large inputs.
14682 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14684 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14686 * string/test-memrchr.c: New file.
14687 * string/test-memrchr-ifunc.c: New file.
14688 * string/Makefile: Add new memrchr testcase.
14690 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14692 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14693 fanotify_init returns EPERM.
14695 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14697 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14699 (top level): Treat second token from macro or constant entries for
14700 allowed headers as allowed.
14701 * include/complex.h: Condition internal declarations on
14703 * include/fenv.h: Condition include of <stdbool.h> and internal
14704 declarations on [!_ISOMAC].
14706 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14709 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14711 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14713 * configure.in (--enable-versioning): Remove configure option.
14714 (libc_cv_asm_symver_directive): Remove configure test.
14715 (libc_cv_ld_version_script_option): Likewise.
14716 (VERSIONING): Remove variable and AC_SUBST.
14717 (DO_VERSIONING): Remove AC_DEFINE.
14718 * configure: Regenerated.
14719 * config.h.in (DO_VERSIONING): Remove macro.
14720 * Makerules [$(versioning) = yes]: Change conditionals to
14721 [$(build-shared) = yes].
14722 * config.make.in (versioning): Remove variable.
14723 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14724 [$(build-shared) = yes].
14725 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14726 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14727 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14728 [$(build-shared) = yes].
14729 * extra-lib.mk [$(versioning) = yes]: Likewise.
14730 * hurd/Makefile [$(versioning) = yes]: Likewise.
14731 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14733 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14735 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14736 [SHARED && !NO_HIDDEN].
14737 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14739 [SHARED && DO_VERSIONING]: Likewise..
14740 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14741 [$(build-shared) = yes].
14742 * manual/install.texi (--disable-versioning): Remove
14744 * INSTALL: Regenerated.
14745 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14747 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14748 [$(build-shared) = yes].
14749 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14750 * sysdeps/i386/i686/multiarch/strstr-c.c
14751 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14752 [SHARED && !NO_HIDDEN].
14753 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14754 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14755 * sysdeps/powerpc/powerpc32/dl-machine.c
14756 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14757 * sysdeps/powerpc/powerpc32/sysdep.h
14758 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14759 to [SHARED && PIC && !NO_HIDDEN].
14760 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14761 conditional to [SHARED].
14763 2013-09-04 Will Newton <will.newton@linaro.org>
14765 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14766 * benchtests/bench-string.h: Include bench-timing.h instead
14767 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14768 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14769 call to HP_TIMING_DIFF_INIT.
14770 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14771 instead of hp-timing.h macros.
14772 * benchtests/bench-memchr.c: Likewise.
14773 * benchtests/bench-memcmp.c: Likewise.
14774 * benchtests/bench-memcpy.c: Likewise.
14775 * benchtests/bench-memmem.c: Likewise.
14776 * benchtests/bench-memmove.c: Likewise.
14777 * benchtests/bench-memset.c: Likewise.
14778 * benchtests/bench-rawmemchr.c: Likewise.
14779 * benchtests/bench-strcasecmp.c: Likewise.
14780 * benchtests/bench-strcasestr.c: Likewise.
14781 * benchtests/bench-strcat.c: Likewise.
14782 * benchtests/bench-strchr.c: Likewise.
14783 * benchtests/bench-strcmp.c: Likewise.
14784 * benchtests/bench-strcpy.c: Likewise.
14785 * benchtests/bench-strcpy_chk.c: Likewise.
14786 * benchtests/bench-strlen.c: Likewise.
14787 * benchtests/bench-strncasecmp.c: Likewise.
14788 * benchtests/bench-strncat.c: Likewise.
14789 * benchtests/bench-strncmp.c: Likewise.
14790 * benchtests/bench-strncpy.c: Likewise.
14791 * benchtests/bench-strnlen.c: Likewise.
14792 * benchtests/bench-strpbrk.c: Likewise.
14793 * benchtests/bench-strrchr.c: Likewise.
14794 * benchtests/bench-strspn.c: Likewise.
14795 * benchtests/bench-strstr.c: Likewise.
14797 2013-09-04 Will Newton <will.newton@linaro.org>
14799 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14801 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14804 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14805 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14806 * math/libm-test.inc (lgamma_test_data): Add more tests.
14807 * sysdeps/i386/fpu/libm-test-ulps: Update.
14808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14810 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14812 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14813 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14816 Add strcmp-sse2-unaligned
14817 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14819 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14821 * Versions.def (libc): Add GLIBC_2.19.
14823 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14825 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14826 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14828 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14831 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14832 intermediate calculations in recurrence.
14833 (__ieee754_ynf): Likewise.
14834 * math/libm-test.inc (jn_test_data): Do not allow spurious
14835 underflow exception. Add more tests.
14836 (yn_test_data): Add more tests.
14837 * sysdeps/i386/fpu/libm-test-ulps: Update.
14838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14840 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14842 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14844 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14846 * csu/init-first.c: Fix then/than typos.
14847 * locale/programs/ld-collate.c: Likewise.
14848 * locale/programs/linereader.h: Likewise.
14849 * manual/charset.texi: Likewise.
14850 * manual/filesys.texi: Likewise.
14851 * manual/stdio.texi: Likewise.
14852 * manual/string.texi: Likewise.
14853 * stdlib/fmtmsg.c: Likewise.
14854 * sysdeps/i386/stpncpy.S: Likewise.
14855 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14856 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14857 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14858 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14860 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14862 * elf/dl-open.c: Fix typos.
14863 * iconvdata/gbbig5.c: Likewise.
14864 * iconvdata/iso-2022-jp.c: Likewise.
14865 * iconv/gconv_int.h: Likewise.
14866 * iconv/loop.c: Likewise.
14867 * nis/rpcsvc/nis.h: Likewise.
14868 * resolv/ns_name.c: Likewise.
14869 * stdio-common/vfscanf.c: Likewise.
14870 * streams/stropts.h: Likewise.
14871 * sunrpc/rpc_thread.c: Likewise.
14872 * sysdeps/i386/strpbrk.S: Likewise.
14873 * sysdeps/ieee754/k_standard.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14876 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14877 * sysdeps/mach/hurd/profil.c: Likewise.
14878 * sysdeps/s390/dl-procinfo.h: Likewise.
14879 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14880 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14881 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14882 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14883 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14885 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14887 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14890 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14892 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14893 aix specific files.
14894 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14895 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14896 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14897 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14898 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14899 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14900 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14901 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14903 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14904 Roland McGrath <roland@hack.frob.com>
14906 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14907 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14909 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14911 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14912 __executable_start symbol instead of _start.
14914 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14916 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14917 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14919 * sysdeps/gnu/ldsodefs.h: ... this new file.
14921 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14922 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14923 instead of ELFOSABI_LINUX.
14925 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14926 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14927 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14928 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14930 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14931 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14932 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14934 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14935 (ibm_extended_long_double): Add ieee_nan member.
14936 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14937 (do_test): New function.
14939 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14941 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14942 functions, renamed from truncdfsf_test, trunctfsf_test,
14944 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14946 (do_test): Run all these.
14948 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14950 * argp/argp-help.c: Fix typos.
14951 * argp/argp-parse.c: Likewise.
14952 * debug/backtracesyms.c: Likewise.
14953 * elf/elf.h: Likewise.
14954 * malloc/malloc.c: Likewise.
14955 * nis/nis_print.c: Likewise.
14956 * resolv/res_comp.c: Likewise.
14957 * stdlib/stdlib.h: Likewise.
14958 * sunrpc/clnt_tcp.c: Likewise.
14959 * sunrpc/clnt_udp.c: Likewise.
14960 * sunrpc/clnt_unix.c: Likewise.
14961 * sysdeps/unix/bsd/ptsname.c: Likewise.
14962 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14963 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14970 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14972 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14974 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14977 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14980 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14981 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14982 ($(objpfx)bug-dl-leaf): New rule.
14983 ($(objpfx)bug-dl-leaf.so): Likewise.
14984 ($(objpfx)bug-dl-leaf.out): Likewise.
14985 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14986 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14987 * dlfcn/bug-dl-leaf.c: New test.
14988 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14989 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14990 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14991 (dlclose): Likewise.
14992 (dlmopen): Likewise.
14994 2013-08-27 Roland McGrath <roland@hack.frob.com>
14996 * include/netdb.h [!_ISOMAC]:
14997 Don't include <tls.h>.
14998 (h_errno, __libc_h_errno): Move declaration and macros out of
15001 * include/resolv.h [_RESOLV_H_]:
15002 Don't include <tls.h>.
15003 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15004 * resolv/res_libc.c: Don't include <tls.h>.
15005 (_res): Use __attribute__ ((nocommon)) in place of
15006 __attribute__ ((section (".bss"))).
15008 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15009 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15011 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15013 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15014 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15016 * resolv/res_mkquery.c: Include <sys/time.h>.
15018 * inet/ifreq.c: Moved to ...
15019 * sysdeps/unix/ifreq.c: ... here.
15020 * inet/ifreq.c: New file, true stub version.
15022 * socket/sa_len.c: New file.
15023 * socket/Makefile (aux): Add it.
15024 * sysdeps/unix/sysv/linux/Makefile
15025 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15026 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15027 and #include <socket/sa_len.c>.
15028 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15029 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15031 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15032 * bits/socket.h: ... here.
15034 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15035 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15036 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15038 2013-08-27 Andreas Schwab <schwab@suse.de>
15041 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15042 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15043 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15044 * string/test-strcasecmp.c (test_main): Run tests in several
15046 * string/test-strncasecmp.c (test_main): Likewise.
15048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15049 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15050 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15052 (__strncasecmp_ssse3) [PIC]: Likewise.
15054 2013-08-26 Roland McGrath <roland@hack.frob.com>
15056 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15058 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15059 instead of explicitly declaring xdecrypt.
15060 * nis/nss_nis/nis-publickey.c: Likewise.
15062 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15065 * nscd/aicache.c: Include res_hconf.h.
15066 (addhstaiX): Initialize res_hconf.
15068 2013-08-26 Andreas Schwab <schwab@suse.de>
15070 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15071 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15073 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15075 * nscd/aicache.c (addhstaiX): Fix indentation.
15077 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15079 * configure.ac: Quote $build_pt_chown test.
15080 * configure: Regenerated.
15082 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15085 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15086 * math/s_cexpf.c (__cexpf): Likewise.
15087 * math/s_cexpl.c (__cexpl): Likewise.
15088 * math/libm-test.inc (cexp_test_data): Correct expected return
15089 value for NaN + i0. Add another test.
15091 2013-08-22 David S. Miller <davem@davemloft.net>
15093 * po/ca.po: Update Catalan translation from translation project.
15094 * po/uk.po: Add Ukrainian translations from translation project.
15096 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15099 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15100 is infinite, not alongside NaN test.
15101 * math/s_fdimf.c (__fdimf): Likewise.
15102 * math/s_fdiml.c (__fdiml): Likewise.
15103 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15104 errno is unchanged.
15106 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15108 * argp/argp-help.c: Fix typos.
15109 * crypt/speeds.c: Likewise.
15110 * csu/check_fds.c: Likewise.
15111 * elf/dl-load.c: Likewise.
15112 * elf/dl-open.c: Likewise.
15113 * elf/reldep3.c: Likewise.
15114 * elf/reldep.c: Likewise.
15115 * elf/sprof.c: Likewise.
15116 * iconv/iconv_charmap.c: Likewise.
15117 * iconv/skeleton.c: Likewise.
15118 * iconv/strtab.c: Likewise.
15119 * io/lockf64.c: Likewise.
15120 * libio/libioP.h: Likewise.
15121 * resolv/gai_notify.c: Likewise.
15122 * resolv/ns_name.c: Likewise.
15123 * resolv/ns_samedomain.c: Likewise.
15124 * resolv/res_send.c: Likewise.
15125 * stdlib/random.c: Likewise.
15126 * sunrpc/rpc/xdr.h: Likewise.
15127 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15128 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15129 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15130 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15131 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15132 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15134 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15135 * sysdeps/mach/hurd/check_fds.c: Likewise.
15136 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15137 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15138 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15139 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15140 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15141 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15142 * sysdeps/pthread/aio_notify.c: Likewise.
15143 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15144 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15145 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15146 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15147 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15149 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15151 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15152 version if bit_Slow_SSE4_2 is set.
15153 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15154 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15156 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15159 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15160 trampoline stack frame information.
15161 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15162 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15163 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15164 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15165 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15166 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15167 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15168 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15170 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15171 interrupting a syscall and set with option SA_SIGINFO.
15173 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15176 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15177 argument is infinite.
15178 * math/s_cprojf.c (__cprojf): Likewise.
15179 * math/s_cprojl.c (__cprojl): Likewise.
15180 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15181 * math/libm-test.inc (cproj_test_data): Add more tests.
15183 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15185 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15186 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15187 size. Use __ffs to determine corresponding shift.
15189 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15190 Roland McGrath <roland@hack.frob.com>
15192 * Makefile (INSTALL): Remove trailing blank lines from output of
15195 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15197 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15198 Align 32 bit compat elf_greg to 8 bytes.
15200 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15202 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15204 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15206 * string/strcoll_l.c (coll_seq): New structure.
15207 (get_next_seq_cached): New function.
15208 (get_next_seq): New function.
15209 (do_compare): New function.
15210 (STRCOLL): Use GNU style definition. Simplify implementation
15211 by using get_next_seq, get_next_seq_cached and do_compare.
15213 2013-08-16 Florian Weimer <fweimer@redhat.com>
15217 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15219 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15221 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15222 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15223 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15225 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15226 GETDENTS_64BIT_ALIGNED.
15227 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15228 * manual/filesys.texi (Reading/Closing Directory): Document
15229 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15231 * manual/conf.texi (Limits for Files): Add portability note to
15232 NAME_MAX, PATH_MAX.
15233 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15235 2013-08-13 Andreas Schwab <schwab@suse.de>
15238 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15240 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15241 LDBL_MAX_EXP >= 16384]: Add tests for it.
15243 2013-08-12 David S. Miller <davem@davemloft.net>
15245 * version.h (RELEASE): Set to "development".
15246 (VERSION): Set to "2.18.90".
15247 * NEWS: Add 2.19 section.
15249 2013-08-03 David S. Miller <davem@davemloft.net>
15251 * po/ko.po: Update Korean translation from translation project.
15253 2013-08-01 David S. Miller <davem@davemloft.net>
15255 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15256 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15259 2013-07-30 David S. Miller <davem@davemloft.net>
15261 * po/fr.po: Update French translation from translation project.
15263 2013-07-28 David S. Miller <davem@davemloft.net>
15265 * po/cs.po: Update Czech translation from translation project.
15267 * po/sv.po: Update Swedish translation from translation project.
15269 2013-07-27 David S. Miller <davem@davemloft.net>
15271 * po/eo.po: Update Esperanto translation from translation project.
15273 * po/vi.po: Update Vietnamese translation from translation project.
15275 * po/de.po: Update German translation from translation project.
15277 2013-07-26 David S. Miller <davem@davemloft.net>
15279 * po/bg.po: Update Bulgarian translation from translation project.
15281 * po/nl.po: Update Dutch translation from translation project.
15282 * po/pl.po: Update Polish translation from translation project.
15283 * po/ru.po: Update Russian translation from translation project.
15285 2013-07-24 David S. Miller <davem@davemloft.net>
15287 * po/libc.pot: Update.
15289 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15291 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15292 variable page size.
15293 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15294 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15295 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15297 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15299 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15301 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15302 Andreas Schwab <schwab@suse.de>
15303 Roland McGrath <roland@hack.frob.com>
15304 Joseph Myers <joseph@codesourcery.com>
15305 Carlos O'Donell <carlos@redhat.com>
15308 * config.h.in: Define HAVE_PT_CHOWN.
15309 * config.make.in (build-pt-chown): New variable.
15310 * configure.in (--enable-pt_chown): New configure option.
15311 * configure: Regenerate.
15312 * login/Makefile: Include Makeconfig. Build pt_chown only if
15313 build-pt-chown is enabled.
15314 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15315 pt_chown to fix pty ownership.
15316 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15318 * manual/install.texi (Configuring and compiling): Mention
15319 --enable-pt_chown. Add @findex for grantpt.
15320 * INSTALL: Regenerate.
15322 2013-07-20 David S. Miller <davem@davemloft.net>
15324 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15325 difference between 32-bit and 64-bit.
15327 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15330 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15331 Avoid system header dependency with -ffreestanding.
15332 ($(objpfx)bits/syscall%d): Likewise.
15334 2013-07-13 David S. Miller <davem@davemloft.net>
15336 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15337 underflows from atanl/atan2l due to bug 15319.
15338 (casinh_test_data): Likewise.
15340 2013-07-07 David S. Miller <davem@davemloft.net>
15342 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15344 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15346 * sysdeps/i386/fpu/libm-test-ulps: Update.
15347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15349 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15351 * configure.in (--enable-lock-elision): Fix message text.
15352 * INSTALL: Regenerate.
15353 * configure: Regenerate.
15355 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15359 2013-07-03 Andreas Jaeger <aj@suse.de>
15361 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15363 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15364 (ptrace_peeksiginfo_args): Add.
15365 (__ptrace_peeksiginfo_flags): Add.
15366 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15367 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15368 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15370 2013-07-03 Allan McRae <allan@archlinux.org>
15372 * sysdeps/i386/fpu/libm-test-ulps: Update.
15374 2013-07-02 David S. Miller <davem@davemloft.net>
15376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15378 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15382 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15384 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15387 2013-07-02 Andi Kleen <ak@linux.intel.com>
15389 * config.h.in (ENABLE_LOCK_ELISION): Add.
15390 * configure.in (--enable-lock-elision): Add option.
15391 * manual/install.texi: Document --enable lock elision.
15392 * configure: Regenerate
15393 * INSTALL: Regenerate.
15395 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15397 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15398 SSE4.2 strcasecmp for libc.a.
15399 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15401 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15404 * soft-fp/op-common.h (_FP_FMA): New macro.
15405 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15406 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15407 (_FP_MUL_MEAT_1_imm): ... here.
15408 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15409 (_FP_MUL_MEAT_1_wide): ... here.
15410 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15411 (_FP_MUL_MEAT_1_hard): ... here.
15412 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15413 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15414 (_FP_MUL_MEAT_2_wide): ... here.
15415 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15416 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15417 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15418 (_FP_MUL_MEAT_2_gmp): ... here.
15419 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15420 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15421 (_FP_MUL_MEAT_4_wide): ... here.
15422 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15423 (_FP_MUL_MEAT_4_gmp): ... here.
15424 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15425 (_FP_WFRACBITS_DW_S): Likewise.
15426 (_FP_WFRACXBITS_DW_S): Likewise.
15427 (_FP_HIGHBIT_DW_S): Likewise.
15428 (FP_FMA_S): Likewise.
15429 (_FP_FRAC_HIGH_DW_S): Likewise.
15430 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15431 (_FP_WFRACBITS_DW_D): Likewise.
15432 (_FP_WFRACXBITS_DW_D): Likewise.
15433 (_FP_HIGHBIT_DW_D): Likewise.
15434 (FP_FMA_D): Likewise.
15435 (_FP_FRAC_HIGH_DW_D): Likewise.
15436 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15437 (_FP_WFRACBITS_DW_E): Likewise.
15438 (_FP_WFRACXBITS_DW_E): Likewise.
15439 (_FP_HIGHBIT_DW_E): Likewise.
15440 (FP_FMA_E): Likewise.
15441 (_FP_FRAC_HIGH_DW_E): Likewise.
15442 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15443 (_FP_WFRACBITS_DW_Q): Likewise.
15444 (_FP_WFRACXBITS_DW_Q): Likewise.
15445 (_FP_HIGHBIT_DW_Q): Likewise.
15446 (FP_FMA_Q): Likewise.
15447 (_FP_FRAC_HIGH_DW_Q): Likewise.
15448 * soft-fp/fmasf4.c: New file.
15449 * soft-fp/fmadf4.c: Likewise.
15450 * soft-fp/fmatf4.c: Likewise.
15452 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15455 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15457 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15459 (index_Slow_SSE4_2): Likewise.
15460 (index_Prefer_PMINUB_for_stringop): Likewise.
15461 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15462 bit_Slow_SSE4_2 is set.
15463 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15464 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15466 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15468 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15469 rtld_global._dl_hwcap2.
15470 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15472 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15473 POWER8 feature descriptions defined in _dl_hwcap2.
15474 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15475 string handling for POWER8 feature bits.
15476 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15477 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15478 _dl_powerpc_cap_flags.
15479 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15480 * sysdeps/powerpc/rtld-global-offsets.sym
15481 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15482 _dl_hwcap2 in the rtld_global_ro structure.
15484 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15486 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15487 hardware capabilities in support of AT_HWCAP2.
15488 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15489 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15491 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15492 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15493 explicitly the unknown a_type display mechanism is used.
15494 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15495 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15497 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15498 to macro prototype for AT_HWCAP2 support.
15499 * sysdeps/i386/dl-procinfo.h: Likewise.
15500 * sysdeps/s390/dl-procinfo.h: Likewise.
15501 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15502 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15503 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15504 return -1 for unknown a_type display fallback.
15505 * sysdeps/sparc/dl-procinfo.h: Likewise.
15506 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15507 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15509 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15511 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15512 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15514 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15517 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15518 mprotect making __stack_prot writable.
15520 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15521 Joseph Myers <joseph@codesourcery.com>
15523 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15524 as being properly aligned.
15526 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15528 * dlfcn/modstatic5.c: New file.
15529 * dlfcn/tststatic5.c: New file.
15530 * dlfcn/Makefile (tests): Add tststatic5.
15531 (tests-static): Likewise.
15532 (modules-names): Add modstatic5.
15533 (tststatic5-ENV): New variable.
15534 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15537 * elf/dl-support.c (_dl_main_map): New variable.
15538 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15539 (_dl_nns, _dl_load_adds): Set to 1.
15540 (_dl_initial_searchlist): Refer to _dl_main_map.
15541 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15542 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15543 call to _dl_get_origin.
15544 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15546 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15547 * dlfcn/modstatic3.c: New file.
15548 * dlfcn/tststatic3.c: New file.
15549 * dlfcn/tststatic4.c: New file.
15550 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15551 (tests-static): Likewise.
15552 (modules-names): Add modstatic3.
15553 (tststatic3-ENV, tststatic4-ENV): New variables.
15554 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15555 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15557 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15559 * configure.in (CC): Require GCC version 4.4 or later.
15560 * configure: Regenerated.
15561 * manual/install.texi (Tools for Compilation): Update GCC version
15563 * INSTALL: Regenerated.
15565 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15568 * string/test-memcmp.c (check2): New.
15569 (main): Call check2.
15571 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15573 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15576 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15578 (dl_open_worker) [!SHARED]: ... here.
15580 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15582 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15584 2013-06-25 Richard Henderson <rth@redhat.com>
15586 * locale/programs/locarchive.c: Include <libc-internal.h>
15588 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15590 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15591 trailing whitespace removed.
15593 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15596 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15597 * locale/programs/locarchive.c: Include libc-mmap.h.
15598 (prepare_address_space): Take two new outputs (the mmap base and len).
15599 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15601 (create_archive): Declare new mmap base and len values for
15602 prepare_address_space, and store the result in ah.
15603 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15604 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15605 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15606 Declare new mmap base and len values for
15607 prepare_address_space, and store the result in new_ah.
15608 (open_archive): Declare new mmap base and len values for
15609 prepare_address_space, and store the result in ah.
15610 (close_archive): If ah->mmap_base is not NULL, use that and
15611 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15612 * sysdeps/generic/libc-mmap.h: New file.
15614 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15616 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15617 (ALIGN_UP): Likewise.
15618 (PTR_ALIGN_DOWN): Likewise.
15619 (PTR_ALIGN_UP): Likewise.
15621 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15623 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15624 entry mapped to PPC_PLATFORM_POWER8.
15625 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15627 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15628 (_dl_string_platform): Add case for exporting platform position for
15630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15631 search path to sysdeps/powerpc/powerpc32/power8 directory.
15632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15633 search path to sysdeps/powerpc/powerpc64/power8 directory.
15634 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15635 power7 directories.
15636 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15637 power7 directories.
15639 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15641 * INSTALL: Regenerate.
15643 * nscd/connections.c (nscd_init): Fix comment.
15645 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15647 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15650 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15651 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15653 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15655 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15657 (DL_DST_REQ_STATIC): Remove macro.
15659 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15662 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15663 with a shift of 0 bits.
15665 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15667 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15670 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15673 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15675 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15677 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15678 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15679 accepts -fno-tree-loop-distribute-patterns.
15680 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15681 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15683 * string/memset.c (memset): Likewise.
15684 * string/test-memmove.c (simple_memmove): Disable loop transformation
15686 * string/test-memset.c (simple_memset): Likewise.
15687 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15688 * benchtests/bench-memset.c (simple_memset): Likewise.
15689 * configure: Regenerated.
15691 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15693 * math/test-misc.c (main): Ignore fesetround failure when failures
15694 of subsequent rounding tests would be ignored.
15697 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15698 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15699 * math/fegetenv.c (__fegetenv): Return 0.
15700 * math/fegetexcept.c (fegetexcept): Return 0.
15701 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15703 * math/feholdexcpt.c (feholdexcept): Return 0.
15704 * math/fesetenv.c (__fesetenv): Return 0.
15705 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15706 argument FE_TONEAREST.
15707 * math/feupdateenv.c (__feupdateenv): Return 0.
15708 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15710 2013-06-18 Roland McGrath <roland@hack.frob.com>
15712 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15713 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15714 ($(objpfx)rtld-%.os rules): Use them.
15716 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15718 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15721 2013-06-17 Roland McGrath <roland@hack.frob.com>
15723 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15724 length of target pattern, then descending length of dependency pattern.
15725 * configure.in (AWK): Require gawk 3.1.2 or newer.
15726 * manual/install.texi (Tools for Compilation): Say that we do.
15727 * configure: Regenerated.
15729 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15730 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15731 * scripts/sysd-rules.awk: ... this new script.
15732 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15733 than a glob-style pattern.
15735 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15737 * math/test-misc.c (main): Do not treat incorrectly rounded
15738 conversions as failure unless ROUNDING_TESTS passes.
15740 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15743 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15744 restore exception state around main square root computation, then
15745 check for inexactness explicitly.
15747 * math/libm-test.inc (fma_test_data): Add another test.
15749 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15751 * manual/threads.texi (Non-POSIX Extensions): New document
15752 node. Document pthread_getattr_default_np and
15753 pthread_setattr_default_np.
15755 * Versions.def (libpthread): Add GLIBC_2.18.
15756 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15765 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15776 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15779 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15781 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15782 H.J. Lu <hjl.tools@gmail.com>
15785 * sysdeps/x86_64/rtld-memset.c: Remove file.
15786 * sysdeps/x86_64/rtld-memset.S: New file.
15788 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15790 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15791 (test_in_one_mode): Take arguments for whether the rounding mode
15792 is supported for each floating-point type.
15793 (do_test): Pass new arguments to test_in_one_mode using
15796 2013-06-13 Roland McGrath <roland@hack.frob.com>
15798 * posix/tst-waitid.c (do_test): Distinguish different instances of
15799 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15800 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15801 before entering the kernel for waitpid.
15803 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15805 * NEWS: Fix note on clock function precision. Text by Roland
15808 2013-06-13 Roland McGrath <roland@hack.frob.com>
15810 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15811 it into place only when and if the sanity check passes.
15813 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15815 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15816 output for whether conversion result is exact. Take argument
15817 indicating whether type is IBM long double.
15818 (round_for_all): Change need_exact field to ibm_ld.
15819 * stdlib/tst-strtod-round.c (struct exactness): New type.
15820 (struct test): Change bool ld_ok field to struct exactness exact.
15821 (TEST): Update all definitions for change to field.
15822 (tests): Regenerate array contents.
15823 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15824 field value. Check for IBM long double here.
15825 (do_test): Update calls to test_in_one_mode.
15827 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15830 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15831 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15833 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15836 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15837 generated by the compiler on loop optimizations.
15838 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15839 general definitions.
15841 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15843 * math/bug-nextafter.c: Include <math-tests.h>.
15844 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15846 * math/bug-nexttoward.c: Include <math-tests.h>.
15847 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15849 * math/test-misc.c: Include <math-tests.h>.
15850 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15853 2013-06-12 Andreas Jaeger <aj@suse.de>
15855 * po/ia.po: Update Interlingua translation from translation
15858 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15860 * include/fenv.h: Include stdbool.h.
15861 (struct rm_ctx): New structure.
15862 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15864 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15865 (SET_RESTORE_ROUNDF): Likewise.
15866 (SET_RESTORE_ROUNDL): Likewise.
15867 (SET_RESTORE_ROUND_NOEX): Likewise.
15868 (SET_RESTORE_ROUND_NOEXF): Likewise.
15869 (SET_RESTORE_ROUND_NOEXL): Likewise.
15870 (SET_RESTORE_ROUND_53BIT): Likewise.
15871 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15872 (libc_feresetround_noexf_ctx): Likewise.
15873 (libc_feresetround_noexl_ctx): Likewise.
15874 (libc_feholdsetround_53bit_ctx): Likewise.
15875 (libc_feresetround_53bit_ctx): Likewise.
15876 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15877 (libc_feholdexcept_setround_sse_ctx): New function.
15878 (libc_fesetenv_sse_ctx): Likewise.
15879 (libc_feupdateenv_sse_ctx): Likewise.
15880 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15881 (libc_feholdexcept_setround_387_ctx): Likewise.
15882 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15883 (libc_feholdsetround_387_prec_ctx): Likewise.
15884 (libc_feholdsetround_387_ctx): Likewise.
15885 (libc_feholdsetround_387_53bit_ctx): Likewise.
15886 (libc_feholdsetround_sse_ctx): Likewise.
15887 (libc_feresetround_sse_ctx): Likewise.
15888 (libc_feresetround_387_ctx): Likewise.
15889 (libc_feupdateenv_387_ctx): Likewise.
15890 (libc_feholdexcept_setroundf_ctx): Define macro.
15891 (libc_fesetenvf_ctx): Likewise.
15892 (libc_feupdateenvf_ctx): Likewise.
15893 (libc_feholdsetroundf_ctx): Likewise.
15894 (libc_feresetroundf_ctx): Likewise.
15895 (libc_feholdexcept_setround_ctx): Likewise.
15896 (libc_fesetenv_ctx): Likewise.
15897 (libc_feupdateenv_ctx): Likewise.
15898 (libc_feholdsetround_ctx): Likewise.
15899 (libc_feresetround_ctx): Likewise.
15900 (libc_feholdexcept_setroundl_ctx): Likewise.
15901 (libc_feupdateenvl_ctx): Likewise.
15902 (libc_feholdsetroundl_ctx): Likewise.
15903 (libc_feresetroundl_ctx): Likewise.
15904 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15905 (libc_feresetround_53bit_ctx): Likewise.
15907 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15909 * locale/iso-639.def: Convert to UTF-8.
15911 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15913 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15914 (EXCEPTION_TESTS_double): Likewise.
15915 (EXCEPTION_TESTS_long_double): Likewise.
15916 (EXCEPTION_TESTS): Likewise.
15917 * math/libm-test.inc (test_exceptions): Only test exceptions if
15918 EXCEPTION_TESTS (FLOAT).
15920 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15922 * benchtests/Makefile (string-bench): Add strcpy_chk and
15924 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15925 * benchtests/bench-stpcpy_chk.c: New file.
15926 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15927 * benchtests/bench-strcpy_chk.c: New file.
15928 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15930 (do_test): Likewise.
15932 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15934 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15935 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15936 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15937 with tabs where appropriate.
15938 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15940 [PPC_PLATFORM_PPC440]: Likewise.
15941 [PPC_PLATFORM_PPC464]: Likewise.
15942 [PPC_PLATFORM_PPC476]: Likewise.
15943 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15944 ppc464, and ppc476 platform strings merging from ports/
15947 2013-06-11 Andreas Schwab <schwab@suse.de>
15950 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15951 (from_ucs4_idx): Regenerate.
15952 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15953 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15954 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15955 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15956 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15957 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15958 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15959 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15960 from FROM_LOOP and TO_LOOP specific macros.
15961 (BODY): Handle combining characters.
15962 * iconvdata/BIG5HKSCS.irreversible: Update.
15963 * iconvdata/BIG5HKSCS.precomposed: New file.
15964 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15966 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15968 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15970 * include/sys/time.h: Fix indentation and add copyright header.
15972 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15973 (do_test): Likewise.
15974 * string/test-memchr.c (do_one_test): Likewise.
15975 (do_test): Likewise.
15976 * string/test-memcmp.c (do_one_test): Likewise.
15977 (do_test): Likewise.
15978 * string/test-memcpy.c (do_one_test): Likewise.
15979 (do_test): Likewise.
15980 * string/test-memmem.c (do_one_test): Likewise.
15981 (do_test): Likewise.
15982 (do_random_tests): Likewise.
15983 * string/test-memmove.c (do_one_test): Likewise.
15984 (do_test): Likewise.
15985 * string/test-memset.c (do_one_test): Likewise.
15986 (do_test): Likewise.
15987 * string/test-rawmemchr.c (do_one_test): Likewise.
15988 (do_test): Likewise.
15989 * string/test-strcasecmp.c (do_one_test): Likewise.
15990 (do_test): Likewise.
15991 * string/test-strcasestr.c (do_one_test): Likewise.
15992 (do_test): Likewise.
15993 * string/test-strcat.c (do_one_test): Likewise.
15994 (do_test): Likewise.
15995 * string/test-strchr.c (do_one_test): Likewise.
15996 (do_test): Likewise.
15997 * string/test-strcmp.c (do_one_test): Likewise.
15998 (do_test): Likewise.
15999 * string/test-strcpy.c (do_one_test): Likewise.
16000 (do_test): Likewise.
16001 * string/test-string.h: Likewise.
16002 (test_init): Likewise.
16003 * string/test-strlen.c (do_one_test): Likewise.
16004 (do_test): Likewise.
16005 * string/test-strncasecmp.c (do_one_test): Likewise.
16006 (do_test): Likewise.
16007 * string/test-strncat.c (do_one_test): Likewise.
16008 (do_test): Likewise.
16009 * string/test-strncmp.c (do_one_test): Likewise.
16010 (do_test_limit): Likewise.
16011 (do_test): Likewise.
16012 * string/test-strncpy.c (do_one_test): Likewise.
16013 (do_test): Likewise.
16014 * string/test-strnlen.c (do_one_test): Likewise.
16015 (do_test): Likewise.
16016 * string/test-strpbrk.c (do_one_test): Likewise.
16017 (do_test): Likewise.
16018 * string/test-strrchr.c (do_one_test): Likewise.
16019 (do_test): Likewise.
16020 * string/test-strspn.c (do_one_test): Likewise.
16021 (do_test): Likewise.
16022 * string/test-strstr.c (do_one_test): Likewise.
16023 (do_test): Likewise.
16025 * benchtests/Makefile (string-bench): Add string benchmarks.
16026 * benchtests/bench-bcopy-ifunc.c: New file.
16027 * benchtests/bench-bcopy.c: New file.
16028 * benchtests/bench-bzero-ifunc.c: New file.
16029 * benchtests/bench-bzero.c: New file.
16030 * benchtests/bench-memccpy-ifunc.c: New file.
16031 * benchtests/bench-memccpy.c: New file.
16032 * benchtests/bench-memchr-ifunc.c: New file.
16033 * benchtests/bench-memchr.c: New file.
16034 * benchtests/bench-memcmp-ifunc.c: New file.
16035 * benchtests/bench-memcmp.c: New file.
16036 * benchtests/bench-memmem-ifunc.c: New file.
16037 * benchtests/bench-memmem.c: New file.
16038 * benchtests/bench-memmove-ifunc.c: New file.
16039 * benchtests/bench-memmove.c: New file.
16040 * benchtests/bench-mempcpy-ifunc.c: New file.
16041 * benchtests/bench-mempcpy.c: New file.
16042 * benchtests/bench-memset-ifunc.c: New file.
16043 * benchtests/bench-memset.c: New file.
16044 * benchtests/bench-rawmemchr-ifunc.c: New file.
16045 * benchtests/bench-rawmemchr.c: New file.
16046 * benchtests/bench-stpcpy-ifunc.c: New file.
16047 * benchtests/bench-stpcpy.c: New file.
16048 * benchtests/bench-stpncpy-ifunc.c: New file.
16049 * benchtests/bench-stpncpy.c: New file.
16050 * benchtests/bench-strcasecmp-ifunc.c: New file.
16051 * benchtests/bench-strcasecmp.c: New file.
16052 * benchtests/bench-strcasestr-ifunc.c: New file.
16053 * benchtests/bench-strcasestr.c: New file.
16054 * benchtests/bench-strcat-ifunc.c: New file.
16055 * benchtests/bench-strcat.c: New file.
16056 * benchtests/bench-strchr-ifunc.c: New file.
16057 * benchtests/bench-strchr.c: New file.
16058 * benchtests/bench-strchrnul-ifunc.c: New file.
16059 * benchtests/bench-strchrnul.c: New file.
16060 * benchtests/bench-strcmp-ifunc.c: New file.
16061 * benchtests/bench-strcmp.c: New file.
16062 * benchtests/bench-strcpy-ifunc.c: New file.
16063 * benchtests/bench-strcpy.c: New file.
16064 * benchtests/bench-strcspn-ifunc.c: New file.
16065 * benchtests/bench-strcspn.c: New file.
16066 * benchtests/bench-strlen-ifunc.c: New file.
16067 * benchtests/bench-strlen.c: New file.
16068 * benchtests/bench-strncasecmp-ifunc.c: New file.
16069 * benchtests/bench-strncasecmp.c: New file.
16070 * benchtests/bench-strncat-ifunc.c: New file.
16071 * benchtests/bench-strncat.c: New file.
16072 * benchtests/bench-strncmp-ifunc.c: New file.
16073 * benchtests/bench-strncmp.c: New file.
16074 * benchtests/bench-strncpy-ifunc.c: New file.
16075 * benchtests/bench-strncpy.c: New file.
16076 * benchtests/bench-strnlen-ifunc.c: New file.
16077 * benchtests/bench-strnlen.c: New file.
16078 * benchtests/bench-strpbrk-ifunc.c: New file.
16079 * benchtests/bench-strpbrk.c: New file.
16080 * benchtests/bench-strrchr-ifunc.c: New file.
16081 * benchtests/bench-strrchr.c: New file.
16082 * benchtests/bench-strspn-ifunc.c: New file.
16083 * benchtests/bench-strspn.c: New file.
16084 * benchtests/bench-strstr-ifunc.c: New file.
16085 * benchtests/bench-strstr.c: New file.
16087 * benchtests/Makefile: Disable parallel execution of targets.
16088 (string-bench): Add memcpy.
16089 (benchset): New variable to store a list of benchmark sets.
16090 (bench-func): Renamed from bench.
16091 (bench-set): New target.
16092 (bench): Depend on bench-func and bench-set.
16093 * benchtests/README: Add section on benchmark sets.
16094 * benchtests/bench-memcpy-ifunc.c: New file.
16095 * benchtests/bench-memcpy.c: New file.
16096 * benchtests/bench-string.h: New file.
16098 2013-06-11 Andreas Schwab <schwab@suse.de>
16101 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16102 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16103 values in the triple.
16104 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16105 terminator in the group key.
16107 2013-06-11 Andreas Jaeger <aj@suse.de>
16109 * po/zh_TW.po: Update Chinese (traditional) translation from
16110 translation project.
16112 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16114 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16115 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16116 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16117 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16118 (clock_getcpuclockid): Likewise.
16119 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16120 Add weak_alias and libc_hidden_def.
16121 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16122 * rt/clock_gettime.c (clock_gettime): Rename to
16123 __clock_gettime. Add weak_alias and libc_hidden_def.
16124 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16125 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16126 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16127 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16128 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16130 * rt/clock_settime.c (clock_settime): Rename to
16131 __clock_settime. Add weak_alias and libc_hidden_def.
16132 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16134 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16136 * mach/err_boot.sub: Remove trailing whitespace.
16137 * mach/err_ipc.sub: Likewise.
16138 * mach/err_mach.sub: Likewise.
16140 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16141 (ROUNDING_TESTS_double): Likewise.
16142 (ROUNDING_TESTS_long_double): Likewise.
16143 (ROUNDING_TESTS): Likewise.
16144 * math/libm-test.inc: Include <math-tests.h>.
16145 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16146 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16147 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16148 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16150 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16152 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16155 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16157 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16158 otherwise empty TRANS lines.
16159 * sysdeps/gnu/errlist.c: Regenerated.
16161 * catgets/gencat.c (error_print): Use (void) in function
16163 * crypt/crypt_util.c (__init_des): Likewise.
16164 * crypt/speeds.c (Stop): Likewise.
16166 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16167 * inet/ruserpass.c (token): Likewise.
16168 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16169 * intl/localealias.c (extend_alias_table): Likewise.
16170 * intl/plural-exp.c (init_germanic_plural): Likewise.
16171 * libio/fcloseall.c (__fcloseall): Likewise.
16172 * libio/genops.c (_IO_flush_all): Likewise.
16173 (_IO_flush_all_linebuffered): Likewise.
16174 (_IO_cleanup): Likewise.
16175 (_IO_iter_begin): Likewise.
16176 (_IO_iter_end): Likewise.
16177 (_IO_list_lock): Likewise.
16178 (_IO_list_unlock): Likewise.
16179 (_IO_list_resetlock): Likewise.
16180 * libio/getchar.c (getchar): Likewise.
16181 * libio/getchar_u.c (getchar_unlocked): Likewise.
16182 * libio/getwchar.c (getwchar): Likewise.
16183 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16184 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16185 * login/getpt.c (__getpt): Likewise.
16186 * login/tst-utmp.c (main): Likewise.
16187 * malloc/hooks.c (__malloc_check_init): Likewise.
16188 * malloc/malloc.c (__malloc_stats): Likewise.
16189 * malloc/mtrace.c (tr_break): Likewise.
16190 (mtrace): Likewise.
16191 (muntrace): Likewise.
16192 * misc/fstab.c (endfsent): Likewise.
16193 * misc/getclktck.c (__getclktck): Likewise.
16194 * misc/getdtsz.c (__getdtablesize): Likewise.
16195 * misc/gethostid.c (gethostid): Likewise.
16196 * misc/getpagesize.c (__getpagesize): Likewise.
16197 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16198 (__get_nprocs): Likewise.
16199 (__get_phys_pages): Likewise.
16200 (__get_avphys_pages): Likewise.
16201 * misc/getttyent.c (getttyent): Likewise.
16202 (setttyent): Likewise.
16203 (endttyent): Likewise.
16204 * misc/getusershell.c (getusershell): Likewise.
16205 (endusershell): Likewise.
16206 (setusershell): Likewise.
16207 (initshells): Likewise.
16208 * misc/hsearch.c (__hdestroy): Likewise.
16209 * misc/sync.c (sync): Likewise.
16210 * misc/syslog.c (closelog_internal): Likewise.
16211 (closelog): Likewise.
16212 * misc/ttyslot.c (ttyslot): Likewise.
16213 * misc/vhangup.c (vhangup): Likewise.
16214 * posix/fork.c (__fork): Likewise.
16215 * posix/getegid.c (__getegid): Likewise.
16216 * posix/geteuid.c (__geteuid): Likewise.
16217 * posix/getgid.c (__getgid): Likewise.
16218 * posix/getpid.c (__getpid): Likewise.
16219 * posix/getppid.c (__getppid): Likewise.
16220 * posix/getuid.c (__getuid): Likewise.
16221 * posix/pause.c (pause): Likewise.
16222 * posix/setpgrp.c (setpgrp): Likewise.
16223 * posix/setsid.c (__setsid): Likewise.
16224 * posix/test-vfork.c (noop): Likewise.
16225 * resolv/gethnamaddr.c (_endhtent): Likewise.
16226 (_gethtent): Likewise.
16227 (ht_endhostent): Likewise.
16228 (gethostent): Likewise.
16229 (dns_service): Likewise.
16230 * stdlib/drand48.c (drand48): Likewise.
16231 * stdlib/lrand48.c (lrand48): Likewise.
16232 * stdlib/mrand48.c (mrand48): Likewise.
16233 * stdlib/rand.c (rand): Likewise.
16234 * stdlib/random.c (__random): Likewise.
16235 * stdlib/setenv.c (clearenv): Likewise.
16236 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16237 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16238 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16239 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16240 (__get_nprocs): Likewise.
16241 (__get_phys_pages): Likewise.
16242 (__get_avphys_pages): Likewise.
16243 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16244 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16245 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16246 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16247 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16248 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16249 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16250 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16251 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16252 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16253 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16254 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16255 * sysdeps/posix/clock.c (clock): Likewise.
16256 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16257 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16258 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16259 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16260 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16261 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16262 (__get_nprocs_conf): Likewise.
16263 (__get_phys_pages): Likewise.
16264 (__get_avphys_pages): Likewise.
16265 * time/clock.c (clock): Likewise.
16266 * time/tzset.c (__tzname_max): Likewise.
16268 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16270 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16271 (__bswap_32): Do not use "register".
16272 * crypt/crypt.c (_ufc_doit_r): Likewise.
16273 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16274 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16275 * gmon/gmon.c (__monstartup): Likewise.
16276 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16277 * hurd/hurdmalloc.c (more_memory): Likewise.
16278 (malloc): Likewise.
16280 (realloc): Likewise.
16281 (malloc_fork_prepare): Likewise.
16282 (malloc_fork_parent): Likewise.
16283 (malloc_fork_child): Likewise.
16284 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16285 (_svcauth_des): Likewise.
16286 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16287 * inet/inet_net.c (inet_network): Likewise.
16288 * inet/inet_netof.c (inet_netof): Likewise.
16289 * inet/rcmd.c (__validuser2_sa): Likewise.
16290 * io/fts.c (fts_open): Likewise.
16291 (fts_load): Likewise.
16292 (fts_close): Likewise.
16293 (fts_read): Likewise.
16294 (fts_children): Likewise.
16295 (fts_build): Likewise.
16296 (fts_stat): Likewise.
16297 (fts_sort): Likewise.
16298 (fts_alloc): Likewise.
16299 (fts_lfree): Likewise.
16300 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16301 (_IO_file_xsgetn): Likewise.
16302 (_IO_file_xsgetn_mmap): Likewise.
16303 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16304 (_IO_cookie_write): Likewise.
16305 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16306 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16307 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16308 * malloc/obstack.c (_obstack_begin): Likewise.
16309 (_obstack_begin_1): Likewise.
16310 (_obstack_newchunk): Likewise.
16311 (_obstack_allocated_p): Likewise.
16312 (obstack_free): Likewise.
16313 (_obstack_memory_used): Likewise.
16314 * misc/getttyent.c (getttynam): Likewise.
16315 (getttyent): Likewise.
16318 * misc/getusershell.c (initshells): Likewise.
16319 * misc/syslog.c (__vsyslog_chk): Likewise.
16320 * misc/ttyslot.c (ttyslot): Likewise.
16321 * nis/nis_hash.c (__nis_hash): Likewise.
16322 * posix/fnmatch_loop.c (FCT): Likewise.
16323 * posix/getconf.c (print_all): Likewise.
16325 * posix/getopt.c (exchange): Likewise.
16326 * posix/glob.c (globfree): Likewise.
16327 (prefix_array): Likewise.
16328 (__glob_pattern_type): Likewise.
16329 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16330 (NS_GET32): Likewise.
16331 (NS_PUT16): Likewise.
16332 (NS_PUT32): Likewise.
16333 * resolv/gethnamaddr.c (getanswer): Likewise.
16334 (gethostbyname2): Likewise.
16335 (gethostbyaddr): Likewise.
16336 (_gethtent): Likewise.
16337 (_gethtbyname2): Likewise.
16338 (_gethtbyaddr): Likewise.
16339 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16340 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16341 * resolv/res_init.c (__res_vinit): Likewise.
16342 (net_mask): Likewise.
16343 * resolv/res_mkquery.c (outchar): Likewise.
16345 * stdio-common/printf_fp.c (outchar): Likewise.
16347 * stdio-common/printf_fphex.c (outchar): Likewise.
16349 * stdio-common/printf_size.c (outchar): Likewise.
16351 * stdio-common/test_rdwr.c (main): Likewise.
16352 * stdio-common/tfformat.c (matches): Likewise.
16353 * stdio-common/vfprintf.c (outchar): Likewise.
16354 (printf_unknown): Likewise.
16355 (buffered_vfprintf): Likewise.
16356 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16357 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16358 (ReadFile): Likewise.
16359 * stdlib/qsort.c (SWAP): Likewise.
16360 (_quicksort): Likewise.
16361 * stdlib/setenv.c (__add_to_environ): Likewise.
16362 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16363 * stdlib/strtol_l.c (__strtol_l): Likewise.
16364 * stdlib/tst-strtod.c (main): Likewise.
16365 * stdlib/tst-strtol.c (main): Likewise.
16366 * stdlib/tst-strtoll.c (main): Likewise.
16367 * string/bits/string2.h (__strcmp_cc): Likewise.
16368 (__strcmp_cg): Likewise.
16369 (__strcspn_c1): Likewise.
16370 (__strcspn_c2): Likewise.
16371 (__strcspn_c3): Likewise.
16372 (__strspn_c1): Likewise.
16373 (__strspn_c2): Likewise.
16374 (__strspn_c3): Likewise.
16375 (__strsep_1c): Likewise.
16376 (__strsep_2c): Likewise.
16377 (__strsep_3c): Likewise.
16378 * string/memccpy.c (__memccpy): Likewise.
16379 * string/stpcpy.c (__stpcpy): Likewise.
16380 * string/strcmp.c (strcmp): Likewise.
16381 * string/strrchr.c (strrchr): Likewise.
16382 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16384 * sysdeps/mach/hurd/getcwd.c
16385 (_hurd_canonicalize_directory_name_internal): Likewise.
16386 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16387 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16388 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16389 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16390 Likewise, in both definitions.
16391 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16393 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16394 64] (__bswap_64): Likewise.
16395 * time/test_time.c (main): Likewise.
16396 * time/tzfile.c (__tzfile_read): Likewise.
16397 (__tzfile_compute): Likewise.
16398 * time/tzset.c (__tzset_parse_tz): Likewise.
16399 (tzset_internal): Likewise.
16400 (compute_change): Likewise.
16401 * wcsmbs/wcscat.c (__wcscat): Likewise.
16402 * wcsmbs/wcschr.c (wcschr): Likewise.
16403 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16404 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16405 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16406 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16407 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16408 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16409 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16410 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16411 * wcsmbs/wmemset.c (wmemset): Likewise.
16413 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16415 * scripts/config.guess: Update to version 2013-05-16.
16416 * scripts/config.sub: Update to version 2013-04-24.
16417 * scripts/install-sh: Update to version 2011-11-20.07.
16418 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16419 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16421 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16423 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16424 * elf/sln.c: Likewise.
16425 * hurd/hurd/ioctl.h: Likewise.
16426 * hurd/hurdmalloc.c: Likewise.
16427 * hurd/xattr.c: Likewise.
16428 * include/shlib-compat.h: Likewise.
16429 * inet/ruserpass.c: Likewise.
16430 * libio/iofgets_u.c: Likewise.
16431 * libio/iofgetws_u.c: Likewise.
16432 * locale/programs/ld-identification.c: Likewise.
16433 * locale/programs/ld-time.c: Likewise.
16434 * mach/msg-destroy.c: Likewise.
16435 * nss/nss_files/files-netgrp.c: Likewise.
16436 * resolv/res_data.c: Likewise.
16437 * soft-fp/op-1.h: Likewise.
16438 * soft-fp/op-2.h: Likewise.
16439 * soft-fp/op-4.h: Likewise.
16440 * soft-fp/op-common.h: Likewise.
16441 * stdio-common/printf_fphex.c: Likewise.
16442 * stdlib/strtod_l.c: Likewise.
16443 * sunrpc/rpc/clnt.h: Likewise.
16444 * sysdeps/generic/framestate.c: Likewise.
16445 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16446 * sysdeps/i386/bsd-setjmp.S: Likewise.
16447 * sysdeps/i386/__longjmp.S: Likewise.
16448 * sysdeps/i386/setjmp.S: Likewise.
16449 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16450 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16451 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16452 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16453 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16454 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16455 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16456 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16457 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16458 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16459 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16460 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16461 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16462 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16463 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16464 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16465 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16466 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16467 * sysdeps/ieee754/support.c: Likewise.
16468 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16469 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16470 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16471 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16472 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16473 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16474 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16475 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16476 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16477 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16478 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16479 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16480 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16481 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16482 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16483 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16484 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16487 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16489 * posix/transbug.c: Remove executable mode.
16491 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16493 * crypt/speeds.c: Remove trailing whitespace.
16494 * dlfcn/default.c: Likewise.
16495 * elf/ifuncdep2.c: Likewise.
16496 * elf/ifuncmain1.c: Likewise.
16497 * elf/ifuncmain1vis.c: Likewise.
16498 * elf/testobj.h: Likewise.
16499 * elf/tst-stackguard1.c: Likewise.
16500 * gmon/sys/gmon.h: Likewise.
16501 * hurd/hurdmsg.c: Likewise.
16502 * hurd/new-fd.c: Likewise.
16503 * hurd/ports-get.c: Likewise.
16504 * iconvdata/ibm1008_420.c: Likewise.
16505 * inet/tst-getni1.c: Likewise.
16506 * inet/tst-getni2.c: Likewise.
16507 * libio/ioungetc.c: Likewise.
16508 * libio/wfiledoalloc.c: Likewise.
16509 * manual/libm-err-tab.pl: Likewise.
16510 * math/w_dremf.c: Likewise.
16511 * misc/ftruncate.c: Likewise.
16512 * posix/bug-glob2.c: Likewise.
16513 * posix/tst-pcre.c: Likewise.
16514 * posix/wait4.c: Likewise.
16515 * resolv/README: Likewise.
16516 * resolv/res_debug.h: Likewise.
16517 * resolv/tst-inet_ntop.c: Likewise.
16518 * setjmp/bug269-setjmp.c: Likewise.
16519 * soft-fp/extended.h: Likewise.
16520 * soft-fp/op-1.h: Likewise.
16521 * soft-fp/op-2.h: Likewise.
16522 * soft-fp/op-4.h: Likewise.
16523 * soft-fp/op-8.h: Likewise.
16524 * soft-fp/testit.c: Likewise.
16525 * stdio-common/bug16.c: Likewise.
16526 * stdlib/random.c: Likewise.
16527 * sunrpc/rpcsvc/rquota.x: Likewise.
16528 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16529 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16530 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16531 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16532 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16533 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16534 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16535 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16536 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16537 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16538 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16539 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16540 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16541 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16542 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16543 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16544 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16545 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16546 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16547 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16548 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16549 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16550 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16551 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16552 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16553 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16554 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16555 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16556 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16557 * sysdeps/ieee754/s_lib_version.c: Likewise.
16558 * sysdeps/mach/hurd/check_fds.c: Likewise.
16559 * sysdeps/mach/hurd/getsockname.c: Likewise.
16560 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16561 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16562 * sysdeps/powerpc/bits/link.h: Likewise.
16563 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16564 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16565 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16566 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16567 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16568 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16569 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16570 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16571 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16572 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16573 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16574 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16575 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16576 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16577 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16578 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16579 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16580 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16581 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16582 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16583 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16584 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16585 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16586 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16587 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16588 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16590 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16591 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16592 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16595 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16596 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16597 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16598 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16599 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16600 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16601 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16602 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16603 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16604 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16605 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16606 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16607 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16608 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16609 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16610 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16611 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16612 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16613 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16614 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16615 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16616 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16617 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16618 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16619 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16620 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16621 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16622 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16623 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16624 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16625 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16626 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16627 * sysdeps/powerpc/sysdep.h: Likewise.
16628 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16629 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16630 * sysdeps/sh/dl-trampoline.S: Likewise.
16631 * sysdeps/sh/memset.S: Likewise.
16632 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16633 * sysdeps/sh/strlen.S: Likewise.
16634 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16635 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16636 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16637 * sysdeps/sparc/sparc32/rem.S: Likewise.
16638 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16639 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16640 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16641 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16642 * sysdeps/sparc/sparc32/urem.S: Likewise.
16643 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16644 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16645 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16646 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16647 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16648 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16649 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16650 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16651 * sysdeps/unix/bsd/times.c: Likewise.
16652 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16653 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16657 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16658 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16659 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16660 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16661 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16662 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16663 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16664 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16665 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16666 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16667 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16668 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16669 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16670 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16671 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16672 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16673 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16674 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16675 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16676 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16677 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16678 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16679 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16680 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16681 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16682 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16683 * sysdeps/x86_64/strcspn.S: Likewise.
16685 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16687 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16688 generated file. Regenerate properly from gen-translit.pl.
16689 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16690 locale/C-translit.h.
16692 2013-06-05 Andreas Schwab <schwab@suse.de>
16695 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16696 week as 6 instead of -1.
16697 * time/tst-strptime.c (day_tests): Add test case.
16699 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16701 * sysdeps/generic/math_private.h
16702 (libc_feholdexcept_setround_53bit): Replace with
16703 libc_feholdsetround_53bit.
16704 (libc_feupdateenv_53bit): Replace with
16705 libc_feresetround_53bit.
16706 (SET_RESTORE_ROUND_53BIT): Adjust.
16708 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16710 * string/test-strchrnul.c: Add copyright header.
16712 * posix/tst-getaddrinfo4.c: Increase test timeout.
16714 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16717 * math/libm-test.inc (MAX_EXP): Remove
16719 (ulp): Use MIN_EXP - MANT_DIG.
16720 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16722 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16724 * po/be.po: Revert last change.
16725 * po/zh_CN.po: Likewise.
16726 * po/header.pot: Likewise.
16728 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16730 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16731 link-libc-deps to empty as target-specific variable.
16732 * Makerules (link-libc-args): New variable.
16733 (libc-for-link): Likewise.
16734 (link-libc-deps): Likewise.
16735 (lib%.so): Depend on $(link-libc-deps). Link with
16737 (build-module): Link with $(link-libc-args).
16738 (build-module-asneeded): Likewise.
16739 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16741 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16742 target-specific variable.
16743 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16744 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16745 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16747 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16749 ($(objpfx)libpcprofile.so): Likewise.
16750 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16752 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16753 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16754 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16756 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16757 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16758 * login/Makefile ($(objpfx)libutil.so): Likewise.
16759 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16760 * math/Makefile ($(objpfx)libm.so): Likewise.
16761 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16762 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16763 variable instead of depending directly on libc.
16764 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16765 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16767 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16769 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16770 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16771 ($(objpfx)libanl.so): Likewise.
16772 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16774 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16776 * sysdeps/i386/fpu/Makefile: Remove file.
16777 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16778 ($(objpfx)libm.so): Remove dependency on ld.so.
16780 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16783 * nis/yp_xdr.c (XDRMAXNAME): Define.
16784 (XDRMAXRECORD): Define.
16785 (xdr_domainname): Use XDRMAXNAME.
16786 (xdr_mapname): Likewise.
16787 (xdr_peername): Likewise.
16788 (xdr_keydat): Use XDRMAXRECORD.
16789 (xdr_valdat): Likewise.
16791 2013-05-30 Jeff Law <law@redhat.com>
16794 * manual/errno.texi (ESTALE): Update to account for more than
16795 just NFS file systems.
16796 * sysdeps/gnu/errlist.c: Regenerated.
16798 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16801 * elf/Makefile (tests): Add tst-null-argv.
16802 (modules-names): Add tst-null-argv-lib.
16803 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16804 (tst-null-argv-ENV): Set environment for tst-null-argv.
16805 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16806 (RTLD_PROGNAME): New macro.
16807 * elf/tst-null-argv.c: New test case.
16808 * elf/tst-null-argv-lib.c: Library for test case.
16809 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16810 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16811 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16812 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16813 * elf/dl-init.c (call_init): Likewise.
16814 (_dl_init): Likewise.
16815 * elf/dl-load.c (print_search_path): Likewise.
16816 (_dl_map_object): Likewise.
16817 * elf/dl-lookup.c (do_lookup_x): Likewise.
16818 (add_dependency): Likewise.
16819 (_dl_lookup_symbol_x): Likewise.
16820 (_dl_debug_bindings): Likewise.
16821 * elf/dl-open.c (_dl_show_scope): Likewise.
16822 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16823 * elf/dl-version.c (match_symbol): Likewise.
16824 (_dl_check_map_versions): Likewise.
16825 * elf/rtld.c (dl_main): Likewise.
16826 (print_unresolved): Use RTLD_PROGNAME.
16827 (print_missing_version): Likewise.
16828 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16829 (elf_machine_rela): Likewise.
16830 * sysdeps/powerpc/powerpc32/dl-machine.c
16831 (__process_machine_rela): Likewise.
16832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16834 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16836 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16838 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16845 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16847 * po/be.po: Add descriptive title.
16848 * po/zh_CN.po: Likewise.
16849 * po/header.pot: Likewise.
16851 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16853 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16855 (enlarge_archive): Likewise.
16857 2013-05-28 Ben North <ben@redfrontdoor.org>
16859 * manual/arith.texi (frexp): It is the magnitude of the return
16860 value which lies in [0.5, 1), not the return value itself.
16862 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16866 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16868 * stdio-common/bug26.c (main): Correct fscanf template.
16870 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16871 declare _dl_skip_args.
16873 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16876 * manual/platform.texi: Add missing @end deftypefun.
16878 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16881 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16882 bit of mantissa of 2^16382.
16883 * math/libm-test.inc (hypot_test_data): Add more tests.
16885 * math/libm-test.inc: Add drem and pow10 to list of tested
16887 (pow10_test): New function.
16888 (drem_test): Likewise.
16889 (drem_test_tonearest): Likewise.
16890 (drem_test_towardzero): Likewise.
16891 (drem_test_downward): Likewise.
16892 (drem_test_upward): Likewise.
16893 (main): Call the new functions.
16895 * math/libm-test.inc (finite_test_data): Remove.
16896 (finite_test): Run tests from isfinite_test_data.
16897 (gamma_test_data): Remove.
16898 (gamma_test): Run tests from lgamma_test_data.
16899 * sysdeps/i386/fpu/libm-test-ulps: Update.
16900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16902 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16904 * manual/platform.texi: Add PowerPC PPR function set documentation.
16905 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16908 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16910 * math/libm-test.inc (MAX_EXP): Define.
16912 (ulp): New function.
16913 (check_float_internal): Use ULPDIFF.
16914 (cpow_test): Disable failing test.
16915 (check_ulp): Test ulp() implemetnation.
16916 (main): Call check_ulp before starting tests.
16918 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16920 * math/gen-libm-test.pl (generate_testfile): Do not handle
16921 START_DATA and END_DATA.
16922 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16924 (acos_tonearest_test_data): Likewise.
16925 (acos_towardzero_test_data): Likewise.
16926 (acos_downward_test_data): Likewise.
16927 (acos_upward_test_data): Likewise.
16928 (acosh_test_data): Likewise.
16929 (asin_test_data): Likewise.
16930 (asin_tonearest_test_data): Likewise.
16931 (asin_towardzero_test_data): Likewise.
16932 (asin_downward_test_data): Likewise.
16933 (asin_upward_test_data): Likewise.
16934 (asinh_test_data): Likewise.
16935 (atan_test_data): Likewise.
16936 (atanh_test_data): Likewise.
16937 (atan2_test_data): Likewise.
16938 (cabs_test_data): Likewise.
16939 (cacos_test_data): Likewise.
16940 (cacosh_test_data): Likewise.
16941 (carg_test_data): Likewise.
16942 (casin_test_data): Likewise.
16943 (casinh_test_data): Likewise.
16944 (catan_test_data): Likewise.
16945 (catanh_test_data): Likewise.
16946 (cbrt_test_data): Likewise.
16947 (ccos_test_data): Likewise.
16948 (ccosh_test_data): Likewise.
16949 (ceil_test_data): Likewise.
16950 (cexp_test_data): Likewise.
16951 (cimag_test_data): Likewise.
16952 (clog_test_data): Likewise.
16953 (clog10_test_data): Likewise.
16954 (conj_test_data): Likewise.
16955 (copysign_test_data): Likewise.
16956 (cos_test_data): Likewise.
16957 (cos_tonearest_test_data): Likewise.
16958 (cos_towardzero_test_data): Likewise.
16959 (cos_downward_test_data): Likewise.
16960 (cos_upward_test_data): Likewise.
16961 (cosh_test_data): Likewise.
16962 (cosh_tonearest_test_data): Likewise.
16963 (cosh_towardzero_test_data): Likewise.
16964 (cosh_downward_test_data): Likewise.
16965 (cosh_upward_test_data): Likewise.
16966 (cpow_test_data): Likewise.
16967 (cproj_test_data): Likewise.
16968 (creal_test_data): Likewise.
16969 (csin_test_data): Likewise.
16970 (csinh_test_data): Likewise.
16971 (csqrt_test_data): Likewise.
16972 (ctan_test_data): Likewise.
16973 (ctan_tonearest_test_data): Likewise.
16974 (ctan_towardzero_test_data): Likewise.
16975 (ctan_downward_test_data): Likewise.
16976 (ctan_upward_test_data): Likewise.
16977 (ctanh_test_data): Likewise.
16978 (ctanh_tonearest_test_data): Likewise.
16979 (ctanh_towardzero_test_data): Likewise.
16980 (ctanh_downward_test_data): Likewise.
16981 (ctanh_upward_test_data): Likewise.
16982 (erf_test_data): Likewise.
16983 (erfc_test_data): Likewise.
16984 (exp_test_data): Likewise.
16985 (exp_tonearest_test_data): Likewise.
16986 (exp_towardzero_test_data): Likewise.
16987 (exp_downward_test_data): Likewise.
16988 (exp_upward_test_data): Likewise.
16989 (exp10_test_data): Likewise.
16990 (exp2_test_data): Likewise.
16991 (expm1_test_data): Likewise.
16992 (fabs_test_data): Likewise.
16993 (fdim_test_data): Likewise.
16994 (finite_test_data): Likewise.
16995 (floor_test_data): Likewise.
16996 (fma_test_data): Likewise.
16997 (fma_towardzero_test_data): Likewise.
16998 (fma_downward_test_data): Likewise.
16999 (fma_upward_test_data): Likewise.
17000 (fmax_test_data): Likewise.
17001 (fmin_test_data): Likewise.
17002 (fmod_test_data): Likewise.
17003 (fpclassify_test_data): Likewise.
17004 (frexp_test_data): Likewise.
17005 (gamma_test_data): Likewise.
17006 (hypot_test_data): Likewise.
17007 (ilogb_test_data): Likewise.
17008 (isfinite_test_data): Likewise.
17009 (isgreater_test_data): Likewise.
17010 (isgreaterequal_test_data): Likewise.
17011 (isinf_test_data): Likewise.
17012 (isless_test_data): Likewise.
17013 (islessequal_test_data): Likewise.
17014 (islessgreater_test_data): Likewise.
17015 (isnan_test_data): Likewise.
17016 (isnormal_test_data): Likewise.
17017 (issignaling_test_data): Likewise.
17018 (isunordered_test_data): Likewise.
17019 (j0_test_data): Likewise.
17020 (j1_test_data): Likewise.
17021 (jn_test_data): Likewise.
17022 (ldexp_test_data): Likewise.
17023 (lgamma_test_data): Likewise.
17024 (lrint_test_data): Likewise.
17025 (lrint_tonearest_test_data): Likewise.
17026 (lrint_towardzero_test_data): Likewise.
17027 (lrint_downward_test_data): Likewise.
17028 (lrint_upward_test_data): Likewise.
17029 (llrint_test_data): Likewise.
17030 (llrint_tonearest_test_data): Likewise.
17031 (llrint_towardzero_test_data): Likewise.
17032 (llrint_downward_test_data): Likewise.
17033 (llrint_upward_test_data): Likewise.
17034 (log_test_data): Likewise.
17035 (log10_test_data): Likewise.
17036 (log1p_test_data): Likewise.
17037 (log2_test_data): Likewise.
17038 (logb_test_data): Likewise.
17039 (logb_downward_test_data): Likewise.
17040 (lround_test_data): Likewise.
17041 (llround_test_data): Likewise.
17042 (modf_test_data): Likewise.
17043 (nearbyint_test_data): Likewise.
17044 (nextafter_test_data): Likewise.
17045 (nexttoward_test_data): Likewise.
17046 (pow_test_data): Likewise.
17047 (pow_tonearest_test_data): Likewise.
17048 (pow_towardzero_test_data): Likewise.
17049 (pow_downward_test_data): Likewise.
17050 (pow_upward_test_data): Likewise.
17051 (remainder_test_data): Likewise.
17052 (remainder_tonearest_test_data): Likewise.
17053 (remainder_towardzero_test_data): Likewise.
17054 (remainder_downward_test_data): Likewise.
17055 (remainder_upward_test_data): Likewise.
17056 (remquo_test_data): Likewise.
17057 (rint_test_data): Likewise.
17058 (rint_tonearest_test_data): Likewise.
17059 (rint_towardzero_test_data): Likewise.
17060 (rint_downward_test_data): Likewise.
17061 (rint_upward_test_data): Likewise.
17062 (round_test_data): Likewise.
17063 (scalb_test_data): Likewise.
17064 (scalbn_test_data): Likewise.
17065 (scalbln_test_data): Likewise.
17066 (signbit_test_data): Likewise.
17067 (sin_test_data): Likewise.
17068 (sin_tonearest_test_data): Likewise.
17069 (sin_towardzero_test_data): Likewise.
17070 (sin_downward_test_data): Likewise.
17071 (sin_upward_test_data): Likewise.
17072 (sincos_test_data): Likewise.
17073 (sinh_test_data): Likewise.
17074 (sinh_tonearest_test_data): Likewise.
17075 (sinh_towardzero_test_data): Likewise.
17076 (sinh_downward_test_data): Likewise.
17077 (sinh_upward_test_data): Likewise.
17078 (sqrt_test_data): Likewise.
17079 (tan_test_data): Likewise.
17080 (tan_tonearest_test_data): Likewise.
17081 (tan_towardzero_test_data): Likewise.
17082 (tan_downward_test_data): Likewise.
17083 (tan_upward_test_data): Likewise.
17084 (tanh_test_data): Likewise.
17085 (tgamma_test_data): Likewise.
17086 (trunc_test_data): Likewise.
17087 (y0_test_data): Likewise.
17088 (y1_test_data): Likewise.
17089 (yn_test_data): Likewise.
17090 (significand_test_data): Likewise.
17092 * math/gen-libm-test.pl (@functions): Remove variable.
17093 (generate_testfile): Don't handle START and END lines.
17094 * math/libm-test.inc (START): New macro.
17096 (END_COMPLEX): Likewise.
17097 (acos_test): Use END macro without arguments.
17098 (acos_test_tonearest): Likewise.
17099 (acos_test_towardzero): Likewise.
17100 (acos_test_downward): Likewise.
17101 (acos_test_upward): Likewise.
17102 (acosh_test): Likewise.
17103 (asin_test): Likewise.
17104 (asin_test_tonearest): Likewise.
17105 (asin_test_towardzero): Likewise.
17106 (asin_test_downward): Likewise.
17107 (asin_test_upward): Likewise.
17108 (asinh_test): Likewise.
17109 (atan_test): Likewise.
17110 (atanh_test): Likewise.
17111 (atan2_test): Likewise.
17112 (cabs_test): Likewise.
17113 (cacos_test): Use END_COMPLEX macro without arguments.
17114 (cacosh_test): Likewise.
17115 (carg_test): Use END macro without arguments.
17116 (casin_test): Use END_COMPLEX macro without arguments.
17117 (casinh_test): Likewise.
17118 (catan_test): Likewise.
17119 (catanh_test): Likewise.
17120 (cbrt_test): Use END macro without arguments.
17121 (ccos_test): Use END_COMPLEX macro without arguments.
17122 (ccosh_test): Likewise.
17123 (ceil_test): Use END macro without arguments.
17124 (cexp_test): Use END_COMPLEX macro without arguments.
17125 (cimag_test): Use END macro without arguments.
17126 (clog_test): Use END_COMPLEX macro without arguments.
17127 (clog10_test): Likewise.
17128 (conj_test): Likewise.
17129 (copysign_test): Use END macro without arguments.
17130 (cos_test): Likewise.
17131 (cos_test_tonearest): Likewise.
17132 (cos_test_towardzero): Likewise.
17133 (cos_test_downward): Likewise.
17134 (cos_test_upward): Likewise.
17135 (cosh_test): Likewise.
17136 (cosh_test_tonearest): Likewise.
17137 (cosh_test_towardzero): Likewise.
17138 (cosh_test_downward): Likewise.
17139 (cosh_test_upward): Likewise.
17140 (cpow_test): Use END_COMPLEX macro without arguments.
17141 (cproj_test): Likewise.
17142 (creal_test): Use END macro without arguments.
17143 (csin_test): Use END_COMPLEX macro without arguments.
17144 (csinh_test): Likewise.
17145 (csqrt_test): Likewise.
17146 (ctan_test): Likewise.
17147 (ctan_test_tonearest): Likewise.
17148 (ctan_test_towardzero): Likewise.
17149 (ctan_test_downward): Likewise.
17150 (ctan_test_upward): Likewise.
17151 (ctanh_test): Likewise.
17152 (ctanh_test_tonearest): Likewise.
17153 (ctanh_test_towardzero): Likewise.
17154 (ctanh_test_downward): Likewise.
17155 (ctanh_test_upward): Likewise.
17156 (erf_test): Use END macro without arguments.
17157 (erfc_test): Likewise.
17158 (exp_test): Likewise.
17159 (exp_test_tonearest): Likewise.
17160 (exp_test_towardzero): Likewise.
17161 (exp_test_downward): Likewise.
17162 (exp_test_upward): Likewise.
17163 (exp10_test): Likewise.
17164 (exp2_test): Likewise.
17165 (expm1_test): Likewise.
17166 (fabs_test): Likewise.
17167 (fdim_test): Likewise.
17168 (finite_test): Likewise.
17169 (floor_test): Likewise.
17170 (fma_test): Likewise.
17171 (fma_test_towardzero): Likewise.
17172 (fma_test_downward): Likewise.
17173 (fma_test_upward): Likewise.
17174 (fmax_test): Likewise.
17175 (fmin_test): Likewise.
17176 (fmod_test): Likewise.
17177 (fpclassify_test): Likewise.
17178 (frexp_test): Likewise.
17179 (gamma_test): Likewise.
17180 (hypot_test): Likewise.
17181 (ilogb_test): Likewise.
17182 (isfinite_test): Likewise.
17183 (isgreater_test): Likewise.
17184 (isgreaterequal_test): Likewise.
17185 (isinf_test): Likewise.
17186 (isless_test): Likewise.
17187 (islessequal_test): Likewise.
17188 (islessgreater_test): Likewise.
17189 (isnan_test): Likewise.
17190 (isnormal_test): Likewise.
17191 (issignaling_test): Likewise.
17192 (isunordered_test): Likewise.
17193 (j0_test): Likewise.
17194 (j1_test): Likewise.
17195 (jn_test): Likewise.
17196 (ldexp_test): Likewise.
17197 (lgamma_test): Likewise.
17198 (lrint_test): Likewise.
17199 (lrint_test_tonearest): Likewise.
17200 (lrint_test_towardzero): Likewise.
17201 (lrint_test_downward): Likewise.
17202 (lrint_test_upward): Likewise.
17203 (llrint_test): Likewise.
17204 (llrint_test_tonearest): Likewise.
17205 (llrint_test_towardzero): Likewise.
17206 (llrint_test_downward): Likewise.
17207 (llrint_test_upward): Likewise.
17208 (log_test): Likewise.
17209 (log10_test): Likewise.
17210 (log1p_test): Likewise.
17211 (log2_test): Likewise.
17212 (logb_test): Likewise.
17213 (logb_test_downward): Likewise.
17214 (lround_test): Likewise.
17215 (llround_test): Likewise.
17216 (modf_test): Likewise.
17217 (nearbyint_test): Likewise.
17218 (nextafter_test): Likewise.
17219 (nexttoward_test): Likewise.
17220 (pow_test): Likewise.
17221 (pow_test_tonearest): Likewise.
17222 (pow_test_towardzero): Likewise.
17223 (pow_test_downward): Likewise.
17224 (pow_test_upward): Likewise.
17225 (remainder_test): Likewise.
17226 (remainder_test_tonearest): Likewise.
17227 (remainder_test_towardzero): Likewise.
17228 (remainder_test_downward): Likewise.
17229 (remainder_test_upward): Likewise.
17230 (remquo_test): Likewise.
17231 (rint_test): Likewise.
17232 (rint_test_tonearest): Likewise.
17233 (rint_test_towardzero): Likewise.
17234 (rint_test_downward): Likewise.
17235 (rint_test_upward): Likewise.
17236 (round_test): Likewise.
17237 (scalb_test): Likewise.
17238 (scalbn_test): Likewise.
17239 (scalbln_test): Likewise.
17240 (signbit_test): Likewise.
17241 (sin_test): Likewise.
17242 (sin_test_tonearest): Likewise.
17243 (sin_test_towardzero): Likewise.
17244 (sin_test_downward): Likewise.
17245 (sin_test_upward): Likewise.
17246 (sincos_test): Likewise.
17247 (sinh_test): Likewise.
17248 (sinh_test_tonearest): Likewise.
17249 (sinh_test_towardzero): Likewise.
17250 (sinh_test_downward): Likewise.
17251 (sinh_test_upward): Likewise.
17252 (sqrt_test): Likewise.
17253 (tan_test): Likewise.
17254 (tan_test_tonearest): Likewise.
17255 (tan_test_towardzero): Likewise.
17256 (tan_test_downward): Likewise.
17257 (tan_test_upward): Likewise.
17258 (tanh_test): Likewise.
17259 (tgamma_test): Likewise.
17260 (trunc_test): Likewise.
17261 (y0_test): Likewise.
17262 (y1_test): Likewise.
17263 (yn_test): Likewise.
17264 (significand_test): Likewise.
17266 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17269 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17271 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17274 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17275 __ppc_mdoio and __ppc_mdoom.
17276 * manual/platform.texi: Document new functions __ppc_yield,
17277 __ppc_mdoio and __ppc_mdoom.
17279 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17281 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17282 (main): Mention "tls" pseudo-hwcap is legacy.
17283 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17285 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17287 * math/gen-libm-test.pl (parse_args): Output only string of
17288 arguments as text for test name, not full call or descriptions of
17289 tests for extra outputs.
17290 (generate_testfile): Do not pass function name to parse_args.
17291 Generate this_func variable from START.
17292 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17294 (struct test_ff_f_data): Likewise.
17295 (test_ff_f_data_nexttoward): Likewise.
17296 (struct test_fi_f_data): Likewise.
17297 (struct test_fl_f_data): Likewise.
17298 (struct test_if_f_data): Likewise.
17299 (struct test_fff_f_data): Likewise.
17300 (struct test_c_f_data): Likewise.
17301 (struct test_f_f1_data): Likewise. Remove field extra_name.
17302 (struct test_fF_f1_data): Likewise.
17303 (struct test_ffI_f1_data): Likewise.
17304 (struct test_c_c_data): Rename test_name field to arg_str.
17305 (struct test_cc_c_data): Likewise.
17306 (struct test_f_i_data): Likewise.
17307 (struct test_ff_i_data): Likewise.
17308 (struct test_f_l_data): Likewise.
17309 (struct test_f_L_data): Likewise.
17310 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17312 (COMMON_TEST_SETUP): New macro.
17313 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17314 (COMMON_TEST_CLEANUP): Likewise.
17315 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17316 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17318 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17319 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17321 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17322 (RUN_TEST_fff_f): Take argument string. Call new setup and
17324 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17325 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17327 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17328 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17330 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17331 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17333 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17334 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17336 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17337 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17339 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17340 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17342 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17343 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17345 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17346 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17348 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17349 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17351 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17352 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17354 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17355 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17357 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17358 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17360 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17361 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17363 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17364 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17366 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17367 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17369 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17371 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17373 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17374 to _sifields.sigfault.
17375 (si_addr_lsb): Define new macro.
17376 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17377 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17378 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17380 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17383 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17385 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17387 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17388 loading the domain.
17390 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17392 * math/gen-libm-test.pl (parse_args): Do not include expected
17393 result in test name.
17394 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17395 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17396 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17397 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17398 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17401 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17403 * benchtests/Makefile: Sort function entries.
17405 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17406 tanh, asinh, acosh, atanh.
17407 * benchtests/acos-inputs: New file.
17408 * benchtests/acosh-inputs: New file.
17409 * benchtests/asin-inputs: New file.
17410 * benchtests/asinh-inputs: New file.
17411 * benchtests/atanh-inputs: New file.
17412 * benchtests/cosh-inputs: New file.
17413 * benchtests/log-inputs: New file.
17414 * benchtests/sinh-inputs: New file.
17415 * benchtests/tanh-inputs: New file.
17417 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17420 * posix/tst-getaddrinfo4.c: New test.
17421 * posix/Makefile (tests): Add it.
17423 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17426 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17427 when no services were used.
17428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17429 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17431 2013-05-21 Andreas Schwab <schwab@suse.de>
17434 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17435 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17437 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17438 redundant variable declarations and reallocation of buffer when
17439 parsing as IPv6 address. Always set NSS status when called from
17440 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17441 buffer too small. Correct computation of needed size.
17442 * nss/Makefile (tests): Add test-digits-dots.
17443 * nss/test-digits-dots.c: New test.
17445 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17447 * benchtests/Makefile: Remove instructions for adding
17449 * benchtests/README: New file to explain how to execute and
17450 enhance the benchmark tests.
17452 2013-05-21 Andreas Schwab <schwab@suse.de>
17455 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17456 * setjmp/tst-sigsetjmp.c: New test.
17458 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17460 * sysdeps/x86_64/memset.S (memset): New implementation.
17461 (__bzero): Likewise.
17462 (__memset_tail): New function.
17464 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17466 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17467 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17468 __memcpy_sse2_unaligned ifunc selection.
17469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17470 Add memcpy-sse2-unaligned.S.
17471 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17472 Add: __memcpy_sse2_unaligned.
17474 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17477 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17478 math_force_eval before restoring floating-point envrionment.
17479 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17480 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17482 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17484 (__nearbyintl): Use math_force_eval before restoring
17485 floating-point environment.
17486 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17488 * math/gen-libm-test.pl (special_functions): Remove.
17489 (parse_args): Don't handle TEST_extra. Handle functions with no
17491 * math/libm-test.inc (struct test_sincos_data): Replace with
17492 struct test_fFF_11_data.
17493 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17494 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17495 (sincos_test_data): Change element type to struct
17496 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17497 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17498 RUN_TEST_LOOP_sincos.
17499 * math/README.libm-test: Don't mention special handling of
17500 individual functions.
17501 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17502 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17503 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17504 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17505 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17508 * math/gen-libm-test.pl (get_variable): Remove function.
17509 (parse_args): Don't show pointer parameters to call in test
17510 names. Use "extra output N" in test names for extra outputs
17511 rather than naming variables.
17513 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17516 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17517 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17518 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17520 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17522 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17525 * math/gen-libm-test.pl (@tests): Remove variable.
17526 ($count): Likewise.
17527 (new_test): Remove function.
17528 (show_exceptions): New function.
17529 (special_functions): Use show_exceptions instead of new_test.
17530 (parse_args): Likewise.
17531 (generate_testfile): Pass only function name in generated call to
17532 print_max_error or print_complex_max_error.
17533 (get_ulps): Do not handle complex tests specially.
17534 (output_test): Rename to ...
17535 (get_all_ulps_for_test): ... this. Return a string rather than
17536 printing to a file. Require ulps to be present.
17537 (output_ulps): Generate arrays rather than #defines.
17538 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17539 (struct ulp_data): New type.
17540 (BUILD_COMPLEX_ULP): Remove macro.
17541 (compare_ulp_data): New function.
17542 (find_ulps): Likewise.
17543 (find_test_ulps): Likewise.
17544 (find_function_ulps): Likewise.
17545 (find_complex_function_ulps): Likewise.
17546 (print_max_error): Determine allowed ulps using
17547 find_function_ulps.
17548 (print_complex_max_error): Determine allowed ulps using
17549 find_complex_function_ulps.
17550 (check_float_internal): Determine max ulps using find_test_ulps.
17551 (check_float): Do not take max_ulp parameter. Update call to
17552 check_float_internal.
17553 (check_complex): Likewise.
17554 (check_int): Do not take max_ulp parameter.
17555 (check_long): Likewise.
17556 (check_bool): Likewise.
17557 (check_longlong): Likewise.
17558 (struct test_f_f_data): Remove max_ulp field.
17559 (struct test_ff_f_data): Likewise.
17560 (struct test_ff_f_data_nexttoward): Likewise.
17561 (struct test_fi_f_data): Likewise.
17562 (struct test_fl_f_data): Likewise.
17563 (struct test_if_f_data): Likewise.
17564 (struct test_fff_f_data): Likewise.
17565 (struct test_c_f_data): Likewise.
17566 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17567 (struct test_fF_f1_data): Likewise.
17568 (struct test_ffI_f1_data): Likewise.
17569 (struct test_c_c_data): Remove max_ulp field.
17570 (struct test_cc_c_data): Likewise.
17571 (struct test_f_i_data): Likewise.
17572 (struct test_ff_i_data): Likewise.
17573 (struct test_f_l_data): Likewise.
17574 (struct test_f_L_data): Likewise.
17575 (struct test_sincos_data): Likewise.
17576 (RUN_TEST_f_f): Do not handle ulps.
17577 (RUN_TEST_LOOP_f_f): Likewise.
17578 (RUN_TEST_2_f): Likewise.
17579 (RUN_TEST_LOOP_2_f): Likewise.
17580 (RUN_TEST_fff_f): Likewise.
17581 (RUN_TEST_LOOP_fff_f): Likewise.
17582 (RUN_TEST_c_f): Likewise.
17583 (RUN_TEST_LOOP_c_f): Likewise.
17584 (RUN_TEST_f_f1): Likewise.
17585 (RUN_TEST_LOOP_f_f1): Likewise.
17586 (RUN_TEST_fF_f1): Likewise.
17587 (RUN_TEST_LOOP_fF_f1): Likewise.
17588 (RUN_TEST_fI_f1): Likewise.
17589 (RUN_TEST_LOOP_fI_f1): Likewise.
17590 (RUN_TEST_ffI_f1): Likewise.
17591 (RUN_TEST_LOOP_ffI_f1): Likewise.
17592 (RUN_TEST_c_c): Likewise.
17593 (RUN_TEST_LOOP_c_c): Likewise.
17594 (RUN_TEST_cc_c): Likewise.
17595 (RUN_TEST_LOOP_cc_c): Likewise.
17596 (RUN_TEST_f_i): Likewise.
17597 (RUN_TEST_LOOP_f_i): Likewise.
17598 (RUN_TEST_f_i_tg): Likewise.
17599 (RUN_TEST_LOOP_f_i_tg): Likewise.
17600 (RUN_TEST_ff_i_tg): Likewise.
17601 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17602 (RUN_TEST_f_b): Likewise.
17603 (RUN_TEST_LOOP_f_b): Likewise.
17604 (RUN_TEST_f_b_tg): Likewise.
17605 (RUN_TEST_LOOP_f_b_tg): Likewise.
17606 (RUN_TEST_f_l): Likewise.
17607 (RUN_TEST_LOOP_f_l): Likewise.
17608 (RUN_TEST_f_L): Likewise.
17609 (RUN_TEST_LOOP_f_L): Likewise.
17610 (RUN_TEST_sincos): Likewise.
17611 (RUN_TEST_LOOP_sincos): Likewise.
17613 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17617 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17618 main case of finite arguments, set rounding mode to FE_TONEAREST
17619 and discard exceptions.
17620 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17622 (remainder_tonearest_test_data): New variable.
17623 (remainder_test_tonearest): New function.
17624 (remainder_towardzero_test_data): New variable.
17625 (remainder_test_towardzero): New function.
17626 (remainder_downward_test_data): New variable.
17627 (remainder_test_downward): New function.
17628 (remainder_upward_test_data): New variable.
17629 (remainder_test_upward): New function.
17630 (main): Call the new test functions.
17632 * math/libm-test.inc (struct test_f_f1_data): Remove field
17634 (struct test_fF_f1_data): Likewise.
17635 (struct test_ffI_f1_data): Likewise.
17636 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17637 based on value of EXTRA_EXPECTED.
17638 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17639 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17640 EXTRA_VAR based on value of EXTRA_EXPECTED.
17641 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17642 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17643 EXTRA_VAR based on value of EXTRA_EXPECTED.
17644 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17645 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17646 EXTRA_VAR based on value of EXTRA_EXPECTED.
17647 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17648 * math/gen-libm-test.pl (parse_args): Don't output initializers
17649 for extra output values.
17651 * math/libm-test.inc (check_int): Expect result to be exactly
17652 equal to expected value and do not handle ulps.
17653 (check_long): Likewise.
17654 (check_longlong): Likewise.
17656 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17658 (cimag_test_data): Likewise.
17659 (conj_test_data): Likewise.
17660 (copysign_test_data): Likewise.
17661 (cproj_test_data): Likewise.
17662 (creal_test_data): Likewise.
17663 (fabs_test_data): Likewise.
17664 (fdim_test_data): Likewise.
17665 (finite_test_data): Likewise.
17666 (floor_test_data): Likewise.
17667 (fmax_test_data): Likewise.
17668 (fmin_test_data): Likewise.
17669 (fmod_test_data): Likewise.
17670 (fpclassify_test_data): Likewise.
17671 (frexp_test_data): Likewise.
17672 (ilogb_test_data): Likewise.
17673 (isfinite_test_data): Likewise.
17674 (isgreater_test_data): Likewise.
17675 (isgreaterequal_test_data): Likewise.
17676 (isinf_test_data): Likewise.
17677 (isless_test_data): Likewise.
17678 (islessequal_test_data): Likewise.
17679 (islessgreater_test_data): Likewise.
17680 (isnan_test_data): Likewise.
17681 (isnormal_test_data): Likewise.
17682 (issignaling_test_data): Likewise.
17683 (isunordered_test_data): Likewise.
17684 (ldexp_test_data): Likewise.
17685 (lrint_test_data): Likewise.
17686 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17687 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17688 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17689 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17690 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17691 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17693 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17694 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17695 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17696 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17698 (lrint_downward_test_data): Test for "inexact" exceptions.
17699 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17700 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17701 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17703 (lrint_upward_test_data): Test for "inexact" exceptions.
17704 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17706 (llrint_test_data): Test for "inexact" exceptions.
17707 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17708 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17709 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17710 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17711 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17712 (llrint_downward_test_data): Test for "inexact" exceptions.
17713 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17714 (llrint_upward_test_data): Test for "inexact" exceptions.
17715 (logb_test_data): Likewise.
17716 (logb_downward_test_data): Likewise.
17717 (nextafter_test_data): Likewise.
17718 (nexttoward_test_data): Likewise.
17719 (remainder_test_data): Likewise.
17720 (remquo_test_data): Likewise.
17721 (scalbn_test_data): Likewise.
17722 (scalbln_test_data): Likewise.
17723 (signbit_test_data): Likewise.
17724 (sqrt_test_data): Likewise.
17725 (significand_test_data): Likewise.
17727 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17730 * benchtests/bench-modf.c (struct args): Mark arg0 as
17732 * scripts/bench.pl: Mark members of struct args as volatile.
17734 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17737 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17738 negative infinity on POWER6 or lower.
17739 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17741 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17744 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17745 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17746 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17747 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17748 (_FP_SETQNAN): New macro.
17749 (_FP_SETQNAN_SEMIRAW): Likewise.
17750 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17751 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17752 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17753 (FP_EXTEND): Use _FP_FRAC_SNANP.
17754 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17755 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17757 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17759 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17762 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17764 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17765 with DIVIDE_BY_ZERO_EXCEPTION.
17766 (gamma_test_data): Likewise.
17767 (lgamma_test_data): Likewise.
17768 (log_test_data): Likewise.
17769 (log10_test_data): Likewise.
17770 (log2_test_data): Likewise.
17771 (tgamma_test_data): Likewise.
17773 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17774 (acos_test_tonearest): Likewise.
17775 (acos_test_towardzero): Likewise.
17776 (acos_test_downward): Likewise.
17777 (acos_test_upward): Likewise.
17778 (acosh_test): Likewise.
17779 (asin_test): Likewise.
17780 (asin_test_tonearest): Likewise.
17781 (asin_test_towardzero): Likewise.
17782 (asin_test_downward): Likewise.
17783 (asin_test_upward): Likewise.
17784 (asinh_test): Likewise.
17785 (atan_test): Likewise.
17786 (atanh_test): Likewise.
17787 (atan2_test): Likewise.
17788 (cabs_test): Likewise.
17789 (cacos_test): Likewise.
17790 (cacosh_test): Likewise.
17791 (casin_test): Likewise.
17792 (casinh_test): Likewise.
17793 (catan_test): Likewise.
17794 (catanh_test): Likewise.
17795 (cbrt_test): Likewise.
17796 (ccos_test): Likewise.
17797 (ccosh_test): Likewise.
17798 (cexp_test): Likewise.
17799 (clog_test): Likewise.
17800 (clog10_test): Likewise.
17801 (cos_test): Likewise.
17802 (cos_test_tonearest): Likewise.
17803 (cos_test_towardzero): Likewise.
17804 (cos_test_downward): Likewise.
17805 (cos_test_upward): Likewise.
17806 (cosh_test): Likewise.
17807 (cosh_test_tonearest): Likewise.
17808 (cosh_test_towardzero): Likewise.
17809 (cosh_test_downward): Likewise.
17810 (cosh_test_upward): Likewise.
17811 (cpow_test): Likewise.
17812 (csin_test): Likewise.
17813 (csinh_test): Likewise.
17814 (csqrt_test): Likewise.
17815 (ctan_test): Likewise.
17816 (ctan_test_tonearest): Likewise.
17817 (ctan_test_towardzero): Likewise.
17818 (ctan_test_downward): Likewise.
17819 (ctan_test_upward): Likewise.
17820 (ctanh_test): Likewise.
17821 (ctanh_test_tonearest): Likewise.
17822 (ctanh_test_towardzero): Likewise.
17823 (ctanh_test_downward): Likewise.
17824 (ctanh_test_upward): Likewise.
17825 (erf_test): Likewise.
17826 (erfc_test): Likewise.
17827 (exp_test): Likewise.
17828 (exp_test_tonearest): Likewise.
17829 (exp_test_towardzero): Likewise.
17830 (exp_test_downward): Likewise.
17831 (exp_test_upward): Likewise.
17832 (exp10_test): Likewise.
17833 (exp2_test): Likewise.
17834 (expm1_test): Likewise.
17835 (fmod_test): Likewise.
17836 (gamma_test): Likewise.
17837 (hypot_test): Likewise.
17838 (j0_test): Likewise.
17839 (j1_test): Likewise.
17840 (jn_test): Likewise.
17841 (lgamma_test): Likewise.
17842 (log_test): Likewise.
17843 (log10_test): Likewise.
17844 (log1p_test): Likewise.
17845 (log2_test): Likewise.
17846 (logb_test_downward): Likewise.
17847 (pow_test): Likewise.
17848 (pow_test_tonearest): Likewise.
17849 (pow_test_towardzero): Likewise.
17850 (pow_test_downward): Likewise.
17851 (pow_test_upward): Likewise.
17852 (remainder_test): Likewise.
17853 (remquo_test): Likewise.
17854 (sin_test): Likewise.
17855 (sin_test_tonearest): Likewise.
17856 (sin_test_towardzero): Likewise.
17857 (sin_test_downward): Likewise.
17858 (sin_test_upward): Likewise.
17859 (sincos_test): Likewise.
17860 (sinh_test): Likewise.
17861 (sinh_test_tonearest): Likewise.
17862 (sinh_test_towardzero): Likewise.
17863 (sinh_test_downward): Likewise.
17864 (sinh_test_upward): Likewise.
17865 (sqrt_test): Likewise.
17866 (tan_test): Likewise.
17867 (tan_test_tonearest): Likewise.
17868 (tan_test_towardzero): Likewise.
17869 (tan_test_downward): Likewise.
17870 (tan_test_upward): Likewise.
17871 (tanh_test): Likewise.
17872 (tgamma_test): Likewise.
17873 (y0_test): Likewise.
17874 (y1_test): Likewise.
17875 (yn_test): Likewise.
17877 * math/gen-libm-test.pl (adjust_arg): Remove function.
17878 (special_function): Remove argument $in_func. Only handle
17879 generating output for tables of tests, not inside functions.
17880 (parse_args): Likewise.
17881 (generate_testfile): Remove variable $in_func. Update call to
17883 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17884 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17885 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17886 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17887 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17888 (MAX_VALUE_INIT): Rename macro to max_value.
17889 (MIN_VALUE_INIT): Rename macro to min_value.
17890 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17891 (plus_zero): Remove variable.
17892 (minus_zero): Likewise.
17893 (plus_infty): Likewise.
17894 (minus_infty): Likewise.
17895 (qnan_value): Likewise.
17896 (max_value): Likewise.
17897 (min_value): Likewise.
17898 (min_subnorm_value): Likewise.
17900 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17902 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17903 uint64_t or uint32_t usage.
17904 * crypt/sha256-block.c: Likewise.
17905 * crypt/sha256-crypt.c: Likewise.
17906 * crypt/sha256.c: Likewise.
17907 * crypt/sha512-block.c: Likewise.
17908 * crypt/sha512-crypt.c: Likewise.
17909 * crypt/sha512.c: Likewise.
17910 * debug/backtrace-tst.c: Likewise.
17911 * debug/pcprofiledump.c: Likewise.
17912 * elf/cache.c: Likewise.
17913 * elf/dl-cache.c: Likewise.
17914 * elf/dl-misc.c: Likewise.
17915 * elf/dl-profile.c: Likewise.
17916 * elf/dl-support.c: Likewise.
17917 * elf/ldconfig.c: Likewise.
17918 * elf/sprof.c: Likewise.
17919 * iconv/dummy-repertoire.c: Likewise.
17920 * iconv/iconv_charmap.c: Likewise.
17921 * iconv/skeleton.c: Likewise.
17922 * iconvdata/8bit-generic.c: Likewise.
17923 * iconvdata/cp737.h: Likewise.
17924 * iconvdata/cp775.h: Likewise.
17925 * iconvdata/ibm1008.h: Likewise.
17926 * iconvdata/ibm1025.h: Likewise.
17927 * iconvdata/ibm1046.h: Likewise.
17928 * iconvdata/ibm1097.h: Likewise.
17929 * iconvdata/ibm1112.h: Likewise.
17930 * iconvdata/ibm1122.h: Likewise.
17931 * iconvdata/ibm1123.h: Likewise.
17932 * iconvdata/ibm1124.h: Likewise.
17933 * iconvdata/ibm1129.h: Likewise.
17934 * iconvdata/ibm1130.h: Likewise.
17935 * iconvdata/ibm1132.h: Likewise.
17936 * iconvdata/ibm1133.h: Likewise.
17937 * iconvdata/ibm1137.h: Likewise.
17938 * iconvdata/ibm1140.h: Likewise.
17939 * iconvdata/ibm1141.h: Likewise.
17940 * iconvdata/ibm1142.h: Likewise.
17941 * iconvdata/ibm1143.h: Likewise.
17942 * iconvdata/ibm1144.h: Likewise.
17943 * iconvdata/ibm1145.h: Likewise.
17944 * iconvdata/ibm1146.h: Likewise.
17945 * iconvdata/ibm1147.h: Likewise.
17946 * iconvdata/ibm1148.h: Likewise.
17947 * iconvdata/ibm1149.h: Likewise.
17948 * iconvdata/ibm1153.h: Likewise.
17949 * iconvdata/ibm1154.h: Likewise.
17950 * iconvdata/ibm1155.h: Likewise.
17951 * iconvdata/ibm1156.h: Likewise.
17952 * iconvdata/ibm1157.h: Likewise.
17953 * iconvdata/ibm1158.h: Likewise.
17954 * iconvdata/ibm1160.h: Likewise.
17955 * iconvdata/ibm1161.h: Likewise.
17956 * iconvdata/ibm1162.h: Likewise.
17957 * iconvdata/ibm1163.h: Likewise.
17958 * iconvdata/ibm1164.h: Likewise.
17959 * iconvdata/ibm1166.h: Likewise.
17960 * iconvdata/ibm1167.h: Likewise.
17961 * iconvdata/ibm12712.h: Likewise.
17962 * iconvdata/ibm1390.h: Likewise.
17963 * iconvdata/ibm1399.h: Likewise.
17964 * iconvdata/ibm16804.h: Likewise.
17965 * iconvdata/ibm4517.h: Likewise.
17966 * iconvdata/ibm4899.h: Likewise.
17967 * iconvdata/ibm4909.h: Likewise.
17968 * iconvdata/ibm4971.h: Likewise.
17969 * iconvdata/ibm5347.h: Likewise.
17970 * iconvdata/ibm803.h: Likewise.
17971 * iconvdata/ibm856.h: Likewise.
17972 * iconvdata/ibm901.h: Likewise.
17973 * iconvdata/ibm902.h: Likewise.
17974 * iconvdata/ibm9030.h: Likewise.
17975 * iconvdata/ibm9066.h: Likewise.
17976 * iconvdata/ibm921.h: Likewise.
17977 * iconvdata/ibm922.h: Likewise.
17978 * iconvdata/ibm9448.h: Likewise.
17979 * iconvdata/isiri-3342.h: Likewise.
17980 * iconvdata/jis0201.h: Likewise.
17981 * include/link.h: Likewise.
17982 * include/netdb.h: Likewise.
17983 * inet/check_native.c: Likewise.
17984 * inet/check_pf.c: Likewise.
17985 * inet/getipv4sourcefilter.c: Likewise.
17986 * inet/getnameinfo.c: Likewise.
17987 * inet/getsourcefilter.c: Likewise.
17988 * inet/htonl.c: Likewise.
17989 * inet/setipv4sourcefilter.c: Likewise.
17990 * inet/setsourcefilter.c: Likewise.
17991 * inet/test-inet6_opt.c: Likewise.
17992 * inet/tst-network.c: Likewise.
17993 * locale/C-collate.c: Likewise.
17994 * locale/C-ctype.c: Likewise.
17995 * locale/C-time.c: Likewise.
17996 * locale/C-translit.h: Likewise.
17997 * locale/loadarchive.c: Likewise.
17998 * locale/programs/3level.h: Likewise.
17999 * locale/programs/charmap.c: Likewise.
18000 * locale/programs/charmap.h: Likewise.
18001 * locale/programs/ld-address.c: Likewise.
18002 * locale/programs/ld-collate.c: Likewise.
18003 * locale/programs/ld-ctype.c: Likewise.
18004 * locale/programs/ld-identification.c: Likewise.
18005 * locale/programs/ld-measurement.c: Likewise.
18006 * locale/programs/ld-messages.c: Likewise.
18007 * locale/programs/ld-monetary.c: Likewise.
18008 * locale/programs/ld-name.c: Likewise.
18009 * locale/programs/ld-numeric.c: Likewise.
18010 * locale/programs/ld-paper.c: Likewise.
18011 * locale/programs/ld-telephone.c: Likewise.
18012 * locale/programs/ld-time.c: Likewise.
18013 * locale/programs/linereader.c: Likewise.
18014 * locale/programs/locale.c: Likewise.
18015 * locale/programs/locarchive.c: Likewise.
18016 * locale/programs/locfile.h: Likewise.
18017 * locale/programs/repertoire.c: Likewise.
18018 * locale/programs/simple-hash.c: Likewise.
18019 * locale/programs/simple-hash.h: Likewise.
18020 * malloc/memusage.c: Likewise.
18021 * malloc/memusagestat.c: Likewise.
18022 * nis/nis_defaults.c: Likewise.
18023 * nis/nis_hash.c: Likewise.
18024 * nis/nis_print.c: Likewise.
18025 * nis/nis_xdr.c: Likewise.
18026 * nscd/connections.c: Likewise.
18027 * nscd/hstcache.c: Likewise.
18028 * nscd/nscd_gethst_r.c: Likewise.
18029 * nscd/nscd_getserv_r.c: Likewise.
18030 * nscd/nscd_helper.c: Likewise.
18031 * nscd/servicescache.c: Likewise.
18032 * nss/makedb.c: Likewise.
18033 * nss/nss_db/db-XXX.c: Likewise.
18034 * nss/nss_db/db-initgroups.c: Likewise.
18035 * nss/nss_db/db-netgrp.c: Likewise.
18036 * nss/nss_files/files-network.c: Likewise.
18037 * nss/nss_files/files-parse.c: Likewise.
18038 * posix/bug-regex5.c: Likewise.
18039 * posix/fnmatch_loop.c: Likewise.
18040 * posix/regcomp.c: Likewise.
18041 * posix/regexec.c: Likewise.
18042 * posix/tst-rfc3484-2.c: Likewise.
18043 * posix/tst-rfc3484-3.c: Likewise.
18044 * posix/tst-rfc3484.c: Likewise.
18045 * resolv/nss_dns/dns-canon.c: Likewise.
18046 * resolv/nss_dns/dns-network.c: Likewise.
18047 * resolv/res_init.c: Likewise.
18048 * resolv/res_mkquery.c: Likewise.
18049 * resolv/tst-aton.c: Likewise.
18050 * stdlib/cxa_atexit.c: Likewise.
18051 * stdlib/cxa_finalize.c: Likewise.
18052 * stdlib/gen-fpioconst.c: Likewise.
18053 * stdlib/strtol_l.c: Likewise.
18054 * string/tst-endian.c: Likewise.
18055 * sunrpc/auth_des.c: Likewise.
18056 * sunrpc/clnt_udp.c: Likewise.
18057 * sunrpc/rtime.c: Likewise.
18058 * sunrpc/svcauth_des.c: Likewise.
18059 * sunrpc/xdr.c: Likewise.
18060 * sunrpc/xdr_intXX_t.c: Likewise.
18061 * sunrpc/xdr_rec.c: Likewise.
18062 * sysdeps/generic/ldconfig.h: Likewise.
18063 * sysdeps/generic/ldsodefs.h: Likewise.
18064 * sysdeps/generic/memusage.h: Likewise.
18065 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18068 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18074 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18075 * sysdeps/posix/getaddrinfo.c: Likewise.
18076 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18077 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18078 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18079 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18080 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18081 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18082 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18083 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18084 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18085 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18086 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18087 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18088 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18089 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18090 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18091 * sysdeps/x86_64/dl-tls.h: Likewise.
18092 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18093 * time/alt_digit.c: Likewise.
18094 * time/era.c: Likewise.
18095 * wcsmbs/tst-c16c32-1.c: Likewise.
18097 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18099 * math/libm-test.inc (struct test_sincos_data): New type.
18100 (RUN_TEST_LOOP_sincos): New macro.
18101 (sincos_test_data): New variable.
18102 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18104 2013-05-16 Richard Henderson <rth@redhat.com>
18106 * math/atest-exp2.c (LIMB64): New macro.
18107 (CONSTSZ): New macro.
18108 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18110 (print_mpn_fp): ... to function scope.
18111 (read_mpn_hex): Remove.
18112 (get_log2): Remove.
18113 (exp2_mpn): Use mp_log2.
18114 (main): Use mp_exp1.
18116 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18118 * math/libm-test.inc: Remove comment about not testing "inexact"
18120 (INEXACT_EXCEPTION): New macro.
18121 (NO_INEXACT_EXCEPTION): Likewise.
18122 (INVALID_EXCEPTION_OK): Update value.
18123 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18124 (OVERFLOW_EXCEPTION_OK): Likewise.
18125 (UNDERFLOW_EXCEPTION_OK): Likewise.
18126 (IGNORE_ZERO_INF_SIGN): Likewise.
18127 (ERRNO_UNCHANGED): Likewise.
18128 (ERRNO_EDOM): Likewise.
18129 (ERRNO_ERANGE): Likewise.
18130 (test_exceptions): Handle testing "inexact" exceptions.
18131 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18132 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18133 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18134 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18136 (rint_towardzero_test_data): Likewise.
18137 (rint_downward_test_data): Likewise.
18138 (rint_upward_test_data): Likewise.
18140 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18141 with OVERFLOW_EXCEPTION.
18142 (exp10_test_data): Likewise.
18143 (exp2_test_data): Likewise.
18144 (expm1_test_data): Likewise.
18145 (lgamma_test_data): Likewise.
18146 (pow_test_data): Likewise.
18147 (tgamma_test_data): Likewise.
18148 (yn_test_data): Remove duplicate test of overflow.
18150 * math/libm-test.inc (struct test_cc_c_data): New type.
18151 (RUN_TEST_LOOP_cc_c): New macro.
18152 (cpow_test_data): New variable.
18153 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18155 * math/libm-test.inc (struct test_f_L_data): New type.
18156 (RUN_TEST_LOOP_f_L): New macro.
18157 (llrint_test_data): New variable.
18158 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18159 (llrint_tonearest_test_data): New variable.
18160 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18161 (llrint_towardzero_test_data): New variable.
18162 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18163 (llrint_downward_test_data): New variable.
18164 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18165 (llrint_upward_test_data): New variable.
18166 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18167 (llround_test_data): New variable.
18168 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18170 2013-05-13 Peter Collingbourne <pcc@google.com>
18172 * math/atest-exp2.c (get_log2): Remove const attribute.
18174 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18176 * math/libm-test.inc (struct test_f_l_data): New type.
18177 (RUN_TEST_LOOP_f_l): New macro.
18178 (lrint_test_data): New variable.
18179 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18180 (lrint_tonearest_test_data): New variable.
18181 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18182 (lrint_towardzero_test_data): New variable.
18183 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18184 (lrint_downward_test_data): New variable.
18185 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18186 (lrint_upward_test_data): New variable.
18187 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18188 (lround_test_data): New variable.
18189 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18191 2013-05-15 Peter Collingbourne <pcc@google.com>
18193 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18194 (EXTRACT_WORDS64) Use where appropriate.
18195 (INSERT_WORDS64) Likewise.
18197 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18198 constraints with x constraints.
18199 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18201 * malloc/obstack.c (_obstack_compat): Add initializer.
18203 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18205 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18206 si_trapno and add si_addr_lsb to _sifields.sigfault.
18207 (si_trapno): Remove macro.
18208 (si_addr_lsb): Define new macro.
18209 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18211 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18213 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18214 instead of TEST_f_l.
18215 (llrint_test_tonearest): Likewise.
18216 (llrint_test_towardzero): Likewise.
18217 (llrint_test_downward): Likewise.
18218 (llrint_test_upward): Likewise.
18219 (llround_test): Likewise.
18221 * math/libm-test.inc (struct test_f_i_data): Add comment.
18222 (RUN_TEST_LOOP_f_b): New macro.
18223 (RUN_TEST_LOOP_f_b_tg): Likewise.
18224 (finite_test_data): New variable.
18225 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18226 (isfinite_test_data): New variable.
18227 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18228 (isinf_test_data): New variable.
18229 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18230 (isnan_test_data): New variable.
18231 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18232 (isnormal_test_data): New variable.
18233 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18234 (issignaling_test_data): New variable.
18235 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18236 (signbit_test_data): New variable.
18237 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18239 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18240 with INVALID_EXCEPTION.
18241 (acosh_test_data): Likewise.
18242 (asin_test_data): Likewise.
18243 (atanh_test_data): Likewise.
18244 (fmod_test_data): Likewise.
18245 (log_test_data): Likewise.
18246 (log10_test_data): Likewise.
18247 (log2_test_data): Likewise.
18248 (pow_test_data): Likewise.
18249 (sqrt_test_data): Likewise.
18250 (y0_test_data): Likewise.
18251 (y1_test_data): Likewise.
18252 (yn_test_data): Likewise.
18254 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18257 * math/libm-test.inc (struct test_ff_i_data): New type.
18258 (RUN_TEST_LOOP_ff_i_tg): New macro.
18259 (isgreater_test_data): New variable.
18260 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18261 (isgreaterequal_test_data): New variable.
18262 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18263 (isless_test_data): New variable.
18264 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18265 (islessequal_test_data): New variable.
18266 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18267 (islessgreater_test_data): New variable.
18268 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18269 (isunordered_test_data): New variable.
18270 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18272 2013-05-14 David S. Miller <davem@davemloft.net>
18274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18276 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18278 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18280 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18282 (struct test_f_i_data): Change type of max_ulp to int.
18284 * math/libm-test.inc (test_ffI_f1_data): New type.
18285 (RUN_TEST_LOOP_ffI_f1): New macro.
18286 (remquo_test_data): New variable.
18287 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18289 * setjmp/tst-setjmp-fp.c: New file.
18290 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18291 (link-libm): New variable.
18292 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18294 * math/libm-test.inc (struct test_f_i_data): New type.
18295 (RUN_TEST_LOOP_f_i): New macro.
18296 (RUN_TEST_LOOP_f_i_tg): Likewise.
18297 (fpclassify_test_data): New variable.
18298 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18299 (ilogb_test_data): New variable.
18300 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18302 * math/libm-test.inc (scalbln_test): Correct function name in END
18305 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18306 (RUN_TEST_LOOP_fI_f1): New macro.
18307 (frexp_test_data): New variable.
18308 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18310 * math/libm-test.inc (struct test_fF_f1_data): New type.
18311 (RUN_TEST_LOOP_fF_f1): New macro.
18312 (modf_test_data): New variable.
18313 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18315 * math/libm-test.inc (struct test_f_f1_data): New type.
18316 (RUN_TEST_LOOP_f_f1): New macro.
18317 (gamma_test_data): New variable.
18318 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18319 (lgamma_test_data): New variable.
18320 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18322 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18324 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18325 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18326 (main): Comment "tls" pseudo-hwcap.
18328 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18330 * math/libm-test.inc (struct test_fl_f_data): New type.
18331 (RUN_TEST_LOOP_fl_f): New variable.
18332 (scalbln_test_data): New variable.
18333 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18335 * math/libm-test.inc (struct test_fi_f_data): New type.
18336 (RUN_TEST_LOOP_fi_f): New macro.
18337 (ldexp_test_data): New variable.
18338 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18339 (scalbn_test_data): New variable.
18340 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18342 * math/libm-test.inc (struct test_c_f_data): New type.
18343 (RUN_TEST_LOOP_c_f): New macro.
18344 (cabs_test_data): New variable.
18345 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18346 (carg_test_data): New variable.
18347 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18348 (cimag_test_data): New variable.
18349 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18350 (creal_test_data): New variable.
18351 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18353 * math/libm-test.inc (struct test_if_f_data): New type.
18354 (RUN_TEST_LOOP_if_f): New macro.
18355 (jn_test_data): New variable.
18356 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18357 (yn_test_data): New variable.
18358 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18360 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18362 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18364 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18365 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18367 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18369 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18370 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18371 (bench-deps): Add bench-timing.h.
18372 * benchtests-bench-skeleton.c: Include bench-timing.h.
18373 (main): Use TIMING_* macros instead of clock_gettime.
18374 * benchtests/bench-timing.h: New file.
18377 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18378 Renamed from _LIB_VERSION.
18379 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18381 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18383 * math/libm-test.inc (struct test_fff_f_data): New type.
18384 (RUN_TEST_LOOP_fff_f): New macro.
18385 (fma_test_data): New variable.
18386 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18387 (fma_towardzero_test_data): New variable.
18388 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18389 (fma_downward_test_data): New variable.
18390 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18391 (fma_upward_test_data): New variable.
18392 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18394 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18395 (struct test_c_c_data): New type.
18396 (RUN_TEST_LOOP_c_c): New macro.
18397 (cacos_test_data): New variable.
18398 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18399 (cacosh_test_data): New variable.
18400 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18401 (casin_test_data): New variable.
18402 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18403 (casinh_test_data): New variable.
18404 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18405 (catan_test_data): New variable.
18406 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18407 (catanh_test_data): New variable.
18408 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18409 (ccos_test_data): New variable.
18410 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18411 (ccosh_test_data): New variable.
18412 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18413 (cexp_test_data): New variable.
18414 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18415 (clog_test_data): New variable.
18416 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18417 (clog10_test_data): New variable.
18418 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18419 (conj_test_data): New variable.
18420 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18421 (cproj_test_data): New variable.
18422 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18423 (csin_test_data): New variable.
18424 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18425 (csinh_test_data): New variable.
18426 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18427 (csqrt_test_data): New variable.
18428 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18429 (ctan_test_data): New variable.
18430 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18431 (ctan_tonearest_test_data): New variable.
18432 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18433 (ctan_towardzero_test_data): New variable.
18434 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18435 (ctan_downward_test_data): New variable.
18436 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18437 (ctan_upward_test_data): New variable.
18438 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18439 (ctanh_test_data): New variable.
18440 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18441 (ctanh_tonearest_test_data): New variable.
18442 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18443 (ctanh_towardzero_test_data): New variable.
18444 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18445 (ctanh_downward_test_data): New variable.
18446 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18447 (ctanh_upward_test_data): New variable.
18448 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18449 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18452 * math/libm-test.inc (struct test_ff_f_data): New type.
18453 (struct test_ff_f_data_nexttoward): Likewise.
18454 (RUN_TEST_LOOP_2_f): New macro.
18455 (RUN_TEST_LOOP_ff_f): Likewise.
18456 (atan2_test_data): New variable.
18457 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18458 (copysign_test_data): New variable.
18459 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18460 (fdim_test_data): New variable.
18461 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18462 (fmax_test_data): New variable.
18463 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18464 (fmin_test_data): New variable.
18465 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18466 (fmod_test_data): New variable.
18467 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18468 (hypot_test_data): New variable.
18469 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18470 (nextafter_test_data): New variable.
18471 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18472 (nexttoward_test_data): New variable.
18473 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18474 (pow_test_data): New variable.
18475 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18476 (pow_tonearest_test_data): New variable.
18477 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18478 (pow_towardzero_test_data): New variable.
18479 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18480 (pow_downward_test_data): New variable.
18481 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18482 (pow_upward_test_data): New variable.
18483 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18484 (remainder_test_data): New variable.
18485 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18486 (scalb_test_data): New variable.
18487 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18488 * sysdeps/i386/fpu/libm-test-ulps: Update.
18490 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18492 * math/libm-test.inc (fma_test): Use max_value instead of local
18494 (nextafter_test): Likewise.
18496 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18497 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18498 (acos_downward_test_data): New variable.
18499 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18500 (acos_upward_test_data): New variable.
18501 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18502 (acosh_test_data): New variable.
18503 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18504 (asin_test_data): New variable.
18505 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18506 (asin_tonearest_test_data): New variable.
18507 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18508 (asin_towardzero_test_data): New variable.
18509 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18510 (asin_downward_test_data): New variable.
18511 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18512 (asin_upward_test_data): New variable.
18513 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18514 (asinh_test_data): New variable.
18515 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18516 (atan_test_data): New variable.
18517 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18518 (atanh_test_data): New variable.
18519 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18520 (cbrt_test_data): New variable.
18521 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18522 (ceil_test_data): New variable.
18523 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18524 (cos_test_data): New variable.
18525 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18526 (cos_tonearest_test_data): New variable.
18527 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18528 (cos_towardzero_test_data): New variable.
18529 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18530 (cos_downward_test_data): New variable.
18531 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18532 (cos_upward_test_data): New variable.
18533 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18534 (cosh_test_data): New variable.
18535 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18536 (cosh_tonearest_test_data): New variable.
18537 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18538 (cosh_towardzero_test_data): New variable.
18539 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18540 (cosh_downward_test_data): New variable.
18541 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18542 (cosh_upward_test_data): New variable.
18543 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18544 (erf_test_data): New variable.
18545 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18546 (erfc_test_data): New variable.
18547 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18548 (exp_test_data): New variable.
18549 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18550 (exp_tonearest_test_data): New variable.
18551 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18552 (exp_towardzero_test_data): New variable.
18553 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18554 (exp_downward_test_data): New variable.
18555 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18556 (exp_upward_test_data): New variable.
18557 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18558 (exp10_test_data): New variable.
18559 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18560 (exp2_test_data): New variable.
18561 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18562 (expm1_test_data): New variable.
18563 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18564 (fabs_test_data): New variable.
18565 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18566 (floor_test_data): New variable.
18567 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18568 (j0_test_data): New variable.
18569 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18570 (j1_test_data): New variable.
18571 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18572 (log_test_data): New variable.
18573 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18574 (log10_test_data): New variable.
18575 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18576 (log1p_test_data): New variable.
18577 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18578 (log2_test_data): New variable.
18579 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18580 (logb_test_data): New variable.
18581 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18582 (logb_downward_test_data): New variable.
18583 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18584 (nearbyint_test_data): New variable.
18585 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18586 (rint_test_data): New variable.
18587 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18588 (rint_tonearest_test_data): New variable.
18589 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18590 (rint_towardzero_test_data): New variable.
18591 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18592 (rint_downward_test_data): New variable.
18593 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18594 (rint_upward_test_data): New variable.
18595 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18596 (round_test_data): New variable.
18597 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18598 (sin_test_data): New variable.
18599 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18600 (sin_tonearest_test_data): New variable.
18601 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18602 (sin_towardzero_test_data): New variable.
18603 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18604 (sin_downward_test_data): New variable.
18605 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18606 (sin_upward_test_data): New variable.
18607 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18608 (sinh_test_data): New variable.
18609 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18610 (sinh_tonearest_test_data): New variable.
18611 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18612 (sinh_towardzero_test_data): New variable.
18613 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18614 (sinh_downward_test_data): New variable.
18615 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18616 (sinh_upward_test_data): New variable.
18617 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18618 (sqrt_test_data): New variable.
18619 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18620 (tan_test_data): New variable.
18621 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18622 (tan_tonearest_test_data): New variable.
18623 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18624 (tan_towardzero_test_data): New variable.
18625 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18626 (tan_downward_test_data): New variable.
18627 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18628 (tan_upward_test_data): New variable.
18629 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18630 (tanh_test_data): New variable.
18631 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18632 (tgamma_test_data): New variable.
18633 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18634 (trunc_test_data): New variable.
18635 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18636 (y0_test_data): New variable.
18637 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18638 (y1_test_data): New variable.
18639 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18640 (significand_test_data): New variable.
18641 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18643 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18646 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18648 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18650 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18652 2013-05-10 Andreas Jaeger <aj@suse.de>
18655 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18656 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18658 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18660 * math/gen-libm-test.pl (adjust_arg): New function.
18661 (special_functions): Handle generating output in both functions
18663 (parse_args): Likewise.
18664 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18665 $in_func argument to parse_args.
18666 * math/libm-test.inc (struct test_f_f_data): New type.
18667 (IF_ROUND_INIT_): New macro.
18668 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18669 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18670 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18671 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18672 (ROUND_RESTORE_): Likewise.
18673 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18674 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18675 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18676 (ROUND_RESTORE_FE_UPWARD): Likewise.
18677 (RUN_TEST_LOOP_f_f): New macro.
18678 (acos_test_data): New variable.
18679 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18680 (acos_tonearest_test_data): New variable.
18681 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18683 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18685 * benchtests/bench-skeleton.c (startup): Fix coding style.
18687 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18690 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18691 negative infinity argument.
18692 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18693 negative infinity argument.
18694 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18695 negative infinity argument.
18696 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18699 2013-05-10 Florian Weimer <fweimer@redhat.com>
18701 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18702 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18703 * iconv/iconv_prog.c (main): Likewise.
18704 * locale/programs/charmap-dir.c (charmap_readdir)
18705 (fopen_uncompressed): Likewise.
18706 * locale/programs/locfile.c (siblings_uncached)
18707 (write_locale_data): Use lstat64 instead of lstat.
18708 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18711 2013-05-10 Andreas Jaeger <aj@suse.de>
18714 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18716 Include <locale.h>.
18718 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18720 * elf/dl-close.c (_dl_close_worker): Add comments.
18722 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18725 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18727 (__ieee754_rem_pio2l): Update comments.
18730 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18732 (__ieee754_rem_pio2l): Update comments.
18734 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18735 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18737 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18740 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18741 (M_PI_34_LOG10El): Likewise.
18742 (M_PI2_LOG10El): Likewise.
18743 (M_PI4_LOG10El): Likewise.
18744 (M_PI_LOG10El): Likewise.
18746 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18750 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18752 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18753 (MINUS_ZERO_INIT): Likewise.
18754 (PLUS_INFTY_INIT): Likewise.
18755 (MINUS_INFTY_INIT): Likewise.
18756 (QNAN_VALUE_INIT): Likewise.
18757 (MAX_VALUE_INIT): Likewise.
18758 (MIN_VALUE_INIT): Likewise.
18759 (MIN_SUBNORM_VALUE_INIT): Likewise.
18760 (plus_zero): Initialize with PLUS_ZERO_INIT.
18761 (minus_zero): Initialize with MINUS_ZERO_INIT.
18762 (plus_infty): Initialize with PLUS_INFTY_INIT.
18763 (minus_infty): Initialize with MINUS_INFTY_INIT.
18764 (qnan_value): Initialize with QNAN_VALUE_INIT.
18765 (max_value): Initialize with MAX_VALUE_INIT.
18766 (min_value): Initialize with MIN_VALUE_INIT.
18767 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18769 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18770 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18771 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18772 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18774 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18775 (RUN_TEST_2_f): Likewise.
18776 (RUN_TEST_ff_f): Likewise.
18777 (RUN_TEST_fi_f): Likewise.
18778 (RUN_TEST_fl_f): Likewise.
18779 (RUN_TEST_fff_f): Likewise.
18780 (RUN_TEST_c_f): Likewise.
18781 (RUN_TEST_f_f1): Likewise.
18782 (RUN_TEST_fF_f1): Likewise.
18783 (RUN_TEST_fI_f1): Likewise.
18784 (RUN_TEST_ffI_f1): Likewise.
18785 (RUN_TEST_c_c): Likewise.
18786 (RUN_TEST_cc_c): Likewise.
18787 (RUN_TEST_f_i): Likewise.
18788 (RUN_TEST_f_i_tg): Likewise.
18789 (RUN_TEST_ff_i_tg): Likewise.
18790 (RUN_TEST_f_b): Likewise.
18791 (RUN_TEST_f_b_tg): Likewise.
18792 (RUN_TEST_f_l): Likewise.
18793 (RUN_TEST_f_L): Likewise.
18794 (RUN_TEST_sincos): Likewise.
18795 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18796 whether to show exceptions. Do not include ");\n" in return
18798 (special_functions): Output call to RUN_TEST_sincos instead of
18799 check_float calls. Update calls to new_test.
18800 (parse_args): Output call to single RUN_TEST_* macro instead of
18801 check_* calls and other assignments. Update calls to new_test.
18807 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18808 input to result for tgamma overflow.
18809 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18810 (gamma_coeff): New variable.
18811 (NCOEFF): New macro.
18812 (gamma_positive): New function.
18813 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18814 underflow here. Use gamma_positive instead of exp (lgamma) for
18816 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18817 (gamma_coeff): New variable.
18818 (NCOEFF): New macro.
18819 (gammaf_positive): New function.
18820 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18821 underflow here. Use gamma_positive instead of exp (lgamma) for
18823 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18824 (gamma_coeff): New variable.
18825 (NCOEFF): New macro.
18826 (gammal_positive): New function.
18827 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18828 underflow here. Use gamma_positive instead of exp (lgamma) for
18830 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18831 (gamma_coeff): New variable.
18832 (NCOEFF): New macro.
18833 (gammal_positive): New function.
18834 (__ieee754_gammal_r): Handle positive infinity, overflow and
18835 underflow here. Handle NaN the same as positive infinity. Remove
18836 check x < 0xffffffff for negative integers. Use gamma_positive
18837 instead of exp (lgamma) for other arguments.
18838 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18839 (gamma_coeff): New variable.
18840 (NCOEFF): New macro.
18841 (gammal_positive): New function.
18842 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18843 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18844 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18847 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18848 * sysdeps/generic/math_private.h (__gamma_productf): New
18850 (__gamma_product): Likewise.
18851 (__gamma_productl): Likewise.
18852 * math/Makefile (libm-calls): Add gamma_product.
18853 * math/libm-test.inc (tgamma_test): Add more tests.
18854 * sysdeps/i386/fpu/libm-test-ulps: Update.
18855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18857 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18859 * benchtests/bench-skeleton.c (main): Preheat CPU.
18861 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18863 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18865 2013-05-07 Roland McGrath <roland@hack.frob.com>
18867 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18868 and _dl_skip_args_internal.
18870 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18872 * manual/message.texi (Message Translation): Talk about users.
18873 Message to key mapping impacts design.
18875 2013-05-06 Roland McGrath <roland@hack.frob.com>
18877 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18879 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18881 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18882 * sysdeps/wordsize-64/glob64.c: ... here.
18884 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18885 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18888 * debug/getlogin_r_chk.c: Moved to ...
18889 * login/getlogin_r_chk.c: ... here.
18890 * debug/Makefile (routines): Move getlogin_r_chk to ...
18891 * login/Makefile (routines): ... here.
18892 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18893 * login/Versions (libc: GLIBC_2.4): ... here.
18895 * io/poll.c (__poll): Renamed from poll.
18896 Add libc_hidden_def.
18897 (poll): Define as weak alias.
18899 * debug/ptsname_r_chk.c: Moved to ...
18900 * login/ptsname_r_chk.c: ... here.
18901 * debug/Makefile (routines): Move ptsname_r_chk to ...
18902 * login/Makefile (routines): ... here.
18903 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18904 * login/Versions (libc: GLIBC_2.4): ... here.
18906 * posix/getlogin.c: Moved to ...
18907 * login/getlogin.c: ... here.
18908 * posix/getlogin_r.c: Moved to ...
18909 * login/getlogin_r.c: ... here.
18910 * posix/getlogin_r.c: Moved to ...
18911 * login/getlogin_r.c: ... here.
18912 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18913 * login/Makefile (routines): ... here.
18914 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18915 * login/Versions (libc: GLIBC_2.0): ... here.
18917 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18918 (setrlimit): Define as weak alias.
18920 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18921 Call __ names for open, ftruncate, and close.
18922 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18923 (truncate): Define as weak alias.
18925 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18927 * math/gen-libm-test.pl (parse_args): Initialize x before each
18928 test of frexp, modf and remquo.
18930 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18931 test signgam value.
18933 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18937 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18939 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18941 2013-05-06 Roland McGrath <roland@hack.frob.com>
18943 * elf/dl-writev.h: New file.
18944 * elf/dl-misc.c: Include it.
18945 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18946 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18948 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18950 * math/libm-test.inc (noXFails): Remove variable.
18951 (noXPasses): Likewise.
18952 (BUILD_COMPLEX_INT): Remove macro.
18953 (print_screen): Remove xfail argument.
18954 (print_screen_max_error): Likewise.
18955 (update_stats): Likewise.
18956 (print_max_error): Likewise. Update calls to other affected
18958 (print_complex_max_error): Likewise.
18959 (test_single_exception): Update calls to print_screen.
18960 (test_single_errno): Likewise.
18961 (check_float_internal): Remove xfail argument. Update calls to
18962 other affected functions.
18963 (check_float): Likewise.
18964 (check_complex): Likewise.
18965 (check_int): Likewise.
18966 (check_long): Likewise.
18967 (check_bool): Likewise.
18968 (check_longlong): Likewise.
18969 (main): Don't print noXFails and noXPasses.
18970 * math/gen-libm-test.pl (top level): Don't mention expected
18971 failure handling in comment.
18972 (new_test): Don't handle expected failures.
18973 (parse_args): Don't mention expected failure handling in comment.
18974 (generate_testfile): Don't handle expected failures.
18975 (parse_ulps): Likewise.
18976 (print_ulps_file): Likewise.
18977 (get_failure): Remove function.
18978 (output_test): Don't handle expected failures.
18979 * make/README.libm-test: Don't mention expected failure handling.
18981 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18982 (minus_zero): Likewise.
18983 (plus_infty): Likewise.
18984 (minus_infty): Likewise.
18985 (qnan_value): Likewise.
18986 (max_value): Likewise.
18987 (min_value): Likewise.
18988 (min_subnorm_value): Likewise.
18989 (initialize): Do not initialize those variables dynamically.
18991 2013-05-03 Roland McGrath <roland@hack.frob.com>
18993 * io/open.c (__open_2): Moved to ...
18994 * io/open_2.c: ... this new file.
18995 * io/open64.c (__open64_2): Moved to ...
18996 * io/open64_2.c: ... this new file.
18997 * io/openat.c (__openat_2): Moved to ...
18998 * io/openat_2.c: ... this new file.
18999 * io/openat64.c (__openat64_2): Moved to ...
19000 * io/openat64_2.c: ... this new file.
19001 * io/Makefile (routines): Add them.
19002 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19003 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19004 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19005 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19006 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19007 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19008 (__openat64): Add hidden_ver.
19009 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19010 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19012 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19013 Separately conditionalize setting of GLRO(dl_sysinfo) so
19014 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19015 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19017 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19019 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19020 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19022 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19023 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19024 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19025 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19026 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19028 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19030 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19031 test signgam value.
19033 * math/libm-test.inc (hypot_test): Do not use
19034 IGNORE_ZERO_INF_SIGN.
19036 2013-05-03 Andreas Jaeger <aj@suse.de>
19038 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19040 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19041 (PF_MAX): Adjust for VSOCK change.
19043 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19047 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19050 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19051 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19052 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19054 2013-05-02 David S. Miller <davem@davemloft.net>
19056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19058 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19060 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19062 2013-05-01 Roland McGrath <roland@hack.frob.com>
19064 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19066 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19069 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19070 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19071 Use __attribute__ ((__gnu_inline__)).
19072 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19073 Don't use __attribute__ ((__gnu_inline__)).
19075 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19078 * math/s_catan.c (__catan): Handle small real or imaginary part of
19079 input specially to avoid spurious underflow.
19080 * math/s_catanf.c (__catanf): Likewise.
19081 * math/s_catanh.c (__catanh): Likewise.
19082 * math/s_catanhf.c (__catanhf): Likewise.
19083 * math/s_catanhl.c (__catanhl): Likewise.
19084 * math/s_catanl.c (__catanl): Likewise.
19085 * math/libm-test.inc (catan_test): Add more tests.
19086 (catanh_test): Likewise.
19087 * sysdeps/i386/fpu/libm-test-ulps: Update.
19088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19090 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19094 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19097 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19098 accurately for denominator in atan2.
19099 * math/s_catanf.c (__catanf): Likewise.
19100 * math/s_catanh.c (__catanh): Likewise.
19101 * math/s_catanhf.c (__catanhf): Likewise.
19102 * math/s_catanhl.c (__catanhl): Likewise.
19103 * math/s_catanl.c (__catanl): Likewise.
19104 * math/libm-test.inc (catan_test): Add more tests.
19105 (catanh_test): Likewise.
19106 * sysdeps/i386/fpu/libm-test-ulps: Update.
19107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19109 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19111 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19113 * benchtests/Makefile (bench): Remove slow benchmarks.
19114 * benchtests/atan-inputs: Add slow benchmark inputs.
19115 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19116 (BENCH_FUNC): Accept variant offset.
19118 * benchtests/bench-skeleton.c (main): Run benchmark for each
19120 * benchtests/cos-inputs: Add slow benchmark inputs.
19121 * benchtests/exp-inputs: Likewise.
19122 * benchtests/pow-inputs: Likewise.
19123 * benchtests/sin-inputs: Likewise.
19124 * benchtests/slowatan-inputs: Remove.
19125 * benchtests/slowatan.c: Remove.
19126 * benchtests/slowcos-inputs: Remove.
19127 * benchtests/slowcos.c: Remove.
19128 * benchtests/slowexp-inputs: Remove.
19129 * benchtests/slowexp.c: Remove.
19130 * benchtests/slowpow-inputs: Remove.
19131 * benchtests/slowpow.c: Remove.
19132 * benchtests/slowsin-inputs: Remove.
19133 * benchtests/slowsin.c: Remove.
19134 * benchtests/slowtan-inputs: Remove.
19135 * benchtests/slowtan.c: Remove.
19136 * benchtests/tan-inputs: Add slow benchmark inputs.
19137 * scripts/bench.pl: Parse comments and directives.
19139 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19141 ($(objpfx)bench-%.c): Remove *-ITER.
19142 * benchtests/bench-modf.c: Remove definition of ITER.
19143 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19144 (main): Loop for DURATION seconds instead of fixed number of
19146 * scripts/bench.pl: Don't expect iterations in parameters.
19148 2013-04-29 Roland McGrath <roland@hack.frob.com>
19150 * io/fchdir.c (__fchdir): Renamed from fchdir.
19151 (fchdir): Define as weak alias.
19153 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19155 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19156 (ERRNO_EDOM): Likewise.
19157 (ERRNO_ERANGE): Likewise.
19158 (noErrnoTests): New variable.
19159 (init_max_error): Set errno to 0.
19160 (test_single_errno): New function.
19161 (test_errno): Likewise.
19162 (check_float_internal): Call test_errno. Set errno to 0.
19163 (check_complex): Refer to errno tests in comment.
19164 (check_int): Call test_errno. Set errno to 0.
19165 (check_long): Likewise.
19166 (check_bool): Likewise.
19167 (check_longlong): Likewise.
19168 (cos_test): Use ERRNO_* flags for errno tests instead of
19170 (expm1_test): Likewise.
19171 (fmod_test): Likewise.
19172 (ilogb_test): Likewise.
19173 (lgamma_test): Likewise.
19174 (pow_test): Likewise.
19175 (remainder_test): Likewise.
19176 (sin_test): Likewise.
19177 (tan_test): Likewise.
19178 (yn_test): Likewise.
19179 (initialize): Set errno to 0.
19180 (main): Print number of errno tests.
19181 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19183 2013-04-29 Andreas Jaeger <aj@suse.de>
19186 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19190 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19191 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19195 * stdlib/random.c (__initstate): Return NULL if
19199 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19200 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19203 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19207 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19209 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19210 of individual tests.
19211 (casin_test): Likewise.
19212 (casinh_test): Likewise.
19214 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19217 * math/s_catan.c (__catan): Handle arguments with large real or
19218 imaginary part separately without squaring.
19219 * math/s_catanf.c (__catanf): Likewise.
19220 * math/s_catanh.c (__catanh): Likewise.
19221 * math/s_catanhf.c (__catanhf): Likewise.
19222 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19224 (__catanhl): Handle arguments with large real or imaginary part
19225 separately without squaring.
19226 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19228 (__catanl): Handle arguments with large real or imaginary part
19229 separately without squaring.
19230 * math/libm-test.inc (catan_test): Add more tests.
19231 (catanh_test): Likewise.
19232 * sysdeps/i386/fpu/libm-test-ulps: Update.
19233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19235 2013-04-27 Andreas Jaeger <aj@suse.de>
19238 * stdlib/stdlib.h: Update guards for qecvt.
19239 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19242 2013-04-27 Allan McRae <allan@archlinux.org>
19244 * sysdeps/i386/fpu/libm-test-ulps: Update.
19246 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19249 * math/s_catan.c: Include <float.h>.
19250 (__catan): Ensure underflow exception occurs for underflowed
19252 * math/s_catanf.c: Include <float.h>.
19253 (__catanf): Ensure underflow exception occurs for underflowed
19255 * math/s_catanh.c: Include <float.h>.
19256 (__catanh): Ensure underflow exception occurs for underflowed
19258 * math/s_catanhf.c: Include <float.h>.
19259 (__catanhf): Ensure underflow exception occurs for underflowed
19261 * math/s_catanhl.c: Include <float.h>.
19262 (__catanhl): Ensure underflow exception occurs for underflowed
19264 * math/s_catanl.c: Include <float.h>.
19265 (__catanl): Ensure underflow exception occurs for underflowed
19267 * math/libm-test.inc (catan_test): Add more tests.
19268 (catanh_test): Likewise.
19271 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19272 underflowed result.
19273 * math/s_ccoshf.c (__ccoshf): Likewise.
19274 * math/s_ccoshl.c (__ccoshl): Likewise.
19275 * math/s_csin.c (__csin): Likewise.
19276 * math/s_csinf.c (__csinf): Likewise.
19277 * math/s_csinh.c (__csinh): Likewise.
19278 * math/s_csinhf.c (__csinhf): Likewise.
19279 * math/s_csinhl.c (__csinhl): Likewise.
19280 * math/s_csinl.c (__csinl): Likewise.
19281 * math/libm-test.inc (ccos_test): Add more tests.
19282 (ccosh_test): Likewise.
19283 (csin_test): Likewise.
19284 (csinh_test): Likewise.
19286 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19288 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19289 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19290 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19291 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19292 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19293 powerpc/power5+/fpu folders.
19294 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19297 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19301 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19303 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19304 additions to variable.
19305 [$(config-machine) = x86_64] (modules-names): Likewise.
19306 ($(objpfx)tst-audit3): Remove dependency.
19307 ($(objpfx)tst-audit3.out): Likewise.
19308 ($(objpfx)tst-audit4): Likewise.
19309 ($(objpfx)tst-audit4.out): Likewise.
19310 ($(objpfx)tst-audit5): Likewise.
19311 ($(objpfx)tst-audit5.out): Likewise.
19312 ($(objpfx)tst-audit6): Likewise.
19313 ($(objpfx)tst-audit6.out): Likewise.
19314 ($(objpfx)tst-audit7): Likewise.
19315 ($(objpfx)tst-audit7.out): Likewise.
19316 (tst-audit3-ENV): Remove variable.
19317 (tst-audit4-ENV): Likewise.
19318 (tst-audit5-ENV): Likewise.
19319 (tst-audit6-ENV): Likewise.
19320 (tst-audit7-ENV): Likewise.
19321 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19322 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19323 addition to variable.
19324 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19325 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19326 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19327 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19328 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19329 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19330 tst-audit3, tst-audit4 and tst-audit5.
19331 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19332 tst-audit6 and tst-audit7.
19333 [$(subdir) = elf] (modules-names): Add audit modules for those
19335 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19336 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19337 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19338 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19339 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19340 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19341 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19342 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19343 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19344 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19345 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19346 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19347 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19348 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19349 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19350 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19352 [$(subdir) = elf && $(config-cflags-avx) = yes]
19353 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19354 [$(subdir) = elf && $(config-cflags-avx) = yes]
19355 (CFLAGS-tst-auditmod4a.c): Likewise.
19356 [$(subdir) = elf && $(config-cflags-avx) = yes]
19357 (CFLAGS-tst-auditmod4b.c): Likewise.
19358 [$(subdir) = elf && $(config-cflags-avx) = yes]
19359 (CFLAGS-tst-auditmod6b.c): Likewise.
19360 [$(subdir) = elf && $(config-cflags-avx) = yes]
19361 (CFLAGS-tst-auditmod6c.c): Likewise.
19362 [$(subdir) = elf && $(config-cflags-avx) = yes]
19363 (CFLAGS-tst-auditmod7b.c): Likewise.
19364 * elf/tst-audit3.c: Move to ...
19365 * sysdeps/x86_64/tst-audit3.c: ... here.
19366 * elf/tst-audit4.c: Move to ...
19367 * sysdeps/x86_64/tst-audit4.c: ... here.
19368 * elf/tst-audit5.c: Move to ...
19369 * sysdeps/x86_64/tst-audit5.c: ... here.
19370 * elf/tst-audit6.c: Move to ...
19371 * sysdeps/x86_64/tst-audit6.c: ... here.
19372 * elf/tst-audit7.c: Move to ...
19373 * sysdeps/x86_64/tst-audit7.c: ... here.
19374 * elf/tst-auditmod3a.c: Move to ...
19375 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19376 * elf/tst-auditmod3b.c: Move to ...
19377 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19378 * elf/tst-auditmod4a.c: Move to ...
19379 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19380 * elf/tst-auditmod4b.c: Move to ...
19381 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19382 * elf/tst-auditmod5a.c: Move to ...
19383 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19384 * elf/tst-auditmod5b.c: Move to ...
19385 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19386 * elf/tst-auditmod6a.c: Move to ...
19387 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19388 * elf/tst-auditmod6b.c: Move to ...
19389 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19390 * elf/tst-auditmod6c.c: Move to ...
19391 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19392 * elf/tst-auditmod7a.c: Move to ...
19393 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19394 * elf/tst-auditmod7b.c: Move to ...
19395 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19397 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19400 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19401 define unconditionally.
19402 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19403 define unconditionally.
19404 (INT8_C, INT16_C, etc.): Likewise.
19406 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19408 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19409 __ehdr_start with hidden visibility.
19411 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19413 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19415 * math/libm-test.inc (cos_test): Use accurate hex constants.
19416 (sincost_test): Likewise.
19418 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19420 * math/libm-test.inc (catan_test): Add more tests.
19421 (catanh_test): Likewise.
19423 * math/s_catanf.c (__catanf): Use suffixed floating-point
19425 * math/s_catanhf.c (__catanhf): Likewise.
19426 * math/s_catanhl.c (__catanhl): Likewise.
19427 * math/s_catanl.c (__catanl): Likewise.
19430 * math/s_catan.c (__catan): Calculate imaginary part of result
19431 with log1p not log unless computing log of number close to 0.
19432 * math/s_catanf.c (__catanf): Likewise.
19433 * math/s_catanl.c (__catanl): Likewise.
19434 * math/s_catanh.c (__catanh): Calculate real part of result with
19435 log1p not log unless computing log of number close to 0.
19436 * math/s_catanhf.c (__catanhf): Likewise.
19437 * math/s_catanhl.c (__catanhl): Likewise.
19438 * math/libm-test.inc (catan_test): Add more tests.
19439 (catanh_test): Likewise.
19440 * sysdeps/i386/fpu/libm-test-ulps: Update.
19441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19443 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19445 * benchtests/Makefile: Mention files in which fast and slow
19446 paths of math functions are implemented.
19448 2013-04-23 Roland McGrath <roland@hack.frob.com>
19450 * sysdeps/posix/timespec_get.c: New file.
19452 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19454 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19456 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19458 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19459 powerpc/power5/fpu folders.
19460 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19461 * benchtests/Makefile: Add modf testcase.
19462 * benchtests/bench-modf.c: New file: Benchmark test for mo
19464 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19467 * time/Makefile (tests): Add tst-strptime-whitespace.
19468 * time/strptime_l.c (get_number): Use ISSPACE.
19469 (__strptime_internal): Likewise.
19470 * time/tst-strptime-whitespace.c: New test case.
19472 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19474 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19476 (_nss_files_init): Set it here.
19478 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19480 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19481 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19484 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19486 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19488 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19490 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19493 2013-04-21 David S. Miller <davem@davemloft.net>
19495 * po/ru.po: Update Russion translation from translation project.
19497 2013-04-17 Adam Conrad <adconrad@0c3.net>
19499 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19502 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19504 * configure.in: Remove i386 configure warning. Remove i386 case.
19505 * configure: Regenerate.
19506 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19507 Add example to error message.
19508 * sysdeps/i386/configure: Regenerate.
19510 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19512 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19514 * benchtests/cos-inputs: New file.
19515 * benchtests/slowcos-inputs: New file.
19516 * benchtests/slowcos.c: New file.
19517 * benchtests/slowtan-inputs: New file.
19518 * benchtests/slowtan.c: New file.
19519 * benchtests/tan-inputs: New file.
19521 2013-04-16 Roland McGrath <roland@hack.frob.com>
19523 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19526 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19528 * benchtests/Makefile: Include cppflags-iterator.mk to add
19529 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19531 * Makefile.in (bench-clean): New target.
19532 * benchtests/Makefile (bench-clean): Likewise.
19534 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19536 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19538 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19540 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19542 2013-04-15 Andreas Schwab <schwab@suse.de>
19544 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19546 * nscd/pwdcache.c (cache_addpw): Likewise.
19547 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19550 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19552 * benchtests/Makefile (bench): Write all output to
19553 bench-out.tmp together.
19555 2013-04-15 Andreas Schwab <schwab@suse.de>
19557 * nscd/nscd.c (main): Don't fork again after closing files.
19559 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19561 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19563 * benchtests/Rules (bench-deps): Collect dependencies into a
19564 single variable. Add Makefile to dependencies.
19565 ($(objpfx)bench-%.c): Depend on bench-deps.
19567 2013-04-12 Roland McGrath <roland@hack.frob.com>
19568 Xavier Roche <roche+kml2@exalead.com>
19571 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19572 just that it's a file descriptor.
19573 * manual/llio.texi (Synchronizing AIO Operations): Update description
19574 for EBADF error from aio_fsync.
19576 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19578 * Rules (bench): Move target definition...
19579 * benchtests/Makefile: ... here.
19581 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19583 * math/libm-test.inc (cos_test): Fix PI/2 test.
19584 (sincos_test): Likewise.
19585 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19586 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19588 2013-04-11 Andreas Schwab <schwab@suse.de>
19591 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19592 accept exponent character only when digits were seen.
19593 * stdio-common/Makefile (tests): Add bug26.
19594 * stdio-common/bug26.c: New file.
19597 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19600 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19602 * Makeconfig (rtld-prefix): Define built linker prefix.
19603 * Rules (run-bench): Use it.
19604 * math/Makefile (run-regen-ulps): Likewise.
19606 * Rules (bench): Remove eval.
19608 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19609 Roland McGrath <roland@hack.frob.com>
19610 Ondrej Bilka <neleai@seznam.cz>
19613 * time/getdate.c: Include ctype.h and alloca.h.
19614 (__getdate_r): Trim leading and trailing spaces of input.
19615 * time/tst-getdate.c (tests): Add tests with leading and
19618 2013-04-08 Roland McGrath <roland@hack.frob.com>
19621 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19622 when computing value.
19624 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19626 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19627 Use testrun.sh to run libm tests.
19630 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19632 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19635 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19637 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19639 * Makefile.in (regen-ulps): New target.
19640 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19641 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19642 [ifneq (no,$(PERL)] (regen-ulps): New target.
19643 [ifeq (no,$(PERL)] (regen-ulps): New target.
19644 * math/libm-test.inc (ulps_file_name): Define.
19645 (output_dir): New variable.
19646 (options): Add "output-dir" option.
19647 (parse_opt): Handle 'o' case.
19648 (main): If output_dir is non-NULL use it as a prefix
19650 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19652 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19654 [BZ #10060, #10062]
19655 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19656 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19657 fail configure if __sync_val_compare_and_swap is not inlined.
19658 * sysdeps/i386/configure: Regenerate.
19659 * configure.in: Build for i686 when configured for i386.
19660 * configure: Regenerate.
19661 * README: Remove i386 reference.
19663 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19665 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19666 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19668 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19670 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19671 (lmsnanval): New variables.
19672 (F): Add conversion tests.
19673 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19674 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19676 * stdio-common/tstdiomisc.c (F): Properly collect individual
19679 [BZ #14686, #15336]
19680 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19681 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19682 Instead, use input NaN values or generate a qNaN by arithmetic
19683 operation. Also fix bugs to comply with the standard.
19684 * math/libm-test.inc (remainder_test): Add more tests.
19686 [BZ #15335, #15342]
19687 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19689 input NaN values or generate a qNaN by arithmetic operation.
19691 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19694 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19697 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19700 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19701 underflowed result.
19702 * math/s_cexpf.c (__cexpf): Likewise.
19703 * math/s_cexpl.c (__cexpl): Likewise.
19704 * math/libm-test.inc (cexp_test): Add more tests.
19706 2013-04-03 Andreas Schwab <schwab@suse.de>
19709 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19710 order arrays from heap if bigger than alloca cutoff.
19712 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19714 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19715 (SNAN_TESTS_double): Refer to GCC PR56831.
19716 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19719 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19721 * Rules (bench): Move bench.out after the run is complete.
19723 * Rules (bench): Echo currently running benchmark.
19725 * benchtests/Makefile (bench): Add atan and slowatan.
19726 * benchtests/atan-inputs: New file.
19727 * benchtests/slowatan-inputs: New file.
19728 * benchtests/slowatan.c: New file.
19730 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19731 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19735 * sysdeps/unix/sysv/linux/kernel-features.h
19736 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19737 __ASSUME_XFS_RESTRICTED_CHOWN.
19738 * sysdeps/unix/sysv/linux/pathconf.c
19739 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19740 Save and restore errno.
19742 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19745 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19746 arguments using __kernel_casinh.
19747 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19748 arguments using __kernel_casinhf.
19749 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19750 arguments using __kernel_casinhl.
19751 * math/libm-test.inc (cacosh_test): Add more tests.
19752 * sysdeps/i386/fpu/libm-test-ulps: Update.
19753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19755 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19757 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19760 * bench/Makefile (bench): Add sin and slowsin.
19761 * benchtests/sin-inputs: New file.
19762 * benchtests/slowsin-inputs: New file.
19763 * benchtests/slowsin.c: New file.
19765 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19766 (bench): Add slowexp and slowpow.
19767 (exp-ITER): Increase iterations.
19768 (pow-ITER): Likewise.
19769 * benchtests/exp-inputs: Change input.
19770 * benchtests/pow-inputs: Likewise.
19771 * benchtests/slowexp-inputs: New file.
19772 * benchtests/slowexp.c: New file.
19773 * benchtests/slowpow-inputs: New file.
19774 * benchtests/slowpow.c: New file.
19776 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19778 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19780 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19781 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19782 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19783 * benchtests/Makefile: Add rint benchtest.
19784 * benchtests/rint-inputs: Input for rint benchtest.
19786 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19788 * Versions.def (libm): Add GLIBC_2.18.
19789 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19790 hidden libm prototypes.
19791 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19792 * math/Makefile (libm-calls): Add s_issignaling.
19793 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19794 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19795 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19797 * math/math.h [__USE_GNU] (issignaling): New macro.
19798 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19799 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19800 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19801 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19802 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19803 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19804 * manual/arith.texi (issignaling): New section.
19805 * manual/libm-err-tab.pl (@all_functions): Update comment.
19806 * math/gen-libm-test.pl (parse_args): Apply special handling for
19808 * math/libm-test.inc (print_float, issignaling_test): New
19810 (check_float_internal): Add issignaling checks.
19811 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19812 default definition.
19813 * sysdeps/powerpc/math-tests.h: New file.
19814 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19816 * math/test-snan.c (TEST_FUNC): Likewise.
19818 2013-03-30 David S. Miller <davem@davemloft.net>
19820 * po/de.po: Update from translation team.
19822 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19825 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19826 imaginary part less than 1.0 and real part less than 0.5
19828 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19829 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19830 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19831 (cacos_test): Add more tests.
19832 (casin_test): Likewise.
19833 (casinh_test): Likewise.
19834 * sysdeps/i386/fpu/libm-test-ulps: Update.
19835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19837 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19839 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19840 ONE with its value.
19842 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19843 (__pow_mp): Replace ONE and MONE with their values.
19844 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19845 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19846 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19847 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19848 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19849 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19851 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19853 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19854 (__pow_mp): Replace ZERO and MZERO with their values.
19855 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19856 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19857 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19858 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19859 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19860 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19863 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19865 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19867 2013-03-28 Roland McGrath <roland@hack.frob.com>
19869 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19870 Declare with __attribute__ ((weak)).
19871 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19872 Call __call_tls_dtors only if it's not NULL.
19874 2013-03-28 Roland McGrath <roland@hack.frob.com>
19876 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19877 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19878 magic __ehdr_start linker symbol if it's defined.
19879 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19880 them up here if it was already done.
19882 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19883 (_dl_aux_init): Use const in cast when setting it.
19884 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19885 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19886 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19888 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19890 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19891 * csu/libc-tls.c: Nor here.
19892 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19894 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19895 (__libc_message): Never call vsyslog.
19897 2013-03-28 Alan Modra <amodra@gmail.com>
19899 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19901 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19904 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19907 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19911 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19914 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19915 Don't add gid passed as argument.
19917 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19919 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19922 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19923 imaginary part between 1.0 and 1.5 and real part less than 0.5
19925 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19926 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19927 * math/libm-test.inc (cacos_test): Add more tests.
19928 (casin_test): Likewise.
19929 (casinh_test): Likewise.
19930 * sysdeps/i386/fpu/libm-test-ulps: Update.
19931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19933 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19935 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19938 (denorm): Likewise.
19939 (__dbl_mp): Likewise.
19940 (add_magnitudes): Likewise.
19941 (sub_magnitudes): Likewise.
19949 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19951 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19952 (__dubcos): Likewise.
19953 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19954 (__ieee754_acos): Likewise.
19955 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19956 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19957 (__exp1): Likewise.
19958 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19959 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19961 (my_log2): Likewise.
19962 (checkint): Likewise.
19963 * sysdeps/ieee754/dbl-64/e_remainder.c
19964 (__ieee754_remainder): Likewise.
19965 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19966 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19967 (bsloww): Likewise.
19968 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19970 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19971 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19972 MANTISSA_STORE_T to store computations on mantissa. Use
19973 macros for rounding and division.
19974 (denorm): Likewise.
19975 (__dbl_mp): Likewise.
19976 (add_magnitudes): Likewise.
19977 (sub_magnitudes): Likewise.
19980 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19981 powers of two in terms of TWOPOW macro.
19982 (mp_no): Make type of mantissa as MANTISSA_T.
19983 [!RADIXI]: Define RADIXI.
19984 [!TWO52]: Define TWO52.
19985 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19987 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19989 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19990 llroundl symbol when building for PPC32.
19992 2013-03-24 Mark H Weaver <mhw@netris.org>
19994 * manual/arith.texi (Normalization Functions): Fix prototypes for
19995 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19997 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20000 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20001 high value to check if expl overflow.
20002 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20003 to check for underflow and overflow.
20004 * math/libm-test.inc: Add exp test.
20006 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20009 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20012 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20014 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20017 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20019 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20020 wrap blocks consisting of several statements.
20022 * sysdeps/generic/math-tests.h: New file.
20023 * sysdeps/i386/fpu/math-tests.h: Likewise.
20024 * math/test-snan.c: Include it.
20025 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20027 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20030 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20031 (__ieee754_j0l): Do not improve calculations using cos of twice
20032 input for inputs above LDBL_MAX / 2.0L.
20033 (__ieee754_y0l): Likewise.
20034 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20035 (__ieee754_j1l): Do not improve calculations using cos of twice
20036 input for inputs above LDBL_MAX / 2.0L.
20037 (__ieee754_y1l): Likewise.
20038 * math/libm-test.inc (j0_test): Add another test.
20039 (j1_test): Likewise.
20040 (y0_test): Likewise.
20041 (y1_test): Likewise.
20042 * sysdeps/i386/fpu/libm-test-ulps: Update.
20044 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20046 * Rules ($(objpfx)bench-%.c): Include code from a C source
20049 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20052 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20053 imaginary part 1.0 and real part less than 0.5 specially.
20054 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20055 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20056 * math/libm-test.inc (cacos_test): Add more tests.
20057 (casin_test): Likewise.
20058 (casinh_test): Likewise.
20059 * sysdeps/i386/fpu/libm-test-ulps: Update.
20060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20062 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20064 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20065 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20067 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20069 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20070 * config.make.in (config-cflags-sse4): Remove variable.
20071 (config-cflags-avx): Likewise.
20072 (config-cflags-sse2avx): Likewise.
20073 (config-cflags-novzeroupper): Likewise.
20074 (config-asflags-i686): Likewise.
20075 (have-mfma4): Likewise.
20076 (have-as-vis3): Likewise.
20078 * configure.in (MIG): Do not AC_SUBST.
20079 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20080 (libc_cv_cc_sse4): Do not AC_SUBST.
20081 (libc_cv_cc_avx): Likewise.
20082 (libc_cv_cc_sse2avx): Likewise.
20083 (libc_cv_cc_novzeroupper): Likewise.
20084 (libc_cv_cc_fma4): Likewise.
20085 (libc_cv_as_i686): Likewise.
20086 (libc_cv_sparc_as_vis3): Likewise.
20087 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20089 (config-asflags-i686): Likewise.
20090 (config-cflags-avx): Likewise.
20091 (config-cflags-sse2avx): Likewise.
20092 (have-mfma4): Likewise.
20093 (config-cflags-novzeroupper): Likewise.
20094 * sysdeps/mach/configure.in (MIG): Likewise.
20095 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20096 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20098 (config-cflags-avx): Likewise.
20099 (config-cflags-sse2avx): Likewise.
20100 (have-mfma4): Likewise.
20101 (config-cflags-novzeroupper): Likewise.
20102 * configure: Regenerated.
20103 * sysdeps/i386/configure: Likewise.
20104 * sysdeps/mach/configure: Likewise.
20105 * sysdeps/sparc/configure: Likewise.
20106 * sysdeps/x86_64/configure: Likewise.
20108 2013-03-20 Roland McGrath <roland@hack.frob.com>
20111 * locale/programs/localedef.c (options): Put N_ translation marker
20112 on argument names, not just descriptions.
20114 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20116 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20118 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20121 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20123 2013-03-19 Roland McGrath <roland@hack.frob.com>
20125 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20126 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20127 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20128 [!BEFORE_ABORT] (before_abort): New function.
20129 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20130 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20131 (writev_for_fatal): New function.
20132 (WRITEV_FOR_FATAL): New macro; call that.
20133 (backtrace_and_maps): New function.
20134 (BEFORE_ABORT): New macro; call that.
20135 (struct str_list): Type removed.
20136 (__libc_message, __libc_fatal): Functions removed.
20137 Include <sysdeps/posix/libc_fatal.c> instead.
20139 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20141 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20143 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20146 2013-03-19 Andreas Schwab <schwab@suse.de>
20148 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20149 * sysdeps/gnu/configure: Regenerate.
20151 * configure.in: Substitute libc_cv_rtlddir.
20152 * configure: Regenerate.
20153 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20154 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20155 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20156 * elf/Makefile (install-others, CFLAGS-interp.c)
20157 (ldso_install, common-ldd-rewrite): Likewise.
20158 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20159 $(inst_slibdir)/$(rtld-installed-name).
20160 * scripts/rellns-sh: Add -p option.
20161 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20164 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20166 * manual/nptl.texi: Renamed to ...
20167 * manual/threads.texi: ... this.
20168 * manual/Makefile (chapters): Update.
20170 2013-03-18 Roland McGrath <roland@hack.frob.com>
20173 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20174 on argument names, not just descriptions.
20175 * malloc/memusagestat.c (options): Likewise.
20176 * nss/getent.c (options): Likewise.
20178 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20181 * iconv/iconv_prog.c (options): Put N_ translation marker
20182 on argument names, not just descriptions.
20183 * iconv/iconvconfig.c (options): Likewise.
20185 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20187 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20188 implementation which is faster on all x86_64 architectures.
20189 Tested on AMD, Intel Nehalem, SNB, IVB.
20190 * sysdeps/x86_64/strnlen.S: Likewise.
20192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20193 Remove all multiarch strlen and strnlen versions.
20194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20195 Remove strlen and strnlen related parts.
20197 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20198 Inline strlen part.
20199 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20201 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20202 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20203 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20204 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20205 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20206 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20208 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20210 * manual/memory.texi (Malloc Tunable Parameters):
20211 Sort parameters alphabetically. Add comments for missing entries.
20213 2013-03-17 David S. Miller <davem@davemloft.net>
20215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20217 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20220 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20221 for arguments at most half maximum finite value.
20222 * math/libm-test.inc (j0_test): Add more tests.
20223 (j1_test): Likewise.
20224 (y0_test): Likewise.
20225 (y1_test): Likewise.
20226 * sysdeps/i386/fpu/libm-test-ulps: Update.
20227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20230 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20231 1 / x and functions P and Q for arguments above 0x1p256L.
20232 (__ieee754_y0l): Likewise.
20233 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20234 (__ieee754_y1l): Likewise.
20235 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20236 (j1_test): Likewise.
20237 (y0_test): Likewise.
20238 (y1_test): Likewise.
20240 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20242 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20245 2013-03-15 Roland McGrath <roland@hack.frob.com>
20247 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20248 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20249 zero since it's initialized to EXEC_PAGESIZE.
20251 * sysdeps/unix/sysv/linux/ldsodefs.h
20252 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20253 * sysdeps/generic/ldsodefs.h: ... here.
20255 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20257 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20259 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20261 * math/test-snan.c: Renamed from
20262 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20263 * math/Makefile (tests): Add test-snan.
20264 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20267 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20268 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20270 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20271 __builtin_nan family of functions.
20272 * math/libm-test.inc (initialize): Initialize qnan_value with
20273 __builtin_nan family of functions.
20274 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20276 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20278 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20279 storage class. Initialize qNaN_var and sNaN_var with
20280 __builtin_nan and __builtin_nans families of functions,
20283 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20284 (sqrt_test): Remove duplicate test with qNaN input.
20285 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20286 (round_test, signbit_test, significand_test): Note missing +/-Inf
20287 as well as qNaN tests.
20289 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20290 qNaN_var. Fix a few strings, too.
20291 * math/libm-test.inc (nan_value): Rename to qnan_value.
20292 * math/gen-libm-test.pl (%beautify): Adjust to that.
20293 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20294 * math/test-misc.c (main): Likewise.
20295 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20296 to __qnan_bytes, and __qnan_union, respectively.
20297 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20299 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20300 and lqnanval, respectively.
20301 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20302 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20303 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20304 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20306 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20307 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20310 * math/test-misc.c (main): Fix copy'n'pastos.
20311 * misc/tst-efgcvt.c (special): Likewise.
20313 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20314 Remove declarations.
20316 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20318 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20319 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20320 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20321 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20323 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20325 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20326 macro to return vdso values correctly in IFUNC implementations.
20327 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20328 Optimization by using IFUNC.
20330 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20331 Richard Henderson <rth@redhat.com>
20332 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20334 * Makefile.in (bench): New target.
20335 * NEWS: Mention the benchmark framework.
20336 * Rules (bench): Likewise.
20337 (binaries-bench): Generate binaries for functions to
20339 * benchtests/Makefile: New makefile for benchmark tests.
20340 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20342 * benchtests/exp-inputs: New input file for EXP function.
20343 * benchtests/pow-inputs: New input file for POW function.
20344 * scripts/bench.pl: New script to generate source files for
20345 benchmark programs.
20347 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20349 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20350 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20351 computations on mantissa. Use macros for rounding and
20353 (denorm): Likewise.
20354 (__dbl_mp): Likewise.
20355 (add_magnitudes): Likewise.
20356 (sub_magnitudes): Likewise.
20359 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20360 powers of two in terms of TWOPOW macro.
20361 (mp_no): Make type of mantissa as MANTISSA_T.
20362 [!RADIXI]: Define RADIXI.
20363 [!TWO52]: Define TWO52.
20364 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20366 * manual/nptl.texi (cindex): Modify threads to pthreads.
20368 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20370 * sysdeps/x86_64/preconfigure: Regenerated.
20372 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20375 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20377 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20378 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20380 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20381 * math/libm-test.inc (j0_test): Do not allow one spurious
20382 underflow exception.
20383 (y1_test): Likewise.
20385 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20387 * manual/Makefile (chapters): Add nptl.
20388 * manual/debug.texi (Debugging Support): Add link to Threads
20390 * manual/nptl.texi: New file.
20392 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20394 2013-03-14 Petr Baudis <pasky@ucw.cz>
20396 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20397 for non-NULL pointer before the memory validity test. Pointed
20398 out by Holger Brunck <holger.brunck@keymile.com>.
20400 2013-03-13 Andreas Schwab <schwab@suse.de>
20402 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20405 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20407 * timezone/zic.c: Update from tzcode 2013b.
20409 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20411 * manual/install.texi (Configuring and compiling):
20412 Mention i686 and i586.
20413 * INSTALL: Regenerate.
20415 2013-03-12 Roland McGrath <roland@hack.frob.com>
20417 * sysdeps/init_array/elf-init.c: New file.
20419 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20420 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20422 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20423 __gmon_start__ as global, but as static with a .preinit_array pointer.
20424 * sysdeps/init_array/gmon-start.c: New file. Use that.
20425 * sysdeps/init_array/crti.S: New file, empty except for comments.
20426 * sysdeps/init_array/crtn.S: Likewise.
20428 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20430 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20433 Remove Prefer_SSE_for_memop.
20434 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20435 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20436 HAS_PREFER_SSE_FOR_MEMOP.
20437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20440 Remove bzero, memset ifunc support.
20441 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20442 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20443 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20444 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20446 2013-03-11 Andreas Schwab <schwab@suse.de>
20449 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20452 (GLIBC_2.16): Remove pthread_atfork.
20454 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20456 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20457 (ptestcases.h): Likewise.
20459 2013-03-08 Roland McGrath <roland@hack.frob.com>
20461 * Makeconfig ($(common-objpfx)config.status): Depend on
20462 sysdeps/*/preconfigure{,.in} too.
20464 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20466 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20467 (__free_hook): Use void * instead of __malloc_ptr_t.
20468 (__malloc_hook): Likewise.
20469 (__realloc_hook): Likewise.
20470 (__memalign_hook): Likewise.
20471 (__after_morecore_hook): Likewise.
20472 * malloc/arena.c (save_malloc_hook): Likewise.
20473 (save_free_hook): Likewise.
20474 * malloc/hooks.c (malloc_hook_ini): Likewise.
20475 (realloc_hook_ini): Likewise.
20476 (memalign_hook_ini): Likewise.
20477 * malloc/malloc.c (malloc_hook_ini): Likewise.
20478 (realloc_hook_ini): Likewise.
20479 (memalign_hook_ini): Likewise.
20480 (__free_hook): Likewise.
20481 (__malloc_hook): Likewise.
20482 (__realloc_hook): Likewise.
20483 (__memalign_hook): Likewise.
20484 (__libc_malloc): Likewise.
20485 (__libc_free): Likewise.
20486 (__libc_realloc): Likewise.
20487 (__libc_memalign): Likewise.
20488 (__libc_valloc): Likewise.
20489 (__libc_pvalloc): Likewise.
20490 (__libc_calloc): Likewise.
20491 (__posix_memalign): Likewise.
20492 * malloc/morecore.c (__sbrk): Likewise.
20493 (__default_morecore): Likewise.
20495 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20497 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20498 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20499 __malloc_ptrdiff_t.
20501 * malloc/malloc.h (__malloc_size_t): Remove macro.
20502 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20504 (old_memalign_hook): Likewise.
20505 (old_realloc_hook): Likewise.
20506 (struct hdr): Likewise.
20508 (mallochook): Likewise.
20509 (memalignhook): Likewise.
20510 (reallochook): Likewise.
20511 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20512 (tr_old_realloc_hook): Likewise.
20513 (tr_old_memalign_hook): Likewise.
20514 (tr_mallochook): Likewise.
20515 (tr_reallochook): Likewise.
20516 (tr_memalignhook): Likewise.
20518 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20520 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20521 default_ldbl_pack and using as default implementation.
20522 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20524 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20525 redundant definition.
20526 (ldbl_insert_mantissa): Likewise.
20527 (ldbl_canonicalize): Likewise.
20528 (ldbl_nearbyint): Likewise.
20529 (ldbl_pack): Rename to ldbl_pack_ppc.
20530 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20531 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20532 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20534 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20536 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20537 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20538 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20539 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20541 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20542 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20543 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20545 2013-03-07 Andreas Jaeger <aj@suse.de>
20547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20550 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20552 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20553 Include mpa.h and declare __MPEXP.
20554 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20555 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20556 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20557 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20558 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20559 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20560 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20562 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20563 (__slowpow): Use long double EXPL and LOGL functions to
20565 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20566 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20567 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20568 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20569 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20570 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20573 intermediate variable to calculate exponent.
20575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20579 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20580 [!NO__SQR]: Define __sqr.
20581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20582 and NO__SQR. Remove all code except __mul and __sqr. Include
20583 sysdeps/ieee754/dbl-64/mpa.c.
20584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20587 * posix/Makefile (tests): Add tst-pathconf.
20588 * posix/tst-pathconf.c: New test case.
20589 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20591 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20593 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20595 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20597 2013-03-06 Andreas Jaeger <aj@suse.de>
20599 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20600 definition via __MAP_ANONYMOUS.
20602 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20603 it's not part of Linux headers.
20605 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20606 (MAP_HUGE_MASK): Define.
20608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20610 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20611 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20613 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20614 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20616 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20617 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20619 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20621 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20622 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20623 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20624 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20625 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20626 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20628 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20631 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20632 Handle f2fs and efivarfs.
20634 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20637 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20638 (EFIVARFS_MAGIC): Add.
20639 (F2FS_LINK_MAX): Add.
20641 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20643 * stdio-common/vfprintf.c: Replace __builtin_expect with
20646 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20649 * sysdeps/generic/bp-sym.h: Remove file.
20650 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20651 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20652 <bp-sym.h> and <bp-asm.h>.
20653 (__longjmp): Don't use BP_SYM.
20654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20656 (memcpy): Don't use BP_SYM.
20657 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20658 <bp-sym.h> and <bp-asm.h>.
20659 (memcpy): Don't use BP_SYM.
20660 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20662 (memcpy): Don't use BP_SYM.
20663 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20665 (memset): Don't use BP_SYM.
20666 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20667 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20668 (__bzero): Don't use BP_SYM.
20669 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20670 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20671 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20672 <bp-sym.h> and <bp-asm.h>.
20673 (memcmp): Don't use BP_SYM. Remove comment about bounded
20675 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20676 <bp-sym.h> and <bp-asm.h>.
20677 (memcpy): Don't use BP_SYM.
20678 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20679 <bp-sym.h> and <bp-asm.h>.
20680 (memset): Don't use BP_SYM.
20681 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20682 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20683 (__bzero): Don't use BP_SYM.
20684 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20685 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20686 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20687 <bp-sym.h> and <bp-asm.h>.
20688 (strncmp): Don't use BP_SYM. Remove comment about bounded
20690 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20691 <bp-sym.h> and <bp-asm.h>.
20692 (memcpy): Don't use BP_SYM.
20693 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20694 <bp-sym.h> and <bp-asm.h>.
20695 (memset): Don't use BP_SYM.
20696 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20697 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20698 (__bzero): Don't use BP_SYM.
20699 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20700 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20701 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20702 <bp-sym.h> and <bp-asm.h>.
20703 (__memchr): Don't use BP_SYM.
20704 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20705 <bp-sym.h> and <bp-asm.h>.
20706 (memcmp): Don't use BP_SYM. Remove comment about bounded
20708 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20709 <bp-sym.h> and <bp-asm.h>.
20710 (memcpy): Don't use BP_SYM.
20711 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20712 <bp-sym.h> and <bp-asm.h>.
20713 (__mempcpy): Don't use BP_SYM.
20714 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20715 <bp-sym.h> and <bp-asm.h>.
20716 (__memrchr): Don't use BP_SYM.
20717 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20718 <bp-sym.h> and <bp-asm.h>.
20719 (memset): Don't use BP_SYM.
20720 (__bzero): Likewise.
20721 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20722 <bp-sym.h> and <bp-asm.h>.
20723 (__rawmemchr): Don't use BP_SYM.
20724 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20725 <bp-sym.h> and <bp-asm.h>.
20726 (__STRCMP): Don't use BP_SYM.
20727 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20728 <bp-sym.h> and <bp-asm.h>.
20729 (strchr): Don't use BP_SYM.
20730 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20731 <bp-sym.h> and <bp-asm.h>.
20732 (__strchrnul): Don't use BP_SYM.
20733 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20734 <bp-sym.h> and <bp-asm.h>.
20735 (strlen): Don't use BP_SYM.
20736 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20737 <bp-sym.h> and <bp-asm.h>.
20738 (strncmp): Don't use BP_SYM. Remove comment about bounded
20740 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20741 <bp-sym.h> and <bp-asm.h>.
20742 (__strnlen): Don't use BP_SYM.
20743 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20744 <bp-sym.h> and <bp-asm.h>.
20745 (__GI__setjmp): Don't use BP_SYM.
20746 (_setjmp): Likewise.
20747 (__sigsetjmp): Likewise.
20748 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20749 (L(start_addresses)): Don't use BP_SYM.
20750 (_start): Likewise.
20751 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20753 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20754 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20755 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20756 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20757 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20759 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20760 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20761 about bounded pointers.
20762 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20763 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20764 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20766 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20767 about bounded pointers. Remove GKM FIXME comments.
20768 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20769 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20771 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20772 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20773 Remove GKM FIXME comments.
20774 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20775 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20776 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20778 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20779 about bounded pointers. Remove GKM FIXME comment.
20780 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20782 (strncmp): Don't use BP_SYM. Remove comment about bounded
20784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20785 <bp-sym.h> and <bp-asm.h>.
20786 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20788 <bp-sym.h> and <bp-asm.h>.
20789 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20792 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20794 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20797 2013-03-05 David S. Miller <davem@davemloft.net>
20799 * po/es.po: Update from translation team.
20801 2013-03-05 Andreas Jaeger <aj@suse.de>
20803 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20804 <bits/mman-linux.h>.
20805 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20807 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20808 <bits/mman-linux.h> to end of file.
20809 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20811 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20812 <bits/mman-linux.h> to end of file.
20813 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20816 <bits/mman-linux.h> to end of file.
20818 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20819 (MCL_CURRENT, MCL_FUTURE): Define here.
20821 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20824 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20826 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20828 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20830 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20831 fourth parameter needed for rt_sigprocmask syscall.
20832 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20833 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20834 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20835 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20836 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20837 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20839 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20842 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20843 comment about bounded pointers.
20844 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20845 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20847 2013-03-04 Andreas Jaeger <aj@suse.de>
20849 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20850 common definitions.
20852 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20853 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20854 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20855 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20856 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20857 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20859 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20862 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20863 __ieee754_sqrl instead of __sqrl.
20865 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20867 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20868 * sysdeps/powerpc/fpu_control.h: ... here.
20869 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20870 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20871 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20872 * sysdeps/powerpc/bits/mathinline.h: ... here.
20874 2013-03-01 Roland McGrath <roland@hack.frob.com>
20876 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20877 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20878 to just [NEED_DL_SYSINFO_DSO].
20879 * elf/dl-support.c: Likewise.
20880 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20881 * elf/rtld.c (dl_main): Likewise.
20882 * elf/setup-vdso.h (setup_vdso): Likewise.
20883 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20884 * sysdeps/unix/sysv/linux/dl-sysdep.c
20885 (_dl_discover_osversion): Likewise.
20887 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20889 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20890 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20892 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20894 * NEWS: Mention libm performance improvements and non-x86 PI
20897 * csu/libc-start.c (__pthread_initialize_minimal): Change
20898 function arguments.
20899 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20901 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20904 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20905 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20906 <bp-sym.h> and <bp-asm.h>.
20907 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20908 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20910 (memcpy): Don't use BP_SYM.
20911 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20913 (__mpn_add_n): Don't use BP_SYM.
20914 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20915 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20917 (__mpn_addmul_1): Don't use BP_SYM.
20918 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20919 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20921 (_setjmp): Don't use BP_SYM.
20922 (__novmx_setjmp): Likewise.
20923 (__GI__setjmp): Likewise.
20924 (__vmx_setjmp): Likewise.
20925 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20927 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20928 (__bzero): Don't use BP_SYM.
20929 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20930 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20931 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20932 <bp-sym.h> and <bp-asm.h>.
20933 (memcpy): Don't use BP_SYM.
20934 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20935 <bp-sym.h> and <bp-asm.h>.
20936 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20937 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20938 <bp-sym.h> and <bp-asm.h>.
20939 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20940 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20942 (__mpn_lshift): Don't use BP_SYM.
20943 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20944 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20946 (memset): Don't use BP_SYM.
20947 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20948 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20949 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20951 (__mpn_mul_1): Don't use BP_SYM.
20952 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20953 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20954 <bp-sym.h> and <bp-asm.h>.
20955 (memcmp): Don't use BP_SYM.
20956 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20957 <bp-sym.h> and <bp-asm.h>.
20958 (memcpy): Don't use BP_SYM.
20959 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20960 <bp-sym.h> and <bp-asm.h>.
20961 (memset): Don't use BP_SYM.
20962 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20963 <bp-sym.h> and <bp-asm.h>.
20964 (strncmp): Don't use BP_SYM.
20965 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20966 <bp-sym.h> and <bp-asm.h>.
20967 (memcpy): Don't use BP_SYM.
20968 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20969 <bp-sym.h> and <bp-asm.h>.
20970 (memset): Don't use BP_SYM.
20971 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20972 <bp-sym.h> and <bp-asm.h>.
20973 (__memchr): Don't use BP_SYM.
20974 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20975 <bp-sym.h> and <bp-asm.h>.
20976 (memcmp): Don't use BP_SYM.
20977 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20978 <bp-sym.h> and <bp-asm.h>.
20979 (memcpy): Don't use BP_SYM.
20980 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20981 <bp-sym.h> and <bp-asm.h>.
20982 (__mempcpy): Don't use BP_SYM.
20983 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20984 <bp-sym.h> and <bp-asm.h>.
20985 (__memrchr): Don't use BP_SYM.
20986 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20987 <bp-sym.h> and <bp-asm.h>.
20988 (memset): Don't use BP_SYM.
20989 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20990 <bp-sym.h> and <bp-asm.h>.
20991 (__rawmemchr): Don't use BP_SYM.
20992 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20993 <bp-sym.h> and <bp-asm.h>.
20994 (__STRCMP): Don't use BP_SYM.
20995 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20996 <bp-sym.h> and <bp-asm.h>.
20997 (strchr): Don't use BP_SYM.
20998 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20999 <bp-sym.h> and <bp-asm.h>.
21000 (__strchrnul): Don't use BP_SYM.
21001 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21002 <bp-sym.h> and <bp-asm.h>.
21003 (strlen): Don't use BP_SYM.
21004 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21005 <bp-sym.h> and <bp-asm.h>.
21006 (strncmp): Don't use BP_SYM.
21007 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21008 <bp-sym.h> and <bp-asm.h>.
21009 (__strnlen): Don't use BP_SYM.
21010 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21012 (__mpn_rshift): Don't use BP_SYM.
21013 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21014 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21015 <bp-sym.h> and <bp-asm.h>.
21016 (__sigsetjmp): Don't use BP_SYM.
21017 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21018 (L(start_addresses)): Don't use BP_SYM.
21019 (_start): Likewise.
21020 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21022 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21023 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21024 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21025 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21027 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21028 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21029 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21030 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21032 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21034 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21035 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21037 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21039 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21040 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21041 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21043 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21045 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21047 (strncmp): Don't use BP_SYM,
21048 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21050 (__mpn_sub_n): Don't use BP_SYM.
21051 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21052 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21054 (__mpn_submul_1): Don't use BP_SYM.
21055 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21057 <bp-sym.h> and <bp-asm.h>.
21058 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21060 <bp-sym.h> and <bp-asm.h>.
21061 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21064 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21067 Use ZK to minimize writes to Z.
21068 (sub_magnitudes): Simplify code a bit.
21069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21070 Use ZK to minimize writes to Z.
21071 (sub_magnitudes): Simplify code a bit.
21073 2013-02-27 Roland McGrath <roland@hack.frob.com>
21075 * csu/gmon-start.c: Add special exception to license text.
21077 2013-02-27 Richard Henderson <rth@redhat.com>
21079 * scripts/config.guess: Update from config.git.
21080 * scripts/config.sub: Likewise.
21082 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21084 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21086 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21088 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21090 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21092 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21094 2013-02-26 Roland McGrath <roland@hack.frob.com>
21096 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21097 [$(build-shared = yes].
21099 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21101 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21102 (__mul): Reduce iterations for calculating mantissa.
21104 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21106 (__mpranred): Likewise.
21109 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21110 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21112 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21114 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21115 Define __attribute__.
21117 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21119 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21121 * posix/regex_internal.h (__attribute): Remove.
21122 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21123 (re_string_context_at): Likewise.
21124 (bitset_not): Use __attribute__ and mark function as possibly
21126 (bitset_merge): Likewise.
21127 (bitset_mask): Likewise.
21128 (re_string_char_size_at): Likewise.
21129 (re_string_wchar_at): Likewise.
21130 (re_string_elem_size_at): Likewise.
21132 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21134 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21138 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21142 (denorm): Likewise.
21143 (__dbl_mp): Likewise.
21144 (add_magnitudes): Likewise.
21145 (sub_magnitudes): Likewise.
21149 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21152 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21155 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21159 up changes with default code.
21160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21163 2013-02-24 Allan McRae <allan@archlinux.org>
21165 * manual/socket.texi (The Internet Namespace): Order menu items
21166 to match that in the file.
21168 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21169 node listing of the info page menu.
21171 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21174 * sysdeps/i386/bp-asm.h: Remove file.
21175 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21176 (PARMS): Do not use macros from bp-asm.h.
21180 (__mpn_add_n): Do not use BP_SYM
21181 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21183 (PARMS): Do not use macros from bp-asm.h.
21186 (__mpn_addmul_1): Do not use BP_SYM
21187 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21189 (PARMS): Do not use macros from bp-asm.h.
21190 (SIGMSK): Likewise.
21191 (_setjmp): Likewise. Do not use BP_SYM.
21192 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21194 (PARMS): Do not use macros from bp-asm.h.
21195 (SIGMSK): Likewise.
21196 (setjmp): Likewise. Do not use BP_SYM.
21197 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21199 (PARMS): Do not use macros from bp-asm.h.
21200 (__frexp): Do not use BP_SYM.
21202 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21204 (PARMS): Do not use macros from bp-asm.h.
21205 (__frexpf): Do not use BP_SYM.
21206 (frexpf): Likewise.
21207 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21209 (PARMS): Do not use macros from bp-asm.h.
21210 (__frexpl): Do not use BP_SYM.
21211 (frexpl): Likewise.
21212 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21214 (PARMS): Do not use macros from bp-asm.h.
21215 (__remquo): Do not use BP_SYM.
21216 (remquo): Likewise.
21217 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21219 (PARMS): Do not use macros from bp-asm.h.
21220 (__remquof): Do not use BP_SYM.
21221 (remquof): Likewise.
21222 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21224 (PARMS): Do not use macros from bp-asm.h.
21225 (__remquol): Do not use BP_SYM.
21226 (remquol): Likewise.
21227 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21229 (PARMS): Do not use macros from bp-asm.h.
21232 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21233 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21235 (PARMS): Do not use macros from bp-asm.h.
21236 (strlen): Do not use BP_SYM.
21237 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21239 (PARMS): Do not use macros from bp-asm.h.
21243 (__mpn_add_n): Do not use BP_SYM.
21244 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21246 (PARMS): Do not use macros from bp-asm.h.
21249 (__mpn_addmul_1): Do not use BP_SYM.
21250 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21253 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21255 (PARMS): Do not use macros from bp-asm.h.
21258 (__mpn_lshift): Do not use BP_SYM.
21259 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21261 (PARMS): Do not use macros from bp-asm.h.
21265 (memcpy): Likewise. Do not use BP_SYM.
21266 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21267 libc_hidden_def and weak_alias.
21268 (mempcpy): Do not use BP_SYM in weak_alias.
21269 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21271 (PARMS): Do not use macros from bp-asm.h.
21274 [!BZERO_P] (CHR): Likewise.
21275 (memset): Likewise. Do not use BP_SYM.
21276 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21278 (PARMS): Do not use macros from bp-asm.h.
21281 (__mpn_mul_1): Do not use BP_SYM.
21282 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21284 (PARMS): Do not use macros from bp-asm.h.
21287 (__mpn_rshift): Do not use BP_SYM.
21288 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21290 (PARMS): Do not use macros from bp-asm.h.
21293 (strchr): Likewise. Do not use BP_SYM.
21294 (index): Do not use BP_SYM in weak_alias.
21295 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21297 (PARMS): Do not use macros from bp-asm.h.
21300 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21301 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21303 (PARMS): Do not use macros from bp-asm.h.
21304 (strlen): Do not use BP_SYM.
21305 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21307 (PARMS): Do not use macros from bp-asm.h.
21311 (__mpn_sub_n): Do not use BP_SYM.
21312 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21314 (PARMS): Do not use macros from bp-asm.h.
21317 (__mpn_submul_1): Do not use BP_SYM.
21318 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21320 (PARMS): Do not use macros from bp-asm.h.
21324 (__mpn_add_n): Do not use BP_SYM.
21325 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21328 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21330 (PARMS): Do not use macros from bp-asm.h.
21333 (memcmp): Do not use BP_SYM.
21334 (bcmp): Do not use BP_SYM in weak_alias.
21335 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21337 (PARMS): Do not use macros from bp-asm.h.
21341 (memcpy): Likewise. Do not use BP_SYM.
21342 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21344 (PARMS): Do not use macros from bp-asm.h.
21348 (memmove): Likewise. Do not use BP_SYM.
21349 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21351 (PARMS): Do not use macros from bp-asm.h.
21355 (__mempcpy): Likewise. Do not use BP_SYM.
21356 (mempcpy): Do not use BP_SYM in weak_alias.
21357 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21359 (PARMS): Do not use macros from bp-asm.h.
21362 [!BZERO_P] (CHR): Likewise.
21363 (memset): Likewise. Do not use BP_SYM.
21364 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21366 (PARMS): Do not use macros from bp-asm.h.
21368 (strcmp): Do not use BP_SYM.
21369 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21371 (PARMS): Do not use macros from bp-asm.h.
21374 [USE_AS_STRTOK_R] (SAVE): Likewise.
21375 (FUNCTION): Likewise. Do not use BP_SYM.
21376 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21378 (strtok_r): Likewise.
21379 (__GI___strtok_r): Likewise.
21380 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21381 (PARMS): Do not use macros from bp-asm.h.
21384 (__mpn_lshift): Do not use BP_SYM.
21385 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21386 (PARMS): Do not use macros from bp-asm.h.
21389 (__memchr): Do not use BP_SYM.
21390 (memchr): Do not use BP_SYM in weak_alias.
21391 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21392 (PARMS): Do not use macros from bp-asm.h.
21395 (memcmp): Do not use BP_SYM.
21396 (bcmp): Do not use BP_SYM in weak_alias.
21397 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21398 (PARMS): Do not use macros from bp-asm.h.
21401 (__mpn_mul_1): Do not use BP_SYM.
21402 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21404 (PARMS): Do not use macros from bp-asm.h.
21407 (__rawmemchr): Do not use BP_SYM.
21408 (rawmemchr): Do not use BP_SYM in weak_alias.
21409 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21410 (PARMS): Do not use macros from bp-asm.h.
21413 (__mpn_rshift): Do not use BP_SYM.
21414 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21415 (PARMS): Do not use macros from bp-asm.h.
21416 (SIGMSK): Likewise.
21417 (__sigsetjmp): Likewise. Do not use BP_SYM.
21418 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21419 (_start): Do not use BP_SYM.
21420 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21421 (PARMS): Do not use macros from bp-asm.h.
21424 (__stpcpy): Likewise. Do not use BP_SYM.
21425 (stpcpy): Do not use BP_SYM in weak_alias.
21426 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21428 (PARMS): Do not use macros from bp-asm.h.
21432 (__stpncpy): Likewise. Do not use BP_SYM.
21433 (stpncpy): Do not use BP_SYM in weak_alias.
21434 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21435 (PARMS): Do not use macros from bp-asm.h.
21438 (strchr): Likewise. Do not use BP_SYM.
21439 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21441 (PARMS): Do not use macros from bp-asm.h.
21444 (__strchrnul): Likewise. Do not use BP_SYM.
21445 (strchrnul): Do not use BP_SYM in weak_alias.
21446 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21448 (PARMS): Do not use macros from bp-asm.h.
21450 (strcspn): Do not use BP_SYM.
21451 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21453 (PARMS): Do not use macros from bp-asm.h.
21456 (strpbrk): Likewise. Do not use BP_SYM.
21457 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21459 (PARMS): Do not use macros from bp-asm.h.
21462 (strrchr): Likewise. Do not use BP_SYM.
21463 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21464 (PARMS): Do not use macros from bp-asm.h.
21466 (strspn): Do not use BP_SYM.
21467 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21468 (PARMS): Do not use macros from bp-asm.h.
21472 (FUNCTION): Likewise. Do not use BP_SYM.
21473 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21475 (strtok_r): Likewise.
21476 (__GI___strtok_r): Likewise.
21477 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21478 (PARMS): Do not use macros from bp-asm.h.
21482 (__mpn_sub_n): Do not use BP_SYM.
21483 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21485 (PARMS): Do not use macros from bp-asm.h.
21488 (__mpn_submul_1): Do not use BP_SYM.
21489 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21491 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21493 (PARMS): Do not use macros from bp-asm.h.
21498 (__clone): Do not use BP_SYM.
21499 (clone): Do not use BP_SYM in weak_alias.
21500 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21502 (PARMS): Do not use macros from bp-asm.h.
21504 (__mmap64): Do not use BP_SYM.
21505 (mmap64): Do not use BP_SYM in weak_alias.
21506 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21507 <bp-sym.h> and <bp-asm.h>.
21508 (PARMS): Do not use macros from bp-asm.h.
21509 (__posix_fadvise64_l64): Do not use BP_SYM.
21510 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21511 (PARMS): Do not use macros from bp-asm.h.
21513 (semtimedop): Do not use BP_SYM.
21514 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21517 2013-02-21 Allan McRae <allan@archlinux.org>
21519 * manual/message.texi (Charset conversion in gettext):
21520 Move @end statement to beginning of line.
21522 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21529 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21530 (denorm): Likewise.
21531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21534 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21536 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21537 tail-call to the resolved function if pltexit isn't needed.
21539 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21542 or Y being zero as being unlikely.
21543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21546 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21548 * manual/nss.texi (System Databases and Name Service Switch):
21549 Remove frobnicate @pxref.
21551 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21553 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21554 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21556 2013-02-20 Petr Machata <pmachata@redhat.com>
21558 * elf/elf.h (R_ARM_TARGET1): New macro.
21559 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21560 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21561 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21562 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21563 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21564 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21565 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21566 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21567 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21568 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21569 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21570 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21571 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21572 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21573 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21574 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21575 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21576 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21577 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21578 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21579 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21580 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21581 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21582 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21583 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21584 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21585 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21586 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21587 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21588 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21589 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21590 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21591 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21592 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21593 (R_ARM_THM_GOT_BREL12): Likewise.
21594 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21595 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21596 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21597 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21598 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21599 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21600 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21601 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21602 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21604 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21606 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21607 __attribute_used__ to __attribute__ ((unused)).
21609 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21611 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21614 comment formatting.
21615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21617 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21620 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21622 (ENTER): Remove both macro definitions.
21624 (CHECK_BOUNDS_LOW): Likewise.
21625 (CHECK_BOUNDS_HIGH): Likewise.
21626 (CHECK_BOUNDS_BOTH): Likewise.
21627 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21628 (RETURN_BOUNDED_POINTER): Likewise.
21629 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21630 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21631 (POP_ERRNO_LOCATION_RETURN): Likewise.
21632 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21633 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21634 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21636 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21637 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21638 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21639 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21640 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21641 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21642 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21643 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21644 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21645 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21646 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21647 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21648 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21649 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21651 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21652 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21654 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21655 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21656 * sysdeps/i386/i586/memset.S (memset): Likewise.
21657 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21658 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21659 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21661 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21662 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21663 Change uses of L(2) to L(out).
21664 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21665 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21666 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21667 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21668 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21670 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21671 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21673 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21674 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21675 (RETURN): Do not use macro LEAVE.
21676 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21677 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21678 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21679 * sysdeps/i386/i686/memset.S (memset): Likewise.
21680 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21681 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21682 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21683 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21685 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21686 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21687 L(1_2) and L(1_3) into L(1).
21688 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21689 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21690 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21691 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21692 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21693 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21694 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21695 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21696 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21698 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21699 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21700 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21701 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21702 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21703 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21704 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21705 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21706 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21707 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21708 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21709 * sysdeps/i386/strspn.S (strspn): Likewise.
21710 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21712 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21713 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21714 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21715 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21716 L(1_3) into L(1_1).
21717 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21718 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21719 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21721 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21723 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21725 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21728 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21730 * math/atest-exp.c (exp_mpn): Remove ROUND.
21731 * math/atest-exp2.c (exp_mpn): Likewise.
21732 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21734 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21735 * stdlib/tst-tls-atexit-lib.c: Likewise.
21736 * stdlib/tst-tls-atexit.c: Likewise.
21738 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21740 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21741 and __attribute_alloc_size__.
21743 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21745 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21746 __attribute_alloc_size__.
21747 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21748 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21750 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21752 * include/programs/xmalloc.h: New file.
21753 * catgets/gencat.c: Include it.
21754 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21755 * elf/pldd.c: Likewise.
21756 * iconv/iconv_charmap.c: Likewise.
21757 * iconv/iconvconfig.c: Likewise.
21758 * iconv/strtab.c: Likewise.
21759 * locale/programs/locale.c: Likewise.
21760 * locale/programs/localedef.h: Likewise.
21761 * locale/programs/simple-hash.c: Likewise.
21762 * nscd/nscd.h: Likewise.
21763 * nss/makedb.c: Likewise.
21764 * sysdeps/generic/ldconfig.h: Likewise.
21766 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21768 * Versions.def: Add GLIBC_2.18.
21769 * include/link.h (struct link_map): New member l_tls_dtor_count.
21770 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21771 (__call_tls_dtors): Likewise.
21772 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21773 __cxa_thread_atexit_impl.
21774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21782 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21790 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21791 (tests): Add test case tst-tls-atexit.
21792 (modules-names): Add shared library for tst-tls-atexit.
21793 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21794 (GLIBC_PRIVATE): Add __call_tls_dtors.
21795 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21797 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21798 * stdlib/tst-tls-atexit.c: New test case.
21799 * stdlib/tst-tls-atexit-lib.c: New test case.
21801 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21803 * elf/Versions (ld): Add _dl_find_dso_for_object.
21804 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21805 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21806 (dl_open_worker): Use _dl_find_dso_for_object.
21807 * elf/dl-sym.c (do_sym): Likewise.
21808 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21810 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21812 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21813 Syntactic changes only.
21814 (_dl_runtime_profile): Do a tail-call to the resolved function.
21816 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21819 * sysdeps/x86_64/bp-asm.h: Remove file.
21820 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21821 <bp-sym.h> and <bp-asm.h>.
21822 (__clone): Do not use BP_SYM.
21823 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21824 <bp-sym.h> and <bp-asm.h>.
21825 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21826 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21828 (_setjmp): Do not use BP_SYM.
21829 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21831 (setjmp): Do not use BP_SYM.
21832 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21834 (mempcpy): Do not use BP_SYM in weak_alias.
21835 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21837 (strchr): Do not use BP_SYM.
21838 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21840 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21841 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21842 (_start): Do not use BP_SYM.
21843 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21845 (strcat): Do not use BP_SYM.
21846 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21848 (STRCMP): Do not use BP_SYM.
21849 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21851 (STRCPY): Do not use BP_SYM.
21852 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21854 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21856 (FUNCTION): Do not use BP_SYM.
21857 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21859 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21861 2013-02-17 Andreas Jaeger <aj@suse.de>
21863 * time/Versions: Sort entries.
21864 * string/Versions: Likewise.
21865 * resolv/Versions: Likewise.
21866 * posix/Versions: Likewise.
21867 * iconv/Versions: Likewise.
21868 * elf/Versions: Likewise.
21869 * wcsmbs/Versions: Likewise.
21871 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21873 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21874 loop termination condition.
21876 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21877 variable to calculate EZ.
21880 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21881 the lower precision input.
21883 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21886 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21887 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21888 (run-via-rtld-prefix): Do not handle %-bp tests.
21889 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21890 (all-object-suffixes): Remove .ob.
21891 (bppfx): Remove variable.
21892 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21893 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21894 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21895 [$(build-bounded) = yes] (libtype.ob): Likewise.
21896 * Makerules (elide-routines.ob): Remove variable.
21897 (do-tests-clean): Do not handle *-bp.out.
21898 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21899 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21900 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21901 (tests): Do not include $(tests-bp.out).
21902 (xtests): Do not include $(xtests-bp.out).
21903 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21904 [$(build-bounded) = yes] ($(addprefix
21905 $(objpfx),$(binaries-bounded))): Remove rule.
21906 ($(objpfx)%-bp.out): Remove rule.
21907 * config.make.in (build-bounded): Remove variable.
21908 * crypt/Makefile [$(build-bounded) = yes]
21909 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21910 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21911 append to variable.
21912 [$(build-bounded) = yes] (install-lib): Likewise.
21913 [$(build-bounded) = yes] (generated): Likewise.
21914 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21916 * intl/Makefile [$(build-bounded) = yes]
21917 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21918 * math/Makefile [$(build-bounded) = yes]
21919 ($(tests:%=$(objpfx)%-bp): Likewise.
21920 * misc/Makefile [$(build-bounded) = yes]
21921 ($(objpfx)tst-tsearch-bp): Likewise.
21922 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21923 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21925 * string/Makefile (o-objects.ob): Remove variable.
21926 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21927 (CFLAGS-.ob): Remove variable.
21928 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21929 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21930 both definitions of variable.
21931 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21932 (ASFLAGS-.ob): Remove variable.
21934 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21937 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21938 Remove __BOUNDED_POINTERS__ from condition.
21939 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21940 * string/bits/string2.h [!__NO_STRING_INLINES &&
21941 !__BOUNDED_POINTERS__]: Likewise.
21942 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21944 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21945 Remove conditional code.
21946 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21947 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21948 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21952 * csu/libc-start.c: Do not include <bp-sym.h>.
21953 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21954 * elf/dl-open.c: Do not include <bp-sym.h>.
21955 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21956 * math/fegetenv.c: Do not include <bp-sym.h>.
21957 (fegetenv): Do not use BP_SYM in versioned symbols.
21958 * nptl/sysdeps/pthread/bits/libc-lockP.h
21959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21962 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21964 (__pthread_mutex_destroy): Likewise.
21965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21966 (__pthread_mutex_lock): Likewise.
21967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21968 (__pthread_mutex_trylock): Likewise.
21969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21970 (__pthread_mutex_unlock): Likewise.
21971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21972 (__pthread_mutexattr_init): Likewise.
21973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21974 (__pthread_mutexattr_destroy): Likewise.
21975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21976 (__pthread_mutexattr_settype): Likewise.
21977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21978 (__pthread_rwlock_init): Likewise.
21979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21980 (__pthread_rwlock_destroy): Likewise.
21981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21982 (__pthread_rwlock_rdlock): Likewise.
21983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21984 (__pthread_rwlock_tryrdlock): Likewise.
21985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21986 (__pthread_rwlock_wrlock): Likewise.
21987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21988 (__pthread_rwlock_trywrlock): Likewise.
21989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21990 (__pthread_rwlock_unlock): Likewise.
21991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21992 (__pthread_key_create): Likewise.
21993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21994 (__pthread_setspecific): Likewise.
21995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21996 (__pthread_getspecific): Likewise.
21997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22000 (_pthread_cleanup_push_defer): Likewise.
22001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22002 (_pthread_cleanup_pop_restore): Likewise.
22003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22004 (pthread_setcancelstate): Likewise.
22005 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22007 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22008 (memchr): Do not use BP_SYM in weak_alias.
22009 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22010 (fegetenv): Do not use BP_SYM in versioned symbols.
22011 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22012 (fesetenv): Do not use BP_SYM in versioned symbols.
22013 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22014 (feupdateenv): Do not use BP_SYM in versioned symbols.
22015 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22016 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22017 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22018 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22019 (open64): Do not use BP_SYM in weak_alias.
22020 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22021 (fegetenv): Do not use BP_SYM in versioned symbols.
22022 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22023 (fesetenv): Do not use BP_SYM in versioned symbols.
22024 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22025 (feupdateenv): Do not use BP_SYM in versioned symbols.
22026 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22027 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22028 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22029 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22030 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22031 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22032 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22034 (__libc_start_main): Do not use BP_SYM.
22036 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22039 redundant return line.
22041 (denorm): Likewise.
22042 (dbl_mp): Likewise.
22043 (sub_magnitudes): Likewise.
22049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22051 (denorm): Likewise.
22052 (dbl_mp): Likewise.
22053 (sub_magnitudes): Likewise.
22060 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22062 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22063 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22066 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22067 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22069 of __mul for squares.
22070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22074 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22075 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22077 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22080 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22082 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22083 prototype or function definition. Rename ubp_* variables and
22084 parameters. Remove argv definitions conditional on
22085 [__BOUNDED_POINTERS__].
22086 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22087 * elf/dl-runtime.c (_dl_fixup): Likewise.
22088 * include/set-hooks.h (RUN_HOOK): Likewise.
22089 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22091 * string/strcpy.c (strcpy): Do not use __unbounded.
22092 * sysdeps/generic/frame.h (struct layout): Likewise.
22093 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22094 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22095 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22096 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22097 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22098 (__backtrace): Likewise.
22099 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22101 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22102 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22103 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22105 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22106 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22107 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22108 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22109 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22110 Do not use __unbounded.
22111 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22112 Rename __unboundedrlimits parameter to rlimits in prototype.
22113 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22114 Do not use __unbounded.
22115 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22116 not use __ptrvalue.
22117 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22118 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22119 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22120 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22121 __ptrvalue or __unbounded.
22122 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22123 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22125 (__new_msgctl): Do not use __ptrvalue.
22126 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22128 (__libc_msgrcv): Do not use __ptrvalue.
22129 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22130 startup_info): Do not use __unbounded.
22131 (__libc_start_main): Likewise. Rename ubp_* variables and
22132 parameters. Remove argv definitions conditional on
22133 [__BOUNDED_POINTERS__].
22134 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22136 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22138 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22140 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22142 (__new_shmctl): Do not use __ptrvalue.
22143 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22144 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22146 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22147 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22148 (__libc_sigaction): Likewise.
22149 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22150 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22152 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22154 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22156 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22158 * string/mempcpy.c: Implement by calling memcpy.
22160 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22167 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22168 values in the mantissa.
22170 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22171 minimize writes to Z.
22172 (sub_magnitudes): Simplify code a bit.
22174 2013-02-12 Roland McGrath <roland@hack.frob.com>
22176 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22177 from the message. The linker prefixes all warnings with that already.
22179 2013-02-12 Andreas Schwab <schwab@suse.de>
22182 * posix/regexec.c (extend_buffers): Add parameter min_len.
22183 (check_matching): Pass minimum needed length.
22184 (clean_state_log_if_needed): Likewise.
22185 (get_subexp): Likewise.
22186 * posix/Makefile (tests): Add bug-regex34.
22187 (bug-regex34-ENV): Define.
22188 * posix/bug-regex34.c: New file.
22191 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22192 elements compare against the byte sequence of it, not its name.
22193 * posix/Makefile (tests): Add bug-regex35.
22194 (bug-regex35-ENV): Define.
22195 * posix/bug-regex35.c: New file.
22197 2013-02-11 Tom de Vries <tom@codesourcery.com>
22199 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22201 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22202 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22203 (CHECK_EOL): Add undef.
22205 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22207 * bits/stdlib-bsearch.h: New file.
22208 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22209 * stdlib/stdlib.h: Likewise.
22211 2013-02-11 Roland McGrath <roland@hack.frob.com>
22213 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22214 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22216 * manual/search.texi (Array Search Function): Add missing const in
22218 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22219 declaration to use rlim_t.
22220 (Basic Scheduling Functions): Remove erroneous const from
22221 sched_getparam prototype. Remove erroneous * from
22222 sched_get_priority_max and sched_get_priority_min prototypes.
22223 (Resource Usage): Fix summary @comment on vtimes to refer to
22224 sys/vtimes.h rather than vtimes.h.
22225 Add missing *s in vtimes prototype.
22226 (Limits on Resources): Fix ulimit prototype to return long int.
22227 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22228 prototypes to use long int rather than double.
22229 (BSD Random): Fix initstate and setstate to use char *, not void *.
22230 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22231 prototype to make second argument 'struct aiocb64 *const[]'.
22232 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22233 (Status of AIO Operations): Remove erroneous const in aio_return and
22234 aio_return64 prototypes.
22235 (Synchronizing I/O): Fix sync prototype to return void.
22236 * manual/startup.texi (Suboptions): Remove an erroneous const in
22237 getsubopt prototype.
22238 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22239 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22240 use size_t rather than int.
22241 (Scanning All Users): Likewise for getpwent_r.
22242 (Setting Groups): Add missing const to setgroups prototype.
22243 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22244 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22245 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22246 'const void *' rather than 'const char *'.
22247 (Host Address Functions): Likewise for inet_ntop.
22248 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22249 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22250 ssize_t for return value.
22251 (Sending Data): Likewise for send, sendto, sendmsg.
22252 (Socket Option Functions): Add a missing const in setsockopt prototype.
22253 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22254 use wchar_t for the argument.
22255 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22256 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22258 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22259 double/float/long double for second argument.
22260 Fix return types of significand, significandf, significandl.
22261 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22262 argument in fchmod prototype.
22263 (File Owner): Use uid_t and gid_t in fchown prototype.
22264 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22265 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22266 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22267 use 'const struct dirent **' as argument types to CMP function pointer
22269 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22270 (File Times): Fix summary magic @comment for struct utimbuf and utime
22271 to refer to utime.h, not time.h.
22272 * manual/string.texi (Argz Functions): Add missing const in
22273 argz_extract and argz_next prototypes.
22274 (Finding Tokens in a String): Likewise for basename.
22275 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22276 (Copying and Concatenation): Fix typo in wmemmove prototype.
22277 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22278 (Signal Stack): Remove erroneous const in sigstack prototype.
22279 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22281 (Simple Calendar Time): Likewise for stime.
22282 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22284 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22285 say sys/sysctl.h instead.
22286 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22287 and vsyslog prototypes.
22289 2013-02-11 Tom de Vries <tom@codesourcery.com>
22291 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22294 2013-02-11 Roland McGrath <roland@hack.frob.com>
22296 * misc/sys/mman.h: Fix typo in mremap comment.
22298 2013-02-08 Roland McGrath <roland@hack.frob.com>
22300 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22301 the '\0' terminator.
22303 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22306 * debug/segfault.c: Don't include <bp-checks.h>.
22307 * sysdeps/generic/bp-checks.h: Remove file.
22308 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22309 (__GETDENTS): Don't use CHECK_N.
22310 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22311 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22312 (__getgroups): Don't use CHECK_N.
22313 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22314 (setgroups): Don't use CHECK_N.
22315 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22316 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22317 (__libc_msgrcv): Don't use CHECK_N.
22318 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22319 (__libc_msgsnd): Don't use CHECK_N.
22320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22322 (__libc_pread): Don't use CHECK_N.
22323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22324 include <bp-checks.h>.
22325 (__libc_pread64): Don't use CHECK_N.
22326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22327 include <bp-checks.h>.
22328 (__libc_pwrite): Don't use CHECK_N.
22329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22330 include <bp-checks.h>.
22331 (__libc_pwrite64): Don't use CHECK_N.
22332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22334 (__libc_pread): Don't use CHECK_N.
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22336 include <bp-checks.h>.
22337 (__libc_pread64): Don't use CHECK_N.
22338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22339 include <bp-checks.h>.
22340 (__libc_pwrite): Don't use CHECK_N.
22341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22342 include <bp-checks.h>.
22343 (__libc_pwrite64): Don't use CHECK_N.
22344 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22345 (do_pread): Don't use CHECK_N.
22346 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22347 (do_pread64): Don't use CHECK_N.
22348 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22349 (do_pwrite): Don't use CHECK_N.
22350 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22351 (do_pwrite64): Don't use CHECK_N.
22352 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22353 (__libc_readv): Don't use CHECK_N.
22354 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22355 (semop): Don't use CHECK_N.
22356 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22358 (semtimedop): Don't use CHECK_N.
22359 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22360 (__libc_pread): Don't use CHECK_N.
22361 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22363 (__libc_pread64): Don't use CHECK_N.
22364 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22366 (__libc_pwrite): Don't use CHECK_N.
22367 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22369 (__libc_pwrite64): Don't use CHECK_N.
22370 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22372 (__libc_msgrcv): Don't use CHECK_N.
22373 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22374 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22375 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22376 (__libc_writev): Don't use CHECK_N.
22378 2013-02-08 Roland McGrath <roland@hack.frob.com>
22380 * string/strcpy.c: Removed unused variable.
22382 * Makeconfig (+sysdep-includes): Define with := rather than =.
22383 Use an existing include/ subdir of each sysdeps dir before it.
22385 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22387 * nscd/connection.c (register_traced_file): Comment function.
22388 [HAVE_INOTIFY] (union __inev): Define.
22389 [HAVE_INOTIFY] (inotify_check_files): New function.
22390 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22391 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22393 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22395 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22397 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22398 loaded if not already and that a failure is permanent.
22400 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22403 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22404 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22406 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22409 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22410 (CHECK_1_NULL_OK): Likewise.
22411 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22412 (__fxstat): Do not use CHECK_1.
22413 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22415 (___fxstat64): Do not use CHECK_1.
22416 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22418 (__fxstatat): Do not use CHECK_1.
22419 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22421 (__fxstatat64): Do not use CHECK_1.
22422 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22424 (__fxstat): Do not use CHECK_1.
22425 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22427 (__fxstatat): Do not use CHECK_1.
22428 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22430 (__getresgid): Do not use CHECK_1.
22431 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22433 (__getresuid): Do not use CHECK_1.
22434 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22436 (__lxstat): Do not use CHECK_1.
22437 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22439 (__old_msgctl): Do not use CHECK_1.
22440 (__new_msgctl): Likewise.
22441 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22443 (__new_setrlimit): Do not use CHECK_1.
22444 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22446 (__old_shmctl): Do not use CHECK_1.
22447 (__new_shmctl): Likewise.
22448 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22450 (__xstat): Do not use CHECK_1.
22451 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22452 (__lxstat): Do not use CHECK_1.
22453 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22455 (___lxstat64): Do not use CHECK_1.
22456 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22457 (__old_msgctl): Do not use CHECK_1.
22458 (__new_msgctl): Likewise.
22459 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22461 (__gettimeofday): Do not use CHECK_1.
22462 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22463 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22464 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22466 (__gettimeofday): Do not use CHECK_1.
22467 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22468 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22469 (__new_shmctl): Do not use CHECK_1.
22470 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22472 (do_sigtimedwait): Do not use CHECK_1.
22473 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22475 (do_sigwaitinfo): Do not use CHECK_1.
22476 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22478 (msgctl): Do not use CHECK_1.
22479 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22481 (shmctl): Do not use CHECK_1.
22482 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22483 (ustat): Do not use CHECK_1.
22484 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22486 (__fxstat): Do not use CHECK_1.
22487 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22489 (__fxstatat): Do not use CHECK_1.
22490 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22492 (__lxstat): Do not use CHECK_1.
22493 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22495 (__xstat): Do not use CHECK_1.
22496 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22497 (__xstat): Do not use CHECK_1.
22498 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22499 (___xstat64): Do not use CHECK_1.
22502 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22504 (CHECK_BOUNDS_HIGH): Likewise.
22505 * string/strcpy.c: Do not include <bp-checks.h>.
22506 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22508 2013-02-07 Roland McGrath <roland@hack.frob.com>
22510 * nscd/nscd-client.h (__nscd_drop_map_ref):
22511 Add __attribute__ ((unused)).
22512 * nis/nss-nisplus.h (niserr2nss): Likewise.
22514 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22515 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22517 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22518 Remove inline keyword.
22519 * include/rounding-mode.h (round_away): Likewise.
22520 * libio/wfileops.c (adjust_wide_data): Likewise.
22521 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22522 (__m128i_strloadu_tolower): Likewise.
22523 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22524 (__m128i_strloadu_tolower): Likewise.
22525 * time/mktime.c (ydhms_diff): Likewise.
22526 * locale/elem-hash.h (elem_hash): Likewise.
22527 * locale/setlocale.c (setdata): Likewise.
22528 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22529 (re_string_wchar_at): Likewise.
22530 (bitset_not, bitset_merge, bitset_mask): Likewise.
22531 [!(__GNUC__ > 3)] (inline): Remove macro.
22532 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22533 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22534 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22535 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22536 * string/memcmp.c (memcmp_bytes): Likewise.
22537 * locale/programs/locarchive.c (compute_hashval): Likewise.
22538 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22539 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22540 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22541 * nss/getent.c (print_rpc, print_protocols): Likewise.
22542 (print_passwd, print_group, print_aliases): Likewise.
22543 * nis/nss-nisplus.h (niserr2nss): Likewise.
22544 * nscd/connections.c (restart_p): Likewise.
22545 Change return type to bool.
22547 2013-02-05 Roland McGrath <roland@hack.frob.com>
22549 * Makeconfig (all-Depend-files): Add existing
22550 $(sorted-subdirs:=/Depend) files.
22551 (all-subdirs): Remove nss.
22552 * sysdeps/unix/inet/Subdirs: Add it here instead.
22553 * hesiod/Depend: New file.
22555 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22556 instead of calling alloca.
22558 * io/lseek.c (__lseek): Rename to __libc_lseek.
22559 Define __lseek as an alias.
22561 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22563 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22565 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22566 else clause and remove check for non-standard endianness.
22568 2013-02-04 David S. Miller <davem@davemloft.net>
22570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22572 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22575 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22576 (__ubp_memchr): Remove prototype.
22577 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22578 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22579 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22580 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22581 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22583 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22584 (__ubp_memchr): Likewise.
22585 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22586 (__ubp_memchr): Likewise.
22587 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22588 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22589 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22590 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22592 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22593 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22594 (__getcwd): Do not use CHECK_STRING.
22595 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22597 (__real_chown): Do not use CHECK_STRING.
22598 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22600 (fchownat): Do not use CHECK_STRING.
22601 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22603 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22605 (__lchown): Do not use CHECK_STRING.
22606 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22607 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22608 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22609 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22611 include <bp-checks.h>.
22612 (truncate64): Do not use CHECK_STRING.
22613 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22615 (__real_chown): Do not use CHECK_STRING.
22616 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22618 (__lchown): Do not use CHECK_STRING.
22619 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22621 (__chown): Do not use CHECK_STRING.
22622 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22624 (truncate64): Do not use CHECK_STRING.
22625 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22627 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22628 (__xmknod): Do not use CHECK_STRING.
22629 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22631 (__xmknodat): Do not use CHECK_STRING.
22632 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22633 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22635 2013-02-04 Andreas Schwab <schwab@suse.de>
22638 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22639 * include/netdb.h: Likewise for h_errno.
22640 * elf/tst-stackguard1.c: Include <tls.h>.
22642 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22644 * elf/link.h (struct link_map): Extend the l_addr comment.
22645 * include/link.h (struct link_map): Likewise.
22647 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22650 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22651 (BOUNDED_1): Remove macro.
22652 * debug/backtrace.c: Don't include <bp-checks.h>.
22653 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22654 (__backtrace): Likewise.
22655 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22657 (__backtrace): Don't use BOUNDED_1.
22658 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22660 (__backtrace): Don't use BOUNDED_1.
22661 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22662 (__backtrace): Don't use BOUNDED_1.
22663 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22664 (shmat): Don't use BOUNDED_N.
22666 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22669 * sysdeps/generic/bp-start.h: Remove file.
22670 * csu/libc-start.c: Don't include <bp-start.h>.
22671 (LIBC_START_MAIN): Set up __environ directly instead of using
22672 INIT_ARGV_and_ENVIRON.
22673 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22677 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22679 (CHECK_FCNTL): Likewise.
22680 (CHECK_N_PAGES): Likewise.
22683 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22685 (CHECK_SIGSET_NULL_OK): Likewise.
22686 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22688 (sigpending): Don't use CHECK_SIGSET.
22689 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22691 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22692 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22694 (do_sigsuspend): Don't use CHECK_SIGSET.
22695 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22697 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22698 (do_sigwait): Don't use CHECK_SIGSET.
22699 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22701 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22702 include <bp-checks.h>.
22703 (sigpending): Don't use CHECK_SIGSET.
22704 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22705 include <bp-checks.h>.
22706 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22707 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22709 (sigpending): Don't use CHECK_SIGSET.
22710 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22712 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22715 * sysdeps/generic/bp-semctl.h: Remove file.
22716 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22717 <bp-checks.h> and <bp-semctl.h>.
22718 (__old_semctl): Don't use CHECK_SEMCTL.
22719 (__new_semctl): Likewise.
22720 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22722 (__old_semctl): Don't use CHECK_SEMCTL.
22723 (__new_semctl): Likewise.
22724 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22725 <bp-checks.h> and <bp-semctl.h>.
22726 (__old_semctl): Don't use CHECK_SEMCTL.
22727 (__new_semctl): Likewise.
22728 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22729 <bp-checks.h> and <bp-semctl.h>.
22730 (semctl): Don't use CHECK_SEMCTL.
22733 * Makerules (elide-bp-thunks): Remove variable.
22734 (elide-routines.oS): Don't use $(elide-bp-thunks).
22735 (elide-routines.os): Likewise.
22736 (elide-routines.o): Likewise.
22737 (elide-routines.op): Likewise.
22738 (elide-routines.og): Likewise.
22739 (objects): Don't use $(bp-thunks).
22740 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22742 (common-generated): Do not add s-proto-bp.d.
22743 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22746 Do not generate makefile rules for bounded-pointer thunks.
22747 * sysdeps/generic/bp-thunks.h: Remove file.
22748 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22749 * sysdeps/unix/s-proto-bp.S: Likewise.
22752 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22753 parts of result separately when argument is not close to line from
22754 -i to i and one part of argument is small.
22755 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22756 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22757 * math/libm-test.inc (cacos_test): Add more tests.
22758 (casin_test): Likewise.
22759 (casinh_test): Likewise.
22760 * sysdeps/i386/fpu/libm-test-ulps: Update.
22761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22763 2013-01-31 David S. Miller <davem@davemloft.net>
22765 * po/de.po: Update from translation team.
22767 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22769 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22771 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22773 * configure.in (_AC_PROG_CC_C89): New definition.
22774 * configure: Regenerate.
22776 * configure.in (AC_PROG_CPP): New definition.
22777 * configure: Regenerate.
22779 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22781 * debug/tst-backtrace.h: New file.
22782 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22783 (ret): Remove variable.
22785 (FAIL): Remove macro.
22786 (NO_INLINE): Likewise.
22787 (fn1): Use match function instead of strstr.
22788 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22789 (ret): Remove variable.
22791 (FAIL): Remove macro.
22792 (NO_INLINE): Likewise.
22793 (fn): Use match function instead of strstr.
22794 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22795 (ret): Remove variable.
22797 (FAIL): Remove macro.
22798 (NO_INLINE): Likewise.
22799 (handle_signal): Use match function instead of strstr.
22800 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22801 (ret): Remove variable.
22803 (FAIL): Remove macro.
22804 (NO_INLINE): Likewise.
22805 (handle_signal): Use match function instead of strstr.
22807 2013-01-23 Roland McGrath <roland@hack.frob.com>
22809 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22811 2013-01-23 David S. Miller <davem@davemloft.net>
22813 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22814 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22815 argument of CAS if possible.
22816 * sysdeps/sparc/sparc64/bits/atomic.h
22817 (__arch_compare_and_exchange_val_32_acq): Likewise.
22818 (__arch_compare_and_exchange_val_64_acq): Likewise.
22820 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22822 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22823 * sysdeps/posix/ulimit.c: ... this.
22824 Include <limits.h>.
22825 * sysdeps/unix/bsd/ulimit.c: Remove file.
22827 2013-01-23 Adam Conrad <adconrad@0c3.net>
22829 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22830 (LDFLAGS-tst-array5): Likewise.
22832 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22835 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22836 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22837 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22838 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22840 2013-01-21 David S. Miller <davem@davemloft.net>
22842 * sysdeps/sparc/backtrace.c: New file.
22843 * sysdeps/sparc/sparc32/backtrace.h: New file.
22844 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22845 * sysdeps/sparc/sparc64/backtrace.h: New file.
22846 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22847 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22850 2013-01-21 Andreas Schwab <schwab@suse.de>
22853 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22856 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22862 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22863 Mark Mitchell <mark@codesourcery.com>
22864 Tom de Vries <tom@codesourcery.com>
22865 Paul Pluzhnikov <ppluzhnikov@google.com>
22867 * debug/tst-backtrace2.c: New file.
22868 * debug/tst-backtrace3.c: Likewise.
22869 * debug/tst-backtrace4.c: Likewise.
22870 * debug/tst-backtrace5.c: Likewise.
22871 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22872 (CFLAGS-tst-backtrace3.c): Likewise.
22873 (CFLAGS-tst-backtrace4.c): Likewise.
22874 (CFLAGS-tst-backtrace5.c): Likewise.
22875 (LDFLAGS-tst-backtrace2): Likewise.
22876 (LDFLAGS-tst-backtrace3): Likewise.
22877 (LDFLAGS-tst-backtrace4): Likewise.
22878 (LDFLAGS-tst-backtrace5): Likewise.
22879 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22880 tst-backtrace4 and tst-backtrace5.
22882 2013-01-18 Anton Blanchard <anton@samba.org>
22883 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22885 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22886 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22887 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22888 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22890 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22891 "+r" and remove output regs list as redundant. Add explicit inline
22892 asm to specify register of return val to work around compiler codegen
22893 bug. Remove (int) cast on return value. Add return type parameter to
22894 use in macro so that this macro does not truncate return value for
22896 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22897 pass to INTERNAL_VSYSCALL_NCS.
22898 (INLINE_VSYSCALL): Add 'long int' as return type to
22899 INTERNAL_VSYSCALL_NCS macro invocation.
22900 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22901 INTERNAL_VSYSCALL_NCS macro invocation.
22902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22904 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22907 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22908 Fix application of SIMD FP exception mask.
22910 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22911 mp_no from a power of two.
22912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22913 __mpexp_twomm1. Use __pow_mp.
22915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22918 2013-01-17 David S. Miller <davem@davemloft.net>
22920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22922 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22925 * include/complex.h: Condition contents on [!_COMPLEX_H].
22926 (__kernel_casinhf): New prototype.
22927 (__kernel_casinh): Likewise.
22928 (__kernel_casinhl): Likewise.
22929 * math/Makefile (libm_calls): Add k_casinh.
22930 * math/k_casinh.c: New file.
22931 * math/k_casinhf.c: Likewise.
22932 * math/k_casinhl.c: Likewise.
22933 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22934 finite nonzero arguments.
22935 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22936 finite nonzero arguments.
22937 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22938 finite nonzero arguments.
22939 * math/s_casinh.c: Do not include <float.h>.
22940 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22941 * math/s_casinhf.c: Do not include <float.h>.
22942 (__casinhf): Move code for finite nonzero arguments to
22944 * math/s_casinhl.c: Do not include <float.h>.
22945 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22947 (__casinhl): Move code for finite nonzero arguments to
22949 * math/libm-test.inc (cacos_test): Add more tests.
22950 * sysdeps/i386/fpu/libm-test-ulps: Update.
22951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22953 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22955 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22956 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22957 [!HAVE_MREMAP]: Remove [defined linux] case.
22958 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22960 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22962 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22964 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22966 * elf/elf.h (R_386_SIZE32): New relocation.
22967 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22969 (elf_machine_rela): Likewise.
22970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22971 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22973 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22975 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22976 (FP_FAST_FMA): Do not define.
22977 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22978 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22979 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22980 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22981 !_SOFT_FLOAT]: Likewise.
22982 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22983 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22985 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22986 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22987 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22988 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22989 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22990 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22993 2013-01-16 Andreas Schwab <schwab@suse.de>
22996 * include/stdlib.h (__mktemp): Add declaration.
22997 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22998 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23000 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23002 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23004 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23005 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23006 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23008 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23009 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23011 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23013 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23014 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23015 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23017 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23018 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23020 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23022 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23024 2013-01-15 David S. Miller <davem@davemloft.net>
23026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23027 trunc{,f} to libm-sysdep_routes.
23028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23039 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23040 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23042 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23043 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23046 nearbyint{,f} to libm-sysdep_routes.
23047 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23058 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23060 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23063 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23064 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23065 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23067 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23068 libc_feholdexcept and libc_fesetenv.
23070 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23072 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23074 2013-01-14 David S. Miller <davem@davemloft.net>
23076 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23077 (SPARC_ASM_VIS2_IFUNC): Likewise.
23078 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23080 use of 'siam' instruction.
23081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23114 routines to libm-sysdep_routines.
23115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23118 fdim/fdimf to libm-sysdep_routines.
23119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23127 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23128 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23129 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23130 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23132 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23134 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23135 to optimize copies.
23137 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23142 local variable MPTWO.
23143 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23146 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23148 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23151 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23153 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23155 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23157 * manual/pattern.texi (glob_t): Document gl_flags.
23158 (glob64_t): Likewise.
23160 2013-01-11 David S. Miller <davem@davemloft.net>
23162 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23163 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23164 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23165 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23166 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23167 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23168 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23169 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23170 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23171 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23172 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23173 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23174 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23176 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23177 sparc V9 rather than using V8 code.
23178 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23179 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23181 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23183 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23186 2013-01-11 Roland McGrath <roland@hack.frob.com>
23188 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23189 not in the main loop.
23190 * configure: Regenerated.
23192 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23194 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23195 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23197 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23198 [!__GLIBC_HAVE_LONG_LONG] case.
23199 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23200 condition to just #else.
23201 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23202 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23203 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23204 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23206 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23207 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23208 #elif condition to just #else.
23209 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23210 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23211 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23212 #elif condition to just #else.
23214 2013-01-11 Steve Ellcey <sellcey@mips.com>
23216 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23217 (EF_MIPS_ARCH_64): Fix value.
23218 (EF_MIPS_ARCH_32R2): New.
23219 (EF_MIPS_ARCH_64R2): New.
23221 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23223 * Makeconfig (+link-pie-before-libc): New.
23224 (+link-pie-after-libc): Likewise.
23225 (+link-pie-tests): Likewise.
23226 (+link-pie): Rewritten.
23227 (link-before-libc): Remove $(config-LDFLAGS).
23228 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23229 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23230 (config-LDFLAGS): Renamed to ...
23231 (rtld-LDFLAGS): This.
23232 (rtld-tests-LDFLAGS): New macro.
23233 (link-libc-rpath-link): Likewise.
23234 (link-libc-tests-rpath-link): Likewise.
23235 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23236 (link-libc): Prepand $(link-libc-rpath-link).
23237 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23238 (test-program-prefix): New macro.
23239 (test-via-rtld-prefix): Likewise.
23240 (test-program-cmd): Likewise.
23241 (host-test-program-cmd): Likewise.
23242 * Makefile ($(common-objpfx)testrun.sh): Replace
23243 $(run-program-prefix) with $(test-program-prefix).
23244 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23246 ($(common-objpfx)shlib.lds): Likewise.
23247 (build-module-helper): Likewise.
23248 ($(common-objpfx)format.lds): Likewise.
23249 * Rules (binaries-pie-tests): New.
23250 (binaries-pie-notests): Likewise.
23251 (binaries-pie): Rewritten.
23252 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23253 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23254 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23255 (make-test-out): Replace $(host-built-program-cmd) with
23256 $(host-test-program-cmd).
23257 * config.make.in (build-hardcoded-path-in-tests): New variable.
23258 * configure.in (--enable-hardcoded-path-in-tests): New configure
23260 (hardcoded_path_in_tests): New AC_SUBST.
23261 * configure: Regenerated.
23262 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23263 $(built-program-cmd) with $(test-program-cmd).
23264 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23265 (test_program_cmd): This.
23266 * elf/Makefile ($(objpfx)order.out): Run test with
23267 $(test-program-prefix).
23268 ($(objpfx)order2.out): Likewise.
23269 ($(objpfx)tst-initorder.out): Likewise.
23270 ($(objpfx)tst-initorder2.out): Likewise.
23271 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23272 $(test-program-cmd).
23273 ($(objpfx)tst-array1-static.out): Likewise.
23274 ($(objpfx)tst-array2.out): Likewise.
23275 ($(objpfx)tst-array3.out): Likewise.
23276 ($(objpfx)tst-array4.out): Likewise.
23277 ($(objpfx)tst-array5.out): Likewise.
23278 ($(objpfx)tst-array5-static.out): Likewise.
23279 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23280 $(test-program-cmd).
23281 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23282 $(run-program-prefix) with $(test-program-prefix).
23283 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23284 (test_program_prefix): This.
23285 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23286 $(run-program-prefix) with $(test-program-prefix).
23287 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23288 (test_program_prefix): This.
23289 * iconvdata/tst-tables.sh: Likewise.
23290 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23291 $(run-program-prefix) with $(test-program-prefix).
23292 ($(objpfx)tst-translit.out): Likewise.
23293 ($(objpfx)tst-gettext2.out): Likewise.
23294 ($(objpfx)tst-gettext4.out): Likewise.
23295 ($(objpfx)tst-gettext6.out): Likewise.
23296 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23297 (test_program_prefix): This.
23298 * intl/tst-gettext2.sh: Likewise.
23299 * intl/tst-gettext4.sh Likewise.
23300 * intl/tst-gettext6.sh: Likewise.
23301 * intl/tst-translit.sh: Likewise.
23302 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23303 with $(test-program-cmd).
23304 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23305 $(run-program-prefix) with $(test-program-prefix).
23306 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23307 (test_program_prefix): This.
23308 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23309 $(run-program-prefix) with $(test-program-prefix).
23310 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23311 (test_program_prefix): This.
23312 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23313 * posix/Makefile ($(objpfx)globtest.out): Replace
23314 $(run-via-rtld-prefix) and $(test-wrapper) with
23315 $(test-program-prefix) and $(test-via-rtld-prefix).
23316 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23317 $(test-program-prefix).
23318 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23319 $(host-test-program-cmd).
23320 (tst-spawn-ARGS): Likewise.
23321 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23322 $(test-program-prefix).
23323 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23324 (test_via_rtld_prefix): This.
23325 (test_wrapper): Renamed to ...
23326 (test_program_prefix): This.
23327 (run_program_prefix): Replaced by test_program_prefix.
23328 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23329 (test_program_prefix): This.
23330 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23331 with $(host-test-program-cmd).
23332 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23333 $(run-program-prefix) with $(test-program-prefix).
23334 ($(objpfx)tst-printf.out): Likewise.
23335 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23336 $(test-program-cmd).
23337 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23338 (test_program_prefix): This.
23339 * stdio-common/tst-unbputc.sh: Likewise.
23340 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23341 $(run-program-prefix) with $(test-program-prefix).
23342 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23343 (test_program_prefix): This.
23344 * string/Makefile ($(objpfx)tst-svc.out): Replace
23345 $(built-program-cmd) with $(test-program-cmd).
23347 2013-01-11 Andreas Jaeger <aj@suse.de>
23350 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23351 value. Sync with Linux 3.7.
23353 2013-01-10 David S. Miller <davem@davemloft.net>
23355 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23356 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23357 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23359 2013-01-10 Roland McGrath <roland@hack.frob.com>
23361 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23363 * configure: Regenerated.
23365 2013-01-10 David S. Miller <davem@davemloft.net>
23367 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23368 sparc V9 rather than using V8 code.
23369 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23370 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23372 2013-01-10 Roland McGrath <roland@hack.frob.com>
23374 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23375 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23376 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23377 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23378 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23379 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23380 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23381 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23382 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23383 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23384 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23385 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23386 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23387 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23388 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23389 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23390 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23391 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23392 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23393 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23394 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23395 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23396 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23397 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23398 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23399 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23400 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23402 2013-01-10 David S. Miller <davem@davemloft.net>
23404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23406 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23408 * posix/Makefile (tests-static): New variable.
23409 (tests): Add $(tests-static).
23410 (tst-exec-static-ARGS): New variable.
23411 (tst-spawn-static-ARGS): Likewise.
23412 * posix/tst-exec-static.c: New file.
23413 * posix/tst-spawn-static.c: Likewise.
23414 * posix/tst-exec.c: Support run directly.
23415 * posix/tst-spawn.c: Likewise.
23417 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23419 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23421 * math/bits/mathcalls.h (llrint): Likewise.
23422 (llround): Likewise.
23423 * stdlib/stdlib.h (struct drand48_data): Likewise.
23424 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23425 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23426 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23428 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23430 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23431 (elf_greg_t): Likewise.
23432 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23433 (__jmp_buf): Likewise.
23434 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23436 (llrint): Likewise, for all definitions.
23437 (llrintl): Likewise.
23439 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23440 Remove [__GNUC__] condition.
23441 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23442 condition to just [__USE_ISOC99].
23443 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23445 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23448 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23449 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23451 (_POSIX_V6_ILP32_OFF32): Likewise.
23452 (_XBS5_ILP32_OFF32): Likewise.
23453 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23454 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23456 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23458 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23461 doubles __mpexp_twomm1. Adjust usage.
23462 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23465 2013-01-10 Andreas Schwab <schwab@suse.de>
23468 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23469 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23471 2013-01-09 David S. Miller <davem@davemloft.net>
23474 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23475 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23476 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23477 (TCP_FASTOPEN): Define.
23478 (tcp_repair_opt): New structure.
23479 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23481 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23482 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23483 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23484 (tcp_cookie_transactions): New structure.
23486 2013-01-09 Anton Blanchard <anton@samba.org>
23488 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23489 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23490 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23491 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23493 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23495 * include/features.h (__USE_ANSI): Remove.
23497 2013-01-09 Roland McGrath <roland@hack.frob.com>
23499 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23501 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23503 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23505 * sysdeps/s390/fpu/libm-test-ulps: Update.
23507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23509 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23513 (denorm): Likewise.
23514 (__mp_dbl): Likewise.
23515 (__dbl_mp): Likewise.
23516 (add_magnitudes): Likewise.
23517 (sub_magnitudes): Likewise.
23523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23527 (denorm): Likewise.
23528 (__mp_dbl): Likewise.
23529 (__dbl_mp): Likewise.
23530 (add_magnitudes): Likewise.
23531 (sub_magnitudes): Likewise.
23537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23541 (denorm): Likewise.
23542 (__mp_dbl): Likewise.
23543 (__dbl_mp): Likewise.
23544 (add_magnitudes): Likewise.
23545 (sub_magnitudes): Likewise.
23552 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23554 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23555 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23556 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23557 2 && __USE_EXTERN_INLINES]: Likewise.
23559 2013-01-08 Andreas Jaeger <aj@suse.de>
23562 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23564 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23565 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23567 2013-01-07 Anton Blanchard <anton@samba.org>
23569 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23570 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23571 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23572 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23573 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23574 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23575 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23576 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23578 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23579 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23580 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23581 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23582 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23583 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23584 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23585 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23586 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23587 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23588 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23589 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23590 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23591 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23592 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23593 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23594 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23595 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23596 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23597 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23598 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23599 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23601 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23602 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23603 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23604 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23605 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23606 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23607 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23608 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23609 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23610 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23611 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23613 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23615 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23616 (__MALLOC_PMT): Likewise.
23617 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23618 [__GNUC__], only on [_LIBC].
23619 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23620 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23621 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23622 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23623 forward declaration.
23624 (realloc_hook_ini): Likewise.
23625 (memalign_hook_ini): Likewise.
23626 (__libc_memalign): Do not use __MALLOC_PMT in variable
23628 (__libc_valloc): Likewise.
23629 (__libc_pvalloc): Likewise.
23630 (__libc_calloc): Likewise.
23631 (__posix_memalign): Likewise.
23634 * math/s_casinh.c: Include <float.h>.
23635 (__casinh): Do not do computation with squaring and square root
23636 for large arguments.
23637 * math/s_casinhf.c: Include <float.h>.
23638 (__casinhf): Do not do computation with squaring and square root
23639 for large arguments.
23640 * math/s_casinhl.c: Include <float.h>.
23641 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23642 (__casinhl): Do not do computation with squaring and square root
23643 for large arguments.
23644 * math/libm-test.inc (casin_test): Add more tests.
23645 (casinh_test): Likewise.
23646 * sysdeps/i386/fpu/libm-test-ulps: Update.
23647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23649 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23651 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23652 (__x86_64_raw_data_cache_size): Likewise.
23653 (__x86_64_data_cache_size_half): Likewise.
23654 (__x86_64_raw_data_cache_size_half): Likewise.
23655 (__x86_64_shared_cache_size): Likewise.
23656 (__x86_64_raw_shared_cache_size): Likewise.
23657 (__x86_64_shared_cache_size_half): Likewise.
23658 (__x86_64_raw_shared_cache_size_half): Likewise.
23659 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23661 (__x86_data_cache_size): This.
23662 (__x86_64_raw_data_cache_size): Renamed to ...
23663 (__x86_raw_data_cache_size): This.
23664 (__x86_64_data_cache_size_half): Renamed to ...
23665 (__x86_data_cache_size_half): This.
23666 (__x86_64_raw_data_cache_size_half): Renamed to ...
23667 (__x86_raw_data_cache_size_half): This.
23668 (__x86_64_shared_cache_size): Renamed to ...
23669 (__x86_shared_cache_size): This.
23670 (__x86_64_raw_shared_cache_size): Renamed to ...
23671 (__x86_raw_shared_cache_size): This.
23672 (__x86_64_shared_cache_size_half): Renamed to ...
23673 (__x86_shared_cache_size_half): This.
23674 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23675 (__x86_raw_shared_cache_size_half): This.
23676 * sysdeps/x86_64/memcpy.S: Updated.
23677 * sysdeps/x86_64/memset.S: Likewise.
23678 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23680 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23682 2013-01-04 David S. Miller <davem@davemloft.net>
23684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23686 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23688 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23689 1 to avoid redefinition warning.
23690 (__USE_GNU): Don't define.
23691 (init_signaling_nan): Protoize.
23693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23695 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23697 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23699 (__cpymn): Likewise.
23700 (norm): Remove commented code.
23701 (denorm): Likewise.
23702 (__mp_dbl): Likewise.
23704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23705 (__cpymn): Likewise.
23706 (norm): Remove commented code.
23707 (denorm): Likewise.
23708 (__mp_dbl): Likewise.
23711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23712 mp_no value for 1.0 and 2.0.
23713 (norm): Use RADIXI instead of radixi.d.
23714 (denorm): Likewise.
23715 (__mul): Use 0.0 instead of zero.d.
23716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23717 mp_no value for 1.0 and 2.0.
23718 (norm): Use RADIXI instead of radixi.d.
23719 (denorm): Likewise.
23720 (__mul): Use 0.0 instead of zero.d.
23722 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23725 * math/s_casinh.c (__casinh): Reduce finite argument to first
23726 quadrant then set signs of results at the end.
23727 * math/s_casinhf.c (__casinhf): Likewise.
23728 * math/s_casinhl.c (__casinhl): Likewise.
23729 * math/libm-test.inc (casin_test): Add more tests.
23730 (casinh_test): Likewise.
23731 * sysdeps/i386/fpu/libm-test-ulps: Update.
23732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23734 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23736 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23738 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23740 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23742 (denorm): Likewise.
23743 (__mp_dbl): Likewise.
23746 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23747 and adjust the header comment.
23749 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23750 variable name from declaration.
23752 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23755 Initialize COMMON_CPUID_INDEX_7 element.
23756 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23757 (CPUID_RTM): Likewise.
23758 (HAS_RTM): Likewise.
23759 (COMMON_CPUID_INDEX_7): New enum.
23761 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23764 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23765 size is zero, record memory as freed.
23767 2013-01-03 Andreas Jaeger <aj@suse.de>
23769 * po/ia.po: Add new Interlingua translation.
23771 2012-01-03 Allan McRae <allan@archlinux.org>
23773 * locale/programs/localedef.c: Fix description of '--posix' flag.
23775 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23777 * NEWS: Update dates in second copyright notice.
23778 * README: Update copyright dates in example.
23779 * manual/libc.texinfo: Update copyright dates.
23780 * scripts/test-installation.pl: Update copyright date in --version
23783 * hurd/ctty-input.c: Fix copyright notice formatting.
23784 * hurd/ctty-output.c: Likewise.
23785 * hurd/dtable.c: Likewise.
23786 * hurd/hurd-raise.c: Likewise.
23787 * hurd/hurdprio.c: Likewise.
23788 * hurd/msgportdemux.c: Likewise.
23789 * misc/sys/file.h: Likewise.
23790 * misc/sys/ioctl.h: Likewise.
23791 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23792 * sysdeps/mach/hurd/chdir.c: Likewise.
23793 * sysdeps/mach/hurd/fchdir.c: Likewise.
23794 * sysdeps/mach/hurd/rename.c: Likewise.
23795 * sysdeps/mach/hurd/rmdir.c: Likewise.
23796 * sysdeps/mach/hurd/seekdir.c: Likewise.
23797 * sysdeps/mach/hurd/setsid.c: Likewise.
23798 * sysdeps/posix/wait3.c: Likewise.
23800 * All files with FSF copyright notices: Update copyright dates
23801 using scripts/update-copyrights.
23802 * intl/plural.c: Regenerated.
23803 * locale/programs/charmap-kw.h: Likewise.
23804 * locale/programs/locfile-kw.h: Likewise.
23806 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23808 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23811 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23812 calculation loop and add branch prediction.
23814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23815 check access beyond bounds of m1np.
23817 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23819 (__inv): Remove local variable MPTWO to use the global
23821 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23822 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23824 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23825 MP3HALFS static const.
23827 2013-01-01 David S. Miller <davem@davemloft.net>
23829 * po/ca.po: Update from translation team.
23831 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23833 * scripts/update-copyrights: New file.
23834 * Makeconfig: Reformat copyright notice.
23835 * ctype/ctype.h: Likewise.
23836 * debug/swprintf_chk.c: Likewise.
23837 * elf/dl-cache.c: Likewise.
23838 * elf/dl-debug.c: Likewise.
23839 * elf/dl-object.c: Likewise.
23840 * grp/initgroups.c: Likewise.
23841 * hurd/Makefile: Likewise.
23842 * hurd/hurd/signal.h: Likewise.
23843 * hurd/hurdfault.c: Likewise.
23844 * hurd/hurdioctl.c: Likewise.
23845 * hurd/hurdlookup.c: Likewise.
23846 * hurd/intr-msg.c: Likewise.
23847 * iconv/gconv_open.c: Likewise.
23848 * libio/swprintf.c: Likewise.
23849 * locale/lc-ctype.c: Likewise.
23850 * locale/nl_langinfo.c: Likewise.
23851 * mach/Machrules: Likewise.
23852 * mach/Makefile: Likewise.
23853 * malloc/obstack.h: Likewise.
23854 * manual/Makefile: Likewise.
23855 * manual/tsort.awk: Likewise.
23856 * misc/bits/stab.def: Likewise.
23857 * nis/nis_print_group_entry.c: Likewise.
23858 * nis/nis_table.c: Likewise.
23859 * nis/nss_compat/compat-pwd.c: Likewise.
23860 * nis/nss_compat/compat-spwd.c: Likewise.
23861 * po/Makefile: Likewise.
23862 * posix/fnmatch.c: Likewise.
23863 * posix/regex.h: Likewise.
23864 * resolv/Makefile: Likewise.
23865 * resolv/nss_dns/dns-network.c: Likewise.
23866 * resolv/res_hconf.c: Likewise.
23867 * scripts/gen-sorted.awk: Likewise.
23868 * soft-fp/soft-fp.h: Likewise.
23869 * stdio-common/printf.h: Likewise.
23870 * stdlib/monetary.h: Likewise.
23871 * stdlib/random.c: Likewise.
23872 * stdlib/random_r.c: Likewise.
23873 * sysdeps/generic/Makefile: Likewise.
23874 * sysdeps/gnu/Makefile: Likewise.
23875 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23876 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23877 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23878 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23879 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23882 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23883 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23884 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23885 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23886 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23887 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23888 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23889 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23890 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23891 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23893 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23895 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23896 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23897 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23898 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23899 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23901 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23902 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23903 * sysdeps/mach/hurd/errnos.awk: Likewise.
23904 * sysdeps/mach/hurd/fork.c: Likewise.
23905 * sysdeps/mach/hurd/getcwd.c: Likewise.
23906 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23907 * sysdeps/mach/hurd/mmap.c: Likewise.
23908 * sysdeps/mach/hurd/utimes.c: Likewise.
23909 * sysdeps/mach/hurd/xmknod.c: Likewise.
23910 * sysdeps/posix/profil.c: Likewise.
23911 * sysdeps/posix/readdir_r.c: Likewise.
23912 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23913 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23914 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23915 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23917 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23918 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23919 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23921 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23922 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23923 * sysdeps/pthread/lio_listio.c: Likewise.
23924 * sysdeps/sparc/dl-procinfo.h: Likewise.
23925 * sysdeps/unix/i386/sysdep.S: Likewise.
23926 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23927 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23928 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23929 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23931 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23932 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23933 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23934 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23935 * sysdeps/wordsize-32/divdi3.c: Likewise.
23936 * time/sys/time.h: Likewise.
23937 * wcsmbs/Makefile: Likewise.
23939 2013-01-01 David S. Miller <davem@davemloft.net>
23941 * po/fr.po: Update from translation team.
23943 * catgets/gencat.c: Update copyright year.
23944 * csu/version.c: Likewise.
23945 * debug/catchsegv.sh: Likewise.
23946 * debug/pcprofiledump.c: Likewise.
23947 * debug/xtrace.sh: Likewise.
23948 * elf/ldconfig.c: Likewise.
23949 * elf/ldd.bash.in: Likewise.
23950 * elf/pldd.c: Likewise.
23951 * elf/sotruss.ksh: Likewise.
23952 * elf/sprof.c: Likewise.
23953 * iconv/iconv_prog.c: Likewise.
23954 * iconv/iconvconfig.c: Likewise.
23955 * locale/programs/locale.c: Likewise.
23956 * locale/programs/localedef.c: Likewise.
23957 * login/programs/pt_chown.c: Likewise.
23958 * malloc/memusage.sh: Likewise.
23959 * malloc/memusagestat.c: Likewise.
23960 * malloc/mtrace.pl: Likewise.
23961 * nscd/nscd.c: Likewise.
23962 * nss/getent.c: Likewise.
23963 * nss/makedb.c: Likewise.
23964 * posix/getconf.c: Likewise.
23966 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23968 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23971 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23973 * math/bits/mathcalls.h (modf): Use __nonnull.
23975 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23977 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23978 (split): Use macro CN instead of the bare value.
23979 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23981 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23982 instead of the bare value.
23983 (power1): Likewise.
23985 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23987 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23989 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23991 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23993 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23995 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23996 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23998 2012-12-28 Andreas Jaeger <aj@suse.de>
24000 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24001 values are from Linux 3.7.
24003 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24004 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24006 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24008 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24011 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24013 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24014 variables with preprocessor constants.
24015 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24016 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24017 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24019 2012-12-27 Bruno Haible <bruno@clisp.org>
24022 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24025 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24028 and use variable directly.
24029 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24031 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24033 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24034 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24036 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24038 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24039 include directive. Remove local variable MPONE.
24040 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24041 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24042 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24044 2012-12-25 David S. Miller <davem@davemloft.net>
24046 * version.h (RELEASE): Set to "development".
24047 (VERSION): Set to "2.17.90".
24048 * NEWS: Add 2.18 section.
24050 2012-12-21 David S. Miller <davem@davemloft.net>
24052 * po/hr.po: Update from translation team.
24054 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24056 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24058 2012-12-19 Steve Ellcey <sellcey@mips.com>
24060 * NEWS: Mention new memcpy for MIPS.
24062 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24064 * manual/contrib.texi (Contributors): Spelling correction.
24066 2012-12-15 David S. Miller <davem@davemloft.net>
24068 * po/ru.po: Update from translation team.
24070 2012-12-13 David S. Miller <davem@davemloft.net>
24072 * NEWS: Mention IFUNC testsuite enhancements.
24074 * po/pl.po: Update from translation team.
24075 * po/bg.po: Likewise.
24077 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24078 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24080 2012-12-11 David S. Miller <davem@davemloft.net>
24082 * po/sv.po: Update from translation team.
24084 * po/vi.po: Update from translation team.
24086 * po/cs.po: Update from translation team.
24088 * po/de.po: Update from translation team.
24089 * po/eo.po: Likewise.
24090 * po/nl.po: Likewise.
24092 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24095 * manual/argp.texi (Argp Helper Functions): Move node to follow
24096 Argp Parsing State.
24099 * manual/conf.texi (Limits on File System Capacity): Mention if
24100 terminating null is included in the max size.
24102 2012-12-10 Andreas Jaeger <aj@suse.de>
24104 * po/cs.po: Update from translation team.
24106 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24108 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24109 void pointer and cast to uintptr_t.
24110 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24112 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24113 * sysdeps/s390/s390-64/memset.S: Likewise.
24115 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24118 * menual/message.texi (Message Translation): Fix typos.
24119 (Helper programs for gettext): Likewise.
24121 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24124 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24127 2012-12-07 David S. Miller <davem@davemloft.net>
24129 * po/libc.pot: Update.
24131 2012-12-07 Richard Henderson <rth@redhat.com>
24134 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24135 normal/normal case to before the switch.
24136 (_FP_DIV): Likewise.
24138 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24139 Mike Frysinger <vapier@gentoo.org>
24141 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24142 check for __NR_fadvise64_64.
24144 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24146 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24147 0, not just to plain "0" as a statement.
24148 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24151 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24153 * NEWS: Use sourceware.org in Bugzilla URL.
24155 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24158 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24160 * stdio-common/tst-put-error.c (do_test): Add newline to the
24161 padded test to ensure flush.
24163 2012-12-05 Jeff Law <law@redhat.com>
24165 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24167 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24169 * README: Don't refer to ports add-on as distributed separately.
24170 Mention AArch64 in list of systems supported in the ports add-on.
24172 * LICENSES: Add more non-FSF copyright and license notices.
24174 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24177 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24179 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24180 10000 as width of padded output.
24182 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24184 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24186 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24187 variable LX with __attribute__ ((unused)).
24188 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24190 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24191 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24192 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24193 with __attribute__ ((unused)).
24195 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24197 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24199 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24201 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24202 (CFLAGS-nldbl-acos.c): New variable.
24203 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24204 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24205 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24206 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24207 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24208 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24209 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24210 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24211 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24212 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24213 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24214 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24215 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24216 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24217 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24218 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24219 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24220 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24221 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24222 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24223 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24224 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24225 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24226 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24227 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24228 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24229 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24230 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24231 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24232 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24233 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24234 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24235 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24236 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24237 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24238 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24239 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24240 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24241 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24242 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24243 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24244 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24245 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24246 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24247 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24248 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24249 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24250 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24251 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24252 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24253 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24254 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24255 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24256 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24257 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24258 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24259 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24260 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24261 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24262 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24263 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24264 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24265 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24266 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24267 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24268 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24269 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24270 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24271 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24272 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24273 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24274 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24275 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24276 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24277 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24278 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24279 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24280 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24281 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24282 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24283 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24284 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24285 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24286 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24287 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24288 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24289 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24290 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24291 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24292 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24293 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24294 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24295 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24296 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24297 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24298 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24299 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24302 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24305 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24306 whole low double instead of just low 47 bits when splitting values
24309 2012-12-03 Allan McRae <allan@archlinux.org>
24311 * manual/stdio.texi (Predefined Printf Handlers): Remove
24312 @hsep and @vsep usage.
24314 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24316 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24317 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24319 2012-12-03 Jeff Law <law@redhat.com>
24321 * time/sys/time.h (settimeofday): Do not mark TV argument
24324 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24326 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24327 when currently writing and seek to current position when not.
24328 * libio/Makefile (tests): Remove bug-fclose1.
24329 * libio/bug-fclose1.c: Delete.
24331 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24333 * manual/arith.texi (feenableexcept): Fix typo.
24334 (fedisableexcept): Likewise.
24336 2012-11-30 Roland McGrath <roland@hack.frob.com>
24338 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24339 second, differently-typed declaration, rather than a cast.
24341 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24343 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24344 * include/rpc/svc.h: ... here.
24346 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24349 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24350 depending n and resplen2 to catch cases where answer
24353 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24355 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24356 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24358 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24360 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24362 2012-11-29 Roland McGrath <roland@hack.frob.com>
24364 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24366 2012-11-28 Jeff Law <law@redhat.com>
24369 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24370 dataset_temporary. Track alloca usage into alloca_used.
24371 If dataset is large allocate and release it via malloc/free.
24373 2012-06-04 Florian Weimer <fweimer@redhat.com>
24376 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24378 2012-11-28 David S. Miller <davem@davemloft.net>
24380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24382 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24385 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24386 of pi/2 rounded to nearest to 64 bits.
24387 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24388 nearest to 64 bits.
24389 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24392 2012-11-28 Jeff Law <law@redhat.com>
24393 Martin Osvald <mosvald@redhat.com>
24396 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24397 * sunrpc/svc.c: Include time.h.
24398 (__svc_accept_failed): New function.
24399 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24400 any reason other than EINTR, call __svc_accept_failed.
24401 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24402 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24404 2012-11-28 Andreas Schwab <schwab@suse.de>
24406 * scripts/abilist.awk: Also handle indirect functions in .opd
24409 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24412 * sysdeps/x86/fpu/powl_helper.c: New file.
24413 * sysdeps/x86/fpu/Makefile: Likewise.
24414 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24416 (__ieee754_powl): Use __powl_helper for finite arguments except
24417 integer exponents below 8.
24418 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24420 (__ieee754_powl): Use __powl_helper for finite arguments except
24421 integer exponents below 8.
24422 * math/libm-test.inc (pow_test): Add more tests and enable some
24423 previously disabled tests.
24424 * sysdeps/i386/fpu/libm-test-ulps: Update.
24425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24427 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24428 Carlos O'Donell <carlos_odonell@mentor.com>
24430 * nss/makedb.c (is_prime): Assert that input is odd and greater
24431 than 4. Note that fact in a comment too.
24432 (next_prime): Add 4 to input.
24434 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24437 * libio/Makefile (tests): Add test case tst-fwrite-error.
24438 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24439 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24440 * libio/tst-fwrite-error.c: New test case.
24442 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24444 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24445 before casting to void *.
24446 * include/libc-internal.h (__pointer_type): New macro.
24447 (__integer_if_pointer_type_sub): Likewise.
24448 (__integer_if_pointer_type): Likewise.
24449 (cast_to_integer): Likewise.
24450 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24451 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24452 before casting to atomic64_t.
24453 (atomic_exchange_acq): Likewise.
24454 (__arch_exchange_and_add_body): Likewise.
24455 (__arch_add_body): Likewise.
24456 (atomic_add_negative): Likewise.
24457 (atomic_add_zero): Likewise.
24459 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24461 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24462 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24463 (add_fdes): Likewise.
24464 (linear_search_fdes): Likewise.
24465 (binary_search_unencoded_fdes): Likewise.
24467 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24469 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24471 2012-11-24 Adam Conrad <adconrad@0c3.net>
24473 * configure.in: Autodetect C++ header directories.
24474 * configure: Regenerated.
24476 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24478 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24480 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24484 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24486 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24487 LDBL_MANT_DIG == 106]: Disable some tests.
24488 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24490 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24494 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24495 input for small inputs. Return +/- pi/2 for large inputs.
24496 * math/libm-test.inc (atan_test): Add more tests.
24498 * sysdeps/generic/unwind-dw2-fde-glibc.c
24499 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24500 __attribute__ ((unused)).
24503 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24504 x * y if x and y are nonzero and z is zero.
24507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24508 nonzero exponents with absolute value below 0x1p-117 to +/-
24512 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24513 up arguments below 2**-450, not just those below 2**-500.
24514 * math/libm-test.inc (hypot_test): Add another test.
24517 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24518 Return a+b for ratio over 2**120, not 2**60.
24519 * math/libm-test.inc (hypot_test): Add another test.
24521 * math/libm-test.inc (clog_test): Use
24522 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24523 (clog10_test): Likewise.
24526 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24528 2012-11-22 Andreas Schwab <schwab@suse.de>
24530 * sysdeps/i386/fpu/libm-test-ulps: Update.
24532 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24534 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24535 printf output with newline.
24537 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24540 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24541 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24542 -z nodlopen, -z initfirst and -z execstack support.
24543 * configure: Regenerated.
24545 * elf/elf.h (DF_1_NODIRECT): New macro.
24546 (DF_1_IGNMULDEF): Likewise.
24547 (DF_1_NOKSYMS): Likewise.
24548 (DF_1_NOHDR): Likewise.
24549 (DF_1_EDITED): Likewise.
24550 (DF_1_NORELOC): Likewise.
24551 (DF_1_SYMINTPOSE): Likewise.
24552 (DF_1_GLOBAUDIT): Likewise.
24553 (DF_1_SINGLETON): Likewise.
24554 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24555 DT_1_SUPPORTED_MASK bits.
24556 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24558 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24560 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24562 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24564 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24567 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24568 (sendmmsg): Move declarations...
24569 * socket/sys/socket.h: ... here.
24570 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24571 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24573 * socket/recvmmsg.c: ... this new file.
24574 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24575 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24576 definition of __sendmmsg hidden.
24577 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24578 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24579 Move ENOSYS stub into and include it from...
24580 * socket/sendmmsg.c: ... this new file.
24581 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24582 (sysdep_routines): Move recvmmsg and sendmmsg...
24583 * socket/Makefile (routines): ... here.
24584 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24585 (GLIBC_PRIVATE): Add __sendmmsg.
24586 * include/sys/socket.h (__sendmmsg): Add declarations.
24587 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24590 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24593 variable I1 with __attribute__ ((unused)).
24594 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24596 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24598 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24599 DUMMY variables with __attribute__ ((unused)).
24601 * bits/byteswap.h: Include <bits/types.h>.
24602 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24604 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24606 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24607 string_t. Do not manually set errno.
24608 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24609 length with __strnlen. Make sure to both set errno and return it on
24612 2012-11-19 David S. Miller <davem@davemloft.net>
24614 With help from Joseph Myers.
24615 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24616 very large arguments properly.
24617 * math/libm-test.inc (atan_test): New tests.
24618 (atan2_test): New tests.
24619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24622 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24625 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24628 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24629 [POSIX] (EADDRNOTAVAIL): Likewise.
24630 [POSIX] (EAFNOSUPPORT): Likewise.
24631 [POSIX] (EALREADY): Likewise.
24632 [POSIX] (ECONNABORTED): Likewise.
24633 [POSIX] (ECONNREFUSED): Likewise.
24634 [POSIX] (ECONNRESET): Likewise.
24635 [POSIX] (EDESTADDRREQ): Likewise.
24636 [POSIX] (EDQUOT): Likewise.
24637 [POSIX] (EHOSTUNREACH): Likewise.
24638 [POSIX] (EIDRM): Likewise.
24639 [POSIX] (EISCONN): Likewise.
24640 [POSIX] (ELOOP): Likewise.
24641 [POSIX] (EMULTIHOP): Likewise.
24642 [POSIX] (ENETDOWN): Likewise.
24643 [POSIX] (ENETUNREACH): Likewise.
24644 [POSIX] (ENOBUFS): Likewise.
24645 [POSIX] (ENODATA): Likewise.
24646 [POSIX] (ENOLINK): Likewise.
24647 [POSIX] (ENOMSG): Likewise.
24648 [POSIX] (ENOPROTOOPT): Likewise.
24649 [POSIX] (ENOSR): Likewise.
24650 [POSIX] (ENOSTR): Likewise.
24651 [POSIX] (ENOTCONN): Likewise.
24652 [POSIX] (ENOTSOCK): Likewise.
24653 [POSIX] (EOPNOTSUPP): Likewise.
24654 [POSIX] (EOVERFLOW): Likewise.
24655 [POSIX] (EPROTO): Likewise.
24656 [POSIX] (EPROTONOSUPPORT): Likewise.
24657 [POSIX] (EPROTOTYPE): Likewise.
24658 [POSIX] (ESTALE): Likewise.
24659 [POSIX] (ETIME): Likewise.
24660 [POSIX] (ETXTBSY): Likewise.
24661 [POSIX] (EWOULDBLOCK): Likewise.
24662 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24663 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24664 [POSIX] (SEEK_CUR): Likewise.
24665 [POSIX] (SEEK_END): Likewise.
24666 [POSIX || UNIX98] (mode_t): Do not require.
24667 [POSIX] (off_t): Likewise.
24668 [POSIX] (pid_t): Likewise.
24669 [POSIX] (sys/stat.h): Do not allow header.
24670 [POSIX] (unistd.h): Likewise.
24671 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24672 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24673 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24674 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24676 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24677 sigevent): Specify elements.
24678 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24680 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24681 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24683 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24684 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24685 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24686 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24687 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24688 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24689 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24690 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24691 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24692 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24693 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24694 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24695 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24696 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24698 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24700 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24702 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24704 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24705 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24706 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24707 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24708 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24709 Specify lower bound on value.
24710 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24711 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24712 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24713 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24714 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24715 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24716 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24717 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24719 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24721 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24722 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24723 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24724 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24725 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24726 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24727 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24728 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24729 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24730 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24731 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24732 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24733 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24734 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24735 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24736 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24738 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24740 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24741 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24742 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24743 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24744 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24745 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24747 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24748 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24749 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24750 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24751 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24752 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24753 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24755 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24756 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24757 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24758 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24759 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24760 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24761 specify as optional.
24762 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24763 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24764 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24765 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24766 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24767 [XPG3] (NL_LANGMAX): Likewise.
24768 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24769 [POSIX || XPG3] (NL_NMAX): Likewise.
24770 [POSIX || XPG3] (NL_SETMAX): Likewise.
24771 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24772 [XPG3] (NZERO): Likewise.
24773 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24774 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24775 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24776 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24777 (REG_ERANGE): Expect.
24778 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24780 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24781 Use (void) in prototype.
24782 [POSIX] (*_t): Allow.
24783 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24784 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24785 (WRDE_BADVAL): Expect.
24787 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24789 [XPG3 || XPG4] (O_RSYNC): Likewise.
24790 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24792 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24793 [XPG3 || XPG4] (sigqueue): Likewise.
24794 [XPG3 || XPG4] (sigtimedwait): Likewise.
24795 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24796 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24797 [XPG3 || XPG4] (vsnprintf): Likewise.
24798 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24800 [XPG3 || XPG4] (blksize_t): Likewise.
24801 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24803 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24804 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24805 [XPG3 || XPG4] (struct itimerspec): Likewise.
24806 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24807 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24808 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24809 [XPG3 || XPG4] (clockid_t): Likewise.
24810 [XPG3 || XPG4] (timer_t): Likewise.
24811 [XPG3 || XPG4] (clock_getres): Likewise.
24812 [XPG3 || XPG4] (clock_gettime): Likewise.
24813 [XPG3 || XPG4] (clock_settime): Likewise.
24814 [XPG3 || XPG4] (nanosleep): Likewise.
24815 [XPG3 || XPG4] (timer_create): Likewise.
24816 [XPG3 || XPG4] (timer_delete): Likewise.
24817 [XPG3 || XPG4] (timer_gettime): Likewise.
24818 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24819 [XPG3 || XPG4] (timer_settime): Likewise.
24820 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24821 [XPG3 || XPG4] (getlogin_r): Likewise.
24822 [XPG3 || XPG4] (pread): Likewise.
24823 [XPG3 || XPG4] (pthread_atfork): Likewise.
24824 [XPG3 || XPG4] (pwrite): Likewise.
24827 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24830 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24832 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24833 finalizing MALLSTREAM.
24835 * sysdeps/mach/hurd/syncfs.c: New file.
24837 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24840 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24841 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24842 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24843 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24844 (_nss_dns_gethostbyname4_r): Likewise.
24845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24846 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24848 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24851 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24853 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24855 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24856 * elf/cache.c (print_entry): Print ",AArch64" for
24859 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24860 * elf/cache.c (print_entry): Print ",hard-float" for
24863 2012-11-18 David S. Miller <davem@davemloft.net>
24865 With help from Joseph Myers.
24866 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24868 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24870 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24871 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24873 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24874 * math/libm-test.inc (y0_test): New tests.
24875 (y1_test): New tests.
24876 * sysdeps/i386/fpu/libm-test-ulps: Update.
24877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24880 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24882 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24884 * configure: Regenerated.
24886 2012-11-17 David S. Miller <davem@davemloft.net>
24889 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24890 nonzero exponents with absolute value below 0x1p-128 to +/-
24893 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24895 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24897 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24899 * posix/getconf-speclist.c: New file.
24900 * posix/posix-envs.def: Likewise.
24901 * posix/confstr.c (START_ENV_GROUP): New macro.
24902 (END_ENV_GROUP): Likewise.
24903 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24904 (KNOWN_PRESENT_ENV_STRING): Likewise.
24905 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24906 (UNKNOWN_ENVIRONMENT): Likewise.
24907 (confstr): Include posix-envs.def instead of handling
24908 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24909 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24910 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24911 (END_ENV_GROUP): Likewise.
24912 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24913 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24914 (UNKNOWN_ENVIRONMENT): Likewise.
24915 (__sysconf): Include posix-envs.def instead of handling associated
24916 cases directly here.
24917 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24918 preprocessing getconf-speclist.c rather than running getconf or
24919 generating empty file.
24921 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24923 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24925 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24928 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24930 2012-11-16 David S. Miller <davem@davemloft.net>
24932 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24933 smaller than LDBL_EPSILON/2.0L, just return xm1.
24935 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24937 * elf/tst-array1.c (init): Set constructor priority to 1000.
24938 (fini): Set destructor priority to 1000.
24939 * elf/tst-array2dep.c: Likewise.
24941 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24944 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24945 (_IO_new_file_xsputn): Also return EOF if none of the input
24946 data was written when overflow failed.
24947 * libio/iopadn.c (_IO_padn): Likewise.
24948 * libio/iowpadn.c (_IO_wpadn): Likewise.
24949 * stdio-common/tst-put-error.c: Add copyright notice.
24950 (do_test): Add case for printing padded string.
24951 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24952 _IO_padn returned error.
24953 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24954 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24957 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24959 * libio/libioP.h: Add comment note that the references to C++
24960 bits are now obsolete.
24962 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24964 * math/libm-test.inc (check_complex): Use asprintf.
24966 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24968 * debug/pcprofiledump.c (print_version): Update copyright year.
24969 * malloc/memusagestat.c (print_version): Likewise.
24971 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24974 * elf/Makefile (tests): Add tst-audit8.
24975 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24976 ($(objpfx)tst-audit8.out): New target.
24977 (tst-audit8-ENV): New variable.
24978 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24979 audit if l_reloc_result is NULL.
24980 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24981 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24982 * elf/tst-audit8.c: New file.
24984 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24986 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24987 * misc/Makefile (CFLAGS-select.c): Define.
24988 * posix/Makefile (CFLAGS-pause.c): Define.
24990 2012-11-13 David S. Miller <davem@davemloft.net>
24992 * crypt/Makefile: Move test targets after toplevel Rules
24993 inclusion. Grab any necessary sysdep routines when linking.
24994 * crypt/md5.c (md5_process_block): Remove define, we will always
24995 name it __md5_process_block.
24996 (md5_finish_ctx): Update md5_process_block call.
24997 (md5_stream): Likewise.
24998 (md5_process_bytes): Likewise.
24999 (md5_process_block): Rename to __md5_process_block and move to ...
25000 * crypt/md5-block.c: ... here.
25001 * crypt/sha256.c (sha256_process_block): Move to ...
25002 * crypt/sha256-block.c: ... here.
25003 * crypt/sha512.c (sha512_process_block): Move to ...
25004 * crypt/sha512-block.c: ... here.
25005 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25007 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25008 * sysdeps/sparc/sparc64/multiarch/Makefile
25009 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25011 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25012 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25014 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25015 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25016 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25017 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25018 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25019 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25020 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25021 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25022 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25024 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25025 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25027 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25029 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25031 * timezone/tzselect.ksh: Update from tzcode git revision
25032 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25033 * timezone/zdump.c: Likewise.
25034 * timezone/zic.c: Likewise.
25035 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25036 in TZVERSION setting, not $(PKGVERSION).
25037 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25038 REPORT_BUGS_TO settings.
25041 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25044 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25046 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25047 detection to immediately after _FP_ROUND().
25048 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25051 2012-11-11 David S. Miller <davem@davemloft.net>
25053 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25055 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25056 __close rather than their public counterparts.
25058 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25060 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25062 [UNIX98] (sem_timedwait): Do not expect.
25063 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25064 [XPG4 || UNIX98] (sockatmark): Do not expect.
25065 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25066 (clock_getcpuclockid): Do not expect.
25067 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25068 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25070 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25071 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25072 [UNIX98] (vwscanf): Likewise.
25073 [UNIX98] (vswscanf): Likewise.
25075 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25077 * timezone/version.h: Remove file.
25078 * timezone/README: Do not refer to version.h.
25079 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25080 $(objpfx)version.h.
25081 ($(objpfx)zdump.o): Likewise.
25082 ($(objpfx)version.h): New target.
25084 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25086 * timezone/README: Don't mention modification to tzselect.ksh.
25087 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25088 work on unmodified tzselect.ksh. Substitute version numbers in
25091 * Makefile (format-me): Remove.
25092 (INSTALL): Adjust indentation. Use commands directly instead of
25093 using $(format-me).
25095 * aclocal.m4 (ACX_PKGVERSION): New macro.
25096 (ACX_BUGURL): Likewise.
25097 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25098 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25099 (REPORT_BUGS_TO): Likewise.
25100 * configure: Regenerated.
25101 * config.h.in (PKGVERSION): New macro.
25102 (REPORT_BUGS_TO): Likewise.
25103 * config.make.in (PKGVERSION): New variable.
25104 (PKGVERSION_TEXI): Likewise.
25105 (REPORT_BUGS_TO): Likewise.
25106 (REPORT_BUGS_TEXI): Likewise.
25107 * Makefile (format-me): Use -I$(common-objpfx)manual.
25108 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25109 ($(common-objpfx)manual/%): New target.
25110 (manual/%): Remove target.
25111 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25112 (print_version): Use PKGVERSION.
25113 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25114 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25115 and REPORT_BUGS_TO.
25116 ($(objpfx)xtrace): Likewise.
25117 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25118 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25119 (print_version): Use PKGVERSION.
25120 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25121 (do_version): Use PKGVERSION.
25122 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25124 (common-ldd-rewrite): Likewise.
25125 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25126 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25127 (print_version): Use PKGVERSION.
25128 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25129 * elf/pldd.c (argp_program_bug_address): Remove variable.
25130 (more_help): New function.
25131 (argp): Use more_help.
25132 (print_version): Use PKGVERSION.
25133 * elf/sln.c (main): Use PKGVERSION.
25134 (usage): Use REPORT_BUGS_TO.
25135 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25136 (top level): Use PKGVERSION.
25137 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25138 (print_version): Use PKGVERSION.
25139 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25140 (print_version): Use PKGVERSION.
25141 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25142 (print_version): Use PKGVERSION.
25143 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25144 (print_version): Use PKGVERSION.
25145 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25146 (print_version): Use PKGVERSION.
25147 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25148 (print_version): Use PKGVERSION.
25149 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25151 ($(objpfx)memusage): Likewise.
25152 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25153 (do_version): Use PKGVERSION.
25154 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25155 (print_version): Use PKGVERSION.
25156 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25157 ($PKGVERSION): New variable.
25158 ($REPORT_BUGS_TO): Likewise.
25159 (usage): Use $REPORT_BUGS_TO.
25160 (top level): Use $PKGVERSION.
25161 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25162 ($(objpfx)pkgvers.texi): New rule.
25163 ($(objpfx)stamp-pkgvers): Likewise.
25164 * manual/install.texi: Include pkgvers.texi.
25165 (--with-pkgversion): Document new configure option.
25166 (--with-bugurl): Likewise.
25167 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25168 than necessarily for this particular distribution. Use
25169 REPORT_BUGS_TO for where to report bugs.
25170 * INSTALL: Regenerated.
25171 * manual/libc.texinfo: Include pkgvers.texi.
25172 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25173 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25174 (print_version): Use PKGVERSION.
25175 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25176 (print_version): Use PKGVERSION.
25177 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25178 (print_version): Use PKGVERSION.
25179 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25180 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25182 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25183 (print_version): Use PKGVERSION.
25184 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25185 (print_version): Use PKGVERSION.
25186 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25189 * timezone/checktab.awk: Update from tzcode 2012i.
25190 * timezone/ialloc.c: Likewise.
25191 * timezone/private.h: Likewise.
25192 * timezone/scheck.c: Likewise.
25193 * timezone/tzfile.h: Likewise.
25194 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25195 (TZVERSION): Hardcode tzcode version number.
25196 * timezone/zdump.c: Update from tzcode 2012i.
25197 * timezone/zic.c: Likewise.
25198 * timezone/version.h: New file.
25199 * timezone/README: Describe version.h. Update upstream location.
25202 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25203 (mktemp): Enable declaration.
25204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25205 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25207 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25209 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25211 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25213 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25215 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25217 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25221 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25222 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25223 for copies of such integer values.
25224 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25225 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25227 2012-11-09 Andreas Jaeger <aj@suse.de>
25229 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25230 definitions and declarations that are provided by
25231 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25233 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25235 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25236 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25237 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25240 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25242 * elf/elf.h: Update comment before AArch64 relocations.
25244 2012-11-07 David S. Miller <davem@davemloft.net>
25246 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25247 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25248 (__start_context): Declare.
25249 (__makecontext_ret): Delete.
25250 (__makecontext): Hook up __start_context instead of
25252 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25253 (sysdep_routines): Add __start_context when in stdlib.
25255 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25257 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25258 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25259 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25261 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25262 (READELF): New variable. Use it instead of hardcoded "readelf".
25264 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25266 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25267 * sysdeps/x86/Makefile: Here.
25268 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25269 * sysdeps/x86/tst-xmmymm.sh: This.
25271 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25273 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25275 [UNIX98] (pthread_barrier_t): Do not expect.
25276 [UNIX98] (pthread_barrierattr_t): Likewise.
25277 [UNIX98] (pthread_spinlock_t): Likewise.
25278 [UNIX98] (pthread_barrier_destroy): Likewise.
25279 [UNIX98] (pthread_barrier_init): Likewise.
25280 [UNIX98] (pthread_barrier_wait): Likewise.
25281 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25282 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25283 [UNIX98] (pthread_barrierattr_init): Likewise.
25284 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25285 [UNIX98] (pthread_getcpuclockid): Likewise.
25286 [UNIX98] (pthread_mutex_timedlock): Likewise.
25287 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25288 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25289 [UNIX98] (pthread_sigmask): Likewise.
25290 [UNIX98] (pthread_spin_destroy): Likewise.
25291 [UNIX98] (pthread_spin_init): Likewise.
25292 [UNIX98] (pthread_spin_lock): Likewise.
25293 [UNIX98] (pthread_spin_trylock): Likewise.
25294 [UNIX98] (pthread_spin_unlock): Likewise.
25295 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25297 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25298 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25299 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25300 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25301 [XPG3 || XPG4] (pthread_key_t): Likewise.
25302 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25303 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25304 [XPG3 || XPG4] (pthread_once_t): Likewise.
25305 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25306 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25307 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25308 [XPG3 || XPG4] (pthread_t): Likewise.
25310 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25312 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25314 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25315 Change function return type to int.
25317 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25318 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25319 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25320 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25321 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25322 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25323 [!POSIX] (posix_madvise): Likewise.
25324 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25326 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25327 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25328 (mode_t): Likewise.
25329 (posix_mem_offset): Likewise.
25330 (posix_typed_mem_get_info): Likewise.
25331 (posix_typed_mem_open): Likewise.
25333 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25334 Change condition to [XOPEN2K8].
25336 * conform/conformtest.pl: Preprocess allow-header data with -x c
25337 instead of from stdin.
25338 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25339 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25340 [C99-based standards] (cerfc): Likewise.
25341 [C99-based standards] (cexp2): Likewise.
25342 [C99-based standards] (cexpm1): Likewise.
25343 [C99-based standards] (clog10): Likewise.
25344 [C99-based standards] (clog1p): Likewise.
25345 [C99-based standards] (clog2): Likewise.
25346 [C99-based standards] (clgamma): Likewise.
25347 [C99-based standards] (ctgamma): Likewise.
25348 [C99-based standards] (cerff): Likewise.
25349 [C99-based standards] (cerfcf): Likewise.
25350 [C99-based standards] (cexp2f): Likewise.
25351 [C99-based standards] (cexpm1f): Likewise.
25352 [C99-based standards] (clog10f): Likewise.
25353 [C99-based standards] (clog1pf): Likewise.
25354 [C99-based standards] (clog2f): Likewise.
25355 [C99-based standards] (clgammaf): Likewise.
25356 [C99-based standards] (ctgammaf): Likewise.
25357 [C99-based standards] (cerfl): Likewise.
25358 [C99-based standards] (cerfcl): Likewise.
25359 [C99-based standards] (cexp2l): Likewise.
25360 [C99-based standards] (cexpm1l): Likewise.
25361 [C99-based standards] (clog10l): Likewise.
25362 [C99-based standards] (clog1pl): Likewise.
25363 [C99-based standards] (clog2l): Likewise.
25364 [C99-based standards] (clgammal): Likewise.
25365 [C99-based standards] (ctgammal): Likewise.
25366 * conform/data/inttypes.h-data [C99-based standards]: Include
25367 stdint.h-data. Remove all expectations for stdint.h contents.
25368 [C99-based standards] (PRI*): Do not allow.
25369 [C99-based standards] (SCN*): Likewise.
25370 [C99-based standards] (*_t): Likewise.
25371 [C99-based-standards] (PRId8): Expect macro.
25372 [C99-based-standards] (PRIi8): Likewise.
25373 [C99-based-standards] (PRIo8): Likewise.
25374 [C99-based-standards] (PRIu8): Likewise.
25375 [C99-based-standards] (PRIx8): Likewise.
25376 [C99-based-standards] (PRIX8): Likewise.
25377 [C99-based-standards] (SCNd8): Likewise.
25378 [C99-based-standards] (SCNi8): Likewise.
25379 [C99-based-standards] (SCNo8): Likewise.
25380 [C99-based-standards] (SCNu8): Likewise.
25381 [C99-based-standards] (SCNx8): Likewise.
25382 [C99-based-standards] (PRIdLEAST8): Likewise.
25383 [C99-based-standards] (PRIiLEAST8): Likewise.
25384 [C99-based-standards] (PRIoLEAST8): Likewise.
25385 [C99-based-standards] (PRIuLEAST8): Likewise.
25386 [C99-based-standards] (PRIxLEAST8): Likewise.
25387 [C99-based-standards] (PRIXLEAST8): Likewise.
25388 [C99-based-standards] (SCNdLEAST8): Likewise.
25389 [C99-based-standards] (SCNiLEAST8): Likewise.
25390 [C99-based-standards] (SCNoLEAST8): Likewise.
25391 [C99-based-standards] (SCNuLEAST8): Likewise.
25392 [C99-based-standards] (SCNxLEAST8): Likewise.
25393 [C99-based-standards] (PRIdFAST8): Likewise.
25394 [C99-based-standards] (PRIiFAST8): Likewise.
25395 [C99-based-standards] (PRIoFAST8): Likewise.
25396 [C99-based-standards] (PRIuFAST8): Likewise.
25397 [C99-based-standards] (PRIxFAST8): Likewise.
25398 [C99-based-standards] (PRIXFAST8): Likewise.
25399 [C99-based-standards] (SCNdFAST8): Likewise.
25400 [C99-based-standards] (SCNiFAST8): Likewise.
25401 [C99-based-standards] (SCNoFAST8): Likewise.
25402 [C99-based-standards] (SCNuFAST8): Likewise.
25403 [C99-based-standards] (SCNxFAST8): Likewise.
25404 [C99-based-standards] (PRId16): Likewise.
25405 [C99-based-standards] (PRIi16): Likewise.
25406 [C99-based-standards] (PRIo16): Likewise.
25407 [C99-based-standards] (PRIu16): Likewise.
25408 [C99-based-standards] (PRIx16): Likewise.
25409 [C99-based-standards] (PRIX16): Likewise.
25410 [C99-based-standards] (SCNd16): Likewise.
25411 [C99-based-standards] (SCNi16): Likewise.
25412 [C99-based-standards] (SCNo16): Likewise.
25413 [C99-based-standards] (SCNu16): Likewise.
25414 [C99-based-standards] (SCNx16): Likewise.
25415 [C99-based-standards] (PRIdLEAST16): Likewise.
25416 [C99-based-standards] (PRIiLEAST16): Likewise.
25417 [C99-based-standards] (PRIoLEAST16): Likewise.
25418 [C99-based-standards] (PRIuLEAST16): Likewise.
25419 [C99-based-standards] (PRIxLEAST16): Likewise.
25420 [C99-based-standards] (PRIXLEAST16): Likewise.
25421 [C99-based-standards] (SCNdLEAST16): Likewise.
25422 [C99-based-standards] (SCNiLEAST16): Likewise.
25423 [C99-based-standards] (SCNoLEAST16): Likewise.
25424 [C99-based-standards] (SCNuLEAST16): Likewise.
25425 [C99-based-standards] (SCNxLEAST16): Likewise.
25426 [C99-based-standards] (PRIdFAST16): Likewise.
25427 [C99-based-standards] (PRIiFAST16): Likewise.
25428 [C99-based-standards] (PRIoFAST16): Likewise.
25429 [C99-based-standards] (PRIuFAST16): Likewise.
25430 [C99-based-standards] (PRIxFAST16): Likewise.
25431 [C99-based-standards] (PRIXFAST16): Likewise.
25432 [C99-based-standards] (SCNdFAST16): Likewise.
25433 [C99-based-standards] (SCNiFAST16): Likewise.
25434 [C99-based-standards] (SCNoFAST16): Likewise.
25435 [C99-based-standards] (SCNuFAST16): Likewise.
25436 [C99-based-standards] (SCNxFAST16): Likewise.
25437 [C99-based-standards] (PRId32): Likewise.
25438 [C99-based-standards] (PRIi32): Likewise.
25439 [C99-based-standards] (PRIo32): Likewise.
25440 [C99-based-standards] (PRIu32): Likewise.
25441 [C99-based-standards] (PRIx32): Likewise.
25442 [C99-based-standards] (PRIX32): Likewise.
25443 [C99-based-standards] (SCNd32): Likewise.
25444 [C99-based-standards] (SCNi32): Likewise.
25445 [C99-based-standards] (SCNo32): Likewise.
25446 [C99-based-standards] (SCNu32): Likewise.
25447 [C99-based-standards] (SCNx32): Likewise.
25448 [C99-based-standards] (PRIdLEAST32): Likewise.
25449 [C99-based-standards] (PRIiLEAST32): Likewise.
25450 [C99-based-standards] (PRIoLEAST32): Likewise.
25451 [C99-based-standards] (PRIuLEAST32): Likewise.
25452 [C99-based-standards] (PRIxLEAST32): Likewise.
25453 [C99-based-standards] (PRIXLEAST32): Likewise.
25454 [C99-based-standards] (SCNdLEAST32): Likewise.
25455 [C99-based-standards] (SCNiLEAST32): Likewise.
25456 [C99-based-standards] (SCNoLEAST32): Likewise.
25457 [C99-based-standards] (SCNuLEAST32): Likewise.
25458 [C99-based-standards] (SCNxLEAST32): Likewise.
25459 [C99-based-standards] (PRIdFAST32): Likewise.
25460 [C99-based-standards] (PRIiFAST32): Likewise.
25461 [C99-based-standards] (PRIoFAST32): Likewise.
25462 [C99-based-standards] (PRIuFAST32): Likewise.
25463 [C99-based-standards] (PRIxFAST32): Likewise.
25464 [C99-based-standards] (PRIXFAST32): Likewise.
25465 [C99-based-standards] (SCNdFAST32): Likewise.
25466 [C99-based-standards] (SCNiFAST32): Likewise.
25467 [C99-based-standards] (SCNoFAST32): Likewise.
25468 [C99-based-standards] (SCNuFAST32): Likewise.
25469 [C99-based-standards] (SCNxFAST32): Likewise.
25470 [C99-based-standards] (PRId64): Likewise.
25471 [C99-based-standards] (PRIi64): Likewise.
25472 [C99-based-standards] (PRIo64): Likewise.
25473 [C99-based-standards] (PRIu64): Likewise.
25474 [C99-based-standards] (PRIx64): Likewise.
25475 [C99-based-standards] (PRIX64): Likewise.
25476 [C99-based-standards] (SCNd64): Likewise.
25477 [C99-based-standards] (SCNi64): Likewise.
25478 [C99-based-standards] (SCNo64): Likewise.
25479 [C99-based-standards] (SCNu64): Likewise.
25480 [C99-based-standards] (SCNx64): Likewise.
25481 [C99-based-standards] (PRIdLEAST64): Likewise.
25482 [C99-based-standards] (PRIiLEAST64): Likewise.
25483 [C99-based-standards] (PRIoLEAST64): Likewise.
25484 [C99-based-standards] (PRIuLEAST64): Likewise.
25485 [C99-based-standards] (PRIxLEAST64): Likewise.
25486 [C99-based-standards] (PRIXLEAST64): Likewise.
25487 [C99-based-standards] (SCNdLEAST64): Likewise.
25488 [C99-based-standards] (SCNiLEAST64): Likewise.
25489 [C99-based-standards] (SCNoLEAST64): Likewise.
25490 [C99-based-standards] (SCNuLEAST64): Likewise.
25491 [C99-based-standards] (SCNxLEAST64): Likewise.
25492 [C99-based-standards] (PRIdFAST64): Likewise.
25493 [C99-based-standards] (PRIiFAST64): Likewise.
25494 [C99-based-standards] (PRIoFAST64): Likewise.
25495 [C99-based-standards] (PRIuFAST64): Likewise.
25496 [C99-based-standards] (PRIxFAST64): Likewise.
25497 [C99-based-standards] (PRIXFAST64): Likewise.
25498 [C99-based-standards] (SCNdFAST64): Likewise.
25499 [C99-based-standards] (SCNiFAST64): Likewise.
25500 [C99-based-standards] (SCNoFAST64): Likewise.
25501 [C99-based-standards] (SCNuFAST64): Likewise.
25502 [C99-based-standards] (SCNxFAST64): Likewise.
25503 [C99-based-standards] (PRIdMAX): Likewise.
25504 [C99-based-standards] (PRIiMAX): Likewise.
25505 [C99-based-standards] (PRIoMAX): Likewise.
25506 [C99-based-standards] (PRIuMAX): Likewise.
25507 [C99-based-standards] (PRIxMAX): Likewise.
25508 [C99-based-standards] (PRIXMAX): Likewise.
25509 [C99-based-standards] (SCNdMAX): Likewise.
25510 [C99-based-standards] (SCNiMAX): Likewise.
25511 [C99-based-standards] (SCNoMAX): Likewise.
25512 [C99-based-standards] (SCNuMAX): Likewise.
25513 [C99-based-standards] (SCNxMAX): Likewise.
25514 [C99-based-standards] (PRIdPTR): Likewise.
25515 [C99-based-standards] (PRIiPTR): Likewise.
25516 [C99-based-standards] (PRIoPTR): Likewise.
25517 [C99-based-standards] (PRIuPTR): Likewise.
25518 [C99-based-standards] (PRIxPTR): Likewise.
25519 [C99-based-standards] (PRIXPTR): Likewise.
25520 [C99-based-standards] (SCNdPTR): Likewise.
25521 [C99-based-standards] (SCNiPTR): Likewise.
25522 [C99-based-standards] (SCNoPTR): Likewise.
25523 [C99-based-standards] (SCNuPTR): Likewise.
25524 [C99-based-standards] (SCNxPTR): Likewise.
25525 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25527 * conform/data/stdint.h-data: Update comments to clarify
25529 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25531 [C99-based standards] (INT8_MAX): Likewise.
25532 [C99-based standards] (INT16_MIN): Likewise.
25533 [C99-based standards] (INT16_MAX): Likewise.
25534 [C99-based standards] (INT32_MIN): Likewise.
25535 [C99-based standards] (INT32_MAX): Likewise.
25536 [C99-based standards] (INT64_MIN): Likewise.
25537 [C99-based standards] (INT64_MAX): Likewise.
25538 [C99-based standards] (UINT8_MAX): Likewise.
25539 [C99-based standards] (UINT16_MAX): Likewise.
25540 [C99-based standards] (UINT32_MAX): Likewise.
25541 [C99-based standards] (UINT64_MAX): Likewise.
25542 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25543 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25544 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25545 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25546 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25547 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25548 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25549 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25550 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25551 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25552 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25553 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25554 [C99-based standards] (INT_FAST8_MIN): Likewise.
25555 [C99-based standards] (INT_FAST8_MAX): Likewise.
25556 [C99-based standards] (INT_FAST16_MIN): Likewise.
25557 [C99-based standards] (INT_FAST16_MAX): Likewise.
25558 [C99-based standards] (INT_FAST32_MIN): Likewise.
25559 [C99-based standards] (INT_FAST32_MAX): Likewise.
25560 [C99-based standards] (INT_FAST64_MIN): Likewise.
25561 [C99-based standards] (INT_FAST64_MAX): Likewise.
25562 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25563 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25564 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25565 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25566 [C99-based standards] (INTPTR_MIN): Likewise.
25567 [C99-based standards] (INTPTR_MAX): Likewise.
25568 [C99-based standards] (UINTPTR_MAX): Likewise.
25569 [C99-based standards] (INTMAX_MIN): Likewise.
25570 [C99-based standards] (INTMAX_MAX): Likewise.
25571 [C99-based standards] (UINTMAX_MAX): Likewise.
25572 [C99-based standards] (PTRDIFF_MIN): Likewise.
25573 [C99-based standards] (PTRDIFF_MAX): Likewise.
25574 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25575 [C99-based standards] (SIZE_MAX): Likewise.
25576 [C99-based standards] (WCHAR_MAX): Likewise.
25577 [C99-based standards] (WINT_MAX): Likewise.
25578 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25579 constraint on value.
25580 [C99-based standards] (WCHAR_MIN): Likewise.
25581 [C99-based standards] (WINT_MIN): Likewise.
25582 [C99-based standards] (*_t): Allow.
25583 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25584 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25585 Include math.h-data and complex.h-data. Remove all expectations
25586 of math.h and complex.h contents.
25587 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25589 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25590 (struct tm): Expect tag.
25591 [C99-based-standards] (wcstof): Expect function.
25592 [C99-based-standards] (wcstold): Likewise.
25593 [C99-based-standards] (wcstoll): Likewise.
25594 [C99-based-standards] (wcstoull): Likewise.
25595 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25596 macro-int-constant. Specify type.
25597 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25598 constraint on value.
25599 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25601 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25603 [ISO C standards]: Do not allow headers.
25604 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25605 wcs[abcdefghijklmnopqrstuvwxyz]*.
25606 [ISO C standards] (*_t): Do not allow.
25607 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25609 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25610 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25612 [ISO C standards]: Do not allow headers.
25613 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25614 is[abcdefghijklmnopqrstuvwxyz]*.
25615 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25616 to[abcdefghijklmnopqrstuvwxyz]*.
25617 [ISO C standards] (*_t): Do not allow.
25618 * conform/data/stdalign.h-data: New file.
25619 * conform/data/stdbool.h-data: Likewise.
25620 * conform/data/stdnoreturn.h-data: Likewise.
25622 2012-11-07 Roland McGrath <roland@hack.frob.com>
25625 * manual/filesys.texi (Directory Entries): Typo fix.
25626 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25628 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25630 * elf/elf.h (EM_AARCH64): New macro.
25631 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25632 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25633 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25634 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25635 (R_AARCH64_TLSDESC): Likewise.
25636 (NT_ARM_TLS): Likewise.
25637 (NT_ARM_HW_BREAK): Likewise.
25638 (NT_ARM_HW_WATCH): Likewise.
25640 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25643 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25644 (__ieee754_powl): Saturate nonzero exponents with absolute value
25645 below 0x1p-79 to +/- 0x1p-79.
25646 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25647 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25648 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25649 nonzero exponents with absolute value below 0x1p-32 to +/-
25651 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25652 (__ieee754_powl): Saturate nonzero exponents with absolute value
25653 below 0x1p-79 to +/- 0x1p-79.
25654 * math/libm-test.inc (pow_test): Add more tests.
25656 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25658 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25659 _dl_s390_cap_flags with kernel. Increase string length.
25660 (_dl_s390_platforms): Add z196 and zEC12.
25662 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25664 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25665 Change XOPEN21K to XOPEN2K.
25667 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25669 * string/memmove.c: Use memcpy when possible.
25671 2012-11-06 Andreas Jaeger <aj@suse.de>
25673 * po/eo.po: Update from translation team.
25675 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25679 exponent and small x and y exponents, scale x or y up. Increase
25680 by 2 the exponent used in scaling up.
25681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25682 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25683 * math/libm-test.inc (fma_test): Add more tests.
25684 (fma_test_towardzero): Likewise.
25685 (fma_test_downward): Likewise.
25686 (fma_test_upward): Likewise.
25688 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25691 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25695 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25696 namespace for names of struct fields.
25697 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25699 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25700 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25702 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25705 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25707 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25709 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25713 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25716 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25720 definitely overflow as x * y not x * y + z.
25721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25723 * math/libm-test.inc (fma_test): Add more tests.
25724 (fma_test_towardzero): Likewise.
25725 (fma_test_downward): Likewise.
25726 (fma_test_upward): Likewise.
25728 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25732 * include/stub-tag.h: Remove file.
25733 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25735 * manual/maint.texi (Porting): Don't reference it.
25736 * Makerules ($(objpfx)stubs): Likewise.
25737 * dirent/closedir.c: Don't include <stub-tag.h>.
25738 * dirent/dirfd.c: Likewise.
25739 * dirent/fdopendir.c: Likewise.
25740 * dirent/getdents.c: Likewise.
25741 * dirent/getdents64.c: Likewise.
25742 * dirent/opendir.c: Likewise.
25743 * dirent/readdir.c: Likewise.
25744 * dirent/readdir64.c: Likewise.
25745 * dirent/readdir64_r.c: Likewise.
25746 * dirent/readdir_r.c: Likewise.
25747 * dirent/rewinddir.c: Likewise.
25748 * dirent/seekdir.c: Likewise.
25749 * dirent/telldir.c: Likewise.
25750 * gmon/profil.c: Likewise.
25751 * grp/setgroups.c: Likewise.
25752 * inet/if_index.c: Likewise.
25753 * io/access.c: Likewise.
25754 * io/chdir.c: Likewise.
25755 * io/chmod.c: Likewise.
25756 * io/chown.c: Likewise.
25757 * io/close.c: Likewise.
25758 * io/dup.c: Likewise.
25759 * io/dup2.c: Likewise.
25760 * io/dup3.c: Likewise.
25761 * io/euidaccess.c: Likewise.
25762 * io/faccessat.c: Likewise.
25763 * io/fchdir.c: Likewise.
25764 * io/fchmod.c: Likewise.
25765 * io/fchmodat.c: Likewise.
25766 * io/fchown.c: Likewise.
25767 * io/fchownat.c: Likewise.
25768 * io/fcntl.c: Likewise.
25769 * io/flock.c: Likewise.
25770 * io/fstatfs.c: Likewise.
25771 * io/fstatfs64.c: Likewise.
25772 * io/fstatvfs.c: Likewise.
25773 * io/fstatvfs64.c: Likewise.
25774 * io/futimens.c: Likewise.
25775 * io/fxstat.c: Likewise.
25776 * io/fxstat64.c: Likewise.
25777 * io/fxstatat.c: Likewise.
25778 * io/fxstatat64.c: Likewise.
25779 * io/getcwd.c: Likewise.
25780 * io/isatty.c: Likewise.
25781 * io/lchmod.c: Likewise.
25782 * io/lchown.c: Likewise.
25783 * io/link.c: Likewise.
25784 * io/linkat.c: Likewise.
25785 * io/lseek.c: Likewise.
25786 * io/lseek64.c: Likewise.
25787 * io/lxstat64.c: Likewise.
25788 * io/mkdir.c: Likewise.
25789 * io/mkdirat.c: Likewise.
25790 * io/mkfifo.c: Likewise.
25791 * io/mkfifoat.c: Likewise.
25792 * io/open.c: Likewise.
25793 * io/open64.c: Likewise.
25794 * io/openat.c: Likewise.
25795 * io/openat64.c: Likewise.
25796 * io/pipe.c: Likewise.
25797 * io/pipe2.c: Likewise.
25798 * io/poll.c: Likewise.
25799 * io/posix_fadvise.c: Likewise.
25800 * io/posix_fadvise64.c: Likewise.
25801 * io/posix_fallocate.c: Likewise.
25802 * io/posix_fallocate64.c: Likewise.
25803 * io/read.c: Likewise.
25804 * io/readlink.c: Likewise.
25805 * io/readlinkat.c: Likewise.
25806 * io/rmdir.c: Likewise.
25807 * io/sendfile.c: Likewise.
25808 * io/sendfile64.c: Likewise.
25809 * io/statfs.c: Likewise.
25810 * io/statfs64.c: Likewise.
25811 * io/statvfs.c: Likewise.
25812 * io/statvfs64.c: Likewise.
25813 * io/symlink.c: Likewise.
25814 * io/symlinkat.c: Likewise.
25815 * io/ttyname.c: Likewise.
25816 * io/ttyname_r.c: Likewise.
25817 * io/umask.c: Likewise.
25818 * io/unlink.c: Likewise.
25819 * io/unlinkat.c: Likewise.
25820 * io/utime.c: Likewise.
25821 * io/utimensat.c: Likewise.
25822 * io/write.c: Likewise.
25823 * io/xmknod.c: Likewise.
25824 * io/xmknodat.c: Likewise.
25825 * io/xstat.c: Likewise.
25826 * io/xstat64.c: Likewise.
25827 * login/getpt.c: Likewise.
25828 * login/grantpt.c: Likewise.
25829 * login/unlockpt.c: Likewise.
25830 * math/e_acoshl.c: Likewise.
25831 * math/e_acosl.c: Likewise.
25832 * math/e_asinl.c: Likewise.
25833 * math/e_atan2l.c: Likewise.
25834 * math/e_atanhl.c: Likewise.
25835 * math/e_coshl.c: Likewise.
25836 * math/e_expl.c: Likewise.
25837 * math/e_fmodl.c: Likewise.
25838 * math/e_gammal_r.c: Likewise.
25839 * math/e_hypotl.c: Likewise.
25840 * math/e_j0l.c: Likewise.
25841 * math/e_j1l.c: Likewise.
25842 * math/e_jnl.c: Likewise.
25843 * math/e_lgammal_r.c: Likewise.
25844 * math/e_log10l.c: Likewise.
25845 * math/e_log2l.c: Likewise.
25846 * math/e_logl.c: Likewise.
25847 * math/e_powl.c: Likewise.
25848 * math/e_rem_pio2l.c: Likewise.
25849 * math/e_sinhl.c: Likewise.
25850 * math/e_sqrtl.c: Likewise.
25851 * math/fclrexcpt.c: Likewise.
25852 * math/fedisblxcpt.c: Likewise.
25853 * math/feenablxcpt.c: Likewise.
25854 * math/fegetenv.c: Likewise.
25855 * math/fegetexcept.c: Likewise.
25856 * math/fegetround.c: Likewise.
25857 * math/feholdexcpt.c: Likewise.
25858 * math/fesetenv.c: Likewise.
25859 * math/fesetround.c: Likewise.
25860 * math/feupdateenv.c: Likewise.
25861 * math/fgetexcptflg.c: Likewise.
25862 * math/fraiseexcpt.c: Likewise.
25863 * math/fsetexcptflg.c: Likewise.
25864 * math/ftestexcept.c: Likewise.
25865 * math/k_cosl.c: Likewise.
25866 * math/k_rem_pio2l.c: Likewise.
25867 * math/k_sinl.c: Likewise.
25868 * math/k_tanl.c: Likewise.
25869 * math/s_asinhl.c: Likewise.
25870 * math/s_atanl.c: Likewise.
25871 * math/s_cbrtl.c: Likewise.
25872 * math/s_erfl.c: Likewise.
25873 * math/s_expm1l.c: Likewise.
25874 * math/s_log1pl.c: Likewise.
25875 * math/s_tanhl.c: Likewise.
25876 * misc/acct.c: Likewise.
25877 * misc/brk.c: Likewise.
25878 * misc/chflags.c: Likewise.
25879 * misc/chroot.c: Likewise.
25880 * misc/fchflags.c: Likewise.
25881 * misc/fgetxattr.c: Likewise.
25882 * misc/flistxattr.c: Likewise.
25883 * misc/fremovexattr.c: Likewise.
25884 * misc/fsetxattr.c: Likewise.
25885 * misc/fsync.c: Likewise.
25886 * misc/ftruncate.c: Likewise.
25887 * misc/futimes.c: Likewise.
25888 * misc/futimesat.c: Likewise.
25889 * misc/getdomain.c: Likewise.
25890 * misc/getdtsz.c: Likewise.
25891 * misc/gethostid.c: Likewise.
25892 * misc/gethostname.c: Likewise.
25893 * misc/getloadavg.c: Likewise.
25894 * misc/getpagesize.c: Likewise.
25895 * misc/getsysstats.c: Likewise.
25896 * misc/getxattr.c: Likewise.
25897 * misc/gtty.c: Likewise.
25898 * misc/ioctl.c: Likewise.
25899 * misc/lgetxattr.c: Likewise.
25900 * misc/listxattr.c: Likewise.
25901 * misc/llistxattr.c: Likewise.
25902 * misc/lremovexattr.c: Likewise.
25903 * misc/lsetxattr.c: Likewise.
25904 * misc/lutimes.c: Likewise.
25905 * misc/madvise.c: Likewise.
25906 * misc/mincore.c: Likewise.
25907 * misc/mlock.c: Likewise.
25908 * misc/mlockall.c: Likewise.
25909 * misc/mmap.c: Likewise.
25910 * misc/mprotect.c: Likewise.
25911 * misc/msync.c: Likewise.
25912 * misc/munlock.c: Likewise.
25913 * misc/munlockall.c: Likewise.
25914 * misc/munmap.c: Likewise.
25915 * misc/preadv.c: Likewise.
25916 * misc/preadv64.c: Likewise.
25917 * misc/ptrace.c: Likewise.
25918 * misc/pwritev.c: Likewise.
25919 * misc/pwritev64.c: Likewise.
25920 * misc/readv.c: Likewise.
25921 * misc/reboot.c: Likewise.
25922 * misc/remap_file_pages.c: Likewise.
25923 * misc/removexattr.c: Likewise.
25924 * misc/revoke.c: Likewise.
25925 * misc/select.c: Likewise.
25926 * misc/setdomain.c: Likewise.
25927 * misc/setegid.c: Likewise.
25928 * misc/seteuid.c: Likewise.
25929 * misc/sethostid.c: Likewise.
25930 * misc/sethostname.c: Likewise.
25931 * misc/setregid.c: Likewise.
25932 * misc/setreuid.c: Likewise.
25933 * misc/setxattr.c: Likewise.
25934 * misc/sstk.c: Likewise.
25935 * misc/stty.c: Likewise.
25936 * misc/swapoff.c: Likewise.
25937 * misc/swapon.c: Likewise.
25938 * misc/sync.c: Likewise.
25939 * misc/syncfs.c: Likewise.
25940 * misc/syscall.c: Likewise.
25941 * misc/truncate.c: Likewise.
25942 * misc/ualarm.c: Likewise.
25943 * misc/usleep.c: Likewise.
25944 * misc/ustat.c: Likewise.
25945 * misc/utimes.c: Likewise.
25946 * misc/vhangup.c: Likewise.
25947 * misc/writev.c: Likewise.
25948 * posix/_exit.c: Likewise.
25949 * posix/alarm.c: Likewise.
25950 * posix/execve.c: Likewise.
25951 * posix/fexecve.c: Likewise.
25952 * posix/fork.c: Likewise.
25953 * posix/fpathconf.c: Likewise.
25954 * posix/getaddrinfo.c: Likewise.
25955 * posix/getegid.c: Likewise.
25956 * posix/geteuid.c: Likewise.
25957 * posix/getgid.c: Likewise.
25958 * posix/getgroups.c: Likewise.
25959 * posix/getlogin.c: Likewise.
25960 * posix/getlogin_r.c: Likewise.
25961 * posix/getpgid.c: Likewise.
25962 * posix/getpid.c: Likewise.
25963 * posix/getppid.c: Likewise.
25964 * posix/getresgid.c: Likewise.
25965 * posix/getresuid.c: Likewise.
25966 * posix/getsid.c: Likewise.
25967 * posix/getuid.c: Likewise.
25968 * posix/glob64.c: Likewise.
25969 * posix/nanosleep.c: Likewise.
25970 * posix/pathconf.c: Likewise.
25971 * posix/pause.c: Likewise.
25972 * posix/posix_madvise.c: Likewise.
25973 * posix/pread.c: Likewise.
25974 * posix/pread64.c: Likewise.
25975 * posix/pwrite.c: Likewise.
25976 * posix/pwrite64.c: Likewise.
25977 * posix/sched_getaffinity.c: Likewise.
25978 * posix/sched_getp.c: Likewise.
25979 * posix/sched_gets.c: Likewise.
25980 * posix/sched_primax.c: Likewise.
25981 * posix/sched_primin.c: Likewise.
25982 * posix/sched_rr_gi.c: Likewise.
25983 * posix/sched_setaffinity.c: Likewise.
25984 * posix/sched_setp.c: Likewise.
25985 * posix/sched_sets.c: Likewise.
25986 * posix/sched_yield.c: Likewise.
25987 * posix/setgid.c: Likewise.
25988 * posix/setlogin.c: Likewise.
25989 * posix/setpgid.c: Likewise.
25990 * posix/setresgid.c: Likewise.
25991 * posix/setresuid.c: Likewise.
25992 * posix/setsid.c: Likewise.
25993 * posix/setuid.c: Likewise.
25994 * posix/sleep.c: Likewise.
25995 * posix/spawni.c: Likewise.
25996 * posix/sysconf.c: Likewise.
25997 * posix/times.c: Likewise.
25998 * posix/wait.c: Likewise.
25999 * posix/wait3.c: Likewise.
26000 * posix/wait4.c: Likewise.
26001 * posix/waitpid.c: Likewise.
26002 * resolv/gai_sigqueue.c: Likewise.
26003 * resource/getpriority.c: Likewise.
26004 * resource/getrlimit.c: Likewise.
26005 * resource/getrusage.c: Likewise.
26006 * resource/nice.c: Likewise.
26007 * resource/setpriority.c: Likewise.
26008 * resource/setrlimit.c: Likewise.
26009 * resource/ulimit.c: Likewise.
26010 * rt/aio_cancel.c: Likewise.
26011 * rt/aio_fsync.c: Likewise.
26012 * rt/aio_read.c: Likewise.
26013 * rt/aio_sigqueue.c: Likewise.
26014 * rt/aio_suspend.c: Likewise.
26015 * rt/aio_write.c: Likewise.
26016 * rt/clock_getres.c: Likewise.
26017 * rt/clock_gettime.c: Likewise.
26018 * rt/clock_nanosleep.c: Likewise.
26019 * rt/clock_settime.c: Likewise.
26020 * rt/lio_listio.c: Likewise.
26021 * rt/mq_close.c: Likewise.
26022 * rt/mq_getattr.c: Likewise.
26023 * rt/mq_notify.c: Likewise.
26024 * rt/mq_open.c: Likewise.
26025 * rt/mq_receive.c: Likewise.
26026 * rt/mq_send.c: Likewise.
26027 * rt/mq_setattr.c: Likewise.
26028 * rt/mq_timedreceive.c: Likewise.
26029 * rt/mq_timedsend.c: Likewise.
26030 * rt/mq_unlink.c: Likewise.
26031 * rt/shm_open.c: Likewise.
26032 * rt/shm_unlink.c: Likewise.
26033 * rt/timer_create.c: Likewise.
26034 * rt/timer_delete.c: Likewise.
26035 * rt/timer_getoverr.c: Likewise.
26036 * rt/timer_gettime.c: Likewise.
26037 * rt/timer_settime.c: Likewise.
26038 * setjmp/__longjmp.c: Likewise.
26039 * setjmp/setjmp.c: Likewise.
26040 * signal/kill.c: Likewise.
26041 * signal/killpg.c: Likewise.
26042 * signal/raise.c: Likewise.
26043 * signal/sigaction.c: Likewise.
26044 * signal/sigaltstack.c: Likewise.
26045 * signal/sigblock.c: Likewise.
26046 * signal/sigignore.c: Likewise.
26047 * signal/sigintr.c: Likewise.
26048 * signal/signal.c: Likewise.
26049 * signal/sigpause.c: Likewise.
26050 * signal/sigpending.c: Likewise.
26051 * signal/sigqueue.c: Likewise.
26052 * signal/sigreturn.c: Likewise.
26053 * signal/sigset.c: Likewise.
26054 * signal/sigsetmask.c: Likewise.
26055 * signal/sigstack.c: Likewise.
26056 * signal/sigsuspend.c: Likewise.
26057 * signal/sigtimedwait.c: Likewise.
26058 * signal/sigvec.c: Likewise.
26059 * signal/sigwait.c: Likewise.
26060 * signal/sigwaitinfo.c: Likewise.
26061 * signal/sysv_signal.c: Likewise.
26062 * socket/accept.c: Likewise.
26063 * socket/accept4.c: Likewise.
26064 * socket/bind.c: Likewise.
26065 * socket/connect.c: Likewise.
26066 * socket/getpeername.c: Likewise.
26067 * socket/getsockname.c: Likewise.
26068 * socket/getsockopt.c: Likewise.
26069 * socket/isfdtype.c: Likewise.
26070 * socket/listen.c: Likewise.
26071 * socket/recv.c: Likewise.
26072 * socket/recvfrom.c: Likewise.
26073 * socket/recvmsg.c: Likewise.
26074 * socket/send.c: Likewise.
26075 * socket/sendmsg.c: Likewise.
26076 * socket/sendto.c: Likewise.
26077 * socket/setsockopt.c: Likewise.
26078 * socket/shutdown.c: Likewise.
26079 * socket/sockatmark.c: Likewise.
26080 * socket/socket.c: Likewise.
26081 * socket/socketpair.c: Likewise.
26082 * stdio-common/ctermid.c: Likewise.
26083 * stdio-common/cuserid.c: Likewise.
26084 * stdio-common/remove.c: Likewise.
26085 * stdio-common/rename.c: Likewise.
26086 * stdio-common/renameat.c: Likewise.
26087 * stdio-common/tempname.c: Likewise.
26088 * stdlib/getcontext.c: Likewise.
26089 * stdlib/makecontext.c: Likewise.
26090 * stdlib/setcontext.c: Likewise.
26091 * stdlib/swapcontext.c: Likewise.
26092 * stdlib/system.c: Likewise.
26093 * streams/fattach.c: Likewise.
26094 * streams/fdetach.c: Likewise.
26095 * streams/getmsg.c: Likewise.
26096 * streams/getpmsg.c: Likewise.
26097 * streams/putmsg.c: Likewise.
26098 * streams/putpmsg.c: Likewise.
26099 * sysdeps/unix/bsd/getpt.c: Likewise.
26100 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26101 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26102 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26105 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26106 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26107 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26108 * sysvipc/msgctl.c: Likewise.
26109 * sysvipc/msgget.c: Likewise.
26110 * sysvipc/msgrcv.c: Likewise.
26111 * sysvipc/msgsnd.c: Likewise.
26112 * sysvipc/semctl.c: Likewise.
26113 * sysvipc/semget.c: Likewise.
26114 * sysvipc/semop.c: Likewise.
26115 * sysvipc/semtimedop.c: Likewise.
26116 * sysvipc/shmat.c: Likewise.
26117 * sysvipc/shmctl.c: Likewise.
26118 * sysvipc/shmdt.c: Likewise.
26119 * sysvipc/shmget.c: Likewise.
26120 * termios/tcdrain.c: Likewise.
26121 * termios/tcflow.c: Likewise.
26122 * termios/tcflush.c: Likewise.
26123 * termios/tcgetattr.c: Likewise.
26124 * termios/tcgetpgrp.c: Likewise.
26125 * termios/tcsendbrk.c: Likewise.
26126 * termios/tcsetattr.c: Likewise.
26127 * termios/tcsetpgrp.c: Likewise.
26128 * time/adjtime.c: Likewise.
26129 * time/clock.c: Likewise.
26130 * time/getitimer.c: Likewise.
26131 * time/gettimeofday.c: Likewise.
26132 * time/setitimer.c: Likewise.
26133 * time/settimeofday.c: Likewise.
26134 * time/stime.c: Likewise.
26135 * time/time.c: Likewise.
26137 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26139 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26142 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26144 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26146 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26149 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26150 FE_TONEAREST before applying Dekker multiplication and Knuth
26151 addition. Clear inexact exceptions and check for exact zero
26152 results afterwards.
26153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26154 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26155 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26156 * math/libm-test.inc (fma_test): Add more tests.
26157 (fma_test_towardzero): Likewise.
26158 (fma_test_downward): Likewise.
26159 (fma_test_upward): Likewise.
26160 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26162 (libc_fesetround): New macro.
26163 (libc_fesetroundf): Likewise.
26164 (libc_fesetroundl): Likewise.
26165 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26167 (libc_fesetround_387): Likewise.
26168 (libc_fesetroundf): New macro.
26169 (libc_fesetround): Likewise.
26170 (libc_fesetroundl): Likewise.
26171 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26173 (libc_fesetroundf): New macro.
26174 (libc_fesetround): Likewise.
26175 (libc_fesetroundl): Likewise.
26176 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26177 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26178 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26180 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26181 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26183 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26184 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26186 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26190 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26191 integer constant usable in #if and use that to give value to enum
26193 (FE_DIVBYZERO): Likewise.
26194 (FE_UNDERFLOW): Likewise.
26195 (FE_OVERFLOW): Likewise.
26196 (FE_INVALID): Likewise.
26197 (FE_INVALID_SNAN): Likewise.
26198 (FE_INVALID_ISI): Likewise.
26199 (FE_INVALID_IDI): Likewise.
26200 (FE_INVALID_ZDZ): Likewise.
26201 (FE_INVALID_IMZ): Likewise.
26202 (FE_INVALID_COMPARE): Likewise.
26203 (FE_INVALID_SOFTWARE): Likewise.
26204 (FE_INVALID_SQRT): Likewise.
26205 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26206 (FE_TONEAREST): Likewise.
26207 (FE_TOWARDZERO): Likewise.
26208 (FE_UPWARD): Likewise.
26209 (FE_DOWNWARD): Likewise.
26210 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26211 (FE_DIVBYZERO): Likewise.
26212 (FE_OVERFLOW): Likewise.
26213 (FE_UNDERFLOW): Likewise.
26214 (FE_INEXACT): Likewise.
26215 (FE_TONEAREST): Likewise.
26216 (FE_DOWNWARD): Likewise.
26217 (FE_UPWARD): Likewise.
26218 (FE_TOWARDZERO): Likewise.
26219 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26220 (FE_UNDERFLOW): Likewise.
26221 (FE_OVERFLOW): Likewise.
26222 (FE_DIVBYZERO): Likewise.
26223 (FE_INVALID): Likewise.
26224 (FE_TONEAREST): Likewise.
26225 (FE_TOWARDZERO): Likewise.
26226 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26227 (FE_OVERFLOW): Likewise.
26228 (FE_UNDERFLOW): Likewise.
26229 (FE_DIVBYZERO): Likewise.
26230 (FE_INEXACT): Likewise.
26231 (FE_TONEAREST): Likewise.
26232 (FE_TOWARDZERO): Likewise.
26233 (FE_UPWARD): Likewise.
26234 (FE_DOWNWARD): Likewise.
26235 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26236 (FE_DIVBYZERO): Likewise.
26237 (FE_OVERFLOW): Likewise.
26238 (FE_UNDERFLOW): Likewise.
26239 (FE_INEXACT): Likewise.
26240 (FE_TONEAREST): Likewise.
26241 (FE_DOWNWARD): Likewise.
26242 (FE_UPWARD): Likewise.
26243 (FE_TOWARDZERO): Likewise.
26245 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26247 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26249 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26251 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26252 commands. Quote $PWD.
26253 (blacklist_exports): Don't use remove_newlines. Replace "declare
26255 (remove_newlines): Remove.
26257 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26259 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26260 * stdlib/stdlib.h (atof): Moved to ...
26261 * include/bits/stdlib-float.h: Here. New file.
26262 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26263 * stdlib/bits/stdlib-float.h: New file.
26264 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26269 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26271 * conform/conformtest.pl (@headers): Add fenv.h.
26272 * conform/data/fenv.h-data: New file.
26273 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26274 include of <math/fenv.h>.
26276 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26277 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26278 && !UNIX98]. Enables tests for XOPEN2K8.
26279 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26280 POSIX2008]: Likewise.
26282 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26283 (struct rusage): Do not expect type or its members.
26286 * math/math.h (FP_NAN): Define macro to integer constant usable in
26287 #if and use that to give value to enum constant.
26288 (FP_INFINITE): Likewise.
26289 (FP_ZERO): Likewise.
26290 (FP_SUBNORMAL): Likewise.
26291 (FP_NORMAL): Likewise.
26293 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26295 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26296 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26299 2012-11-02 Roland McGrath <roland@hack.frob.com>
26301 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26302 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26303 autoconf-time if not.
26304 * configure.in: Remove AC_PREREQ.
26306 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26308 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26309 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26310 of the internal implementation.
26312 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26314 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26315 except include of <misc/sys/syslog.h>.
26317 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26320 function returns with a NULL context exit with zero.
26322 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26324 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26326 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26328 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26329 (run_program_cmd): This.
26330 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26331 (tst_langinfo): New variable. Use it.
26333 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26335 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26336 floating point opcodes.
26338 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26340 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26343 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26345 * sysdeps/mach/hurd/powerpc: Remove directory.
26346 * sysdeps/mach/powerpc: Likewise.
26348 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26350 * scripts/check-local-headers.sh: Ignore c++ headers.
26352 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26354 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26355 __libc_cleanup_region_start argument.
26357 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26362 x * y using scaling, not as x * y + z.
26363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26364 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26365 * math/libm-test.inc (fma_test): Add more tests.
26366 (fma_test_towardzero): Likewise.
26367 (fma_test_downward): Likewise.
26368 (fma_test_upward): Likewise.
26370 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26372 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26374 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26376 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26379 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26381 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26383 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26390 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26393 Fix the order of the list for glibc 2.17.
26394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26397 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26401 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26404 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26405 for low part of x being zero before using __atanl (y).
26406 * math/libm-test.inc (atan2_test): Add another test.
26408 * manual/install.texi (Configuring and compiling): Document
26409 general use of test-wrapper and test-wrapper-env.
26410 * INSTALL: Regenerated.
26412 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26413 (__fma): Do not extract and scale down low bits on after-rounding
26414 systems when result rounded to normal precision would have normal
26416 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26417 (__fmal): Do not extract and scale down low bits on after-rounding
26418 systems when result rounded to normal precision would have normal
26420 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26421 (__fmal): Do not extract and scale down low bits on after-rounding
26422 systems when result rounded to normal precision would have normal
26424 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26426 (fma_test): Add more tests.
26427 (fma_test_towardzero): Likewise.
26428 (fma_test_downward): Likewise.
26429 (fma_test_upward): Likewise.
26431 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26433 * sysdeps/i386/tininess.h: Renamed to ...
26434 * sysdeps/x86/tininess.h: This.
26435 * sysdeps/x86_64/tininess.h: Removed.
26437 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26439 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26440 input. Use $(build-program-cmd).
26441 ($(objpfx)tst-array1-static.out): Likewise.
26442 ($(objpfx)tst-array2.out): Likewise.
26443 ($(objpfx)tst-array3.out): Likewise.
26444 ($(objpfx)tst-array4.out): Likewise.
26445 ($(objpfx)tst-array5.out): Likewise.
26446 ($(objpfx)tst-array5-static.out): Likewise.
26448 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26450 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26453 * nss/nsswitch.h (nss_interface_function): Provide new
26454 macro for use with NSS functions.
26455 * grp/initgroups.c: Use new macro.
26456 * nss/getXXbyYY.c: Likewise.
26457 * nss/getXXbyYY_r.c: Likewise.
26458 * nss/getXXent.c: Likewise.
26459 * nss/getXXent_r.c: Likewise.
26460 * sysdeps/posix/getaddrinfo.c: Likewise.
26462 2012-10-30 Andreas Jaeger <aj@suse.de>
26464 * po/ru.po: Update Russion translation from translation project.
26466 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26471 result and shift together with sticky bit instead of replicating
26472 round-to-nearest rounding.
26473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26475 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26476 missing underflow exceptions.
26477 (fma_test_towardzero): Add more tests.
26478 (fma_test_downward): Likewise.
26479 (fma_test_upward): Likewise.
26482 * sysdeps/generic/tininess.h: New file.
26483 * sysdeps/i386/tininess.h: Likewise.
26484 * sysdeps/sh/tininess.h: Likewise.
26485 * sysdeps/x86_64/tininess.h: Likewise.
26486 * stdlib/tst-strtod-underflow.c: Likewise.
26487 * stdlib/tst-tininess.c: Likewise.
26488 * stdlib/strtod_l.c: Include <tininess.h>.
26489 (round_and_return): Do not set errno for exact underflow cases.
26490 Force an underflow exception when setting errno for underflow.
26491 Determine underflow based on rounding to normal precision if
26492 TININESS_AFTER_ROUNDING.
26493 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26494 ERANGE for exact underflow cases.
26495 * stdlib/Makefile (tests): Add tst-tininess and
26496 tst-strtod-underflow.
26497 ($(objpfx)tst-tininess): Use $(link-libm).
26498 ($(objpfx)tst-strtod-underflow): Likewise.
26500 2012-10-30 Andreas Jaeger <aj@suse.de>
26503 * elf/Makefile (tests): Remove conditional for have-initfini-array
26504 since this is now always required and the variable does not exist
26506 (tests-static): Likewise.
26507 (modules-names): Likewise.
26509 * po/eo.po: Add Esperanto translation from translation project.
26511 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26512 merged with constructor/destructor.
26513 (init_array): Likewise.
26514 * elf/tst-array2dep.c (fini_array): Likewise.
26515 (init_array): Likewise.
26517 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26519 * manual/message.texi: Delete @cartouche tags.
26521 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26523 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26525 * sysdeps/mach/hurd/fsync.c: Likewise.
26527 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26528 [_POSIX_REALTIME_SIGNALS]: Change condition to
26529 [_POSIX_REALTIME_SIGNALS > 0].
26531 2012-10-27 Andreas Jaeger <aj@suse.de>
26533 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26534 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26536 [__WORDSIZE != 64]: Likewise.
26538 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26540 * iconvdata/tst-table.sh: Remove ${SHELL}.
26541 * iconvdata/tst-tables.sh: Likewise.
26543 2012-10-25 David S. Miller <davem@davemloft.net>
26545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26546 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26549 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26551 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26552 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26553 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26556 2012-10-25 Roland McGrath <roland@hack.frob.com>
26558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26559 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26562 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26563 Jim Blandy <jimb@codesourcery.com>
26565 * scripts/cross-test-ssh.sh: New file.
26566 * manual/install.texi (Configuring and compiling): Document use of
26568 * INSTALL: Regenerated.
26570 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26572 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26575 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26577 * Makeconfig (run-program-prefix): Fix comment.
26579 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26580 Jim Blandy <jimb@codesourcery.com>
26582 * Makeconfig (test-wrapper): New variable,
26583 (test-wrapper-env): Likewise.
26584 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26585 (run-built-tests): Define to yes.
26586 (run-program-prefix): Use $(test-wrapper).
26587 (built-program-cmd): Likewise.
26588 * Rules (make-test-out): Use $(test-wrapper-env) and
26589 $(host-built-program-cmd).
26590 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26591 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26593 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26594 $(test-wrapper-env) to tst-rtld-load-self.sh.
26595 ($(objpfx)order2.out): Use $(test-wrapper).
26596 ($(objpfx)tst-initorder.out): Likewise.
26597 ($(objpfx)tst-initorder2.out): Likewise.
26598 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26599 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26600 (test_wrapper_env): New variable. Use it to run ld.so.
26601 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26602 Use it to run ld.so.
26603 (test_wrapper_env): Likewise.
26604 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26605 $(test-wrapper) to run-iconv-test.sh.
26606 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26607 (ICONV): Use $test_wrapper.
26608 * posix/Makefile ($(objpfx)globtest.out): Pass
26609 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26610 globtest.sh, not $(run-program-prefix).
26611 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26612 (test_wrapper): Likewise.
26613 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26614 set together with run_via_rtld_prefix.
26615 (run_program_prefix): Define in terms of test_wrapper and
26616 run_via_rtld_prefix.
26618 2012-10-24 Roland McGrath <roland@hack.frob.com>
26620 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26621 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26625 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26626 Declare __clock_getres, __clock_gettime, __clock_settime,
26627 __clock_nanosleep, and __clock_getcpuclockid.
26628 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26629 Remove librt_hidden_def (clock_gettime).
26630 * sysdeps/unix/clock_gettime.c: Likewise.
26631 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26632 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26633 * rt/clock_getres.c: Define __clock_getres as an alias.
26634 * sysdeps/posix/clock_getres.c: Likewise.
26635 * rt/clock_settime.c: Define __clock_settime as an alias.
26636 * sysdeps/unix/clock_settime.c: Likewise.
26637 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26638 * sysdeps/unix/clock_nanosleep.c: Likewise.
26639 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26640 * rt/clock-compat.c: New file.
26641 * rt/Makefile (librt-routines): Add clock-compat and move
26642 $(clock-routines) to ...
26643 (routines): ... here, new variable.
26644 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26645 Don't add get_clockfreq here.
26646 * rt/Versions (libc: GLIBC_2.17): New version set.
26647 Add clock_* symbols here.
26648 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26649 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26650 (GLIBC_2.17): Add clock_* symbols.
26651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26662 * NEWS: Mention the move.
26664 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26665 Use __open, __read, __close rather than their public counterparts.
26666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26667 (__get_clockfreq_via_cpuinfo): Likewise.
26668 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26669 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26671 * config.h.in (HAVE_IFUNC): New #undef.
26672 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26674 * configure: Regenerated.
26676 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26678 * configure.in: Move READELF check to start of file.
26679 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26680 libc_cv_asm_gnu_indirect_function in the process.
26681 * configure: Regenerated.
26683 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26685 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26686 send the output to /dev/null.
26687 (libc_cv_cc_with_libunwind): Likewise.
26688 (libc_cv_as_noexecstack): Likewise.
26689 * configure: Regenerate.
26691 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26693 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26695 * posix/globtest.sh (TMPDIR): Do not set.
26696 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26697 (testout): Likewise.
26699 2012-10-24 Andreas Jaeger <aj@suse.de>
26701 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26702 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26703 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26704 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26705 posix_fadvise64, posix_fallocate64.
26707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26708 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26709 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26711 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26713 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26716 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26717 <bits/fcntl-linux.h>.
26718 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26721 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26722 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26723 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26724 [__WORDSIZE != 64]: Likewise.
26726 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26728 * Makeconfig (run-built-tests): New variable.
26729 * Rules [$(cross-compiling) = yes]: Change condition to
26730 [$(run-built-tests) = no].
26731 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26732 to [$(run-built-tests) = yes].
26733 * elf/Makefile [$(cross-compiling) = no]: Likewise
26734 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26735 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26736 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26737 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26738 * io/Makefile [$(cross-compiling) = no]: Likewise.
26739 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26740 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26741 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26742 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26743 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26744 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26745 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26746 * string/Makefile [$(cross-compiling) = no]: Likewise.
26748 * posix/Makefile ($(objpfx)globtest.out): Pass
26749 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26750 $(rtld-installed-name).
26751 * posix/globtest.sh (elf_objpfx): Remove variable.
26752 (rtld_installed_name): Likewise.
26753 (library_path): Likewise.
26754 (run_program_prefix): New variable. Use for running globtest
26757 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26758 Joseph Myers <joseph@codesourcery.com>
26760 * Makeconfig (host-built-program-cmd): New variable.
26761 * elf/Makefile (tst-stackguard1-ARGS): Use
26762 $(host-built-program-cmd).
26763 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26764 (tst-spawn-ARGS): Likewise.
26765 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26767 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26768 Jim Blandy <jimb@codesourcery.com>
26770 * Makeconfig (run-via-rtld-prefix): New variable.
26771 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26772 (built-program-cmd): Likewise.
26774 2012-10-22 Andreas Jaeger <aj@suse.de>
26776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26777 __O_RSYNC if it exists, otherwise to O_SYNC.
26779 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26780 Joseph Myers <joseph@codesourcery.com>
26782 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26784 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26786 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26789 2012-10-22 Andreas Jaeger <aj@suse.de>
26791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26793 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26796 bits/fcntl-linux.h.
26798 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26799 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26806 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26807 Joseph Myers <joseph@codesourcery.com>
26809 * config.make.in (NM): New variable.
26811 2012-10-21 Andreas Jaeger <aj@suse.de>
26813 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26814 definitions and declarations that are provided by
26815 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26817 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26820 * elf/Makefile (tests-static): Add tst-leaks1-static.
26821 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26822 ($(objpfx)tst-leaks1-static): New rule.
26823 ($(objpfx)tst-leaks1-static-mem): Likewise.
26824 (tst-leaks1-static-ENV): New macro.
26825 * elf/dl-open.c (dl_open_worker): Check the main application
26826 only if SHARED is defined.
26827 * elf/tst-leaks1-static.c: New file.
26829 2012-10-20 Andreas Jaeger <aj@suse.de>
26831 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26832 generic values for Linux.
26833 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26834 and declarations that are provided by <bits/fcntl-linux.h> and
26835 include <bits/fcntl-linux.h>.
26836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26839 2012-10-20 Roland McGrath <roland@hack.frob.com>
26841 * io/fcntl.h: Move include of <bits/types.h> to the top and
26842 include it unconditionally.
26844 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26846 * wcsmbs/Makefile (tests-ifunc): New variable.
26847 (tests): Add $(tests-ifunc).
26848 * wcsmbs/test-wcschr-ifunc.c: New file.
26849 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26850 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26851 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26852 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26853 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26855 * string/Makefile (tests-ifunc): New variable.
26856 (tests): Add $(tests-ifunc).
26857 * string/test-memccpy.c (TEST_NAME): New macro.
26858 * string/test-memchr.c (TEST_NAME): Likewise.
26859 * string/test-memcmp.c (TEST_NAME): Likewise.
26860 * string/test-memcpy.c (TEST_NAME): Likewise.
26861 * string/test-memmem.c (TEST_NAME): Likewise.
26862 * string/test-memmove.c (TEST_NAME): Likewise.
26863 * string/test-memset.c (TEST_NAME): Likewise.
26864 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26865 * string/test-stpcpy.c (TEST_NAME): Likewise.
26866 * string/test-stpncpy.c (TEST_NAME): Likewise.
26867 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26868 * string/test-strcasestr.c (TEST_NAME): Likewise.
26869 * string/test-strcat.c (TEST_NAME): Likewise.
26870 * string/test-strchr.c (TEST_NAME): Likewise.
26871 * string/test-strcmp.c(TEST_NAME): Likewise.
26872 * string/test-strcpy.c (TEST_NAME): Likewise.
26873 * string/test-strcspn.c (TEST_NAME): Likewise.
26874 * string/test-strlen.c (TEST_NAME): Likewise.
26875 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26876 * string/test-strncmp.c (TEST_NAME): Likewise.
26877 * string/test-strncpy.c (TEST_NAME): Likewise.
26878 * string/test-strnlen.c (TEST_NAME): Likewise.
26879 * string/test-strpbrk.c (TEST_NAME): Likewise.
26880 * string/test-strrchr.c (TEST_NAME): Likewise.
26881 * string/test-strspn.c (TEST_NAME): Likewise.
26882 * string/test-strstr.c (TEST_NAME): Likewise.
26883 * string/test-bcopy-ifunc.c: New file.
26884 * string/test-bzero-ifunc.c: Likewise.
26885 * string/test-memccpy-ifunc.c: Likewise.
26886 * string/test-memchr-ifunc.c: Likewise.
26887 * string/test-memcmp-ifunc.c: Likewise.
26888 * string/test-memcpy-ifunc.c: Likewise.
26889 * string/test-memmem-ifunc.c: Likewise.
26890 * string/test-memmove-ifunc.c: Likewise.
26891 * string/test-mempcpy-ifunc.c: Likewise.
26892 * string/test-memset-ifunc.c: Likewise.
26893 * string/test-rawmemchr-ifunc.c: Likewise.
26894 * string/test-stpcpy-ifunc.c: Likewise.
26895 * string/test-stpncpy-ifunc.c: Likewise.
26896 * string/test-strcasecmp-ifunc.c: Likewise.
26897 * string/test-strcasestr-ifunc.c: Likewise.
26898 * string/test-strcat-ifunc.c: Likewise.
26899 * string/test-strchr-ifunc.c: Likewise.
26900 * string/test-strchrnul-ifunc.c: Likewise.
26901 * string/test-strcmp-ifunc.c: Likewise.
26902 * string/test-strcpy-ifunc.c: Likewise.
26903 * string/test-strcspn-ifunc.c: Likewise.
26904 * string/test-strlen-ifunc.c: Likewise.
26905 * string/test-strncasecmp-ifunc.c: Likewise.
26906 * string/test-strncat-ifunc.c: Likewise.
26907 * string/test-strncmp-ifunc.c: Likewise.
26908 * string/test-strncpy-ifunc.c: Likewise.
26909 * string/test-strnlen-ifunc.c: Likewise.
26910 * string/test-strpbrk-ifunc.c: Likewise.
26911 * string/test-strrchr-ifunc.c: Likewise.
26912 * string/test-strspn-ifunc.c: Likewise.
26913 * string/test-strstr-ifunc.c: Likewise.
26915 * debug/Makefile (tests-ifunc): New variable.
26916 (tests): Add $(tests-ifunc).
26917 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26918 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26919 * debug/test-stpcpy_chk-ifunc.c: New file.
26920 * debug/test-strcpy_chk-ifunc.c: Likewise.
26922 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26925 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26926 header is not read in.
26928 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26930 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26931 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26932 directly. Pass built executable to script as
26933 $(built-program-cmd).
26934 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26935 $testprogram without using LD_LIBRARY_PATH and $ldso.
26937 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26938 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26939 $(rtld-installed-name).
26940 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26941 (rtld_installed_name): Likewise.
26942 (library_path): Likewise.
26943 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26944 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26945 $(run-program-prefix) to tst-tables.sh.
26946 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26947 it to run tst-table-from and tst-table-to.
26948 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26949 Pass it to tst-table.sh.
26950 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26951 $(run-program-prefix) to tst-gettext.sh.
26952 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26954 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26956 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26957 to run tst-gettext.
26958 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26959 to run tst-gettext2.
26960 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26961 to run tst-translit.
26962 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26963 $(run-program-prefix) to tst-mtrace.sh.
26964 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26966 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26967 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26968 $(rtld-installed-name).
26969 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26970 (rtld_installed_name): Likewise.
26971 (run_program_prefix): New variable. Use it to run wordexp-test.
26973 * Makeconfig (ARCH): Remove all definitions.
26974 (machine): Likewise.
26975 [ARCH]: Remove conditional code.
26976 [!objdir]: Give error.
26977 [!objdir] (objpfx): Remove.
26978 [!objdir] (common-objpfx): Likewise.
26979 [!objdir] (common-objdir): Likewise.
26980 * configure.in (config_makefile): Remove. Hardcode Makefile in
26981 AC_CONFIG_FILES call.
26982 * configure: Regenerated.
26985 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26987 (testout): Likewise.
26989 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26990 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26991 $(rtld-installed-name).
26992 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26993 (rtld_installed_name): Likwise.
26994 (runit): Remove function.
26995 (run_getconf): New variable, Use it for running getconf binary.
26997 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27000 * string/test-memmem.c (check_result): New function.
27001 (do_one_test): Use it.
27002 (check1): New function.
27003 (test_main): Use it.
27005 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27007 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27009 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27011 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27012 (_G_LSEEK64): Likewise.
27013 (_G_MMAP64): Likewise.
27014 (_G_FSTAT64): Likewise.
27015 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27016 (_G_LSEEK64): Likewise.
27017 (_G_MMAP64): Likewise.
27018 (_G_FSTAT64): Likewise.
27019 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27020 unconditional. Call __mmap64 directly.
27021 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27022 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27023 __lseek64 directly.
27024 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27025 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27027 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27028 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27029 __lseek64 directly.
27030 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27031 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27032 __lseek64 directly.
27033 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27034 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27035 __lseek64 directly.
27036 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27037 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27038 __fxstat64 directly.
27039 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27040 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27042 (freopen64) [!_G_OPEN64]: Remove conditional code.
27043 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27045 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27046 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27048 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27049 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27051 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27052 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27054 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27055 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27057 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27058 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27060 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27061 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27063 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27065 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27068 * manual/memory.texi (Malloc Tunable Parameters): Add note
27069 about free list pointers overwriting some perturb bytes.
27070 Wording suggested by Roland McGrath.
27072 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27074 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27075 (lgamma_test): Likewise.
27076 (tgamma_test): Likewise.
27078 2012-10-16 Florian Weimer <fweimer@redhat.com>
27081 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27082 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27084 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27086 * NEWS: Mention BZ #14716.
27087 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27088 when removing AVAILABLE1_USES_J macro.
27090 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27092 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27093 (__bswap_64): __uint64_t for unsigned 64-bit int.
27095 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27097 * include/string.h (memmem): Declare libc hidden alias.
27098 * string/memmem.c (memmem): Define libc hidden alias.
27099 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27100 __read, __close instead of open, read, close.
27102 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27105 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27107 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27108 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27109 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27111 (__rawmemchr_sse2): Likewise.
27112 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27113 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27114 (__strchr_sse2): Likewise.
27115 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27116 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27117 (__strcasecmp_sse2): Likewise.
27118 (__strncasecmp_sse2): Likewise.
27119 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27120 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27121 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27122 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27123 (__strrchr_sse2): Likewise.
27124 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27126 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27127 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27128 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27129 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27130 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27131 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27132 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27133 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27134 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27135 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27136 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27137 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27138 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27139 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27140 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27141 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27142 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27143 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27144 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27145 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27146 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27147 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27148 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27149 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27150 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27151 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27152 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27153 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27154 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27155 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27157 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27159 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27160 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27161 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27162 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27164 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27166 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27167 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27168 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27169 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27171 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27172 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27173 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27174 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27175 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27176 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27177 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27178 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27179 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27180 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27181 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27182 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27183 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27184 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27185 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27186 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27187 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27188 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27189 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27190 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27191 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27192 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27193 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27194 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27195 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27196 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27197 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27198 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27199 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27200 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27201 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27202 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27203 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27204 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27205 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27206 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27207 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27208 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27209 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27210 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27211 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27213 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27214 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27215 * include/ifunc-impl-list.h: New file.
27216 * misc/ifunc-impl-list.c: Likewise.
27217 * misc/Makefile (routines): Add ifunc-impl-list.
27218 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27219 * string/test-string.h: Include <ifunc-impl-list.h>.
27220 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27221 TEST_NAME]: New variables.
27222 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27224 (test_init): Call __libc_ifunc_impl_list to initialize
27225 func_list if TEST_IFUNC and TEST_NAME are defined.
27227 * string/Makefile (strop-tests): Add bcopy and bzero.
27228 * string/test-bcopy.c: New file.
27229 * string/test-bzero.c: Likewise.
27230 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27232 * string/test-memset.c: Support bzero test if TEST_BZERO is
27234 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27236 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27238 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27241 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27243 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27244 * configure: Regenerated.
27246 * Makeconfig (+link-static-before-libc): Don't include
27247 $(link-static-libc).
27249 * libio/libio.h (_IO_pos_t): Remove.
27251 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27253 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27256 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27258 * crypt/crypt-entry.c: Include fips-private.h.
27259 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27260 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27261 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27262 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27264 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27266 * crypt/crypt-private.h: Include stdbool.h.
27267 (_ufc_setup_salt_r): Return bool.
27268 * crypt/crypt-entry.c: Include errno.h.
27269 (__crypt_r): Return NULL with EINVAL for bad salt.
27270 * crypt/crypt_util.c (bad_for_salt): New.
27271 (_ufc_setup_salt_r): Check that salt is long enough and within
27272 the specified alphabet.
27273 * crypt/badsalttest.c: New file.
27274 * crypt/Makefile (tests): Add it.
27275 ($(objpfx)badsalttest): New.
27277 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27279 * NEWS: Add entry for BZ #14602.
27281 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27283 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27285 * math/libm-test.inc: Update comment listing what functions and
27287 (isgreater_test): New function.
27288 (isgreaterequal_test): Likewise.
27289 (isless_test): Likewise.
27290 (islessequal_test): Likewise.
27291 (islessgreater_test): Likewise.
27292 (isunordered_test): Likewise.
27293 (main): Call the new functions.
27295 2012-10-09 Roland McGrath <roland@hack.frob.com>
27297 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27298 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27299 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27300 * sysdeps/i386/configure: Regenerated.
27301 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27302 * sysdeps/mach/configure: Regenerated.
27303 * sysdeps/mach/hurd/configure: Regenerated.
27304 * sysdeps/powerpc/configure: Regenerated.
27305 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27306 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27307 * sysdeps/s390/s390-32/configure: Regenerated.
27308 * sysdeps/s390/s390-64/configure: Regenerated.
27309 * sysdeps/sh/configure: Regenerated.
27310 * sysdeps/sparc/configure: Regenerated.
27311 * sysdeps/unix/sysv/linux/configure: Regenerated.
27312 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27313 * sysdeps/x86_64/configure: Regenerated.
27315 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27316 defined. Don't check if MAP is NULL.
27318 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27320 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27321 (_G_stat64): Likewise.
27322 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27323 (_G_stat64): Likewise.
27324 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27325 instead of struct _G_stat64.
27326 * libio/fileops.c (mmap_remap_check): Likewise.
27327 (decide_maybe_mmap): Likewise.
27328 (_IO_new_file_seekoff): Likewise.
27329 (_IO_file_stat): Likewise.
27330 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27332 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27333 instead of struct _G_stat64.
27334 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27336 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27339 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27341 (CHECK_EOL): New macro.
27342 (two_way_short_needle): Check beginning of haystack for EOL. Use
27344 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27345 Replace with CHECK_EOL.
27346 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27347 Replace with CHECK_EOL.
27349 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27351 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27353 * math/libm-test.inc: Update comment listing what functions and
27355 (finite_test): New function.
27356 (isinf_test): Likewise.
27357 (isnan_test): Likewise.
27358 (fpclassify_test): Test subnormal input.
27359 (isfinite_test): Likewise.
27360 (isnormal_test): Likewise.
27361 (main): Call the new functions.
27363 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27366 * Makerules (%.dynsym): Force C locale when running
27367 $(OBJDUMP) --dynamic-syms.
27369 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27371 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27374 2012-10-06 David S. Miller <davem@davemloft.net>
27376 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27377 upper 32-bits of the length value in %o2 since we use branch-on-register
27378 tests which consider the entire 64-bit register.
27380 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27382 * string/test-strstr.c (check2): Add a test for page boundary.
27384 2012-10-05 David S. Miller <davem@davemloft.net>
27386 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27387 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27389 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27391 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27392 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27393 and bzero when HWCAP_SPARC_CRYPTO is present.
27395 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27398 * string/test-strstr.c (check2): New function.
27399 (test_main): Call check2.
27401 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27403 * string/bug-strcasestr1.c (do_test): Moved to ...
27404 * string/test-strcasestr.c (check1): Here. New function.
27405 (do_one_test): Break out result checking code into ...
27406 (check_result): This. New function.
27407 (do_one_test): Call check_result.
27408 (test_main): Call check1.
27409 * string/bug-strchr1.c (do_test): Moved to ...
27410 * string/test-strchr.c (check1): Here. New function.
27411 (do_one_test): Break out result checking code into ...
27412 (check_result): This. New function.
27413 (do_one_test): Call check_result.
27414 (test_main): Call check1.
27415 * string/bug-strstr1.c (main): Moved to ...
27416 * string/test-strstr.c (check1): Here. New function.
27417 (do_one_test): Break out result checking code into ...
27418 (check_result): This. New function.
27419 (do_one_test): Call check_result.
27420 (test_main): Call check1.
27421 * string/bug-strcasestr1.c: Removed.
27422 * string/bug-strchr1.c: Likewise.
27423 * string/bug-strstr1.c: Likewise.
27425 * elf/Makefile (dl-routines): Add hwcaps.
27426 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27427 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27428 (_dl_important_hwcaps): Moved to ...
27429 * elf/dl-hwcaps.c: Here. New file.
27430 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27433 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27434 if IS_IN_rtld isn't defined.
27436 * elf/dl-support.c (_dl_sysinfo_map): New.
27437 Include "get-dynamic-info.h" and "setup-vdso.h".
27438 (_dl_non_dynamic_init): Call setup_vdso.
27439 * elf/dynamic-link.h: Don't include <assert.h>.
27440 (elf_get_dynamic_info): Moved to ...
27441 * elf/get-dynamic-info.h: Here. New file.
27442 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27443 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27444 * elf/setup-vdso.h: Here. New file.
27445 * elf/rtld.c: Include "setup-vdso.h".
27446 (dl_main): Call setup_vdso.
27448 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27450 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27451 creal in comment listing functions tested. List finite, isinf,
27452 isnan, isless, islessequal, isgreater, isgreaterequal,
27453 islessgreater, isunordered, lgamma_r and pow10 as functions and
27454 macros not tested. Mention which functions not tested are aliases
27455 for other functions. Fix typo. Note that signs of NaNs are not
27458 * scripts/config.guess: Update from config.git.
27459 * scripts/config.sub: Likewise.
27461 2012-10-04 Roland McGrath <roland@hack.frob.com>
27463 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27464 * misc/madvise.c (madvise): Renamed to __madvise.
27465 Make madvise a weak alias.
27466 * include/sys/mman.h: Declare __madvise.
27467 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27468 * sysdeps/unix/syscalls.list
27469 (madvise): Make __madvise the strong name, and madvise a weak alias.
27470 * sysdeps/unix/sysv/linux/syscalls.list
27471 (madvise, mmap): Remove redundant entries.
27472 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27473 * malloc/malloc.c (mtrim): Likewise.
27474 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27476 2012-10-03 Roland McGrath <roland@hack.frob.com>
27478 * sysdeps/mach/hurd/dl-cache.c: File removed.
27479 * config.h.in (USE_LDCONFIG): New #undef.
27480 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27481 * configure: Regenerated.
27482 * elf/Makefile (dl-routines): Add dl-cache only under
27483 [$(use-ldconfig) = yes].
27484 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27485 cache on [USE_LDCONFIG].
27486 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27488 * elf/rtld.c (dl_main): Likewise.
27490 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27492 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27493 _SC_LEVEL4_CACHE_LINESIZE.
27495 2012-10-03 Roland McGrath <roland@hack.frob.com>
27497 * sysdeps/unix/bsd/confstr.h: File removed.
27499 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27501 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27504 2012-10-02 Roland McGrath <roland@hack.frob.com>
27506 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27507 Make 'mapoff' field ElfW(Off) rather than off_t.
27509 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27511 * nscd/Makefile: Remove nscd-cflags and all its users.
27512 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27513 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27516 * malloc.c (malloc_printerr): Clarify error message.
27518 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27522 Set bit_FMA_Usable if FMA is supported.
27523 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27525 (bit_FMA4_Usable): Updated.
27526 (index_FMA_Usable): New macro.
27527 (CPUID_FMA): Likewise
27528 (HAS_FMA): Defined with bit_FMA_Usable.
27530 2012-10-01 Roland McGrath <roland@hack.frob.com>
27532 * bits/types.h (__swblk_t): Type removed.
27533 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27534 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27536 (__SWBLK_T_TYPE): Likewise.
27537 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27538 (__SWBLK_T_TYPE): Likewise.
27539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27540 (__SWBLK_T_TYPE): Likewise.
27541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27542 (__SWBLK_T_TYPE): Likewise.
27544 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27545 Honza Horak <hhorak@redhat.com>
27547 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27548 (xdr_mapname): Use YPMAXMAP as maxsize.
27549 (xdr_peername): Use YPMAXPEER as maxsize.
27550 (xdr_keydat): Use YPAXRECORD as maxsize.
27551 (xdr_valdat): Use YPMAXRECORD as maxsize.
27553 2012-10-01 Roland McGrath <roland@hack.frob.com>
27555 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27557 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27558 * csu/init-first.c: ... here.
27559 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27560 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27561 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27562 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27563 * sysdeps/i386/init-first.c: File removed.
27564 * sysdeps/sh/init-first.c: File removed.
27566 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27570 if x * y might underflow to zero and z is zero.
27571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27572 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27573 * math/libm-test.inc (min_subnorm_value): New variable.
27574 (fma_test): Add more tests.
27575 (fma_test_towardzero): Likewise.
27576 (fma_test_downward): Likewise
27577 (fma_test_upward): Likewise.
27578 (initialize): Set min_subnorm_value.
27580 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27585 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27586 mode for addition resulting in exact zero.
27587 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27590 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27591 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27592 * math/libm-test.inc (fma_test): Add more tests.
27593 (fma_test_towardzero): New function.
27594 (fma_test_downward): Likewise.
27595 (fma_test_upward): Likewise.
27596 (main): Call the new functions.
27598 2012-09-28 David S. Miller <davem@davemloft.net>
27600 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27602 2012-09-28 Roland McGrath <roland@hack.frob.com>
27604 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27605 instead of SIGALRM.
27607 * sysdeps/gnu/_G_config.h: Moved to ...
27608 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27609 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27610 * sysdeps/generic/_G_config.h: ... here.
27612 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27614 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27616 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27617 Conditionalize target on [libnss_test1.so-version].
27619 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27621 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27622 (elfobjdir): Move out of conditionals.
27624 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27625 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27626 (__nss_lookup_function): Conditionalize label remove_from_tree on
27627 [!DO_STATIC_NSS || SHARED], matching its only use.
27629 2012-09-28 David S. Miller <davem@davemloft.net>
27631 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27632 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27634 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27636 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27638 when HWCAP_SPARC_CRYPTO is present.
27640 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27642 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27644 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27647 * stdio-common/vfprintf.c (process_string_arg): Revert
27650 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27652 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27654 * stdio-common/tst-sprintf.c: Include <locale.h>
27655 (main): Test sprintf's handling of incomplete multibyte
27658 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27660 * elf/dl-runtime.c (VERSYMIDX): Removed.
27661 * elf/dl-version.c (VERSYMIDX): Likewise.
27662 * elf/do-rel.h (VERSYMIDX): Likewise.
27663 (VALIDX): Likewise.
27664 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27665 * elf/rtld.c (VALIDX): Likewise.
27666 (ADDRIDX): Likewise.
27667 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27668 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27669 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27670 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27671 (VALIDX): Likewise.
27672 (ADDRIDX): Likewise.
27674 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27676 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27678 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27681 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27683 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27684 addresses are in the same scope as 192.0.2/24.
27685 * posix/gai.conf: Document new scope table defaults.
27687 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27690 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27691 for ftell. Compute offsets from write pointers instead.
27692 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27694 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27697 * libio/Makefile (tests): New test case tst-fseek.
27698 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27699 combination works in wide mode.
27700 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27701 state when the external buffer state changes.
27703 2012-09-27 David S. Miller <davem@davemloft.net>
27706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27707 pass reloc->r_addend in as the 'high' argument to
27708 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27712 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27714 * rt/tst-aio2.c: Include <pthread.h>.
27715 * rt/tst-aio3.c: Likewise.
27717 2012-09-27 Steve Ellcey <sellcey@mips.com>
27719 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27721 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27723 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27724 contents on [SHARED].
27726 2012-09-26 Marek Polacek <polacek@redhat.com>
27730 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27731 for C++ and GCC <4.3 as well as for non GCC compilers.
27733 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27737 2012-09-25 Roland McGrath <roland@hack.frob.com>
27739 * Makefile.in (all, install): Declare with .PHONY.
27740 Reported by Michael Hope <michael.hope@linaro.org>.
27742 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27744 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27745 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27747 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27749 (sydep_routines): Add the new and the internal functions.
27750 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27751 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27753 (GLIBC_2.17): Add the new function.
27754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27755 (GLIBC_2.17): Likewise.
27756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27757 (GLIBC_2.17): Likewise.
27758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27759 (GLIBC_2.17): Likewise.
27760 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27762 2012-09-25 Alan Modra <amodra@gmail.com>
27764 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27765 Add release barrier before setting once_control to say
27766 initialisation is done. Add hints on lwarx. Use macro in
27768 (clear_once_control): Add release barrier.
27770 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27773 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27775 * math/s_clog10.c (__clog10): Likewise.
27776 * math/s_clog10f.c (__clog10f): Likewise.
27777 * math/s_clog10l.c (__clog10l): Likewise.
27778 * math/s_clogf.c (__clogf): Likewise.
27779 * math/s_clogl.c (__clogl): Likewise.
27780 * math/Makefile (libm-calls): Add x2y2m1.
27781 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27782 (__x2y2m1): Likewise.
27783 (__x2y2m1l): Likewise.
27784 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27785 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27786 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27787 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27788 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27789 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27790 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27791 * sysdeps/i386/fpu/libm-test-ulps: Update.
27792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27795 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27796 int as type of variable DEPTH.
27797 (glob): Use size_t instead of int as type of variables NEWCOUNT
27800 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27802 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27803 Add s_sincosf-sse2.
27804 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27805 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27806 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27807 macros for using routine as __sincosf_ia32.
27808 Use macro for function declaration and weak_alias.
27809 * sysdeps/i386/fpu/libm-test-ulps: Update.
27811 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27814 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27815 subnormal argument.
27816 * math/s_cexpf.c (__cexpf): Likewise.
27817 * math/s_csinf.c (__csinf): Likewise.
27818 * math/s_csinhf.c (__csinhf): Likewise.
27819 * math/s_ctanf.c (__ctanf): Likewise.
27820 * math/s_ctanhf.c (__ctanhf): Likewise.
27821 * math/s_ccosh.c (__ccoshf): Likewise.
27822 * math/s_cexp.c (__cexpl): Likewise.
27823 * math/s_csin.c (__csin): Likewise.
27824 * math/s_csinh.c (__csinh): Likewise.
27825 * math/s_ctan.c (__ctan): Likewise.
27826 * math/s_ctanh.c (ctanh): Likewise.
27827 * math/s_ccoshl.c (__ccoshl): Likewise.
27828 * math/s_cexpl.c (__cexpl): Likewise.
27829 * math/s_csinl.c (__csinl): Likewise.
27830 * math/s_csinhl.c (__csinhl): Likewise.
27831 * math/s_ctanl.c (__ctanl): Likewise.
27832 * math/s_ctanhl.c (__ctanhl): Likewise.
27834 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27836 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27837 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27838 (_IO_off_t): Define to __off_t, not _G_off_t.
27839 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27840 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27841 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27842 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27843 type of __dummy and __dummy2 fields.
27844 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27845 (_G_ssize_t): Likewise.
27846 (_G_off_t): Likewise.
27847 (_G_pid_t): Likewise.
27848 (_G_uid_t): Likewise.
27849 (_G_wchar_t): Likewise.
27850 (_G_wint_t): Likewise.
27851 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27852 (_G_ssize_t): Likewise.
27853 (_G_off_t): Likewise.
27854 (_G_pid_t): Likewise.
27855 (_G_uid_t): Likewise.
27856 (_G_wchar_t): Likewise.
27857 (_G_wint_t): Likewise.
27858 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27859 (_G_ssize_t): Likewise.
27860 (_G_off_t): Likewise.
27861 (_G_pid_t): Likewise.
27862 (_G_uid_t): Likewise.
27863 (_G_wchar_t): Likewise.
27864 (_G_wint_t): Likewise.
27866 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27868 * malloc/arena.c: Include malloc-sysdep.h.
27869 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27870 is sufficient to shrink the heap or an unmap is needed.
27871 * sysdeps/generic/malloc-sysdep.h: New file. Define
27872 new function check_may_shrink_heap.
27873 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27874 new function check_may_shrink_heap.
27876 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27878 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27881 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27883 * catgets/test-gencat.sh: Add "set -e".
27884 * elf/tst-pathopt.sh: Likewise.
27885 * grp/tst_fgetgrent.sh: Likewise.
27886 * iconvdata/run-iconv-test.sh: Likewise.
27887 * intl/tst-gettext.sh: Likewise.
27888 * intl/tst-gettext2.sh: Likewise.
27889 * intl/tst-gettext4.sh: Likewise.
27890 * intl/tst-gettext6.sh: Likewise.
27891 * intl/tst-translit.sh: Likewise.
27892 * io/ftwtest-sh: Likewise.
27893 * libio/test-freopen.sh: Likewise.
27894 * malloc/tst-mtrace.sh: Likewise.
27895 * posix/globtest.sh: Likewise.
27896 * posix/tst-getconf.sh: Likewise.
27897 * posix/wordexp-tst.sh: Likewise.
27898 * stdio-common/tst-printf.sh: Likewise.
27899 * stdio-common/tst-unbputc.sh: Likewise.
27900 * stdlib/tst-fmtmsg.sh: Likewise.
27901 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27902 * catgets/Makefile: Do not specify -e option when running
27903 testsuite shell scripts.
27904 * elf/Makefile: Likewise.
27905 * grp/Makefile: Likewise.
27906 * iconvdata/Makefile: Likewise.
27907 * intl/Makefile: Likewise.
27908 * io/Makefile: Likewise.
27909 * libio/Makefile: Likewise.
27910 * malloc/Makefile: Likewise.
27911 * posix/Makefile: Likewise.
27912 * stdio-common/Makefile: Likewise.
27913 * stdlib/Makefile: Likewise.
27914 * sysdeps/x86_64/Makefile: Likewise.
27916 * io/ftwtest-sh: Add copyright header.
27917 * posix/globtest.sh: Likewise.
27918 * posix/tst-getconf.sh: Likewise.
27919 * posix/wordexp-tst.sh: Likewise.
27920 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27922 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27925 * Makeconfig (+link): Defined as $(+link-static) if
27926 $(build-shared) isn't yes.
27927 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27929 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27931 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27934 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27935 new chunk size with MALLOC_ALIGN_MASK.
27937 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27940 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27942 (__printf_fphex): Determine rounding using get_rounding_mode and
27944 * stdio-common/tst-printf-round.c (struct hex_test): New
27946 (hex_tests): New variable.
27947 (test_hex_in_one_mode): New function.
27948 (do_test): Also run tests for hex float output.
27950 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27952 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27953 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27954 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27955 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27956 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27957 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27958 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27959 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27961 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27963 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27964 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27965 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27966 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27968 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27971 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27973 * elf/tst-rtld-load-self.sh: New test.
27974 * elf/Makefile: Run it.
27976 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27978 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27979 (tst-writev-ENV): Remove.
27980 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27982 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27984 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27986 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27988 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27990 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27992 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27993 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27994 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27997 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28000 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28001 * config.make.in (have-cpp-asm-debuginfo): Removed.
28002 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28003 * configure: Regenerated.
28005 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28008 * stdio-common/printf_fp.c: Include <stdbool.h> and
28010 (___printf_fp): Determine rounding using get_rounding_mode and
28012 * stdio-common/tst-printf-round.c: New file.
28013 * stdio-common/Makefile (tests): Add tst-printf-round.
28014 (link-libm): New variable.
28015 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28017 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28020 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28021 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28023 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28026 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28028 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28029 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28030 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28031 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28033 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28036 * include/rounding-mode.h: New file.
28037 * sysdeps/generic/get-rounding-mode.h: Likewise.
28038 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28039 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28040 (MAX_VALUE): New macro.
28041 (MIN_VALUE): Likewise.
28042 (overflow_value): New function.
28043 (underflow_value): Likewise.
28044 (round_and_return): Use overflow_value and underflow_value to
28045 determine return values in overflow and underflow cases. Use
28046 round_away to determine rounding depending on rounding mode.
28047 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28048 determine return values in overflow and underflow cases.
28049 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28050 (struct test_results): New structure.
28051 (struct test): Use struct test_results to store expected results
28052 for all rounding modes.
28053 (TEST): Include expected results for all rounding modes.
28054 (test_in_one_mode): New function.
28055 (do_test): Use test_in_one_mode to compute and check results.
28056 Check results for all rounding modes.
28057 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28060 2012-12-09 Allan McRae <allan@archlinux.org>
28062 * sysdeps/i386/fpu/libm-test-ulps: Update
28064 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28066 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28067 (_G_int32_t): Likewise.
28068 (_G_uint16_t): Likewise.
28069 (_G_uint32_t): Likewise.
28070 (_G_HAVE_BOOL): Likewise.
28071 (_G_HAVE_ATEXIT): Likewise.
28072 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28073 (_G_HAVE_IO_FILE_OPEN): Likewise.
28074 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28075 (_G_int32_t): Likewise.
28076 (_G_uint16_t): Likewise.
28077 (_G_uint32_t): Likewise.
28078 (_G_HAVE_BOOL): Likewise.
28079 (_G_HAVE_ATEXIT): Likewise.
28080 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28081 (_G_HAVE_IO_FILE_OPEN): Likewise.
28082 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28083 (_G_int32_t): Likewise.
28084 (_G_uint16_t): Likewise.
28085 (_G_uint32_t): Likewise.
28086 (_G_HAVE_BOOL): Likewise.
28087 (_G_HAVE_ATEXIT): Likewise.
28088 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28089 (_G_HAVE_IO_FILE_OPEN): Likewise.
28091 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28093 * csu/libc-tls.c: Update copyright years.
28095 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28097 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28098 [!_G_USING_THUNKS]: Remove conditional code.
28099 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28100 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28102 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28103 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28104 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28105 (_G_VTABLE_LABEL_PREFIX): Likewise.
28106 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28107 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28108 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28109 (_G_VTABLE_LABEL_PREFIX): Likewise.
28110 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28111 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28112 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28113 (_G_VTABLE_LABEL_PREFIX): Likewise.
28114 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28116 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28118 * libio/Makefile: Include ../Makeconfig before tests.
28119 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28120 only if $(build-shared) is yes.
28122 * iconv/gconv_db.c: Update copyright years.
28124 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28126 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28127 unwind info if defined PIC. Fix special cases description.
28128 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28130 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28132 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28134 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28136 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28138 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28141 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28142 (LDLIBS-tst-chk4): This.
28143 (LDFLAGS-tst-chk5): Renamed to ...
28144 (LDLIBS-tst-chk5): This.
28145 (LDFLAGS-tst-chk6): Renamed to ...
28146 (LDLIBS-tst-chk6): This.
28147 (LDFLAGS-tst-lfschk4): Renamed to ...
28148 (LDLIBS-tst-lfschk4): This.
28149 (LDFLAGS-tst-lfschk5): Renamed to ...
28150 (LDLIBS-tst-lfschk5): This.
28151 (LDFLAGS-tst-lfschk6): Renamed to ...
28152 (LDLIBS-tst-lfschk6): This.
28154 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28155 on $(common-objpfx)soversions.mk.
28157 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28160 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28163 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28165 * malloc/arena.c (arena_get_retry): New function that gets
28166 another arena for the caller to try its request on.
28167 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28168 current arena cannot fulfill the request.
28169 (__libc_memalign): Likewise.
28170 (__libc_memalign): Likewise.
28171 (__libc_pvalloc): Likewise.
28172 (__libc_calloc): Likewise.
28174 2012-09-05 John Tobey <john.tobey@gmail.com>
28177 * manual/arith.texi (Operations on Complex): Fix description
28178 of carg branch cut.
28180 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28183 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28187 * manual/memory.texi (Memory): Make order of menu items match
28190 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28192 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28193 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28194 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28196 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28198 * csu/libc-tls.c (static_dtv): Renamed to ...
28199 (_dl_static_dtv): This. Make it global.
28200 (_dl_initial_dtv): Removed.
28201 (__libc_setup_tls): Updated.
28202 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28203 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28206 2012-09-06 Petr Machata <pmachata@redhat.com>
28208 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28209 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28210 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28211 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28213 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28216 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28217 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28220 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28223 * Makeconfig (link-static-before-libc): Replace $(+prector)
28225 (link-static-after-libc): Replace $(+postctor) with
28227 (link-bounded): Replace $(+prector)/$(+postctor) with
28228 $(+prectorT)/$(+postctorT).
28229 (+prectorT): New macro.
28230 (+postctorT): Likewise.
28232 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28234 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28235 (round_str): Handle values above the maximum for IBM long double
28237 * stdlib/tst-strtod-round.c (tests): Regenerated.
28239 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28241 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28243 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28244 zarch_nohighgprs around the zarch optimized routines.
28245 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28246 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28247 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28250 2012-09-05 David S. Miller <davem@davemloft.net>
28252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28254 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28255 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28256 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28257 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28260 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28262 * malloc/arena.c: Fold copyright years.
28263 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28265 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28267 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28269 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28271 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28273 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28275 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28276 change internal state upon failure.
28278 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28280 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28281 * malloc/memusage.c (mmap): Likewise.
28282 (mmap64, mremap): Likewise. Adjust name in comment.
28284 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28286 * libio/fileops.c: Fix typos in comments.
28287 * libio/oldfileops.c: Likewise.
28288 * libio/wfileops.c: Likewise.
28290 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28293 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28294 (tst-malloc-usable-ENV): Set environment for test case.
28295 * malloc/hooks.c (malloc_check_get_size): New function to get
28297 * malloc/malloc.c (musable): Use malloc_check_get_size.
28298 * malloc/tst-malloc-usable.c: New test case.
28300 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28302 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28304 2012-09-05 Allan McRae <allan@archlinux.org>
28307 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28308 determine header location.
28309 * configure: Regenerated.
28311 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28313 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28315 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28316 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28318 (test): Regenerate.
28320 2012-09-04 David S. Miller <davem@davemloft.net>
28322 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28323 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28324 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28326 2012-09-04 Florian Weimer <fweimer@redhat.com>
28328 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28331 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28333 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28336 * libio/iogetdelim.c: Include <limits.h>.
28337 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28338 + len + 1 would overflow.
28340 2012-09-03 Andreas Jaeger <aj@suse.de>
28342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28343 * sysdeps/i386/fpu/libm-test-ulps: Update.
28345 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28347 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28348 Add s_sinf-sse2, s_conf-sse2.
28350 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28351 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28352 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28353 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28355 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28356 for using routine as __sinf_ia32.
28357 Use macro for function declaration and weak_alias.
28358 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28359 for using routine as __cosf_ia32.
28360 Use macro for function declaration and weak_alias.
28362 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28363 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28365 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28366 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28369 * math/libm-test.inc (cos_test): Add more test cases.
28370 (sin_test): Likewise.
28371 (sincos_test): Likewise.
28373 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28375 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28376 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28378 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28380 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28383 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28384 first element of the GOT.
28385 (elf_machine_load_address): Return the difference between
28386 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28388 2012-09-01 Allan McRae <allan@archlinux.org>
28391 * configure.in (AWK): Require gawk version 3.0 or later.
28392 * configure: Regenerated.
28394 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28396 * sysdeps/unix/sysv/linux/kernel-features.h
28397 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28398 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28399 [__NR_clock_getres]: Make code unconditional.
28400 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28401 (clock_getcpuclockid): Remove code left unreachable by removal of
28403 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28404 code unconditional.
28405 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28406 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28407 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28408 Make code unconditional.
28409 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28410 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28411 * sysdeps/unix/sysv/linux/clock_settime.c
28412 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28414 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28415 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28417 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28420 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28421 scripts/test-installation.pl.
28423 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28424 and $ld_so_version if it is set.
28426 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28429 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28430 failure if reading from procfs failed.
28431 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28433 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28435 * sysdeps/unix/sysv/linux/kernel-features.h
28436 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28437 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28438 Remove conditional code.
28439 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28440 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28441 Remove conditional code.
28442 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28443 * sysdeps/unix/sysv/linux/i386/fxstat.c
28444 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28445 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28446 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28447 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28448 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28449 * sysdeps/unix/sysv/linux/i386/lxstat.c
28450 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28451 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28452 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28453 Remove conditional code.
28454 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28455 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28456 Remove conditional code.
28457 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28458 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28459 <kernel-features.h>.
28460 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28462 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28463 Remove conditional code.
28464 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28465 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28466 Remove conditional.
28468 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28471 * NEWS: Add fixed bug number.
28473 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28476 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28477 underflowing exponent in case of negative sign.
28478 * stdlib/tst-strtod-round-data: Add more tests.
28479 * stdlib/tst-strtod-round.c (tests): Regenerated.
28482 * stdlib/strtod_l.c (NDIG): Remove.
28483 (HEXNDIG): Likewise.
28484 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28485 smallest representable value.
28486 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28487 lie within an exact representation of 1/2 ulp of the result.
28488 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28490 (TENS_P9_IDX): Define unconditionally.
28491 (TENS_P9_SIZE): Likewise.
28492 (TENS_P10_IDX): Likewise.
28493 (TENS_P10_SIZE): Likewise.
28494 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28495 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28496 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28497 entries for 10^2^13 and 10^2^14.
28498 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28499 (TENS_P13_IDX): Define.
28500 (TENS_P13_SIZE): Likewise.
28501 (TENS_P14_IDX): Likewise.
28502 (TENS_P14_SIZE): Likewise.
28503 (_fpioconst_pow10): Change array size to
28504 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28506 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28507 1024]: Add entries for 10^2^13 and 10^2^14.
28508 [LAST_POW10 > _LAST_POW10]: Remove #error.
28509 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28510 (_fpioconst_pow10): Change array size to
28511 FPIOCONST_POW10_ARRAY_SIZE.
28512 * stdlib/gen-fpioconst.c: New file.
28513 * stdlib/gen-tst-strtod-round.c: Likewise.
28514 * stdlib/tst-strtod-round-data: Likewise.
28515 * stdlib/tst-strtod-round.c: Likewise.
28516 * stdlib/Makefile (tests): Add tst-strtod-round.
28519 * stdlib/strtod_l.c: Include <stdint.h>.
28520 (NDEBUG): Do not define.
28521 (round_and_return): Change EXPONENT parameter to type intmax_t.
28522 Rearrange calculations to avoid internal overflow possibilities.
28523 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28524 Rearrange calculations to avoid internal overflow possibilities.
28525 Assert that number fits inside MPNSIZE limbs.
28526 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28527 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28528 calculations and add assertions to avoid internal overflow
28529 possibilities. Add casts to avoid signed/unsigned operations.
28530 * stdlib/tst-strtod-overflow.c: New file.
28531 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28533 2012-08-25 Marek Polacek <polacek@redhat.com>
28535 * time/time.h: Fix some typos in comments.
28537 2012-08-23 Roland McGrath <roland@hack.frob.com>
28539 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28540 * posix/tst-rfc3484-2.c: Likewise.
28541 * posix/tst-rfc3484-3.c: Likewise.
28543 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28545 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28546 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28548 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28550 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28551 #include of fxstatat64.c.
28553 2012-08-22 Roland McGrath <roland@hack.frob.com>
28555 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28556 * shadow/getspent_r.c: Likewise.
28557 * shadow/getspnam.c: Likewise.
28558 * shadow/getspnam_r.c: Likewise.
28559 * gshadow/getsgent.c: Likewise.
28560 * gshadow/getsgent_r.c: Likewise.
28561 * gshadow/getsgnam.c: Likewise.
28562 * gshadow/getsgnam_r.c: Likewise.
28563 * inet/getnetbyad.c: Likewise.
28564 * inet/getnetbyad_r.c: Likewise.
28565 * inet/getnetbynm.c: Likewise.
28566 * inet/getnetbynm_r.c: Likewise.
28567 * inet/getnetent.c: Likewise.
28568 * inet/getnetent_r.c: Likewise.
28569 * inet/getproto.c: Likewise.
28570 * inet/getproto_r.c: Likewise.
28571 * inet/getprtent.c: Likewise.
28572 * inet/getprtent_r.c: Likewise.
28573 * inet/getprtname.c: Likewise.
28574 * inet/getprtname_r.c: Likewise.
28575 * inet/getrpcbyname.c: Likewise.
28576 * inet/getrpcbyname_r.c: Likewise.
28577 * inet/getrpcbynumber.c: Likewise.
28578 * inet/getrpcbynumber_r.c: Likewise.
28579 * inet/getrpcent.c: Likewise.
28580 * inet/getrpcent_r.c: Likewise.
28581 * inet/getaliasent.c: Likewise.
28582 * inet/getaliasent_r.c: Likewise.
28583 * inet/getaliasname.c: Likewise.
28584 * inet/getaliasname_r.c: Likewise.
28585 * nscd/getgrgid_r.c: Likewise.
28586 * nscd/getgrnam_r.c: Likewise.
28587 * nscd/gethstbyad_r.c: Likewise.
28588 * nscd/gethstbynm3_r.c: Likewise.
28589 * nscd/getpwnam_r.c: Likewise.
28590 * nscd/getpwuid_r.c: Likewise.
28591 * nscd/getsrvbynm_r.c: Likewise.
28592 * nscd/getsrvbypt_r.c: Likewise.
28593 * nscd/gai.c: Likewise.
28595 * configure.in (build_nscd): New substituted variable, set
28596 by --disable-build-nscd and defaults to $use_nscd.
28597 * configure: Regenerated.
28598 * config.make.in (build-nscd): New substituted variable.
28599 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28600 Change conditional to require [$(build-nscd) = yes] as well.
28601 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28604 * configure.in (use_nscd): New substituted variable, set by
28605 --disable-nscd. If enabled, define USE_NSCD.
28606 * configure: Regenerated.
28607 * config.h.in: Add USE_NSCD.
28608 * config.make.in (use-nscd): New substituted variable.
28609 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28610 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28611 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28612 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28613 (CFLAGS-getgrnam_r.c): Likewise.
28614 (CFLAGS-initgroups.c): Likewise.
28615 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28616 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28618 * inet/getnetgrent_r.c
28619 (nscd_setnetgrent): New function, broken out of ...
28620 (setnetgrent): ... here. Call it.
28621 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28622 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28623 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28624 * nscd/Makefile (routines, aux): Move definitions after include of
28625 Makeconfig. Conditionalize on [$(use-nscd) != no].
28626 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28627 Conditionalize on [USE_NSCD].
28628 (is_nscd, nscd_init_cb): Likewise.
28629 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28630 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28631 * nss/nss_db/db-init.c: Likewise.
28632 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28634 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28635 (make_request): Use it.
28636 (cache_valid_p): New function.
28637 (__check_pf): Use it.
28638 * NEWS: Add item for --disable-nscd.
28640 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28642 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28643 to support sed >= 4.2.1-20-ga9bf076.
28644 * configure: Regenerated.
28646 2012-08-22 Roland McGrath <roland@hack.frob.com>
28648 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28649 Conditionalize whole body on [IREL].
28651 2012-08-22 Jeff Law <law@redhat.com>
28654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28655 if the family is PF_UNSPEC.
28657 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28659 * Makerules (lib-version): Rename from V.
28660 (install-lib-nosubdir): Change V to lib-version.
28662 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28665 * powerpc32/power6/wcschr.c: New file.
28666 * powerpc32/power6/wcscpy.c: New file.
28667 * powerpc32/power6/wcsrchr.c: New file.
28668 * powerpc64/power6/wcschr.c: New file.
28669 * powerpc64/power6/wcscpy.c: New file.
28670 * powerpc64/power6/wcsrchr.c: New file.
28672 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28674 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28675 (two_way_short_needle): Use it.
28676 * string/strstr.c (AVAILABLE1_USES_J): Define.
28677 * string/strcasestr.c: Likewise.
28679 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28681 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28684 * NEWS: Add an entry.
28685 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28686 define their defaults.
28687 (two_way_short_needle): Detect end-of-string on-the-fly.
28688 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28689 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28690 * string/bug-strcasestr1.c: New test.
28691 * string/Makefile: Run it.
28693 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28696 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28697 the first character.
28699 2012-08-21 Roland McGrath <roland@hack.frob.com>
28701 * csu/elf-init.c (__libc_csu_irel): Function removed.
28702 * csu/libc-start.c (apply_irel): New function.
28703 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28705 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28707 * sysdeps/unix/sysv/linux/kernel-features.h
28708 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28709 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28710 <kernel-features.h>.
28711 [__NR_fadvise64_64]: Make code unconditional.
28712 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28713 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28714 !__NR_fadvise64_64)]: Likewise.
28715 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28716 !__NR_fadvise64_64))]: Likewise.
28717 [__NR_fadvise64]: Make code unconditional.
28718 [!__NR_fadvise64]: Remove conditional code.
28719 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28720 <kernel-features.h>.
28721 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28723 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28726 not include <kernel-features.h>.
28727 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28729 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28731 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28732 include <kernel-features.h>.
28733 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28735 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28738 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28740 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28741 slight instruction rearrangements per scrollpipe analysis.
28742 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28744 2012-08-20 Roland McGrath <roland@hack.frob.com>
28746 * manual/syslog.texi (syslog; vsyslog, closelog):
28747 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28748 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28750 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28751 DSOCAPS to match condition on defining it.
28753 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28755 * sysdeps/unix/sysv/linux/kernel-features.h
28756 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28758 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28759 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28761 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28762 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28764 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28765 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28767 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28768 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28770 * sysdeps/unix/sysv/linux/kernel-features.h
28771 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28772 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28774 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28775 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28776 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28777 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28778 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28779 Make code unconditional.
28780 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28781 (__mmap64) [!__NR_mmap2]: Likewise.
28782 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28783 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28784 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28785 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28786 [__NR_mmap2]: Make code unconditional.
28787 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28788 (__mmap64) [!__NR_mmap2]: Likewise.
28790 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28792 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28794 2012-08-18 Andreas Jaeger <aj@suse.de>
28796 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28798 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28800 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28801 * include/unistd.h (__have_sock_cloexec): Likewise.
28802 (__have_pipe2): Likewise.
28803 (__have_dup3): Likewise.
28805 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28808 * include/unistd.h (__have_pipe2): Change define into an extern int.
28809 (__have_dup3): Likewise.
28810 * socket/have_sock_cloexec.c: Include fcntl.h.
28811 (__have_pipe2): New variable.
28812 (__have_dup3): Likewise.
28814 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28816 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28818 2012-08-17 Marek Polacek <polacek@redhat.com>
28820 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28821 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28823 2012-08-17 Roland McGrath <roland@hack.frob.com>
28825 * configure.in: Add AC_SUBST for sysheaders.
28826 * configure: Regenerated.
28827 * config.make.in (sysheaders): New substituted variable.
28829 * sysdeps/unix/mkfifo.c: Moved ...
28830 * sysdeps/posix/mkfifo.c: ... here.
28831 * sysdeps/unix/mkfifoat.c: Moved ...
28832 * sysdeps/posix/mkfifoat.c: ... here.
28834 * sysdeps/unix/utime.c: Moved ...
28835 * sysdeps/posix/utime.c: ... here.
28837 * sysdeps/unix/time.c: Moved ...
28838 * sysdeps/posix/time.c: ... here.
28839 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28840 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28842 * sysdeps/unix/nice.c: Moved ...
28843 * sysdeps/posix/nice.c: ... here.
28845 * sysdeps/unix/alarm.c: Moved ...
28846 * sysdeps/posix/alarm.c: ... here.
28848 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28850 2012-08-17 Jeff Law <law@redhat.com>
28852 * intl/Makefile (codeset_mo): New variable.
28853 ($(codeset_mo)): New target.
28854 (tst-codeset.out): Depend on that. Remove explicit rule.
28855 (tst-gettext3.out, tst-gettext5.out): Likewise.
28856 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28857 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28858 * intl/tst-codeset.sh: Remove.
28859 * intl/tst-gettext3.sh: Likewise.
28860 * intl/tst-gettext5.sh: Likewise.
28862 2012-08-17 Roland McGrath <roland@hack.frob.com>
28864 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28865 * sysdeps/unix/syscalls.list: ... here.
28867 * sysdeps/posix/getaddrinfo.c
28868 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28869 (gaiconf_init, gaiconf_reload): Use them.
28870 [!_STATBUF_ST_NSEC]
28871 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28872 Define using time_t rather than struct timespec.
28874 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28875 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28877 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28879 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28880 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28883 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28884 __libc_cleanup_push argument.
28886 * bits/param.h: New file.
28887 * misc/sys/param.h: New file.
28888 * include/sys/param.h: New file.
28889 * misc/Makefile (headers): Add bits/param.h.
28890 * sysdeps/generic/sys/param.h: File removed.
28891 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28892 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28893 * sysdeps/mach/hurd/bits/param.h: New file.
28894 * sysdeps/mach/hurd/sys/param.h: File removed.
28896 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28899 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28901 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28902 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28905 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28906 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28907 rather than -D_IO_MTSAFE_IO conditionally.
28908 * stdio-common/Makefile (CPPFLAGS): Likewise.
28909 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28910 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28911 Use $(libio-mtsafe).
28912 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28913 of -D_IO_MTSAFE_IO.
28914 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28915 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28916 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28917 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28918 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28919 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28920 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28921 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28922 (CFLAGS-fread_u_chk.c): Likewise.
28923 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28924 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28925 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28926 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28927 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28928 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28929 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28930 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28931 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28933 * libio/Makefile: Test [$(libc-reentrant) = yes]
28934 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28937 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28938 * sysdeps/pthread/configure: File removed.
28939 * sysdeps/pthread/Makeconfig: New file.
28940 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28941 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28943 2012-08-16 Gary Benson <gbenson@redhat.com>
28945 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28946 unmapping the first object in a namespace.
28948 2012-08-16 Roland McGrath <roland@hack.frob.com>
28950 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28951 (__internal_setnetgrent): ... this. Add internal_function to
28952 definition. Add libc_hidden_def.
28953 (setnetgrent): Update caller.
28954 (internal_endnetgrent): Renamed to ...
28955 (__internal_endnetgrent): ... this. Add internal_function to
28956 definition. Add libc_hidden_def.
28957 (endnetgrent): Update caller.
28958 (internal_getnetgrent_r): Renamed to ...
28959 (__internal_getnetgrent_r): ... this. Add internal_function to
28960 definition. Add libc_hidden_def.
28961 (__getnetgrent_r): Update caller.
28962 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28964 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28966 * stdlib/longlong.h: Update from GCC.
28968 2012-08-16 Roland McGrath <roland@hack.frob.com>
28970 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28971 on _QL, which is set by umul_ppmm but never used.
28972 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28973 variables, which are set by GMP macros but never used.
28974 * stdio-common/_itowa.c (_itowa): Likewise.
28975 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28976 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28978 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28980 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28981 struct La_sh_regs is not constant.
28982 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28983 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28984 and struct La_sparc64_regs are not constant.
28986 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28988 * sysdeps/unix/sysv/linux/kernel-features.h
28989 (__ASSUME_POSIX_TIMERS): Remove.
28990 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28991 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28992 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28993 Make code unconditional.
28994 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28995 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28996 Make code unconditional.
28997 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28998 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28999 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29000 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29001 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29002 Make code unconditional.
29003 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29004 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29005 (__libc_missing_posix_timers): Remove.
29007 2012-08-15 Roland McGrath <roland@hack.frob.com>
29009 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29010 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29012 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29014 * elf/dl-sym.c: Include <stdlib.h>.
29016 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29017 constants, which avoids warnings in 32-bit builds.
29019 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29020 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29022 * misc/lseek.c: File moved to ...
29023 * io/lseek.c: ... here.
29025 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29027 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29028 shifting LEN more than 31 bits at once.
29030 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29033 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29034 segmentation fault for a case of two empty input strings.
29035 * string/test-strncasecmp.c (check1): Renamed to...
29036 (bz12205): ...this.
29037 (bz14195): Add new testcase for two empty input strings and N > 0.
29038 (test_main): Call new testcase, adapt for renamed function.
29040 2012-08-15 Andreas Jaeger <aj@suse.de>
29043 * crypt/md5test2.c: New test, based on test supplied by Serge
29044 Belyshev <belyshev@depni.sinp.msu.ru>.
29045 * crypt/Makefile (xtests): Add md5test-giant..
29046 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29048 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29051 * crypt/md5.c (md5_process_block): Don't assume the buffer
29052 length is less than 2**32.
29053 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29054 length is less than 2**64.
29056 2012-08-15 Roland McGrath <roland@hack.frob.com>
29058 * string/str-two-way.h: Include <sys/param.h>.
29059 (MAX): Macro removed.
29061 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29062 Move #define and #undef of memmove to just before and after
29063 including <string.h>.
29065 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29066 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29067 and after including <string.h>. Move declarations of
29068 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29069 to before #include "string/memmove.c".
29071 * include/dirent.h: Declare __getdirentries.
29073 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29074 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29076 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29078 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29079 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29080 * sysdeps/i386/configure: Regenerated.
29081 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29082 STABS_CURRENT_FILE, and STABS_FUN.
29083 (END): Remove call to STABS_FUN_END.
29084 (STABS_CURRENT_FILE1): Delete.
29085 (STABS_CURRENT_FILE): Likewise.
29086 (STABS_FUN): Likewise.
29087 (STABS_FUN_END): Likewise.
29088 (STABS_FUN2): Likewise.
29089 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29090 * sysdeps/x86_64/configure: Regenerated.
29092 2012-08-14 Roland McGrath <roland@hack.frob.com>
29094 * elf/dl-open.c: Include <atomic.h>.
29095 * elf/dl-lookup.c: Likewise.
29097 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29099 * sysdeps/unix/sysv/linux/kernel-features.h
29100 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29101 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29103 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29105 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29106 condition on __ASSUME_CLONE_THREAD_FLAGS.
29108 2012-08-14 Andreas Jaeger <aj@suse.de>
29110 * sysdeps/i386/fpu/libm-test-ulps: Update.
29112 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29114 * include/atomic.h (atomic_exchange_and_add): Split into ...
29115 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29118 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29122 2012-08-13 Jeff Law <law@redhat.com>
29124 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29125 null byte in the output string.
29127 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29129 * sysdeps/unix/sysv/linux/kernel-features.h
29130 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29131 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29132 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29133 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29134 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29135 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29136 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29138 2012-08-09 Jeff Law <law@redhat.com>
29141 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29142 When avoid_arena is set, don't retry in the that arena. Pick the
29143 next one, whatever it might be.
29144 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29145 (arena_lock): Pass in new parameter to arena_get2.
29146 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29148 (__libc_malloc): Unify retrying after main arena failure with
29149 __libc_memalign version.
29150 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29152 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29155 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29156 to __redirect_strstr.
29157 (__strstr_sse42): Use typeof __redirect_strstr.
29158 (__strstr_ia32): Likewise.
29159 (__libc_strstr): New prototype.
29160 (strstr): Renamed to ...
29161 (__libc_strstr): This.
29162 (strstr): New strong alias of __libc_strstr.
29163 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29164 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29167 (__libc_time): New prototype.
29168 (time_ifunc): Replace time with __libc_time.
29169 (time): New strong alias and hidden definition of __libc_time.
29170 (__GI_time): Remove strong alias.
29171 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29172 Include <stddef.h>.
29173 (memmove): Redefined to __redirect_memmove.
29174 (__memmove_sse2): Use typeof __redirect_memmove.
29175 (__memmove_ssse3): Likewise.
29176 (__memmove_ssse3_back): Likewise.
29177 (__libc_memmove): New prototype.
29178 (memmove): Renamed to ...
29179 (__libc_memmove): This.
29180 (memmove): New strong alias of __libc_memmove.
29182 2012-08-08 Mark Salter <msalter@redhat.com>
29185 (R_MN10300_TLS_GD): Define.
29186 (R_MN10300_TLS_LD): Likewise.
29187 (R_MN10300_TLS_LDO): Likewise.
29188 (R_MN10300_TLS_GOTIE): Likewise.
29189 (R_MN10300_TLS_IE): Likewise.
29190 (R_MN10300_TLS_LE): Likewise.
29191 (R_MN10300_TLS_DTPMOD): Likewise.
29192 (R_MN10300_TLS_DTPOFF): Likewise.
29193 (R_MN10300_TLS_TPOFF): Likewise.
29194 (R_MN10300_SYM_DIFF): Likewise.
29195 (R_MN10300_ALIGN): Likewise.
29196 (R_MN10300_NUM): Update.
29198 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29200 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29203 2012-08-08 Roland McGrath <roland@hack.frob.com>
29205 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29207 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29208 sysdeps/unix -> sysdeps/posix move.
29209 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29211 2012-08-07 Allan McRae <allan@archlinux.org>
29214 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29215 (SUNOS_CPP): Likewise.
29216 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29218 (open_input): Call CPP using execvp.
29220 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29222 * sysdeps/unix/sysv/linux/kernel-features.h
29223 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29224 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29225 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29226 (__ASSUME_WAITID_SYSCALL): Likewise.
29227 * sysdeps/unix/sysv/linux/dl-execstack.c
29228 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29229 code unconditional.
29230 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29232 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29233 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29234 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29236 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29238 [__ASSUME_WAITID_SYSCALL]: Likewise.
29239 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29241 2012-08-07 Roland McGrath <roland@hack.frob.com>
29243 * sysdeps/unix/closedir.c: Renamed to ...
29244 * sysdeps/posix/closedir.c: ... here.
29245 * sysdeps/unix/dirfd.c: Renamed to ...
29246 * sysdeps/posix/dirfd.c: ... here.
29247 * sysdeps/unix/dirstream.h: Renamed to ...
29248 * sysdeps/posix/dirstream.h: ... here.
29249 * sysdeps/unix/fdopendir.c: Renamed to ...
29250 * sysdeps/posix/fdopendir.c: ... here.
29251 * sysdeps/unix/opendir.c: Renamed to ...
29252 * sysdeps/posix/opendir.c: ... here.
29253 * sysdeps/unix/readdir.c: Renamed to ...
29254 * sysdeps/posix/readdir.c: ... here.
29255 * sysdeps/unix/readdir_r.c: Renamed to ...
29256 * sysdeps/posix/readdir_r.c: ... here.
29257 * sysdeps/unix/rewinddir.c: Renamed to ...
29258 * sysdeps/posix/rewinddir.c: ... here.
29259 * sysdeps/unix/seekdir.c: Renamed to ...
29260 * sysdeps/posix/seekdir.c: ... here.
29261 * sysdeps/unix/telldir.c: Renamed to ...
29262 * sysdeps/posix/telldir.c: ... here.
29263 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29264 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29265 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29266 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29268 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29269 * bits/fcntl.h: ... here.
29271 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29273 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29274 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29275 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29276 (struct flock): Move l_start, l_len to the beginning.
29277 Use __pid_t for l_pid.
29278 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29279 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29280 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29281 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29282 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29283 [__USE_LARGEFILE64] (struct flock64): New type.
29284 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29286 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29287 * bits/dirent.h: ... here.
29289 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29290 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29292 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29294 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29295 Change from 2.6.0 to 2.6.16.
29296 * sysdeps/unix/sysv/linux/configure: Regenerated.
29297 * sysdeps/unix/sysv/linux/kernel-features.h
29298 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29299 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29301 (__ASSUME_UTIMES): Likewise.
29302 (__ASSUME_CLONE_STOPPED): Remove.
29303 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29304 architectures, not kernel version.
29305 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29306 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29307 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29308 (__ASSUME_WAITID_SYSCALL): Likewise.
29309 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29310 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29311 * README: State 2.6.16 as minimum Linux kernel version. Do not
29312 refer to older versions.
29314 2012-08-06 Roland McGrath <roland@hack.frob.com>
29316 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29317 Define alphasort64 as an alias.
29318 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29319 Define versionsort64 as an alias.
29320 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29321 Define scandir64 as an alias.
29322 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29323 Define scandirat64 as an alias.
29324 * dirent/alphasort64.c (alphasort64):
29325 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29326 * dirent/versionsort64.c: Likewise.
29327 * dirent/scandir64.c: Likewise.
29328 * dirent/scandirat64.c: Likewise.
29329 * sysdeps/wordsize-64/alphasort.c: File removed.
29330 * sysdeps/wordsize-64/alphasort64.c: File removed.
29331 * sysdeps/wordsize-64/scandir.c: File removed.
29332 * sysdeps/wordsize-64/scandir64.c: File removed.
29333 * sysdeps/wordsize-64/scandirat.c: File removed.
29334 * sysdeps/wordsize-64/scandirat64.c: File removed.
29335 * sysdeps/wordsize-64/versionsort.c: File removed.
29336 * sysdeps/wordsize-64/versionsort64.c: File removed.
29337 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29338 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29339 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29340 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29341 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29342 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29343 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29344 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29346 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29347 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29348 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29349 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29350 [defined __arch64__ || defined __sparcv9]
29351 (__INO_T_MATCHES_INO64_T): New macro.
29352 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29353 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29354 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29355 * sysdeps/unix/sysv/linux/bits/dirent.h
29356 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29357 (_DIRENT_MATCHES_DIRENT64): New macro.
29359 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29360 Define lockf64 as an alias.
29361 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29362 Define fseeko64 as an alias.
29363 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29364 Define ftello64 as an alias.
29365 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29366 Define _IO_fgetpos64 and fgetpos64 as aliases.
29367 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29368 Define _IO_fsetpos64 and fsetpos64 as aliases.
29369 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29370 Conditionalize body on this.
29371 * libio/fseeko64.c: Likewise.
29372 * libio/ftello64.c: Likewise.
29373 * libio/iofgetpos64.c: Likewise.
29374 * libio/iofsetpos64.c: Likewise.
29375 * sysdeps/wordsize-64/lockf.c: File removed.
29376 * sysdeps/wordsize-64/lockf64.c: File removed.
29377 * sysdeps/wordsize-64/fseeko.c: File removed.
29378 * sysdeps/wordsize-64/fseeko64.c: File removed.
29379 * sysdeps/wordsize-64/ftello.c: File removed.
29380 * sysdeps/wordsize-64/ftello64.c: File removed.
29381 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29382 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29383 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29384 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29385 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29386 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29387 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29388 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29389 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29390 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29391 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29392 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29393 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29394 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29396 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29398 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29399 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29400 [defined __arch64__ || defined __sparcv9]
29401 (__OFF_T_MATCHES_OFF64_T): New macro.
29402 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29403 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29404 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29405 (__OFF_T_MATCHES_OFF64_T): New macro.
29407 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29409 * stdlib/secure-getenv.c (__secure_getenv): Replace
29410 GLIBC_2_16 with GLIBC_2_17.
29412 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29414 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29415 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29417 2012-08-03 David S. Miller <davem@davemloft.net>
29419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29421 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29423 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29425 (__ASSUME_CORRECT_SI_PID): Likewise.
29426 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29427 (__ASSUME_TMPFS_NAME): Likewise.
29428 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29429 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29430 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29431 (HAVE_AUX_SECURE): Make definition unconditional.
29432 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29433 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29435 2012-08-03 Roland McGrath <roland@hack.frob.com>
29437 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29438 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29439 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29440 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29441 __eloop_threshold instead of SYMLOOP_MAX.
29443 * sysdeps/generic/eloop-threshold.h: New file.
29444 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29446 * elf/chroot_canon.c (chroot_canon): Likewise.
29448 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29452 Change to 2.6.0 everywhere.
29453 * sysdeps/unix/sysv/linux/configure: Regenerated.
29454 * sysdeps/unix/sysv/linux/kernel-features.h
29455 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29456 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29458 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29459 (__ASSUME_FUTEX_REQUEUE): Remove.
29460 (__ASSUME_STATFS64): Define unconditionally.
29461 (__ASSUME_AT_SECURE): Likewise.
29462 (__ASSUME_CORRECT_SI_PID): Likewise.
29463 (__ASSUME_TGKILL): Define without depending on kernel version for
29465 (__ASSUME_UTIMES): Likewise.
29466 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29468 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29469 (__ASSUME_TMPFS_NAME): Likewise.
29470 * README: Update reference to Linux kernel versions.
29472 2012-08-02 Marek Polacek <polacek@redhat.com>
29475 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29476 libc_cv_asm_type_prefix with %.
29477 * configure: Regenerated.
29478 * include/libc-symbols.h: Remove comment about
29479 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29480 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29481 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29482 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29483 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29484 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29485 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29486 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29487 * elf/tst-unique2mod1.c: Likewise.
29488 * elf/tst-unique1mod2.c: Likewise.
29489 * elf/tst-unique1mod1.c: Likewise.
29490 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29491 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29492 Replace ASM_TYPE_DIRECTIVE with .type.
29493 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29494 * sysdeps/i386/sysdep.h: Likewise.
29495 * sysdeps/x86_64/sysdep.h: Likewise.
29496 * sysdeps/sh/sysdep.h: Likewise.
29497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29498 Do not define ASM_TYPE_DIRECTIVE.
29499 * sysdeps/powerpc/sysdep.h: Likewise.
29500 * sysdeps/powerpc/powerpc32/sysdep.h:
29501 Replace ASM_TYPE_DIRECTIVE with .type.
29502 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29503 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29504 * sysdeps/i386/fpu/e_powf.S: Likewise.
29505 * sysdeps/i386/fpu/e_expl.S: Likewise.
29506 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29507 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29508 * sysdeps/i386/fpu/e_pow.S: Likewise.
29509 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29510 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29511 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29512 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29513 * sysdeps/i386/fpu/e_log2.S: Likewise.
29514 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29515 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29516 * sysdeps/i386/fpu/e_powl.S: Likewise.
29517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29518 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29519 * sysdeps/i386/fpu/e_logl.S: Likewise.
29520 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29521 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29522 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29523 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29524 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29525 * sysdeps/i386/fpu/e_log.S: Likewise.
29526 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29527 * sysdeps/i386/fpu/e_logf.S: Likewise.
29528 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29529 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29530 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29531 * sysdeps/i386/fpu/e_log10.S: Likewise.
29532 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29533 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29534 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29535 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29536 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29537 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29538 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29539 * sysdeps/i386/i686/strtok.S: Likewise.
29540 * sysdeps/i386/i386-mcount.S: Likewise.
29541 * sysdeps/i386/strtok.S: Likewise.
29542 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29543 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29544 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29545 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29546 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29547 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29548 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29549 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29550 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29551 * sysdeps/x86_64/_mcount.S: Likewise.
29552 * sysdeps/x86_64/strtok.S: Likewise.
29553 * sysdeps/sh/_mcount.S: Likewise.
29555 2012-08-01 Roland McGrath <roland@hack.frob.com>
29557 * libio/iofopen.c: Include <fcntl.h>.
29558 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29559 (_IO_fopen64, fopen64): Define as aliases.
29560 * libio/iofopen64.c: Include <fcntl.h>.
29561 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29562 Conditionalize body on this.
29563 * sysdeps/wordsize-64/iofopen.c: File removed.
29564 * sysdeps/wordsize-64/iofopen64.c: File removed.
29566 2012-08-01 Marek Polacek <polacek@redhat.com>
29568 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29569 Use dlfcn directly instead of a variable.
29570 (binfmt-subdir): Do not define.
29573 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29575 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29576 Remove all definitions.
29577 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29578 <kernel-features.h>.
29579 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29580 (miss_F_GETOWN_EX): Remove all definitions.
29581 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29583 [!__ASSUME_FCNTL64]: Remove conditional code.
29584 [__ASSUME_FCNTL64]: Make code unconditional.
29585 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29586 <kernel-features.h>.
29587 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29588 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29589 (lockf64) [__NR_fcntl64]: Make code unconditional.
29590 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29592 * sysdeps/unix/sysv/linux/kernel-features.h
29593 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29594 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29595 Make code unconditional.
29596 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29597 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29599 [__NR_vfork]: Make code unconditional.
29600 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29601 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29603 [__NR_vfork]: Make code unconditional.
29604 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29605 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29607 2012-08-01 Roland McGrath <roland@hack.frob.com>
29609 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29610 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29612 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29613 Define mkstemp64 as an alias.
29614 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29615 Define mkstemps64 as an alias.
29616 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29617 Define mkostemp64 as an alias.
29618 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29619 Define mkostemps64 as an alias.
29620 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29621 Conditionalize body on this.
29622 * misc/mkostemp64.c: Likewise.
29623 * misc/mkostemps64.c: Likewise.
29624 * misc/mkstemps64.c: Likewise.
29625 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29626 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29627 * sysdeps/wordsize-64/mkostemp.c: File removed.
29628 * sysdeps/wordsize-64/mkstemp.c: File removed.
29629 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29630 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29631 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29632 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29635 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29636 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29637 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29638 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29640 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29641 compat_symbol macros from <shlib-compat.h> rather than the underlying
29642 default_symbol_version and symbol_version macros, so that DEFAULT
29643 lines in shlib-versions are respected.
29644 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29646 2012-08-01 Florian Weimer <fweimer@redhat.com>
29648 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29649 Declare with warn_unused_result.
29650 (setgid, setregid, setegid, setresgid): Likewise.
29651 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29653 * WUR-REPORT: Remove set*id functions.
29655 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29657 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29659 2012-07-31 Roland McGrath <roland@hack.frob.com>
29662 * include/sys/socket.h (__libc_accept, __libc_accept4):
29663 Add attribute_hidden.
29664 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29666 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29668 * inet/getnetgrent_r.c (setup): Likewise.
29670 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29672 2012-07-31 David S. Miller <davem@davemloft.net>
29674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29676 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29679 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29680 value between 1.0 and 2.0 and smaller part has absolute value less
29682 * math/s_clog10.c (__clog10): Likewise.
29683 * math/s_clog10f.c (__clog10f): Likewise.
29684 * math/s_clog10l.c (__clog10l): Likewise.
29685 * math/s_clogf.c (__clogf): Likewise.
29686 * math/s_clogl.c (__clogl): Likewise.
29687 * math/libm-test.inc (clog_test): Add more tests.
29688 (clog10_test): Likewise.
29689 * sysdeps/i386/fpu/libm-test-ulps: Update.
29690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29692 2012-07-31 Florian Weimer <fweimer@redhat.com>
29694 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29695 Exit with zero in case no suitable GID is found, and write a
29696 message to standard error.
29698 2012-07-30 Roland McGrath <roland@hack.frob.com>
29700 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29702 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29703 (MAXPATHLEN): Removed.
29704 (NOGROUP, NODEV): New macros.
29705 (setbit, clrbit, isset, isclr): New macros.
29706 (howmany, roundup, powerof2): New macros.
29707 (DEV_BSIZE): New macro.
29709 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29710 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29712 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29713 definition on [!__NO_LONG_DOUBLE_MATH].
29715 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29716 PTR_MANGLE and PTR_DEMANGLE.
29718 * socket/accept4.c (accept4): Rename to __libc_accept4.
29719 Define accept4 as a weak alias.
29721 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29722 on [_DIRENT_HAVE_D_TYPE].
29723 * io/ftw.c (ftw_dir): Likewise.
29725 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29727 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29729 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29730 Use the BSD numbers rather than the arbitrary ones we had.
29731 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29732 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29733 (SIGXCPU, SIGXFSZ): New macros.
29736 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29737 initializer on [_LIBC_REENTRANT].
29739 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29740 definitions inside [_POSIX_MAPPED_FILES].
29742 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29744 * dirent/opendir.c: Include <fcntl.h>.
29746 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29747 (__libc_getspecific): Likewise.
29748 (__libc_key_create): Likewise.
29750 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29751 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29752 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29753 (tmpfile64): Define as alias.
29754 * sysdeps/wordsize-64/tmpfile.c: File removed.
29755 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29756 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29757 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29759 * stdio-common/vfscanf.c: Include <stdbool.h>.
29760 * nss/makedb.c: Likewise.
29761 * stdio-common/_i18n_number.h: Likewise.
29762 * argp/argp-help.c: Likewise.
29763 * posix/wordexp.c: Likewise.
29764 * sysdeps/posix/spawni.c: Likewise.
29765 * nss/nss_files/files-initgroups.c: Likewise.
29766 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29767 * nss/nss_files/files-initgroups.c: Likewise.
29768 * nss/nss_db/db-netgrp.c: Likewise.
29769 * nss/nss_db/db-initgroups.c: Likewise.
29770 * io/fchmodat.c: Include <sys/stat.h>.
29772 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29773 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29775 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29778 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29779 Add multiple inclusion protection.
29781 2012-07-27 David S. Miller <davem@davemloft.net>
29783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29785 2012-07-27 Gary Benson <gbenson@redhat.com>
29788 * elf/rtld.c: Include <stap-probe.h>.
29789 (dl_main): Added static probes "init_start" and "init_complete".
29790 * elf/dl-load.c: Include <stap-probe.h>.
29791 (lose): Take new parameter "nsid".
29792 Added static probe "map_failed".
29793 (_dl_map_object_from_fd): Pass namespace id to lose.
29794 Added static probe "map_start".
29795 (open_verify): Pass namespace id to lose.
29796 * elf/dl-open.c: Include <stap-probe.h>.
29797 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29798 and "reloc_complete".
29799 * elf/dl-close.c: Include <stap-probe.h>.
29800 (_dl_close_worker): Added static probes "unmap_start" and
29802 * elf/rtld-debugger-interface.txt: New file documenting the above.
29804 2012-07-26 Roland McGrath <roland@hack.frob.com>
29806 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29807 rather than a string variable.
29808 * sunrpc/rpc_main.c (h_output): Likewise.
29809 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29811 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29813 * inet/check_native.c: New file.
29815 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29818 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29819 if larger part has absolute value 1.0.
29820 * math/s_clog10.c (__clog10): Likewise.
29821 * math/s_clog10f.c (__clog10f): Likewise.
29822 * math/s_clog10l.c (__clog10l): Likewise.
29823 * math/s_clogf.c (__clogf): Likewise.
29824 * math/s_clogl.c (__clogl): Likewise.
29825 * math/libm-test.inc (clog_test): Add more tests.
29826 (clog10_test): Likewise.
29827 * sysdeps/i386/fpu/libm-test-ulps: Update.
29828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29830 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29831 (pltexit): Likewise.
29832 (La_regs): Likewise.
29833 (La_retval): Likewise.
29834 (int_retval): Likewise.
29835 Update #error for removed macros to refer only to definitions in
29837 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29839 (pltexit): Likewise.
29840 (La_regs): Likewise.
29841 (La_retval): Likewise.
29842 (int_retval): Likewise.
29843 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29845 (pltexit): Likewise.
29846 (La_regs): Likewise.
29847 (La_retval): Likewise.
29848 (int_retval): Likewise.
29849 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29851 (pltexit): Likewise.
29852 (La_regs): Likewise.
29853 (La_retval): Likewise.
29854 (int_retval): Likewise.
29855 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29857 (pltexit): Likewise.
29858 (La_regs): Likewise.
29859 (La_retval): Likewise.
29860 (int_retval): Likewise.
29861 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29863 (pltexit): Likewise.
29864 (La_regs): Likewise.
29865 (La_retval): Likewise.
29866 (int_retval): Likewise.
29867 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29869 (pltexit): Likewise.
29870 (La_regs): Likewise.
29871 (La_retval): Likewise.
29872 (int_retval): Likewise.
29873 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29874 macro definitions in tst-audit.h.
29875 * sysdeps/i386/tst-audit.h: New file.
29876 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29877 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29878 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29879 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29880 * sysdeps/sh/tst-audit.h: Likewise.
29881 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29882 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29883 * sysdeps/x86_64/tst-audit.h: Likewise.
29885 2012-07-26 Andreas Jaeger <aj@suse.de>
29887 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29890 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29891 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29892 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29894 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29895 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29896 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29898 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29901 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29903 (si_call_addr, si_syscall, si_arch): Define new macro.
29904 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29906 (si_call_addr, si_syscall, si_arch): Define new marcro.
29907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29909 (si_call_addr, si_syscall, si_arch): Define new macro.
29910 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29912 (si_call_addr, si_syscall, si_arch): Define new macro.
29914 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29917 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29918 Change to 2.4.21 where previously 2.4.1.
29919 * sysdeps/unix/sysv/linux/configure: Regenerated.
29920 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29921 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29922 Linux kernel version.
29923 (__ASSUME_STD_AUXV): Remove.
29924 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29926 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29927 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29928 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29929 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29930 (__ASSUME_NETLINK_SUPPORT): Likewise.
29931 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29932 (__no_netlink_support): Remove conditional definition.
29933 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29935 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29936 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29937 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29938 (if_nameindex_ioctl): Remove.
29939 (if_nameindex_netlink): Do not handle __no_netlink_support.
29940 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29942 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29943 Remove conditional code.
29944 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29946 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29948 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29949 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29950 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29952 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29953 [!__ASSUME_STD_AUXV]: Remove conditional code.
29954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29955 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29956 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29958 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29959 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29961 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29963 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29964 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29966 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29968 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29971 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29974 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29975 code unconditional.
29976 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29978 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29980 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29983 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29985 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29988 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29989 code unconditional.
29990 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29992 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29994 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29997 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29998 code unconditional.
29999 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30001 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30003 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30006 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30008 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30009 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30010 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30011 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30012 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30013 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30014 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30015 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30016 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30017 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30018 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30019 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30020 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30021 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30022 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30023 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30024 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30025 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30026 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30028 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30029 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30030 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30032 2012-07-25 Florian Weimer <fweimer@redhat.com>
30034 * Versions.def: Add GLIBC_2.17.
30035 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30036 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30037 Introduce __libc_secure_getenv.
30038 * stdlib/Versions (2.17): Add secure_getenv
30039 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30040 * stdlib/secure-getenv.c: Rename __secure_getenv to
30041 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30042 symbol __secure_getenv for GLIBC_2.0.
30043 * stdlib/tst-secure-getenv.c: New.
30044 * stdlib/Makefile (tests): Add testcase.
30045 * manual/startup.texi (Environment Access): Document
30047 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30048 __libc_secure_getenv.
30049 * inet/ruserpass.c (ruserpass): Likewise.
30050 * malloc/mtrace.c (mtrace): Likewise.
30051 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30052 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30053 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30054 * sysdeps/posix/tempname.c: Likewise. Evaluate
30055 HAVE_SECURE_GETENV.
30056 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30057 __secure_getenv to __libc_secure_getenv.
30058 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30065 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30071 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30073 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30074 (struct La_i86_retval): Likewise.
30075 (struct La_x86_64_regs): Likewise.
30076 (struct La_x86_64_retval): Likewise.
30077 (struct La_x32_regs): Likewise.
30078 (struct La_x32_retval): Likewise.
30079 (struct La_ppc32_regs): Likewise.
30080 (struct La_ppc32_retval): Likewise.
30081 (struct La_ppc64_regs): Likewise.
30082 (struct La_ppc64_retval): Likewise.
30083 (struct La_sh_regs): Likewise.
30084 (struct La_sh_retval): Likewise.
30085 (struct La_s390_32_regs): Likewise.
30086 (struct La_s390_32_retval): Likewise.
30087 (struct La_s390_64_regs): Likewise.
30088 (struct La_s390_64_retval): Likewise.
30089 (struct La_sparc32_regs): Likewise.
30090 (struct La_sparc32_retval): Likewise.
30091 (struct La_sparc64_regs): Likewise.
30092 (struct La_sparc64_retval): Likewise.
30093 (struct audit_ifaces): Remove architecture-specific pltenter and
30095 * sysdeps/i386/ldsodefs.h: New file.
30096 * sysdeps/powerpc/ldsodefs.h: Likewise.
30097 * sysdeps/s390/ldsodefs.h: Likewise.
30098 * sysdeps/sh/ldsodefs.h: Likewise.
30099 * sysdeps/sparc/ldsodefs.h: Likewise.
30100 * sysdeps/x86_64/ldsodefs.h: Likewise.
30102 2012-07-25 Marek Polacek <polacek@redhat.com>
30105 * math/libm-test.inc (yn_test): Add another test.
30106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30107 to ERANGE when the result is +-Inf.
30108 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30109 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30110 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30111 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30113 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30115 * conform/data/time.h-data (NULL): Use macro-constant. Require
30117 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30119 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30121 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30123 * configure.in <sysdeps resolving>: Correct printing
30125 * configure: Regenerate.
30127 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30129 * math/w_ilogb.c: Include <limits.h>.
30130 * math/w_ilogbl.c: Likewise.
30132 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30134 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30135 va_copy. Document allowing for unavailable va_copy only as
30136 pre-C99 compatibility.
30137 * manual/string.texi (Copying and Concatenation): Use va_copy
30138 instead of __va_copy in concat example.
30140 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30142 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30143 (__sendto): Use create_address_port. Initialize APORT and deallocate
30146 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30147 with O_NOLINK passed to __file_name_lookup.
30149 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30150 with O_NOLINK passed to __file_name_lookup.
30152 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30153 negative N or less than NGIDS.
30155 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30156 type to string_t. Set ERANGE as errno and return it if NAME is not big
30157 enough. Use memcpy instead of strncpy.
30159 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30161 * elf/Makefile (check-data): Remove.
30162 (localplt.data): New vpath directive.
30163 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30164 instead of $(check-data).
30165 * scripts/data/localplt-generic.data: Move to ...
30166 * sysdeps/generic/localplt.data: ... here.
30167 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30168 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30169 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30172 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30175 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30178 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30181 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30184 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30188 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30190 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30191 PPC32 and PPC64 files.
30192 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30193 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30195 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30197 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30198 __makecontext_ret to ...
30199 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30200 ... here and call exit if uc_link is NULL. New file.
30201 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30202 __makecontext_ret.S.
30203 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30204 __makecontext_ret to ...
30205 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30206 ... here and call exit if uc_link is NULL. New file.
30207 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30208 __makecontext_ret.S.
30210 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30212 * elf/elf.h (R_390_IRELATIVE): New definition.
30213 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30214 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30215 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30216 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30217 (elf_machine_lazy_rel): Likewise.
30218 * sysdeps/s390/dl-irel.h: New file.
30219 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30220 * sysdeps/s390/s390-64/memset.S: New asm code.
30221 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30222 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30223 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30224 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30225 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30226 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30227 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30228 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30229 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30230 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30231 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30232 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30233 * sysdeps/s390/s390-32/memset.S: New asm code.
30234 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30236 2012-07-17 Marek Polacek <polacek@redhat.com>
30239 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30240 * sysdeps/s390/s390-64/configure.in: Likewise.
30241 * sysdeps/sparc/configure.in: Likewise.
30242 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30243 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30244 * sysdeps/i386/configure.in: Likewise.
30245 * sysdeps/x86_64/configure.in: Likewise.
30246 * sysdeps/sh/configure.in: Likewise.
30247 * sysdeps/s390/s390-32/configure: Regenerated.
30248 * sysdeps/s390/s390-64/configure: Likewise.
30249 * sysdeps/x86_64/configure: Likewise.
30250 * sysdeps/sh/configure: Likewise.
30251 * sysdeps/powerpc/powerpc64/configure: Likewise.
30252 * sysdeps/powerpc/powerpc32/configure: Likewise.
30253 * sysdeps/sparc/configure: Likwise.
30254 * sysdeps/i386/configure: Likewise.
30256 * elf/dl-open.c: Comment fixes.
30258 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30260 * Makefile [CXX] (check-data): Remove.
30261 [CXX] (c++-types.data): New vpath directive.
30262 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30263 vpath. Do not allow for C++ type data being missing.
30264 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30265 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30266 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30267 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30268 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30269 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30270 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30273 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30276 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30279 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30282 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30285 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30288 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30291 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30294 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30295 definitions to architecture-specific files.
30296 (TLS_IE): Likewise.
30297 (TLS_LD): Likewise.
30298 (TLS_GD): Likewise.
30299 * sysdeps/i386/tls-macros.h: New file.
30300 * sysdeps/powerpc/tls-macros.h: Likewise.
30301 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30302 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30303 * sysdeps/sh/tls-macros.h: Likewise.
30304 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30305 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30306 * sysdeps/x86_64/tls-macros.h: Likewise.
30308 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30310 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30311 zero value for regular exit case.
30313 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30314 (__start_context): Preserve zero value for regular exit case.
30316 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30317 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30319 * manual/setjmp.texi (setcontext): Clarify normal process
30320 termination when uc_link is the null pointer.
30321 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30324 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30326 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30327 preprocessor. Test for each exception mask separately.
30329 2012-07-16 Andreas Jaeger <aj@suse.de>
30331 * po/ru.po: Update from translation team.
30333 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30335 * conform/data/string.h-data (NULL): Use macro-constant. Require
30337 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30338 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30339 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30340 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30341 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30343 2012-07-13 Andreas Jaeger <aj@suse.de>
30345 * po/fr.po: Update from translation team.
30347 2012-07-12 Marek Polacek <polacek@redhat.com>
30350 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30351 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30354 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30357 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30358 Change to 2.4.1 where previously 2.4.0.
30359 * sysdeps/unix/sysv/linux/configure: Regenerated.
30360 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30361 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30363 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30364 (__ASSUME_AT_CLKTCK): Remove.
30365 (__ASSUME_AT_PAGESIZE): Likewise.
30366 (__ASSUME_AT_XID): Likewise.
30367 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30368 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30369 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30371 (HAVE_AUX_PAGESIZE): Likewise.
30372 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30373 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30374 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30376 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30380 the temporary buffer used to invoke __gethostbyname2_r,
30381 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30382 host_data / struct gaih_addrtuple.
30383 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30384 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30385 header file nss/nsswitch.h.
30386 * nss/nsswitch.h (global scope): Add definition of implementation
30387 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30388 resolv/nss_dns/dns-host.c).
30390 2012-07-11 Andreas Jaeger <aj@suse.de>
30392 * po/fr.po: Update from translation team.
30394 * po/sv.po: Update from translation team
30395 * po/fr.po: Another update from translation team.
30397 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30399 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30400 for subnormals or multiply small sinh result by itself.
30401 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30404 2012-07-11 David S. Miller <davem@davemloft.net>
30406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30408 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30411 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30412 (INTERNAL_MARK): Shift it here.
30414 2012-07-10 Marek Polacek <polacek@redhat.com>
30417 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30418 libc_cv_asm_global_directive with .globl.
30419 * configure: Regenerated.
30420 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30422 * sysdeps/i386/configure: Regenerated.
30423 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30425 * sysdeps/x86_64/configure: Regenerated.
30426 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30427 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30428 * elf/tst-unique2mod2.c: Likewise.
30429 * elf/tst-unique2mod1.c: Likewise.
30430 * elf/tst-unique1mod2.c: Likewise.
30431 * elf/tst-unique1mod1.c: Likewise.
30432 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30433 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30435 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30436 * sysdeps/mach/sysdep.h: Likewise.
30437 * sysdeps/i386/sysdep.h: Likewise.
30438 * sysdeps/i386/i386-mcount.S: Likewise.
30439 * sysdeps/x86_64/_mcount.S: Likewise.
30440 * sysdeps/x86_64/sysdep.h: Likewise.
30441 * sysdeps/sh/_mcount.S: Likewise.
30442 * sysdeps/sh/sysdep.h: Likewise.
30443 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30444 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30445 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30446 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30447 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30448 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30449 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30450 * locale/localeinfo.h: Likewise.
30451 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30452 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30454 2012-07-09 Roland McGrath <roland@hack.frob.com>
30457 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30459 * manual/message.texi (The Uniforum approach): Likewise.
30460 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30461 (glibc iconv Implementation): Likewise.
30463 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30466 * math/s_clog.c (__clog): Avoid scaling a value down where that
30467 could result in underflow.
30468 * math/s_clog10.c (__clog10): Likewise.
30469 * math/s_clog10f.c (__clog10f): Likewise.
30470 * math/s_clog10l.c (__clog10l): Likewise.
30471 * math/s_clogf.c (__clogf): Likewise.
30472 * math/s_clogl.c (__clogl): Likewise.
30473 * math/libm-test.inc (clog_test): Add more tests.
30474 (clog10_test): Likewise.
30475 * sysdeps/i386/fpu/libm-test-ulps: Update.
30476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30478 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30481 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30482 by 7 not 8 to examine high bit of fractional part.
30485 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30486 for call to __mcount_internal.
30487 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30488 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30489 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30491 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30494 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30495 approximation for values within 0x1p-13f of an odd multiple of
30497 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30498 exception. Add more tests.
30499 * sysdeps/i386/fpu/libm-test-ulps: Update.
30502 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30503 inputs and return -1 for them. Do not check for +Inf in case not
30504 reachable for +Inf.
30505 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30506 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30507 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30508 and return -1 for them. Do not check for +Inf in case not
30509 reachable for +Inf.
30510 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30512 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30513 and return -1 for them. Do not check for +Inf in case not
30514 reachable for +Inf.
30515 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30516 spurious underflow.
30517 * sysdeps/i386/fpu/libm-test-ulps: Update.
30518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30520 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30522 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30524 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30528 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30529 could result in spurious underflow. Scale down values above
30530 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30531 * math/s_csqrtf.c (__csqrtf): Likewise.
30532 * math/s_csqrtl.c (__csqrtl): Likewise.
30533 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30534 spurious underflow.
30535 * sysdeps/i386/fpu/libm-test-ulps: Update.
30536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30538 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30540 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30542 * catgets/xopen-msg.awk: New file.
30543 * catgets/xopen-msg.sed: Removed.
30545 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30547 * intl/po2test.awk: New file.
30548 * intl/po2test.sed: Removed.
30550 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30553 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30554 or multiply small sinh result by itself.
30555 * math/s_ctanf.c (__ctanf): Likewise.
30556 * math/s_ctanh.c (__ctanh): Likewise.
30557 * math/s_ctanhf.c (__ctanhf): Likewise.
30558 * math/s_ctanhl.c (__ctanhl): Likewise.
30559 * math/s_ctanl.c (__ctanl): Likewise.
30560 * math/libm-test.inc (ctan_test_tonearest): New function.
30561 (ctan_test_towardzero): Likewise.
30562 (ctan_test_downward): Likewise.
30563 (ctan_test_upward): Likewise.
30564 (ctanh_test_tonearest): Likewise.
30565 (ctanh_test_towardzero): Likewise.
30566 (ctanh_test_downward): Likewise.
30567 (ctanh_test_upward): Likewise.
30568 (main): Call these new functions.
30569 * sysdeps/i386/fpu/libm-test-ulps: Update.
30570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30572 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30574 * .gitignore: Delete /ports entry.
30576 2012-07-03 Andreas Jaeger <aj@suse.de>
30578 * po/bg.po: Update from translation team.
30579 * po/cs.po: Likewise.
30580 * po/de.po: Likewise.
30581 * po/hr.po: Likewise.
30582 * po/nl.pl: Likewise.
30583 * po/pl.po: Likewise.
30584 * po/vi.po: Likewise.
30586 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30588 * Makeconfig [!+link] (+link-before-libc): New variable.
30589 [!+link] (+link-after-libc): Likewise.
30590 [!+link] (+link-tests): Likewise.
30591 [!+link] (+link): Define in terms of $(+link-before-libc) and
30592 $(+link-after-libc).
30593 [!+link-static] (+link-static-before-libc): New variable.
30594 [!+link-static] (+link-static-after-libc): Likewise.
30595 [!+link-static] (+link-static-tests): Likewise.
30596 [!+link-static] (+link-static): Define in terms of
30597 $(+link-static-before-libc) and $(+link-static-after-libc).
30598 [build-shared] (link-libc-before-gnulib): New variable.
30599 [build-shared] (link-libc-tests): Likewise.
30600 [build-shared] (link-libc): Define in terms of
30601 $(link-libc-before-gnulib).
30602 [!build-shared] (link-libc-tests): New variable.
30603 (link-libc-static-tests): New variable.
30604 [!gnulib] (gnulib-arch): New variable.
30605 [!gnulib] (gnulib-tests): Likewise.
30606 [!gnulib] (static-gnulib-arch): Likewise.
30607 [!gnulib] (static-gnulib-tests): Likewise.
30608 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30609 Define with "=" instead of ":=".
30610 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30611 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30612 * Rules (binaries-all-notests): New variable.
30613 (binaries-all-tests): Likewise.
30614 (binaries-static-notests): Likewise.
30615 (binaries-static-tests): Likewise.
30616 (binaries-all): Define using $(binaries-all-notests) and
30617 $(binaries-all-tests).
30618 (binaries-static): Define using $(binaries-static-notests) and
30619 $(binaries-static-tests).
30620 (binaries-shared-tests): New variable.
30621 (binaries-shared-notests): Likewise.
30622 (binaries-shared): Remove variable.
30623 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30624 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30625 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30626 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30627 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30628 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30629 * elf/Makefile (sln-modules): New variable.
30630 (extra-objs): Add $(sln-modules:=.o).
30631 (ldconfig-modules): Add static-stubs.
30632 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30633 * elf/static-stubs.c: New file.
30636 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30637 by 7 not 8 to examine high bit of fractional part. Use volatile
30638 variables when splitting into final array of floats if
30639 __FLT_EVAL_METHOD__ != 0.
30640 * math/libm-test.inc (cos_test): Add another test.
30641 (sin_test): Likewise.
30642 * sysdeps/i386/fpu/libm-test-ulps: Update.
30645 * math/libm-test.inc (cosh_test): Add more tests.
30647 * version.h (RELEASE): Set to "development".
30648 (VERSION): Set to "2.16.90".
30650 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30652 * NEWS: Update copyright. Remove last-updated date.
30653 Mention math library bug fixes and timezone data changes.
30654 * README: Mention GNU/Hurd, x32, and HPPA support status.
30656 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30658 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30660 2012-06-27 Andreas Jaeger <aj@suse.de>
30662 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30664 2012-06-25 Andreas Jaeger <aj@suse.de>
30666 * sysdeps/s390/fpu/libm-test-ulps: Update.
30668 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30669 Thomas Schwinge <thomas@codesourcery.com>
30671 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30672 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30673 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30676 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30678 * sysdeps/mach/start.c: Remove file.
30679 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30680 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30681 * sysdeps/sh/init-first.c: Likewise.
30683 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30684 registers for frame unwinding purposes, add CFI directives.
30685 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30686 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30687 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30690 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30691 __fortify_fail returning.
30692 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30694 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30695 sysdeps/sh/____longjmp_chk.S.
30696 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30697 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30698 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30699 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30701 * sysdeps/sh/abort-instr.h: New file.
30702 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30703 process in case exit returns.
30705 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30706 initialize the GOT register before use.
30708 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30709 calculation of ARGC > 4.
30711 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30712 meaningful names to some local labels.
30714 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30715 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30717 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30718 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30719 (__arch_compare_and_exchange_val_16_acq): Likewise.
30720 (__arch_compare_and_exchange_val_32_acq): Likewise.
30721 (atomic_exchange_and_add): Fix gUSA sequence.
30722 (atomic_add): Likewise.
30723 (atomic_add_negative): Likewise.
30724 (atomic_add_zero): Likewise.
30725 (atomic_bit_test_set): Likewise.
30727 2012-06-22 Andreas Schwab <schwab@redhat.com>
30730 * include/link.h (struct link_map): Add l_free_initfini.
30731 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30733 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30734 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30735 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30738 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30740 * configure.in: Use AC_LANG_SOURCE.
30741 * configure: Regenerate.
30743 2012-06-22 Roland McGrath <roland@hack.frob.com>
30745 * configure.in (libc_cv_localstatedir): New substituted variable.
30746 * configure: Regenerated.
30747 * config.make.in (localstatedir): New variable, substituted from
30748 libc_cv_localstatedir.
30749 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30750 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30751 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30752 * sysdeps/gnu/configure: Regenerated.
30754 2012-06-21 Jeff Law <law@redhat.com>
30757 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30758 free. Simplify list management for _LIBC case.
30760 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30763 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30764 Clear sign bit of 64-bit integer value before comparing against
30767 * sysdeps/mach/configure: Regenerated.
30769 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30772 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30774 2012-06-21 Jeff Law <law@redhat.com>
30777 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30778 uint16_t for elements in the "seen" array to avoid char overflows.
30779 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30780 * elf/dl-open.c (dl_open_worker): Likewise.
30782 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30784 * scripts/list-sources.sh: Scan PORTS for translations.
30785 * po/libc.pot: Regenerated.
30787 2012-06-21 Andreas Jaeger <aj@suse.de>
30790 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30792 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30793 * bits/byteswap-16.h (__bswap_16): Likewise.
30794 * bits/byteswap.h (__bswap_constant_16): Likewise.
30796 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30799 * sysdeps/i386/fpu_control.h: Removed.
30800 * sysdeps/x86_64/fpu_control.h: Moved to ...
30801 * sysdeps/x86/fpu_control.h: Here.
30803 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30804 (_FPU_SETCW): Likewise.
30806 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30809 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30810 * sysdeps/x86/fpu/bits/mathinline.h: This.
30811 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30815 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30816 functions if __x86_64__ is defined.
30818 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30820 * string/endian.h: Add !__ASSEMBLER__ condition for including
30821 conversion interfaces.
30823 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30826 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30827 of ABS(x) in calculating zero to negative powers other than odd
30829 * math/libm-test.inc (pow_test): Add more tests.
30831 2012-06-15 Andreas Jaeger <aj@suse.de>
30833 * manual/contrib.texi (Contributors): Update entry of Liubov
30834 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30837 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30839 * string/string.h: Add __wur to GNU version of strerror_r.
30841 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30844 * string/Makefile (tests): Add tst-strtok_r.
30845 * string/tst-strtok_r.c: New file.
30846 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30847 RAX_LP/RDX_LP on SAVE_PTR.
30849 2012-06-14 Roland McGrath <roland@hack.frob.com>
30851 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30853 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30855 * libm_test.inc (csqrt_test): Allow more spurious underflow
30857 (j0_test): Likewise.
30858 (j1_test): Likewise.
30859 (y0_test): Likewise.
30860 (y1_test): Likewise.
30862 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30864 * po/Makefile (libc.pot): Use UTF-8 charset.
30866 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30869 Suppress sign-conversion warning from FD_SET.
30870 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30871 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30872 not unsigned long int.
30873 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30875 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30879 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30880 __extern_always_inline instead of __extern_inline.
30881 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30882 (__signbit): Likewise.
30883 (__signbitl): Support C++ namespace.
30884 (lrintf): New inline function.
30886 (llrintf): Likewise.
30887 (llrint): Likewise.
30897 (floorf): Likewise.
30898 (nearbyint): Likewise.
30899 (nearbyintf): Likewise.
30901 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30903 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30904 non-default versions.
30906 2012-06-11 Roland McGrath <roland@hack.frob.com>
30909 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30911 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30913 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30914 (FE_UPWARD, FE_DOWNWARD): Don't define.
30915 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30916 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30918 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30920 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30921 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30923 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30925 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30926 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30927 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30928 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30930 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30933 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30934 * sysdeps/i386/fpu/Implies: New file.
30935 * sysdeps/x86_64/fpu/Implies: Likewise.
30936 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30937 * sysdeps/x86/fpu/bits/fenv.h: This.
30939 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30942 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30945 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30946 character 0xffff that matches the last element of the
30949 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30951 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30954 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30956 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30957 values higher than 25.6283.
30959 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30961 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30962 subnormal exponent extraction and add some __builtin_expect.
30963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30964 Fix for subnormal mantissa calculation.
30966 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30968 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30969 cpu2 is -1 and errno is not ENOSYS.
30971 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30974 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30975 * sysdeps/x86/bits/string.h: This.
30976 * sysdeps/x86_64/bits/string.h: Removed.
30978 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30979 if not compiling for x86-64, but compiling for >= i486.
30981 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30982 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30984 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30985 New macro from Linux kernel 3.4.0.
30986 (FP_XSTATE_MAGIC2): Likewise.
30987 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30988 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30989 (struct _fpx_sw_bytes): New struct.
30990 (struct _xsave_hdr): Likewise.
30991 (struct _ymmh_state): Likewise.
30992 (struct _xstate): Likewise.
30994 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30995 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30996 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30997 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30998 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30999 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31001 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31002 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31003 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31004 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31005 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31006 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31008 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31011 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31012 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31013 (sysdep_headers): Include sys/platform/ppc.h.
31014 * sysdeps/powerpc/test-gettimebase.c: Test for
31015 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31016 * manual/Makefile (appendices): Include platform.texi.
31017 * manual/contrib.texi (Contributors): Update @node pointers.
31018 * manual/maint.texi (Maintenance): Likewise.
31019 (Platform): New node.
31020 * manual/platform.texi: New file. Document the new features.
31022 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31023 Jakub Jelinek <jakub@redhat.com>
31026 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31027 where __builtin_expect is unavailable.
31029 2012-06-03 David S. Miller <davem@davemloft.net>
31031 * stdlib/longlong.h: Updated from GCC.
31033 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31036 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31037 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31040 (GLIBC_2.16): Likewise.
31042 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31044 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31046 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31049 (default-abi): New variable.
31050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31051 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31053 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31055 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31057 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31060 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31061 definition. Document in comment.
31063 2012-06-01 David S. Miller <davem@davemloft.net>
31065 * stdlib/longlong.h: Updated from GCC.
31067 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31070 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31071 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31072 sys/debugreg.h sys/io.h here.
31073 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31074 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31076 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31077 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31078 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31079 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31080 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31081 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31083 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31084 Define only if __x86_64__ is defined.
31086 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31089 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31090 Use int64_t for variable i.
31091 * math/libm-test.inc (fmod_test): Add more tests.
31093 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31094 z computation is not scheduled after fetestexcept.
31095 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31096 Use math_force_eval instead of asm to ensure calculation scheduled
31097 before exception test.
31098 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31099 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31101 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31104 computation is not scheduled after fetestexcept.
31106 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31109 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31110 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31112 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31114 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31115 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31117 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31120 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31122 (__WCHAR_MIN): Support __WORDSIZE == 64.
31123 (__WCHAR_MAX): Likewise.
31125 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31126 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31129 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31130 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31133 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31134 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31136 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31137 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31139 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31140 Defined to 1 if __x86_64__ isn't defined.
31141 (_STAT_VER_LINUX_OLD): New.
31142 (st_atime): Remove duplicate.
31143 (st_mtime): Likewise.
31144 (st_ctime): Likewise.
31146 2012-05-31 David S. Miller <davem@davemloft.net>
31148 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31151 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31153 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31157 * elf/dl-reloc.c: Include <_itoa.h>.
31158 (_dl_reloc_bad_type): Remove use of INTUSE.
31159 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31160 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31161 * stdio-common/psiginfo.c (psiginfo): Likewise.
31162 * stdio-common/psignal.c (psignal): Likewise.
31163 * string/strsignal.c (strsignal): Likewise.
31164 * include/signal.h (_sys_siglist): Declare hidden proto.
31165 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31166 INTVARDEF with libc_hidden_data_def.
31167 * stdio-common/itoa-udigits.c: Likewise.
31168 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31169 (_itoa_lower_digits_internal): Remove declaration.
31170 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31171 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31172 (_sys_sigabbrev_internal): Remove aliases.
31173 (_sys_siglist): Define hidden alias.
31175 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31180 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31183 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31184 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31186 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31187 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31188 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31189 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31190 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31191 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31193 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31194 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31195 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31197 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31205 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31206 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31207 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31209 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31210 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31211 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31212 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31213 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31214 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31216 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31217 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31219 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31220 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31222 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31223 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31224 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31226 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31227 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31229 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31231 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31232 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31233 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31235 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31237 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31239 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31241 * math/math.h (M_El): Use two more decimal places.
31242 (M_LOG2El): Likewise.
31243 (M_LOG10El): Likewise.
31244 (M_LN2l): Likewise.
31245 (M_LN10l): Likewise.
31247 (M_PI_2l): Likewise.
31248 (M_PI_4l): Likewise.
31249 (M_1_PIl): Likewise.
31250 (M_2_PIl): Likewise.
31251 (M_2_SQRTPIl): Likewise.
31252 (M_SQRT2l): Likewise.
31253 (M_SQRT1_2l): Likewise.
31255 2012-05-31 David S. Miller <davem@davemloft.net>
31257 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31258 values between float registers.
31259 * sysdeps/sparc/sparc64/memset.S: Likewise.
31260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31262 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31264 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31265 -D_FORTIFY_SOURCE=1.
31266 (CPPFLAGS-tst-longjmp_chk.c): Define.
31267 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31268 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31269 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31270 CFLAGS-tst-wchar-h.c.
31272 2012-05-31 Marek Polacek <polacek@redhat.com>
31275 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31276 __endmntent_internal): Remove declaration.
31277 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31278 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31279 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31281 2012-05-30 David S. Miller <davem@davemloft.net>
31283 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31284 (___Q_simulate_exceptions): Use real FP ops rather than writing
31286 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31289 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31292 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31293 * sysdeps/x86/bits/xtitypes.h: This.
31295 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31296 * sysdeps/x86/bits/wordsize.h: This.
31298 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31299 * sysdeps/x86/bits/huge_vall.h: This.
31301 * sysdeps/i386/bits/select.h: Removed.
31302 * sysdeps/x86_64/bits/select.h: Renamed to ...
31303 * sysdeps/x86/bits/select.h: This.
31305 * sysdeps/i386/bits/setjmp.h: Removed.
31306 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31307 * sysdeps/x86/bits/setjmp.h: This.
31309 * sysdeps/i386/bits/mathdef.h: Removed.
31310 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31311 * sysdeps/x86/bits/mathdef.h: This.
31313 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31316 * include/sys/socket.h (__connect_internal)
31317 (__libc_sa_len_internal): Remove declaration.
31318 (__connect, __libc_sa_len): Declare hidden_proto.
31319 (SA_LEN): Remove use of INTUSE.
31320 * socket/connect.c: Add libc_hidden_def.
31321 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31322 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31323 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31325 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31326 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31327 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31328 of adding _internal alias.
31330 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31333 * sysdeps/i386/bits/link.h: Removed.
31334 * sysdeps/i386/bits/linkmap.h: Likewise.
31335 * sysdeps/x86_64/bits/link.h: Renamed to ...
31336 * sysdeps/x86/bits/link.h: This.
31337 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31338 * sysdeps/x86/bits/linkmap.h: This.
31340 * sysdeps/i386/bits/endian.h: Removed.
31341 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31342 * sysdeps/x86/bits/endian.h: This.
31344 * sysdeps/i386/bits/byteswap.h: Removed.
31345 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31346 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31347 * sysdeps/x86/bits/byteswap.h: This.
31348 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31349 * sysdeps/x86/bits/byteswap-16.h: This.
31350 * sysdeps/i386/Implies: Add x86.
31351 * sysdeps/x86_64/Implies: Likewise.
31353 2012-05-30 David S. Miller <davem@davemloft.net>
31355 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31356 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31357 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31358 (FP_TRAPPING_EXCEPTIONS): Define.
31359 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31360 (FP_TRAPPING_EXCEPTIONS): Define.
31361 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31362 subnormals only when inexact has been signalled or underflow
31363 exceptions are enabled.
31364 (_FP_PACK_CANONICAL): Likewise.
31366 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31369 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31370 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31372 2012-05-30 Richard Henderson <rth@twiddle.net>
31374 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31375 with #ifndef NOT_IN_libc.
31377 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31378 marked to avoid plt entry.
31380 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31383 * Makeconfig (default-abi): New macro.
31384 (abi-includes): Likewise.
31385 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31386 $(abi-$(default-abi)-lib-soname) for soname if defined.
31387 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31389 * Makefile (installed-stubs): Likewise.
31390 * include/stubs-biarch.h: Removed.
31391 * scripts/lib-names.awk: Only handle one library at a time.
31392 * scripts/soversions.awk: Remove WORDSIZE support.
31393 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31395 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31397 (syscall-list-default-condition): Likewise.
31398 (syscall-list-default-condition): Likewise.
31399 (syscall-list-includes): Likewise.
31400 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31401 syscall-list-* with abi-*. Handle undefined abi-variants.
31402 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31403 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31404 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31405 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31406 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31407 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31409 (syscall-list-32-options): Likewise.
31410 (syscall-list-32-condition): Likewise.
31411 (syscall-list-64-options): Likewise.
31412 (syscall-list-64-condition): Likewise.
31413 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31415 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31418 (abi-64-ld-soname): New macro.
31419 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31420 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31423 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31424 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31426 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31428 * sysdeps/unix/sysv/linux/kernel-features.h
31429 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31430 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31431 include <kernel-features.h>.
31432 [!__NR_ftruncate64]: Remove conditional code.
31433 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31434 [__NR_ftruncate64]: Make code unconditional.
31435 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31436 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31437 include <kernel-features.h>.
31438 [!__NR_ftruncate64]: Remove conditional code.
31439 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31440 [__NR_ftruncate64]: Make code unconditional.
31441 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31443 include <kernel-features.h>.
31444 [!__NR_ftruncate64]: Remove conditional code.
31445 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31446 [__NR_ftruncate64]: Make code unconditional.
31447 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31449 include <kernel-features.h>.
31450 [!__NR_ftruncate64]: Remove conditional code.
31451 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31452 [__NR_ftruncate64]: Make code unconditional.
31453 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31455 * configure.in (libc_cv_fpie): Weaken to a compile test using
31456 LIBC_TRY_CC_OPTION.
31457 * configure: Regenerated.
31459 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31474 2012-05-27 David S. Miller <davem@davemloft.net>
31476 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31478 (__Q_simulate_exceptions): Return void. Change to simulate
31479 exceptions by writing into the %fsr.
31480 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31481 (__Qp_handle_exceptions): Likewise.
31483 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31484 __Qp_handle_exceptions.
31485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31486 __Qp_handle_exceptions.
31487 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31488 as unused and give dummy FP_RND_NEAREST initializer.
31489 (FP_INHIBIT_RESULTS): Define.
31490 (___Q_simulate_exceptions): Update declaration.
31491 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31493 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31494 as unused and give dummy FP_RND_NEAREST initializer.
31495 (__Qp_handle_exceptions): Update declaration.
31496 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31499 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31501 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31502 the temporary FPU control word.
31503 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31504 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31505 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31506 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31507 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31508 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31509 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31510 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31511 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31512 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31513 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31515 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31517 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31520 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31522 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31523 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31524 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31525 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31527 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31528 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31531 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31533 * po/h.po: Update from translation team.
31535 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31537 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31539 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31540 handling of denormals.
31541 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31542 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31543 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31544 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31547 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31550 2012-05-26 Marek Polacek <polacek@redhat.com>
31553 * math/libm-test.inc (fma_test): Don't always expect underflow
31556 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31559 * elf/tst-execstack.c: Include stackinfo.h.
31560 (do_test): Adjust test case to ensure that pthread_getattr_np
31561 behaviour remains the same after marking stack executable.
31563 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31565 * sysdeps/unix/sysv/linux/kernel-features.h
31566 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31567 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31569 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31570 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31571 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31573 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31574 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31576 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31578 * configure.in: Define the default includes to being none.
31579 * configure: Regenerated.
31581 2012-05-25 Roland McGrath <roland@hack.frob.com>
31583 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31584 * sysdeps/x86_64/setjmp.S: Likewise.
31585 * sysdeps/i386/bsd-setjmp.S: Likewise.
31586 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31587 * sysdeps/i386/setjmp.S: Likewise.
31588 * sysdeps/i386/__longjmp.S: Likewise.
31589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31590 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31592 * include/stap-probe.h: New file.
31593 * configure.in: Handle --enable-systemtap.
31594 * configure: Regenerated.
31595 * config.h.in (USE_STAP_PROBE): New #undef.
31596 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31597 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31598 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31600 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31603 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31604 to 2.4.0 where earlier.
31605 * sysdeps/unix/sysv/linux/configure: Regenerated.
31606 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31607 <kernel-features.h>.
31608 [__ASSUME_32BITUIDS]: Make code unconditional.
31609 [!__ASSUME_32BITUIDS]: Remove conditional code.
31610 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31611 <kernel-features.h>.
31612 [__ASSUME_32BITUIDS]: Make code unconditional.
31613 [!__ASSUME_32BITUIDS]: Remove conditional code.
31614 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31615 [__ASSUME_32BITUIDS]: Make code unconditional.
31616 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31617 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31618 <kernel-features.h>.
31619 [__ASSUME_32BITUIDS]: Make code unconditional.
31620 [!__ASSUME_32BITUIDS]: Remove conditional code.
31621 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31622 <kernel-features.h>.
31623 [__ASSUME_32BITUIDS]: Make code unconditional.
31624 [!__ASSUME_32BITUIDS]: Remove conditional code.
31625 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31626 <kernel-features.h>.
31627 [__ASSUME_32BITUIDS]: Make code unconditional.
31628 [!__ASSUME_32BITUIDS]: Remove conditional code.
31629 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31630 <kernel-features.h>.
31631 [__ASSUME_32BITUIDS]: Make code unconditional.
31632 [!__ASSUME_32BITUIDS]: Remove conditional code.
31633 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31634 <kernel-features.h>.
31635 [__ASSUME_32BITUIDS]: Make code unconditional.
31636 [!__ASSUME_32BITUIDS]: Remove conditional code.
31637 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31638 <kernel-features.h>.
31639 [__ASSUME_32BITUIDS]: Make code unconditional.
31640 [!__ASSUME_32BITUIDS]: Remove conditional code.
31641 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31642 <kernel-features.h>.
31643 [__ASSUME_32BITUIDS]: Make code unconditional.
31644 [!__ASSUME_32BITUIDS]: Remove conditional code.
31645 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31646 <kernel-features.h>.
31647 [__ASSUME_32BITUIDS]: Make code unconditional.
31648 [!__ASSUME_32BITUIDS]: Remove conditional code.
31649 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31650 <kernel-features.h>.
31651 [__ASSUME_32BITUIDS]: Make code unconditional.
31652 [!__ASSUME_32BITUIDS]: Remove conditional code.
31653 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31654 <kernel-features.h>.
31655 [__ASSUME_32BITUIDS]: Make code unconditional.
31656 [!__ASSUME_32BITUIDS]: Remove conditional code.
31657 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31658 <kernel-features.h>.
31659 [__NR_setresgid] (__setresgid): Do not declare.
31660 [__ASSUME_32BITUIDS]: Make code unconditional.
31661 [!__ASSUME_32BITUIDS]: Remove conditional code.
31662 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31663 <kernel-features.h>.
31664 [__NR_setresuid] (__setresuid): Do not declare.
31665 [__ASSUME_32BITUIDS]: Make code unconditional.
31666 [!__ASSUME_32BITUIDS]: Remove conditional code.
31667 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31668 <kernel-features.h>.
31669 [__ASSUME_32BITUIDS]: Make code unconditional.
31670 [!__ASSUME_32BITUIDS]: Remove conditional code.
31671 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31672 <kernel-features.h>.
31673 [__ASSUME_32BITUIDS]: Make code unconditional.
31674 [!__ASSUME_32BITUIDS]: Remove conditional code.
31675 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31676 <kernel-features.h>.
31677 [__ASSUME_32BITUIDS]: Make code unconditional.
31678 [!__ASSUME_32BITUIDS]: Remove conditional code.
31679 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31680 <kernel-features.h>.
31681 [__ASSUME_32BITUIDS]: Make code unconditional.
31682 [!__ASSUME_32BITUIDS]: Remove conditional code.
31683 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31684 <kernel-features.h>.
31685 [__ASSUME_32BITUIDS]: Make code unconditional.
31686 [!__ASSUME_32BITUIDS]: Remove conditional code.
31687 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31688 <kernel-features.h>.
31689 [__ASSUME_32BITUIDS]: Make code unconditional.
31690 [!__ASSUME_32BITUIDS]: Remove conditional code.
31691 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31692 <kernel-features.h>.
31693 [__ASSUME_32BITUIDS]: Make code unconditional.
31694 [!__ASSUME_32BITUIDS]: Remove conditional code.
31695 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31696 <kernel-features.h>.
31697 [__ASSUME_32BITUIDS]: Make code unconditional.
31698 [!__ASSUME_32BITUIDS]: Remove conditional code.
31699 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31700 <kernel-features.h>.
31701 [__ASSUME_32BITUIDS]: Make code unconditional.
31702 [!__ASSUME_32BITUIDS]: Remove conditional code.
31703 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31704 <kernel-features.h>.
31705 [__ASSUME_32BITUIDS]: Make code unconditional.
31706 [!__ASSUME_32BITUIDS]: Remove conditional code.
31707 * sysdeps/unix/sysv/linux/kernel-features.h
31708 (__ASSUME_SETRESUID_SYSCALL): Remove.
31709 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31710 (__ASSUME_32BITUIDS): Likewise.
31711 (__ASSUME_LDT_WORKS): Likewise.
31712 (__ASSUME_O_DIRECTORY): Likewise.
31713 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31714 architecture but not kernel version.
31715 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31716 (__ASSUME_MMAP2_SYSCALL): Likewise.
31717 (__ASSUME_STAT64_SYSCALL): Likewise.
31718 (__ASSUME_IPC64): Likewise.
31719 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31720 <kernel-features.h>.
31721 [__ASSUME_32BITUIDS]: Make code unconditional.
31722 [!__ASSUME_32BITUIDS]: Remove conditional code.
31723 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31724 <kernel-features.h>.
31725 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31726 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31727 132096]: Remove conditional code.
31728 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31729 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31730 <kernel-features.h>.
31731 [__ASSUME_32BITUIDS]: Make code unconditional.
31732 [!__ASSUME_32BITUIDS]: Remove conditional code.
31733 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31734 <kernel-features.h>.
31735 [__ASSUME_32BITUIDS]: Make code unconditional.
31736 [!__ASSUME_32BITUIDS]: Remove conditional code.
31737 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31738 <kernel-features.h>.
31739 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31741 (__setresgid): Do not declare.
31742 [__ASSUME_32BITUIDS]: Make code unconditional.
31743 [!__ASSUME_32BITUIDS]: Remove conditional code.
31744 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31745 <kernel-features.h>.
31746 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31748 (__setresuid): Do not declare.
31749 [__ASSUME_32BITUIDS]: Make code unconditional.
31750 [!__ASSUME_32BITUIDS]: Remove conditional code.
31751 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
31756 <kernel-features.h>.
31757 [__ASSUME_32BITUIDS]: Make code unconditional.
31758 [!__ASSUME_32BITUIDS]: Remove conditional code.
31760 2012-05-25 Richard Henderson <rth@twiddle.net>
31762 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31763 dl_hwcap to ifunc resolver.
31764 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31766 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31767 dl_hwcap to ifunc resolver.
31768 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31770 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31773 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31774 for |x| <= 2**-26, not 2**-57.
31775 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31778 2012-05-24 Jeff Law <law@redhat.com>
31780 * stdio-common/Makefile (tests): Add bug25.
31781 * stdio-common/bug25.c: New test.
31783 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31786 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31787 multiple of MALLOC_ALIGNMENT in size.
31788 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31790 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31792 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31794 (FILENAME_MAX): Use macro-int-constant.
31795 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31796 (_IOFBF): Use macro-int-constant.
31797 (_IOLBF): Likewise.
31798 (_IONBF): Likewise.
31799 (SEEK_CUR): Likewise.
31800 (SEEK_END): Likewise.
31801 (SEEK_SET): Likewise.
31802 (TMP_MAX): Likewise.
31803 (EOF): Use macro-int-constant. Require < 0.
31804 (NULL): Use macro-constant. Require == 0.
31805 (stdin): Require type to be FILE *.
31806 (stdout): Likewise.
31807 (stderr): Likewise.
31808 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31809 macro-int-constant.
31810 (EXIT_SUCCESS): Likewise.
31811 (NULL): Use macro-constant. Require == 0.
31812 (RAND_MAX): Use macro-int-constant.
31813 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31814 [C99-based standards] (strtof): Require function.
31815 [C99-based standards] (strtold): Likewise.
31816 [C99-based standards] (strtoll): Likewise.
31817 [C99-based standards] (strtoull): Likewise.
31818 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31819 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31820 [ISO || ISO99 || ISO11] (math.h): Likewise.
31821 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31822 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31823 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31825 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31828 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31829 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31830 * intl/dgettext.c (DCGETTEXT): Likewise.
31831 * intl/gettext.c (DCGETTEXT): Likewise.
31832 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31833 * posix/regex_internal.h (gettext): Likewise.
31834 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31835 Remove declaration.
31836 * include/argz.h (__argz_count_internal)
31837 (__argz_stringify_internal): Remove declaration.
31838 (__argz_count, __argz_stringify): Declare hidden proto.
31839 * intl/dcgettext.c: Remove use of INTDEF.
31840 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31841 * string/argz-stringify.c: Likewise.
31842 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31843 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31844 Declare hidden proto.
31845 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31846 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31847 Declare hidden proto.
31848 * include/stdio.h (__asprintf_internal): Don't declare.
31849 (__asprintf): Don't define as macro. Declare hidden proto.
31850 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31851 (__fsetlocking): Declare hidden proto.
31852 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31853 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31855 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31856 (_IO_setlinebuf): Remove use of INTUSE.
31857 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31858 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31859 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31860 Remove declaration.
31861 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31862 (_IO_do_flush): Remove use of INTUSE.
31863 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31864 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31865 (_IO_adjust_column, _IO_least_wmarker)
31866 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31867 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31868 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31869 (_IO_default_doallocate, _IO_wdefault_doallocate)
31870 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31871 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31872 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31873 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31874 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31875 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31876 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31877 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31878 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31879 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31880 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31881 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31882 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31884 (_IO_flush_all_internal, _IO_adjust_column_internal)
31885 (_IO_default_uflow_internal, _IO_default_finish_internal)
31886 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31887 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31888 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31889 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31890 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31891 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31892 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31893 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31894 (_IO_file_close_internal, _IO_file_close_it_internal)
31895 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31896 (_IO_file_init_internal, _IO_file_attach_internal)
31897 (_IO_file_fopen_internal, _IO_file_read_internal)
31898 (_IO_file_sync_internal, _IO_file_seek_internal)
31899 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31900 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31901 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31902 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31903 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31904 (_IO_list_all_internal, _IO_link_in_internal)
31905 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31906 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31907 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31908 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31909 (_IO_do_write_internal, _IO_padn_internal)
31910 (_IO_getline_info_internal, _IO_getline_internal)
31911 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31912 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31913 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31914 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31915 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31916 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31917 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31918 with libc_hidden_ver, remove use of INTUSE.
31919 * libio/genops.c: Likewise.
31920 * libio/freopen.c: Likewise.
31921 * libio/freopen64.c: Likewise.
31922 * libio/iofclose.c: Likewise.
31923 * libio/iofdopen.c: Likewise.
31924 * libio/iofflush.c: Likewise.
31925 * libio/iofflush_u.c: Likewise.
31926 * libio/iofgets.c: Likewise.
31927 * libio/iofgets_u.c: Likewise.
31928 * libio/iofopen.c: Likewise.
31929 * libio/iofopncook.c: Likewise.
31930 * libio/iofread.c: Likewise.
31931 * libio/iofread_u.c: Likewise.
31932 * libio/ioftell.c: Likewise.
31933 * libio/iofwrite.c: Likewise.
31934 * libio/iogetline.c: Likewise.
31935 * libio/iogets.c: Likewise.
31936 * libio/iogetwline.c: Likewise.
31937 * libio/iopadn.c: Likewise.
31938 * libio/iopopen.c: Likewise.
31939 * libio/ioseekoff.c: Likewise.
31940 * libio/ioseekpos.c: Likewise.
31941 * libio/iosetbuffer.c: Likewise.
31942 * libio/iosetvbuf.c: Likewise.
31943 * libio/ioungetc.c: Likewise.
31944 * libio/ioungetwc.c: Likewise.
31945 * libio/iovdprintf.c: Likewise.
31946 * libio/iovsprintf.c: Likewise.
31947 * libio/iovsscanf.c: Likewise.
31948 * libio/memstream.c: Likewise.
31949 * libio/obprintf.c: Likewise.
31950 * libio/oldfileops.c: Likewise.
31951 * libio/oldiofclose.c: Likewise.
31952 * libio/oldiofdopen.c: Likewise.
31953 * libio/oldiofopen.c: Likewise.
31954 * libio/oldiopopen.c: Likewise.
31955 * libio/oldstdfiles.c: Likewise.
31956 * libio/putc.c: Likewise.
31957 * libio/setbuf.c: Likewise.
31958 * libio/setlinebuf.c: Likewise.
31959 * libio/stdfiles.c: Likewise.
31960 * libio/strops.c: Likewise.
31961 * libio/vasprintf.c: Likewise.
31962 * libio/vscanf.c: Likewise.
31963 * libio/vsnprintf.c: Likewise.
31964 * libio/vswprintf.c: Likewise.
31965 * libio/wfiledoalloc.c: Likewise.
31966 * libio/wfileops.c: Likewise.
31967 * libio/wgenops.c: Likewise.
31968 * libio/wmemstream.c: Likewise.
31969 * libio/wstrops.c: Likewise.
31970 * libio/__fpurge.c: Likewise.
31971 * libio/__fsetlocking.c: Likewise.
31972 * assert/assert.c: Likewise.
31973 * debug/fgets_chk.c: Likewise.
31974 * debug/fgets_u_chk.c: Likewise.
31975 * debug/fread_chk.c: Likewise.
31976 * debug/fread_u_chk.c: Likewise.
31977 * debug/gets_chk.c: Likewise.
31978 * debug/obprintf_chk.c: Likewise.
31979 * debug/vasprintf_chk.c: Likewise.
31980 * debug/vdprintf_chk.c: Likewise.
31981 * debug/vsnprintf_chk.c: Likewise.
31982 * debug/vsprintf_chk.c: Likewise.
31983 * malloc/mtrace.c: Likewise.
31984 * misc/error.c: Likewise.
31985 * misc/syslog.c: Likewise.
31986 * stdio-common/asprintf.c: Likewise.
31987 * stdio-common/fxprintf.c: Likewise.
31988 * stdio-common/getw.c: Likewise.
31989 * stdio-common/isoc99_fscanf.c: Likewise.
31990 * stdio-common/isoc99_scanf.c: Likewise.
31991 * stdio-common/isoc99_vfscanf.c: Likewise.
31992 * stdio-common/isoc99_vscanf.c: Likewise.
31993 * stdio-common/isoc99_vsscanf.c: Likewise.
31994 * stdio-common/printf-prs.c: Likewise.
31995 * stdio-common/printf_fp.c: Likewise.
31996 * stdio-common/printf_fphex.c: Likewise.
31997 * stdio-common/printf_size.c: Likewise.
31998 * stdio-common/putw.c: Likewise.
31999 * stdio-common/scanf.c: Likewise.
32000 * stdio-common/sprintf.c: Likewise.
32001 * stdio-common/tmpfile.c: Likewise.
32002 * stdio-common/vfprintf.c: Likewise.
32003 * stdio-common/vfscanf.c: Likewise.
32004 * stdlib/strfmon_l.c: Likewise.
32005 * sunrpc/openchild.c: Likewise.
32006 * sunrpc/xdr_stdio.c: Likewise.
32007 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32008 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32010 2012-05-24 Roland McGrath <roland@hack.frob.com>
32012 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32014 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32015 in the third column, to generate for the shared library an IFUNC
32016 that uses _dl_vdso_vsym.
32017 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32018 * Makeconfig (object-suffixes-noshared): New variable.
32020 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32021 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32022 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32023 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32026 * include/sys/time.h (__gettimeofday): Remove macro.
32027 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32028 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32030 (__gettimeofday): Add libc_hidden_def.
32031 (gettimeofday): Add libc_hidden_weak.
32032 * sysdeps/mach/gettimeofday.c: Likewise.
32033 * sysdeps/posix/gettimeofday.c: Likewise.
32034 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32035 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32036 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32037 (__gettimeofday_internal): Remove strong_alias.
32038 (__gettimeofday): Add libc_hidden_def.
32039 (gettimeofday): Add libc_hidden_weak.
32040 * sysdeps/unix/syscalls.list (gettimeofday):
32041 Remove __gettimeofday_internal alias.
32043 2012-05-24 Daniel Jacobowitz <drow@false.org>
32044 H.J. Lu <hongjiu.lu@intel.com>
32047 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32048 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32049 (largebin_index_32_big): New.
32050 (largebin_index): Use it for 16-byte alignment.
32051 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32052 correction with front_misalign.
32054 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32082 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32083 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32085 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32089 * math/libm-test.inc (exp_test): Add test from bug 14036.
32090 (pow_test): Add test from bug 10846.
32092 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32094 (special_function): Do not include flags in test name.
32095 (parse_args): Likewise.
32096 * sysdeps/i386/fpu/libm-test-ulps: Update.
32097 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32098 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32099 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32102 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32104 * math/libm-test.inc ("Philosophy"): Update comment about
32106 (UNDERFLOW_EXCEPTION): New macro.
32107 (UNDERFLOW_EXCEPTION_OK): Likewise.
32108 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32109 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32110 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32111 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32112 (INVALID_EXCEPTION_OK): Update value.
32113 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32114 (OVERFLOW_EXCEPTION_OK): Likewise.
32115 (IGNORE_ZERO_INF_SIGN): Likewise.
32116 (test_exceptions): Handle underflow exceptions.
32117 (acos_test): Update for underflow exception expectations.
32118 (cexp_test): Likewise.
32119 (clog_test): Likewise.
32120 (clog10_test): Likewise.
32121 (csqrt_test): Likewise.
32122 (ctan_test): Likewise.
32123 (ctanh_test): Likewise.
32124 (exp_test): Likewise.
32125 (exp10_test): Likewise.
32126 (exp2_test): Likewise.
32127 (expm1_test): Likewise.
32128 (fma_test): Likewise.
32129 (j0_test): Likewise.
32130 (jn_test): Likewise.
32131 (nexttoward_test): Likewise.
32132 (pow_test): Likewise.
32133 (scalbn_test): Likewise.
32134 (scalbln_test): Likewise.
32135 (tan_test): Likewise.
32136 (y1_test): Likewise.
32137 * sysdeps/i386/fpu/libm-test-ulps: Update.
32138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32140 2012-05-23 David S. Miller <davem@davemloft.net>
32142 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32143 (__libc_sigaction): Remove unused local variables.
32145 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32147 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32149 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32151 mktime: avoid signed integer overflow
32152 * time/mktime.c (__mktime_internal): Do not mishandle the case
32153 where diff == INT_MIN.
32155 mktime: simplify computation of average
32156 * time/mktime.c (ranged_convert): Use new time_t_avg function
32157 instead of rolling our own (probably-slower) code.
32159 mktime: do not assume signed right shift propagates sign bit
32160 * time/mktime.c (isdst_differ): New static function.
32161 (__mktime_internal): No need to normalize tm_isdst now.
32162 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32165 mktime: merge another wrapv change from gnulib
32166 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32167 from some compilers.
32169 mktime: remove incorrect attempt at unusual arithmetics
32170 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32171 The code didn't really work on such machines anyway.
32172 (TYPE_MINIMUM): Assume two's complement.
32173 (twos_complement_arithmetic): Verify that long_int and time_t
32174 are two's complement (or unsigned, in the latter case).
32176 mktime: check signed shifts on long_int and time_t, too
32177 * time/mktime.c (SHR): Check that shifts work as desired
32178 on the types long_int and time_t too, as SHR is used on
32181 mktime: do not assume 'long' is wide enough
32182 * time/mktime.c (verify): Move decl up.
32183 (long_int): New type.
32184 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32185 to remove assumption in the code that 'long' is wide enough to
32186 store year values. This assumption is not true on x32 and on
32187 some non-glibc platforms.
32189 mktime: merge wrapv change from gnulib
32190 * time/mktime.c (WRAPV): New macro.
32191 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32192 (guess_time_tm, __mktime_internal): Do not assume that signed
32193 integer overflow wraps around; modern compilers generate code
32194 where this assumption is no longer valid.
32196 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32198 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32199 Replace "jmp L(pseudo_end)" with "ret".
32200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32203 2012-05-23 Andreas Jaeger <aj@suse.de>
32205 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32206 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32208 2012-05-23 Andreas Jaeger <aj@suse.de>
32209 Maximilian Attems <max@stro.at>
32211 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32214 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32216 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32217 code so that pseudo_end is just ret and the stack pointer is
32218 correct also for static library in error case.
32220 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32222 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32223 move to syscalls.list.
32224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32229 * manual/install.texi (Running make install): Do not mention Linux
32230 kernel version for which pt_chown is not needed.
32231 (Linux): Do not mention problems with nscd with 2.0 kernels.
32232 * INSTALL: Regenerated.
32234 2012-05-23 Andreas Jaeger <aj@suse.de>
32236 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32237 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32239 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32240 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32241 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32242 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32243 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32244 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32245 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32246 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32248 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32249 * sysdeps/unix/sysv/linux/bits/in.h
32250 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32252 2012-05-22 Roland McGrath <roland@hack.frob.com>
32254 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32255 (PREPARE_VERSION): Just use assert instead, it will be elided
32256 under [NDEBUG] anyway.
32258 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32260 * sysdeps/unix/sysv/linux/Makefile: Include
32261 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32262 (sysdep_routines): Remove sysctl.
32263 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32264 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32265 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32266 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32267 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32269 2012-05-22 Andreas Jaeger <aj@suse.de>
32271 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32272 that pseudo_end is just ret and the stack pointer is correct also
32273 for static library in error case.
32275 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32278 * nss/nsswitch.c (defconfig_entries): New variable.
32279 (__nss_database_lookup): Don't leak defconfig entries.
32280 (nss_parse_service_list): Don't leak on error paths.
32281 (free_database_entries): New function.
32282 (free_defconfig): New function.
32283 (free_mem): Move common code to free_database_entries.
32285 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32287 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32289 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32291 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32292 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32295 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32296 (INTERNAL_SYSCALL_TYPES): Likewise.
32297 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32298 (LOAD_REGS_TYPES_[1-6]): Likewise.
32299 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32300 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32302 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32304 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32305 copysignl for GLIBC_2_0.
32306 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32307 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32308 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32309 logbl for GLIBC_2_0.
32310 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32311 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32313 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32315 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32316 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32318 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32321 * time/mktime.c: Update copyright years.
32323 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32325 mktime: merge comment-quoting-style change from gnulib
32326 * time/mktime.c: Quote 'like this' in comments.
32327 The GNU coding standards suggest that we no longer quote `like this',
32328 as "`" and "'" are typically rendered asymmetrically nowadays.
32329 The typical gnulib style is to quote 'like this' when quoting
32330 code, and "like this" when quoting English.
32332 * time/mktime.c (compile-command): Add "-I.".
32334 mktime: merge mktime-internal.h change from gnulib
32335 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32337 mktime: merge time_r change from gnulib
32338 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32340 mktime: merge DEBUG change from gnulib
32341 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32342 case system <time.h> has a #define.
32344 mktime: merge <sys/types.h> change from gnulib
32345 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32346 since <time.t> is now guaranteed to define time_t.
32348 mktime: merge HAVE_CONFIG_H change from gnulib
32349 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32351 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32356 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32358 (struct rusage): Use anonymous union to pad each field to
32361 2012-05-21 David S. Miller <davem@davemloft.net>
32363 * Makefules (o-iterator): Remove .s cases.
32364 (compile-command.s): Delete.
32365 (COMPILE.s): Delete.
32366 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32368 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32370 * configure.in (libc_cv_predef_stack_protector): Only consider
32371 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32372 * configure: Regenerated.
32374 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32377 New macro. Use R*LP on int and pointer.
32378 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32379 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32380 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32381 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32383 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32384 [__WORDSIZE_TIME64_COMPAT32] instead of
32385 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32386 (struct utmp): Likewise.
32387 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32388 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32390 (__WORDSIZE_TIME64_COMPAT32): This.
32391 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32392 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32393 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32394 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32395 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32396 (__WORDSIZE_TIME64_COMPAT32): New macro.
32398 2012-05-21 Andreas Jaeger <aj@suse.de>
32400 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32401 only if [SHARED]. Add prototype for __wcschr_ia32.
32403 2012-05-21 Roland McGrath <roland@hack.frob.com>
32405 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32406 of %rbp unmolested in the jmp_buf while mangling the low bits.
32407 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32408 unmolested high bits of %rbp while demangling the low bits.
32409 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32411 2012-05-21 Andreas Jaeger <aj@suse.de>
32413 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32414 * sunrpc/svc_simple.c: Use it for registerrpc.
32415 * sunrpc/xcrypt.c: Use it for passwd2des.
32417 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32419 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32421 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32422 Don't define if [__SYSCALL_WORDSIZE != 32].
32423 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32426 2012-05-21 Bruno Haible <bruno@clisp.org>
32427 Andreas Jaeger <aj@suse.de>
32429 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32430 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32431 inptr and inend for must_buffer_ch.
32432 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32433 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32434 * stdio-common/Makefile (tests): Remove bug15.
32435 (bug15-ENV): Remove macro.
32436 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32439 2012-05-19 Andreas Jaeger <aj@suse.de>
32440 Roland McGrath <roland@hack.frob.com>
32442 * manual/contrib.texi: Completely rewritten. It contains now an
32443 alphabetical list of contributors and their contributions.
32445 2012-05-21 Richard Henderson <rth@twiddle.net>
32447 * misc/getauxval.c (__getauxval): Use unsigned long int.
32448 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32449 (getauxval): Use unsigned long int.
32451 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32453 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32455 2012-05-21 Roland McGrath <roland@hack.frob.com>
32457 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32458 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32459 __alignof__ (long double).
32461 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32465 2012-05-20 Richard Henderson <rth@twiddle.net>
32467 * misc/getauxval.c: New file.
32468 * misc/sys/auxv.h: New file.
32469 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32470 (routines): Add getauxval.
32471 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32472 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32473 * elf/dl-sysdep.c (_dl_auxv): Remove.
32474 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32475 * elf/dl-support.c (_dl_auxv): New variable.
32476 (_dl_aux_init): Initialize it.
32477 * manual/startup.texi (Auxiliary Vector): New node.
32478 * sysdeps/generic/bits/hwcap.h: New file.
32479 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32480 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32481 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32482 * sysdeps/sparc/sysdep.h: ... here. Include it.
32483 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32484 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32490 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32496 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32500 2012-05-19 David S. Miller <davem@davemloft.net>
32502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32504 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32507 * math/s_ccosh.c: Include <float.h>
32508 (__ccosh): Avoid internal overflow calculating sinh and cosh
32509 values before multiplying by sin and cos values.
32510 * math/s_ccoshf.c: Likewise.
32511 * math/s_ccoshl.c: Likewise.
32512 * math/s_csin.c: Likewise.
32513 * math/s_csinf.c: Likewise.
32514 * math/s_csinl.c: Likewise.
32515 * math/s_csinh.c: Likewise.
32516 * math/s_csinhf.c: Likewise.
32517 * math/s_csinhl.c: Likewise.
32518 * math/libm-test.inc (ccos_test): Add more tests.
32519 (ccosh_test): Likewise.
32520 (csin_test): Likewise.
32521 (csinh_test): Likewise.
32522 * sysdeps/i386/fpu/libm-test-ulps: Update.
32523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32525 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32527 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32528 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32530 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32532 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32534 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32535 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32536 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32537 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32538 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32539 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32540 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32541 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32542 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32543 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32544 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32545 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32546 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32547 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32548 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32549 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32550 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32551 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32552 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32553 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32554 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32555 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32556 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32557 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32558 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32559 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32560 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32561 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32562 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32563 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32564 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32566 2012-05-18 Andreas Jaeger <aj@suse.de>
32568 * csu/.gitignore: Delete.
32570 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32572 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32573 (timex): Use __syscall_slong_t.
32575 2012-05-18 Andreas Jaeger <aj@suse.de>
32576 Carlos O'Donell <carlos_odonell@mentor.com>
32578 * manual/install.texi (Configuring and compiling): Update
32579 description about files modified in the source directory.
32580 * INSTALL: Regenerated.
32582 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32584 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32585 value. Use "or" to set return value to -1.
32586 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32587 negate return value.
32589 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32591 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32592 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32593 failure if the compiler has Graphite support disabled.
32594 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32596 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32597 (CFLAGS-memmove.c): Likewise.
32598 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32601 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32603 * sysdeps/x86_64/x32/_itoa.h: New file.
32605 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32606 getdents system call only if kernel and user dirents have the
32607 same d_ino and d_off.
32609 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32610 LLONG_MAX != LONG_MAX.
32611 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32612 (_fitoa_word): Likewise.
32614 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32616 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32617 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32618 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32620 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32621 include <bits/wordsize.h>. Check __x86_64__ instead of
32623 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32624 if __x86_64__ is defined. Use anonymous union on fpstate.
32626 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32629 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32631 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32632 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32633 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32634 Refer to _rtld_local_ro instead of _rtld_global_ro.
32635 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32637 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32639 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32641 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32642 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32643 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32645 * sysdeps/powerpc/powerpc32/dl-machine.c
32646 (__elf_machine_runtime_setup) [PROF]: Don't reference
32649 2012-05-18 Andreas Jaeger <aj@suse.de>
32651 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32652 function only available for GCCs before 3.4 since GCC 3.4
32653 introduced a builtin.
32655 (llrintf): Likewise.
32656 (llrint): Likewise.
32663 (nearbyint): Likewise.
32664 (nearbyintf): Likewise.
32668 (floorf): Likewise.
32670 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32672 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32673 on both fields and cast pointer to __syscall_ulong_t.
32675 * bits/types.h (__fsword_t): New type.
32676 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32677 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32679 (__FSWORD_T_TYPE): Likewise.
32680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32681 (__FSWORD_T_TYPE): Likewise.
32682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32683 (__FSWORD_T_TYPE): Likewise.
32684 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32685 (__FSWORD_T_TYPE): Likewise.
32686 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32687 __SWORD_TYPE with __fsword_t.
32688 (statfs64): Likewise.
32690 2012-05-17 David S. Miller <davem@davemloft.net>
32692 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32694 2012-05-17 Andreas Jaeger <aj@suse.de>
32696 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32699 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32701 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32703 2012-05-17 Andreas Jaeger <aj@suse.de>
32705 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32708 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32710 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32712 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32714 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32715 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32717 2012-05-17 Andreas Jaeger <aj@suse.de>
32718 Carlos O'Donell <carlos_odonell@mentor.com>
32721 * sysdeps/x86_64/multiarch/init-arch.h
32722 (bit_YMM_Usable): Rename to...
32723 (bit_AVX_Usable): ... this.
32724 (bit_FMA4_Usable): New macro.
32725 (bit_XMM_state): New macro.
32726 (bit_YMM_state): New macro.
32727 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32728 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32729 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32730 (CPUID_OSXSAVE): New macro.
32731 (CPUID_AVX): New macro.
32732 (CPUID_FMA4): New macro.
32733 (index_YMM_Usable): Rename to...
32734 (index_AVX_Usable): ... this.
32735 (HAS_AVX): Use HAS_ARCH_FEATURE.
32736 (HAS_FMA4): Likewise.
32737 (HAS_YMM_USABLE): Remove.
32738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32739 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32741 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32742 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32743 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32744 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32745 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32747 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32749 * math/libm-test.c: Support platforms without multiple rounding modes.
32750 * math/bug-nextafter.c: Support platforms without FP exceptions.
32751 * math/bug-nexttoward.c: Likewise.
32752 * math/test-fenv.c: Likewise.
32753 * math/test-misc.c: Likewise.
32754 * stdlib/bug-getcontext.c: Likewise.
32756 2012-05-17 Andreas Jaeger <aj@suse.de>
32758 * manual/examples/search.c (critter_cmp): Change signature to
32760 * manual/string.texi (Collation Functions): Likewise.
32762 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32764 * bits/types.h: Fold copyright years.
32765 * bits/typesizes.h: Likewise.
32766 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32767 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32770 * time/time.h: Likewise.
32772 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32775 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32776 in instead of returning them. Return void.
32777 (__libc_mallinfo): Accumulate over all arenas.
32778 (__malloc_stats): Adjust for change in int_mallinfo interface.
32780 2012-05-16 Roland McGrath <roland@hack.frob.com>
32783 * configure.in (NM): Add AC_CHECK_TOOL for it.
32784 (libc_extra_cflags): New substituted variable.
32785 Check for -fstack-protector being used implicitly.
32786 * configure: Regenerated.
32787 * config.make.in (config-extra-cflags): New variable,
32788 gets @libc_extra_cflags@.
32789 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32792 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32793 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32794 * configure: Regenerated.
32795 * config.make.in (CPPUNDEFS): New substituted variable.
32796 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32797 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32798 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32800 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32802 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32803 (mq_attr): Use __syscall_slong_t.
32805 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32807 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32808 Check __x86_64__ instead of __WORDSIZE.
32809 (_STAT_VER_LINUX): Likewise.
32810 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32811 __syscall_ulong_t and __syscall_slong_t.
32812 (stat64): Likewise.
32814 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32816 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32818 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32820 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32822 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32824 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32827 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32828 include <bits/wordsize.h>. Check __x86_64__ instead of
32830 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32832 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32834 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32835 include <bits/wordsize.h>. Check __x86_64__ instead of
32837 (user_regs_struct): Use "__extension__ unsigned long long"
32838 instead of "unsigned long" if __x86_64__ is defined.
32839 (user): Likewise. Pad after pointer field if __ILP32__ is
32842 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32844 * configure.in (makeinfo): Require version 4.5 or later. Allow
32846 * configure: Regenerated.
32847 * manual/install.texi (texinfo): Increase version requirement to
32849 * INSTALL: Regenerated.
32851 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32853 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32855 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32857 * sysdeps/x86_64/x32/ffs.c: New file.
32859 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32861 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32862 defined. Use __syscall_ulong_t.
32863 (shminfo): Use __syscall_ulong_t.
32864 (shm_info): Likewise.
32866 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32869 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32871 (msgqnum_t): Use __syscall_ulong_t.
32872 (msglen_t): Likewise.
32873 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32876 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32877 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32879 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32881 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32882 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32884 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32887 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32888 include <bits/wordsize.h>. Check __x86_64__ instead of
32891 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32892 "unsigned long long int" if __x86_64__ is defined.
32893 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32895 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32896 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32897 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32899 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32901 (GET_PC): Cast to uintptr_t first.
32902 (GET_FRAME): Likewise.
32903 (GET_STACK): Likewise.
32905 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32906 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32907 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32908 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32909 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32910 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32911 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32912 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32913 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32914 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32915 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32916 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32917 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32918 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32919 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32920 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32921 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32922 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32923 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32924 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32925 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32926 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32927 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32928 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32929 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32931 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32932 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32933 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32935 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32937 * Makerules (+depfiles): Also collect depfiles from .oS in
32939 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32940 .oS, $(libnldbl-routines)).
32942 * Makerules (native-compile-mkdep-flags): Define.
32943 * sunrpc/Makefile (extra-objs): Add $(addprefix
32944 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32945 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32946 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32947 calling $(make-target-directory).
32949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32951 * bits/types.h (__snseconds_t): Removed.
32952 * time/time.h (struct timespec): Replace __snseconds_t with
32954 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32955 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32958 (__SNSECONDS_T_TYPE): Likewise.
32959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32960 (__SNSECONDS_T_TYPE): Likewise.
32961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32962 (__SNSECONDS_T_TYPE): Likewise.
32964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32966 * sysdeps/mach/hurd/bits/typesizes.h
32967 (__SYSCALL_SLONG_TYPE): New macro.
32968 (__SYSCALL_ULONG_TYPE): Likewise.
32970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32972 * bits/types.h (__syscall_slong_t): New type.
32973 (__syscall_ulong_t): Likewise.
32975 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32976 (__SYSCALL_ULONG_TYPE): Likewise.
32977 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32978 (__SYSCALL_SLONG_TYPE): Likewise.
32979 (__SYSCALL_ULONG_TYPE): Likewise.
32980 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32981 (__SYSCALL_SLONG_TYPE): Likewise.
32982 (__SYSCALL_ULONG_TYPE): Likewise.
32983 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32984 (__SYSCALL_SLONG_TYPE): Likewise.
32985 (__SYSCALL_ULONG_TYPE): Likewise.
32987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32989 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32990 Add sigaltstack-offsets.sym.
32991 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32992 <sigaltstack-offsets.h>.
32993 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32994 longjmp_msg pointer.
32995 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32996 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32998 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33000 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33002 * elf/stackguard-macros.h: Remove file.
33003 * sysdeps/generic/stackguard-macros.h: New file.
33004 * sysdeps/i386/stackguard-macros.h: Likewise.
33005 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33006 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33007 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33008 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33009 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33010 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33011 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33012 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33013 <elf/stackguard-macros.h>.
33016 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33017 __aligned__ in attribute.
33018 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33019 (gregset_t): Likewise.
33021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33023 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33024 * sysdeps/x86_64/64/Implies-after: Here. New file.
33025 * sysdeps/x86_64/x32/Implies-after: New file.
33027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33029 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33030 and access return value for _dl_profile_fixup. Use R10_LP to
33033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33035 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33039 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33040 * sysdeps/x86_64/x32/sysdep.h: New file.
33042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33044 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33045 * sysdeps/x86_64/setjmp.S: Likewise.
33047 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33049 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33050 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33051 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33052 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33053 remove unused global constant.
33055 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33057 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33058 include of <not-cancel.h>.
33060 2012-05-15 Roland McGrath <roland@hack.frob.com>
33062 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33064 2012-05-15 Jeff Law <law@redhat.com>
33065 Andreas Jaeger <aj@suse.de>
33068 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33070 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33071 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33072 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33073 code changing __hst_map_handle.map.
33075 2012-05-15 Roland McGrath <roland@hack.frob.com>
33077 * configure.in (sysnames): Look for Implies-before and Implies-after
33079 * configure: Regenerated.
33081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33083 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33084 8-byte data alignment with LP_SIZE alignment.
33086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33088 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33093 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33097 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33098 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33099 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33101 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33105 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33106 (stackinfo_sub_sp): Likewise.
33108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33110 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33115 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33120 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33125 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33129 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33130 into R11_LP and load __x86_64_shared_cache_size_half into
33133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33135 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33138 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33140 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33144 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33146 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33147 powerpc32/power7/fpu/s_logb.c via #include.
33148 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33149 powerpc32/power7/fpu/s_logbf.c via #include.
33150 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33151 powerpc32/power7/fpu/s_logbl.c via #include.
33153 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33155 * README.libm: Remove file.
33157 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33159 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33160 count for x32. Use R*_LP and omit operand-size suffix.
33162 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33164 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33165 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33166 * sysdeps/x86_64/x32/shlib-versions: New file.
33168 2012-05-14 Roland McGrath <roland@hack.frob.com>
33170 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33171 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33172 Use _dl_fatal_printf instead.
33174 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33176 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33177 set if not set by the user. Do not allow for being unset.
33178 * sysdeps/unix/sysv/linux/configure: Regenerated.
33180 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33182 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33183 the `q' suffix from lea and replace .quad with ASM_ADDR.
33185 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33188 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33190 (PTR_DEMANGLE): Likewise.
33192 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33194 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33196 (ASM_ADDR): Likewise.
33197 (RAX_LP): Likewise.
33198 (RBP_LP): Likewise.
33199 (RBX_LP): Likewise.
33200 (RCX_LP): Likewise.
33201 (RDI_LP): Likewise.
33202 (RSI_LP): Likewise.
33203 (RSP_LP): Likewise.
33206 (R10_LP): Likewise.
33207 (R10_LP): Likewise.
33208 (R11_LP): Likewise.
33209 (R12_LP): Likewise.
33210 (R13_LP): Likewise.
33211 (R14_LP): Likewise.
33212 (R15_LP): Likewise.
33214 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33216 * sysdeps/x86_64/x32/dl-machine.h: New file.
33218 2012-05-14 Andreas Jaeger <aj@suse.de>
33220 * manual/Makefile (subdir): Remove export of subdir.
33221 (all): Remove target.
33222 (.PHONY): Remove all from list.
33223 (mkinstalldirs): Remove.
33224 (.PHONY): Remove installdirs from list.
33225 ($(inst_infodir)/libc.info): Use make-target-directory.
33226 (installdirs): Remove.
33227 (subdir_%): Remove.
33228 (glibc-targets): Remove.
33231 ($(objpfx)stubs ../po/manual.pot): Remove.
33232 ($(objpfx)stamp%): Remove.
33233 (make-target-directory): Remove.
33234 (subdir_install): Remove.
33235 (routines): Remove.
33242 * manual/.gitignore: Remove, it's not needed anymore.
33243 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33245 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33247 (texis): Renamed to $(objpfx)texis.
33248 (texis-path): New, contains path to generated files.
33249 (chapters.%): Use texis-path for complete path, add extra argument
33251 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33252 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33253 (summary,texi, stamp-summary): Use complete path of
33254 files. Generate files in build dir.
33255 (dir-add.texi): Build in build dir.
33256 (libm-err.texi,stamp-libm-err): Likewise.
33257 (version.texi, stamp-version): Likewise.
33258 (.%c.texi): Likewise.
33259 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33260 (mostlyclean): Remove target.
33261 (realclean): Remove target.
33262 (generated): Add new variable with contents from mostlyclean and
33263 realclean, remove entries duplicated in common-mostlyclean, add
33264 stamp-libm-err and stamp-version.
33265 (generated-dirs): Add libc directory.
33266 ($(inst_infodir)/libc.info): Install files from build dir.
33268 * manual/install.texi (Configuring and compiling): Adjust since
33269 the info files are not part of the tar ball anymore.
33271 2012-05-14 Andreas Jaeger <aj@suse.de>
33273 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33276 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33279 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33280 to 2.2.0 where earlier.
33281 * sysdeps/unix/sysv/linux/configure: Regenerated.
33282 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33283 Remove conditional code.
33284 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33285 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33286 Remove conditional code.
33287 [!__NR_lchown]: Likewise.
33288 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33289 [__NR_lchown]: Likewise.
33290 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33291 comment referencing __ASSUME_LCHOWN_SYSCALL.
33292 * sysdeps/unix/sysv/linux/i386/sigaction.c
33293 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33294 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33295 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33296 Remove conditional code.
33297 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33298 (__protocol_available): Remove #if 0 code.
33299 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33301 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33302 * sysdeps/unix/sysv/linux/kernel-features.h
33303 (__ASSUME_GETCWD_SYSCALL): Don't define.
33304 (__ASSUME_REALTIME_SIGNALS): Likewise.
33305 (__ASSUME_PREAD_SYSCALL): Likewise.
33306 (__ASSUME_PWRITE_SYSCALL): Likewise.
33307 (__ASSUME_POLL_SYSCALL): Likewise.
33308 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33309 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33311 (__ASSUME_SIOCGIFNAME): Don't define.
33312 (__ASSUME_MSG_NOSIGNAL): Likewise.
33313 (__ASSUME_SENDFILE): Define unconditionally.
33314 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33315 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33317 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33318 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33319 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33320 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33321 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33322 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33323 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33325 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33326 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33328 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33331 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33332 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33334 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33337 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33338 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33340 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33341 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33343 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33344 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33346 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33347 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33348 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33349 Remove conditional code.
33350 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33351 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33352 Remove conditional code.
33353 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33354 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33355 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33356 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33357 Remove conditional code.
33358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33359 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33360 Remove conditional code.
33361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33362 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33363 Remove conditional code.
33364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33365 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33366 Remove conditional code.
33367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33368 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33369 Remove conditional code.
33370 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33371 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33372 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33374 * sysdeps/unix/sysv/linux/sigaction.c
33375 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33376 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33377 * sysdeps/unix/sysv/linux/sigpending.c
33378 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33379 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33380 * sysdeps/unix/sysv/linux/sigprocmask.c
33381 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33382 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33383 * sysdeps/unix/sysv/linux/sigsuspend.c
33384 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33385 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33386 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33387 (__libc_missing_rt_sigs): Remove.
33388 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33389 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33390 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33391 Remove conditional code.
33392 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33393 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33395 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33396 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33397 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33398 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33400 2012-05-14 Andreas Jaeger <aj@suse.de>
33402 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33403 it's not used in glibc.
33404 (__coshm1): Likewise.
33405 (__acosh1p): Likewise.
33408 * manual/string.texi (Copying and Concatenation): Add missing
33409 variable in concat example.
33410 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33415 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33416 __builtin_clzl with __builtin_clzll.
33418 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33421 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33424 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33426 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33427 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33428 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33429 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33431 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33433 * NEWS: Update ia64 info.
33435 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33437 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33440 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33442 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33443 * sysdeps/unix/syscalls.list (dup3): Likewise.
33444 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33445 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33447 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33449 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33450 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33452 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33454 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33456 (TLS_IE): Use mov/add instead of movq/addq to load thread
33458 (TLS_GD_PREFIX): New.
33461 2012-05-11 David S. Miller <davem@davemloft.net>
33463 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33464 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33465 (_FPU_SETCW): Likewise.
33467 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33469 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33470 is 32-byte aligned.
33472 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33475 * iconvdata/gb18030.c: Update tables.
33476 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33477 characters specially.
33478 (BODY for TO_LOOP): Add encoding of missing ranges.
33480 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33483 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33484 * sysdeps/mach/hurd/dup3.c: Likewise.
33485 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33486 * sysdeps/powerpc/memmove.c:: Likewise.
33488 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33491 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33493 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33495 * elf/elf.h (R_X86_64_RELATIVE64): New.
33496 (R_X86_64_NUM): Updated.
33497 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33498 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33499 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33500 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33501 tst-quad1pie tst-quad2pie
33502 (modules-names): Add tst-quadmod1 tst-quadmod2.
33503 ($(objpfx)tst-quad1): New dependency.
33504 ($(objpfx)tst-quad2): Likewise.
33505 ($(objpfx)tst-quad1pie): Likewise.
33506 ($(objpfx)tst-quad2pie): Likewise.
33507 * sysdeps/x86_64/tst-quad1.c: New file.
33508 * sysdeps/x86_64/tst-quad1pie.c: New file.
33509 * sysdeps/x86_64/tst-quad2.c: Likewise.
33510 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33511 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33512 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33513 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33514 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33516 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33518 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33519 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33520 * streams/stropts.h (t_scalar_t): Define type.
33522 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33523 (_PATH_PRESERVE): Set to "/var/lib".
33524 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33526 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33529 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33530 if __dir_mkfile succeeded.
33532 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33533 checking for _hurd_dtablesize. Unlock it right after having
33534 finished _hurd_dtable allocation.
33536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33538 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33539 * sysdeps/mach/hurd/configure: Regenerated.
33540 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33541 special-casing to...
33542 * sysdeps/gnu/configure.in: ... this new file.
33543 * sysdeps/unix/sysv/linux/configure: Regenerated.
33544 * sysdeps/gnu/configure: New generated file.
33546 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33547 for Linux: use nsec instead of usec, as well as:
33548 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33549 members of type struct timespec.
33550 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33552 (struct stat64): Likewise.
33553 (_STATBUF_ST_NSEC): New macro.
33554 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33556 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33557 __strtoul_internal rather than strtoul.
33559 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33561 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33564 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33566 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33567 which preserves existing values.
33568 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33570 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33572 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33573 TIMEOUT values. Return EINVAL for NFDS values either negative or
33574 greater than FD_SETSIZE.
33576 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33578 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33579 allocated, call __vm_protect to finish enabling the existing space, and
33580 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33581 allocate the remainder.
33583 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33585 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33586 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33588 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33590 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33591 sysdeps/mach/hurd/readlink.c.
33593 * posix/tst-sysconf.c (posix_options): Only use
33594 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33595 _POSIX_SYNCHRONIZED_IO when they are defined
33596 * sysdeps/mach/hurd/bits/posix_opt.h:
33597 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33598 (_XOPEN_REALTIME): Undefine macro.
33599 (_XOPEN_REALTIME_THREADS): Undefine macro.
33600 (_XOPEN_SHM): Undefine macro.
33601 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33603 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33605 (_POSIX_ASYNC_IO): Undefine macro.
33606 (_POSIX_PRIORITIZED_IO): Undefine macro.
33607 (_POSIX_SPIN_LOCKS): Define macro to -1.
33609 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33610 SA_NODEFER, SA_RESETHAND.
33611 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33612 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33615 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33617 * elf/Makefile (pldd-modules): Define unconditionally.
33619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33621 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33625 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33626 Return ENOENT when name is empty.
33627 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33629 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33631 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33633 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33635 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33637 Fix mlock in all cases except non-readable pages.
33638 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33639 instead of VM_PROT_ALL as parameter to __vm_wire function.
33641 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33642 (__mkdir): When path is `/', just fail with EEXIST.
33643 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33645 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33647 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33648 <sys/uio.h> (for writev).
33649 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33650 and <sys/param.h> (for MIN).
33652 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33654 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33655 REQUESTED_TIME. Properly set the remaining time and return EINTR
33658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33660 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33661 Depend on against $(link-rpcuserlibs).
33663 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33665 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33666 (__libc_stack_end): Do not use attribute_relro.
33667 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33668 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33669 to libthread-provided value.
33670 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33673 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33676 * bits/libc-lock.h (__libc_once_get): New macro.
33677 * sysdeps/mach/bits/libc-lock.h: Likewise.
33678 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33679 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33680 instead of using implementation details.
33682 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33683 * libio/freopen.c: Likewise.
33684 * libio/freopen64.c: Likewise.
33685 * misc/syslog.c: Likewise.
33686 * nscd/connections.c: Likewise.
33687 * nscd/netgroupcache.c: Likewise.
33688 * sysdeps/posix/getcwd.c: Likewise.
33690 2012-05-10 Roland McGrath <roland@hack.frob.com>
33692 * math/w_ilogbf.c: Add #include <limits.h>.
33694 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33696 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33697 path instead of returning without unlocking.
33699 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33700 immediate-write ioctls.
33701 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33703 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33705 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33706 __builtin_frame_address instead of making assumptions about the
33707 location of the return address relative to DATA. Force early load of
33708 the return address.
33709 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33710 __builtin_frame_address.
33713 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33714 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33715 implement dup3 and do some further code clean-ups.
33716 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33717 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33719 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33721 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33723 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33724 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33725 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33726 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33727 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33730 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33731 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33732 when handler == SIG_ERR, not when handler != SIG_ERR.
33734 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33736 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33737 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33740 accept4 for GNU Hurd.
33741 * include/sys/socket.h (__libc_accept4): New prototype.
33742 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33743 to implement __libc_accept4.
33744 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33746 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33748 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33749 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33750 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33751 signal-defines.sym.
33753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33755 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33757 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33759 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33760 assertion on O_CLOEXEC flag.
33761 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33762 * hurd/intern-fd.c: Likewise.
33763 * hurd/port2fd.c: Likewise.
33765 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33768 * bits/in.h (IPV6_PKTINFO): Define new macro.
33769 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33771 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33776 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33777 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33778 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33779 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33780 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33781 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33782 * math/libm-test.inc (logb_test) : Additional logb tests.
33784 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33785 Andreas Jaeger <aj@suse.de>
33787 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33788 * configure: Regenerated.
33789 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33790 * config.make.in (link-obsolete-rpc): New substituted variable.
33791 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33792 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33793 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33794 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33795 so that libc.a contains the symbols.
33796 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33797 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33798 * sunrpc/auth_none.c: Likewise.
33799 * sunrpc/auth_unix.c: Likewise.
33800 * sunrpc/authdes_prot.c: Likewise.
33801 * sunrpc/authuxprot.c: Likewise.
33802 * sunrpc/clnt_gen.c: Likewise.
33803 * sunrpc/clnt_perr.c: Likewise.
33804 * sunrpc/clnt_raw.c: Likewise.
33805 * sunrpc/clnt_simp.c: Likewise.
33806 * sunrpc/clnt_tcp.c: Likewise.
33807 * sunrpc/clnt_udp.c: Likewise.
33808 * sunrpc/clnt_unix.c: Likewise.
33809 * sunrpc/des_crypt.c: Likewise.
33810 * sunrpc/des_soft.c: Likewise.
33811 * sunrpc/get_myaddr.c: Likewise.
33812 * sunrpc/key_call.c: Likewise.
33813 * sunrpc/key_prot.c: Likewise.
33814 * sunrpc/netname.c: Likewise.
33815 * sunrpc/pm_getmaps.c: Likewise.
33816 * sunrpc/pm_getport.c: Likewise.
33817 * sunrpc/pmap_clnt.c: Likewise.
33818 * sunrpc/pmap_prot.c: Likewise.
33819 * sunrpc/pmap_prot2.c: Likewise.
33820 * sunrpc/pmap_rmt.c: Likewise.
33821 * sunrpc/publickey.c: Likewise.
33822 * sunrpc/rpc_cmsg.c: Likewise.
33823 * sunrpc/rpc_common.c: Likewise.
33824 * sunrpc/rpc_dtable.c: Likewise.
33825 * sunrpc/rpc_prot.c: Likewise.
33826 * sunrpc/rpc_thread.c: Likewise.
33827 * sunrpc/rtime.c: Likewise.
33828 * sunrpc/svc.c: Likewise.
33829 * sunrpc/svc_auth.c: Likewise.
33830 * sunrpc/svc_raw.c: Likewise.
33831 * sunrpc/svc_run.c: Likewise.
33832 * sunrpc/svc_tcp.c: Likewise.
33833 * sunrpc/svc_udp.c: Likewise.
33834 * sunrpc/svc_unix.c: Likewise.
33835 * sunrpc/svcauth_des.c: Likewise.
33836 * sunrpc/xcrypt.c: Likewise.
33837 * sunrpc/xdr.c: Likewise.
33838 * sunrpc/xdr_array.c: Likewise.
33839 * sunrpc/xdr_float.c: Likewise.
33840 * sunrpc/xdr_intXX_t.c: Likewise.
33841 * sunrpc/xdr_mem.c: Likewise.
33842 * sunrpc/xdr_rec.c: Likewise.
33843 * sunrpc/xdr_ref.c: Likewise.
33844 * sunrpc/xdr_sizeof.c: Likewise.
33845 * sunrpc/xdr_stdio.c: Likewise.
33847 2012-05-10 Roland McGrath <roland@hack.frob.com>
33849 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33850 change. Update copyright years.
33852 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33854 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33856 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33857 Joseph Myers <joseph@codesourcery.com>
33858 Paul Pluzhnikov <ppluzhnikov@google.com>
33861 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33863 [cross-compiling] (extra-libs): Likewise.
33864 [cross-compiling] (extra-libs-others): Likewise.
33865 [cross-compiling] (librpcsvc-routines): Likewise.
33866 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33867 [cross-compiling] (omit-deps): Likewise.
33868 (sunrpc-CPPFLAGS): New variable.
33869 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33870 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33871 (cross-rpcgen-objs): New variable.
33872 (extra-objs): Append $(cross-rpcgen-objs).
33873 ($(cross-rpcgen-objs)): New rule.
33874 ($(objpfx)cross-rpcgen): Likewise.
33875 (rpcgen-cmd): Define to use $(built-program-file). Expand
33877 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33878 ($(objpfx)x%.stmp): Likewise.
33879 * sunrpc/proto.h [IS_IN_build] (_): Define.
33880 [IS_IN_build] (_libc_intl_domainname): Likewise.
33882 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33885 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33886 and R_X86_64_TPOFF64.
33888 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33890 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33891 sysdeps/unix/sysv/syscalls.list.
33894 * sysdeps/unix/sysv/syscalls.list: Remove file.
33896 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33899 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33900 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33901 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33902 (__LC_IDENTIFICATION): Make these macros useful in #if
33903 expressions, as required by C99.
33905 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33907 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33908 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33911 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33913 * stdlib/longlong.h: Updated from GCC.
33915 2012-05-09 Andreas Jaeger <aj@suse.de>
33917 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33918 default is first entry.
33919 (run_mode): Set type.
33920 (main): Remove informal message about syslog.
33921 (options): Fix typo.
33924 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33927 (llrintf): Likewise.
33928 (llrint): Likewise.
33931 (nearbyint): Likewise.
33932 (nearbyintf): Likewise.
33934 2012-05-09 Andreas Jaeger <aj@suse.de>
33935 Pedro Alves <palves@redhat.com>
33937 * nscd/nscd.c (run_mode): Use enum.
33938 (main): Cleanup coding style issue.
33940 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33941 Andreas Jaeger <aj@suse.de>
33943 * nscd/nscd.c (go_background): Replaced with...
33944 (run_mode): ... this.
33945 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33946 (options): Add -F --foreground.
33947 (main): Implement it.
33948 (parse_opt): Parse it.
33950 2012-05-09 Andreas Jaeger <aj@suse.de>
33953 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33954 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33955 -Wconversion warning.
33956 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33959 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33961 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33963 (LC_ALL): Use macro-int-constant.
33964 (LC_COLLATE): Likewise.
33965 (LC_CTYPE): Likewise.
33966 (LC_MESSAGES): Likewise.
33967 (LC_MONETARY): Likewise.
33968 (LC_NUMERIC): Likewise.
33969 (LC_TIME): Likewise.
33970 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33971 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33973 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33975 [C99-based standards] (float_t): Expect type.
33976 [C99-based standards] (double_t): Expect type.
33977 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33979 [C99-based standards] (HUGE_VALL): Likewise.
33980 [C99-based standards] (INFINITY): Likewise.
33981 [C99-based standards] (NAN): Likewise.
33982 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33983 [C99-based standards] (FP_NAN): Likewise.
33984 [C99-based standards] (FP_NORMAL): Likewise.
33985 [C99-based standards] (FP_SUBNORMAL): Likewise.
33986 [C99-based standards] (FP_ZERO): Likewise.
33987 [C99-based standards] (FP_FAST_FMA): Use
33988 optional-macro-int-constant. Specify type. Require == 1.
33989 [C99-based standards] (FP_FAST_FMAF): Likewise.
33990 [C99-based standards] (FP_FAST_FMAL): Likewise.
33991 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33992 [C99-based standards] (FP_ILOGBNAN): Likewise.
33993 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33995 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33996 [C99-based standards] (math_errhandling): Specify type.
33997 [ISO99 || ISO11] (signgam): Do not allow.
33998 [non-C99-based standards] (copysignf): Do not allow.
33999 [non-C99-based standards] (exp2f): Likewise.
34000 [non-C99-based standards] (log2f): Likewise.
34001 [non-C99-based standards] (modff): Allow.
34002 [non-C99-based standards] (erff): Do not allow.
34003 [non-C99-based standards] (erfcf): Likewise.
34004 [non-C99-based standards] (gammaf): Likewise.
34005 [non-C99-based standards] (hypotf): Likewise.
34006 [non-C99-based standards] (j0f): Likewise.
34007 [non-C99-based standards] (j1f): Likewise.
34008 [non-C99-based standards] (jnf): Likewise.
34009 [non-C99-based standards] (lgammaf): Likewise.
34010 [non-C99-based standards] (tgammaf): Likewise.
34011 [non-C99-based standards] (y0f): Likewise.
34012 [non-C99-based standards] (y1f): Likewise.
34013 [non-C99-based standards] (ynf): Likewise.
34014 [non-C99-based standards] (isnanf): Likewise.
34015 [non-C99-based standards] (acoshf): Likewise.
34016 [non-C99-based standards] (asinhf): Likewise.
34017 [non-C99-based standards] (atanhf): Likewise.
34018 [non-C99-based standards] (cbrtf): Likewise.
34019 [non-C99-based standards] (expm1f): Likewise.
34020 [non-C99-based standards] (ilogbf): Likewise.
34021 [non-C99-based standards] (log1pf): Likewise.
34022 [non-C99-based standards] (logbf): Likewise.
34023 [non-C99-based standards] (nextafterf): Likewise.
34024 [non-C99-based standards] (remainderf): Likewise.
34025 [non-C99-based standards] (rintf): Likewise.
34026 [non-C99-based standards] (scalbf): Likewise.
34027 [non-C99-based standards] (copysignl): Likewise.
34028 [non-C99-based standards] (exp2l): Likewise.
34029 [non-C99-based standards] (log2l): Likewise.
34030 [non-C99-based standards] (modfl): Allow.
34031 [non-C99-based standards] (erfl): Do not allow.
34032 [non-C99-based standards] (erfcl): Likewise.
34033 [non-C99-based standards] (gammal): Likewise.
34034 [non-C99-based standards] (hypotl): Likewise.
34035 [non-C99-based standards] (j0l): Likewise.
34036 [non-C99-based standards] (j1l): Likewise.
34037 [non-C99-based standards] (jnl): Likewise.
34038 [non-C99-based standards] (lgammal): Likewise.
34039 [non-C99-based standards] (tgammal): Likewise.
34040 [non-C99-based standards] (y0l): Likewise.
34041 [non-C99-based standards] (y1l): Likewise.
34042 [non-C99-based standards] (ynl): Likewise.
34043 [non-C99-based standards] (isnanl): Likewise.
34044 [non-C99-based standards] (acoshl): Likewise.
34045 [non-C99-based standards] (asinhl): Likewise.
34046 [non-C99-based standards] (atanhl): Likewise.
34047 [non-C99-based standards] (cbrtl): Likewise.
34048 [non-C99-based standards] (expm1l): Likewise.
34049 [non-C99-based standards] (ilogbl): Likewise.
34050 [non-C99-based standards] (log1pl): Likewise.
34051 [non-C99-based standards] (logbl): Likewise.
34052 [non-C99-based standards] (nextafterl): Likewise.
34053 [non-C99-based standards] (remainderl): Likewise.
34054 [non-C99-based standards] (rintl): Likewise.
34055 [non-C99-based standards] (scalbl): Likewise.
34056 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34057 [non-C99-based standards] (FP_*): Do not allow.
34058 [C99-based standards] (FP_*): Change to
34059 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34060 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34062 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34063 (SIG_ERR): Likewise.
34064 [X/Open-based standards] (SIG_HOLD): Likewise.
34065 (SIG_IGN): Likewise.
34066 (SIGABRT): Use macro-int-constant. Specify type. Require
34068 (SIGFPE): Likewise.
34069 (SIGILL): Likewise.
34070 (SIGINT): Likewise.
34071 (SIGSEGV): Likewise.
34072 (SIGTER): Likewise.
34073 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34074 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34075 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34076 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34077 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34078 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34079 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34080 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34081 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34082 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34083 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34084 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34085 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34086 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34087 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34088 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34089 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34090 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34091 [X/Open-based standards] (SIGTRAP): Likewise.
34092 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34093 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34094 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34095 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34096 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34099 2012-05-08 Ian Wienand <ianw@vmware.com>
34102 * time/tzset.c (__tzset_parse_tz): Update default rules for
34103 daylight time changes in the Energy Policy Act of 2005.
34105 2012-05-09 Andreas Jaeger <aj@suse.de>
34108 * elf/ldconfig.c (parse_conf): Change string to make clear that
34109 ldconfig only issued a warning if ld.so.conf does not exist.
34111 2012-05-08 David S. Miller <davem@davemloft.net>
34113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34114 movxtod instead of popping the value on the stack.
34116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34118 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34120 * config.h.in: Add HAVE_ARM_PCS_VFP.
34122 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34125 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34126 checking but the checks are disabled for any reason.
34128 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34130 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34131 and ELF64_R_TYPE with ELFW(R_TYPE).
34133 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34135 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34136 (ulimit): Likewise.
34138 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34139 (settimeofday): Likewise.
34141 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34143 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34144 a struct th_u2 inside the union, and move tu_block/tu_code into
34145 a new th_u3 union of tu_block/tu_code inside of that. Move
34146 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34147 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34148 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34149 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34150 (th_stuff): Change to th_u1.tu_stuff.
34152 (th_msg): Change to th_u1.th_u2.tu_data.
34154 2012-05-07 David S. Miller <davem@davemloft.net>
34156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34159 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34160 (SETUP_PIC_REG): Use it.
34161 (SETUP_PIC_REG_LEAF): Use it.
34163 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34167 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34169 (EXPL_FINITE): Likewise.
34170 (FLDLOG): Likewise.
34171 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34172 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34174 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34176 (EXPL_FINITE): Likewise.
34177 (FLDLOG): Likewise.
34178 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34179 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34181 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34182 test of -max_value argument for long double.
34183 * sysdeps/i386/fpu/libm-test-ulps: Update.
34184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34186 2012-05-06 David S. Miller <davem@davemloft.net>
34188 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34189 quad soft-float symbols whose references which are compiler
34191 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34193 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34197 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34199 (EXPL_FINITE): Likewise.
34200 (FLDLOG): Likewise.
34203 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34204 Adjust comments for base varying.
34205 (__expl_finite): Change alias to EXPL_FINITE.
34206 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34208 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34209 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34210 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34211 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34212 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34214 (EXPL_FINITE): Likewise.
34215 (FLDLOG): Likewise.
34218 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34219 Adjust comments for base varying.
34220 (__expl_finite): Change alias to EXPL_FINITE.
34221 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34226 * math/libm-test.inc (check_float_internal): Correct ulp
34227 calculation for subnormal expected results.
34229 2012-05-06 Andreas Jaeger <aj@suse.de>
34231 * Makeconfig (+math-flags): New, set to -frounding-math.
34232 (+cflags): Add +math-flags so that all of glibc gets compiled with
34235 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34237 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34239 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34245 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34246 (__ieee754_expl): Allow for and saturate large arguments.
34247 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34248 (u_threshold): Likewise.
34249 (__exp): Call __ieee754_exp before checking for overflow and
34251 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34252 (u_threshold): Likewise.
34253 (__expf): Call __ieee754_expf before checking for overflow and
34255 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34256 (u_threshold): Likewise.
34257 (__expl): Call __ieee754_expl before checking for overflow and
34259 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34260 (__ieee754_expl): Allow for and saturate large arguments.
34261 * math/libm-test.inc (exp_test): Add another test. Do not allow
34262 missing overflow exception on overflow.
34263 (expm1_test): Do not allow missing overflow exception on overflow.
34265 * sysdeps/i386/fpu/e_expl.c: Move to ...
34266 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34267 rather than using inline asm.
34268 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34269 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34270 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34272 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34275 (signal): Likewise.
34279 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34281 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34282 sysdeps/unix/common/syscalls.list.
34283 (fchmod): Likewise.
34284 (fchown): Likewise.
34285 (ftruncate): Likewise.
34286 (getrusage): Likewise.
34287 (gettimeofday): Likewise.
34288 (setpgid): Likewise.
34289 (setregid): Likewise.
34290 (setreuid): Likewise.
34291 (sigaction): Likewise.
34292 (truncate): Likewise.
34293 (vhangup): Likewise.
34294 * sysdeps/unix/common/syscalls.list: Remove file.
34295 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34296 * sysdeps/unix/sysv/linux/Implies: Likewise.
34298 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34300 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34302 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34306 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34309 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34312 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34315 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34318 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34321 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34324 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34328 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34332 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34335 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34339 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34343 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34345 * sysdeps/unix/common/bits/dirent.h: Remove file.
34346 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34348 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34349 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34350 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34351 * sysdeps/unix/bsd/isatty.c: Likewise.
34352 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34353 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34354 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34356 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34359 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34360 long double comparison inaccuracies.
34361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34364 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34366 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34369 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34372 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34373 nonzero digits before rounding a hex value.
34374 * stdlib/tst-strtod.c (tests): Add another test.
34376 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34378 * sysdeps/s390/fpu/libm-test-ulps: Update.
34380 2012-05-03 Andreas Jaeger <aj@suse.de>
34382 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34383 does not get optimized out.
34384 (malloc_opt_barrier): New.
34386 2012-05-03 Andreas Jaeger <aj@suse.de>
34387 Roland McGrath <roland@hack.frob.com>
34389 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34390 intermediate file deletion.
34391 (generated): Add .symlist files.
34393 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34396 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34397 Redirect under this condition.
34398 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34399 [__USE_GNU] (__dprintf_chk): Not under this condition.
34400 [__USE_GNU] (__vdprintf_chk): Likewise.
34401 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34402 under this condition.
34403 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34404 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34405 [__USE_XOPEN2K8] (vdprintf): Likewise.
34406 [__USE_GNU] (__dprintf_chk): Not under this condition.
34407 [__USE_GNU] (__vdprintf_chk): Likewise.
34408 [__USE_GNU] (dprintf): Likewise.
34409 [__USE_GNU] (vdprintf): Likewise.
34411 2012-05-03 Roland McGrath <roland@hack.frob.com>
34413 * elf/Makefile (common-generated): Set this instead of generated for
34414 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34415 $(all-built-dso)-derived lists.
34417 2012-05-03 Andreas Jaeger <aj@suse.de>
34419 * sysdeps/i386/fpu/libm-test-ulps: Update.
34422 * FAQ.in: Likewise.
34423 * scripts/gen-FAQ.pl: Likewise.
34424 * manual/install.texi (Installation): Point to online location of
34426 * Makefile (files-for-dist): Remove FAQ.
34429 2012-05-02 Allan McRae <allan@archlinux.org>
34431 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34432 (LDFLAGS-reldepmod5.so): Likewise.
34433 (LDFLAGS-reldep6mod1.so): Likewise.
34434 (LDFLAGS-reldep6mod4.so): Likewise.
34435 (LDFLAGS-reldep8mod3.so): Likewise.
34436 (LDFLAGS-unload4mod1.so): Likewise.
34437 (LDFLAGS-unload4mod2.so): Likewise.
34438 (LDFLAGS-tst-initorder): Likewise.
34439 (LDFLAGS-tst-initordera2.so): Likewise.
34440 (LDFLAGS-tst-initordera3.so): Likewise.
34441 (LDFLAGS-tst-initordera4.so): Likewise.
34442 (LDFLAGS-tst-initorderb2.so): Likewise.
34443 (LDFLAGS-noload): Likewise.
34444 (LDFLAGS-next): Likewise.
34445 (LDFLAGS-order2mod1.so): Likewise.
34446 (LDFLAGS-order2mod2.so): Likewise.
34447 (LDFLAGS-tst-initorder2): Likewise.
34448 (LDFLAGS-tst-initorder2a.so): Likewise.
34449 (LDFLAGS-tst-initorder2b.so): Likewise.
34450 (LDFLAGS-tst-initorder2c.so): Likewise.
34451 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34453 2012-05-02 David S. Miller <davem@davemloft.net>
34455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34457 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34460 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34462 2012-05-02 Andreas Jaeger <aj@suse.de>
34464 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34465 since we manipulate rounding mode.
34466 (CPPFLAGS-test-idouble.c): Likewise.
34467 (CPPFLAGS-test-ifloat.c): Likewise.
34468 (CFLAGS-test-ldouble.c): Likewise.
34469 (CFLAGS-test-double.c): Likewise.
34470 (CFLAGS-test-float.c): Likewise.
34471 (CFLAGS-test-misc.c): Likewise.
34472 (CFLAGS-test-test-fenv.c): Likewise.
34474 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34478 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34479 comparisons to determine direction to adjust input.
34481 2012-05-01 Roland McGrath <roland@hack.frob.com>
34483 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34484 output to the target.
34486 * scripts/localplt.awk: New file.
34487 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34488 (check-localplt-CFLAGS): Variable removed.
34489 ($(all-built-dso:=.jmprel)): New static pattern rule.
34490 (generated): Add those targets.
34491 (localplt-built-dso): New variable.
34492 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34494 * elf/check-localplt.c: File removed.
34496 * scripts/check-execstack.awk: New file.
34497 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34498 (check-execstack-CFLAGS): Variable removed.
34499 ($(objpfx)check-execstack.h): Target removed.
34500 ($(objpfx)execstack-default): New target.
34501 (generated): Add that instead of check-execstack.h.
34502 ($(all-built-dso:=.phdr)): New static pattern rule.
34503 (generated): Add those targets.
34504 * elf/check-execstack.c: File removed.
34506 * scripts/check-textrel.awk: New file.
34507 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34508 (check-textrel-CFLAGS): Variable removed.
34509 (all-built-dso): Use := to define.o
34510 ($(all-built-dso:=.dyn)): New static pattern rule.
34511 (generated): Add those targets.
34512 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34513 * config.make.in (READELF): New substituted variable.
34514 * elf/check-textrel.c: File removed.
34516 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34518 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34520 * conform/data/ctype.h-data [C99-based standards] (isblank):
34522 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34523 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34525 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34526 Specify type. Require positive value.
34527 (EILSEQ): Likewise.
34528 (ERANGE): Likewise.
34529 [ISO || POSIX] (EILSEQ): Do not expect.
34530 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34531 Specify type. Require positive value.
34532 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34533 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34534 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34535 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34536 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34537 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34538 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34539 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34540 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34541 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34542 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34543 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34544 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34545 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34546 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34547 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34548 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34549 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34550 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34551 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34552 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34553 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34554 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34555 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34556 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34557 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34558 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34559 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34560 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34561 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34562 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34563 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34564 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34565 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34566 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34567 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34568 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34569 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34570 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34571 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34572 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34573 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34574 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34575 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34576 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34577 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34578 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34579 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34580 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34581 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34582 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34583 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34584 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34585 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34586 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34587 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34588 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34589 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34590 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34591 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34592 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34593 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34594 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34595 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34596 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34597 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34598 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34599 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34600 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34601 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34602 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34603 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34604 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34605 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34606 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34607 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34608 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34610 (FLT_ROUNDS): Expect as macro, not constant.
34611 (FLT_MANT_DIG): Use macro-int-constant.
34612 (DBL_MANT_DIG): Likewise.
34613 (LDBL_MANT_DIG): Likewise.
34614 (FLT_DIG): Likewise.
34615 (DBL_DIG): Likewise.
34616 (LDBL_DIG): Likewise.
34617 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34618 (DBL_MIN_EXP): Likewise.
34619 (LDBL_MIN_EXP): Likewise.
34620 (FLT_MAX_EXP): Use macro-int-constant.
34621 (DBL_MAX_EXP): Likewise.
34622 (LDBL_MAX_EXP): Likewise.
34623 (FLT_MAX_10_EXP): Likewise.
34624 (DBL_MAX_10_EXP): Likewise.
34625 (LDBL_MAX_10_EXP): Likewise.
34626 (FLT_MAX): Use macro-constant.
34627 (DBL_MAX): Likewise.
34628 (LDBL_MAX): Likewise.
34629 (FLT_EPSILON): Use macro-constant. Give upper bound.
34630 (DBL_EPSILON): Likewise.
34631 (LDBL_EPSILON): Likewise.
34632 (FLT_MIN): Likewise.
34633 (DBL_MIN): Likewise.
34634 (LDBL_MIN): Likewise.
34635 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34636 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34637 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34638 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34639 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34640 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34641 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34642 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34643 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34644 [ISO11] (FLT_TRUE_MIN): Likewise.
34645 [ISO11] (LDBL_TRUE_MIN): Likewise.
34646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34647 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34648 (SCHAR_MIN): Use macro-int-constant. Specify type.
34649 (SCHAR_MAX): Likewise.
34650 (UCHAR_MAX): Likewise.
34651 (CHAR_MIN): Likewise.
34652 (CHAR_MAX): Likewise.
34653 (MB_LEN_MAX): Use macro-int-constant.
34654 (SHRT_MIN): Use macro-int-constant. Specify type.
34655 (SHRT_MAX): Likewise.
34656 (USHRT_MAX): Likewise.
34657 (INT_MAX): Likewise.
34658 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34660 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34662 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34664 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34665 bound negative. Suffix upper bound with "L".
34666 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34668 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34670 [C99-based standards] (LLONG_MAX): Likewise.
34671 [C99-based standards] (ULLONG_MAX): Likewise.
34672 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34674 [ISO11] (max_align_t): Require type.
34675 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34677 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34678 from $CFLAGS, without defining away __attribute__ calls.
34679 (checknamespace): Use $CFLAGS_namespace.
34681 * conform/conformtest.pl (@keywords): Only include C99 keywords
34682 for standards based on C99 or C11.
34684 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34686 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34689 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34690 usability of symbols in #if.
34692 * conform/conformtest.pl: If macro or constant types start
34693 "promoted:", expect the symbol to be of the following type
34694 promoted by the integer promotions.
34696 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34697 in one place. Also handle "macro-constant".
34699 * conform/conformtest.pl: Only accept expected macro values with
34700 "==". Parse all "macro" lines in one place.
34701 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34703 * conform/conformtest.pl: Handle braced types on "constant" lines
34704 instead of handling "typed-constant".
34705 * conform/data/signal.h-data: Use "constant" instead of
34708 * conform/conformtest.pl: Handle "optional-" at start of lines in
34709 one place rather than duplicating several cases. Handle each
34710 format of "macro" line with initial "optional-".
34712 * conform/conformtest.pl: Only accept expected constant or
34713 optional-constant values with "==". Parse all "constant" lines in
34714 one place. Parse all "optional-constant" lines in one place.
34715 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34716 * conform/data/fmtmsg.h-data: Likewise.
34717 * conform/data/netinet/in.h-data: Likewise.
34718 * conform/data/tar.h-data: Likewise.
34719 * conform/data/limits.h-data: Use "==" form on "constant" and
34720 "optional-constant" lines.
34722 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34723 Use -std=c99 for XOPEN2K.
34724 (@knownproblems): Remove.
34725 (newtoken): Don't check %isknown.
34727 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34728 Do not expect macro.
34729 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34730 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34731 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34732 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34733 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34734 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34735 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34736 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34737 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34738 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34739 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34740 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34741 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34742 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34743 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34744 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34745 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34746 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34747 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34748 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34749 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34750 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34751 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34752 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34753 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34754 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34755 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34756 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34757 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34758 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34759 [XPG3] (acosh): Likewise.
34760 [XPG3] (asinh): Likewise.
34761 [XPG3] (atanh): Likewise.
34762 [XPG3] (cbrt): Likewise.
34763 [XPG3] (expm1): Likewise.
34764 [XPG3] (ilogb): Likewise.
34765 [XPG3] (log1p): Likewise.
34766 [XPG3] (logb): Likewise.
34767 [XPG3] (nextafter): Likewise.
34768 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34769 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34770 [XPG3] (remainder): Likewise.
34771 [XPG3] (rint): Likewise.
34772 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34773 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34774 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34775 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34776 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34777 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34778 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34779 [UNIX98 || XOPEN2K] (scalb): Expect.
34780 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34781 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34782 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34783 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34784 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34785 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34786 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34787 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34788 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34789 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34790 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34791 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34792 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34793 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34794 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34795 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34796 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34797 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34798 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34799 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34800 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34801 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34802 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34803 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34804 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34805 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34806 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34807 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34808 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34809 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34810 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34811 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34812 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34813 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34814 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34815 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34816 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34817 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34818 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34819 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34820 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34821 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34822 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34823 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34824 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34825 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34826 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34827 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34828 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34829 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34830 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34831 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34832 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34833 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34834 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34835 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34836 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34837 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34838 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34839 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34840 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34841 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34842 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34843 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34844 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34845 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34846 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34847 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34848 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34849 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34850 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34851 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34852 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34853 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34854 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34855 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34856 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34857 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34858 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34859 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34860 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34861 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34862 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34863 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34864 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34865 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34866 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34867 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34868 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34869 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34870 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34871 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34872 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34873 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34874 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34875 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34876 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34877 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34878 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34879 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34880 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34881 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34882 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34883 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34884 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34885 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34886 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34887 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34888 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34889 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34890 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34891 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34892 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34893 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34894 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34895 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34896 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34897 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34898 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34899 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34900 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34901 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34902 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34903 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34904 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34905 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34906 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34907 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34908 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34909 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34910 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34911 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34912 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34913 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34914 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34915 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34916 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34918 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34919 _XOPEN_SOURCE_EXTENDED for XPG4.
34921 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34923 * Makeconfig (localtime): Remove variable.
34924 (inst_localtime-file): Likewise.
34926 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34947 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34951 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34952 comparisons to determine direction to adjust input.
34953 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34954 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34955 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34957 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34959 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34961 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34962 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34964 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34966 * math/libm-test.inc (nexttoward_test): Add more tests.
34968 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34971 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34972 in version GLIBC_2.1, not GLIBC_2.0.
34973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34976 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34979 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34981 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34982 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34983 * math/libm-test.inc (acos_test): Add more tests.
34984 (asin_test): Likewise.
34985 * sysdeps/i386/fpu/libm-test-ulps: Update.
34986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34989 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34991 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34992 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34993 * math/libm-test.inc (acos_test_tonearest): New function.
34994 (acos_test_towardzero): Likewise.
34995 (acos_test_downward): Likewise.
34996 (acos_test_upward): Likewise.
34997 (asin_test_tonearest): Likewise.
34998 (asin_test_towardzero): Likewise.
34999 (asin_test_downward): Likewise.
35000 (asin_test_upward): Likewise.
35001 (main): Call the new functions.
35002 * sysdeps/i386/fpu/libm-test-ulps: Update.
35003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35007 * math/e_exp10.c: Include <float.h>.
35008 (__ieee754_exp10): Handle underflow here rather than multiplying
35009 large negative argument by M_LN10.
35010 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35012 * math/e_exp10l.c: Include <float.h>.
35013 (__ieee754_exp10l): Handle underflow here rather than multiplying
35014 large negative argument by M_LN10l.
35015 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35016 spurious overflow exception on underflow.
35018 2012-04-29 Marek Polacek <polacek@redhat.com>
35020 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35021 (__fortify_function): New macro.
35022 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35023 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35024 __extern_always_inline.
35025 * libio/bits/stdio2.h: Likewise.
35026 * libio/bits/stdio.h: Likewise.
35027 * string/string.h: Likewise.
35028 * string/bits/string3.h: Likewise.
35029 * include/stdio.h: Likewise.
35030 * stdlib/bits/stdlib.h: Likewise.
35031 * stdlib/stdlib.h: Likewise.
35032 * rt/bits/mqueue2.h: Likewise.
35033 * rt/mqueue.h: Likewise.
35034 * posix/bits/unistd.h: Likewise.
35035 * posix/unistd.h: Likewise.
35036 * io/bits/poll2.h: Likewise.
35037 * io/bits/fcntl2.h: Likewise.
35038 * io/fcntl.h: Likewise.
35039 * io/sys/poll.h: Likewise.
35040 * misc/bits/syslog.h: Likewise.
35041 * misc/bits/syslog-ldbl.h: Likewise.
35042 * misc/sys/syslog.h: Likewise.
35043 * socket/bits/socket2.h: Likewise.
35044 * socket/sys/socket.h: Likewise.
35045 * debug/tst-chk1.c: Likewise.
35046 * wcsmbs/bits/wchar2.h: Likewise.
35047 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35048 * wcsmbs/wchar.h: Likewise.
35050 2012-04-29 Andreas Jaeger <aj@suse.de>
35052 * Makerules (tests): Remove enable-check-abi protection.
35053 (check-abi-warn): Remove.
35054 (check-abi-%): Remove check-abi-warn usage.
35056 * configure.in: Remove check-abi configure option.
35057 * configure: Regenerated.
35058 * config.make.in (enable-check-abi): Remove.
35060 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35063 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35064 double functions to double *_finite functions.
35067 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35068 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35070 * stdio-common/Makefile (tests): Add tst-sprintf3.
35071 * stdio-common/tst-sprintf3.c: New file.
35073 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35074 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35076 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35078 * conform/conformtest.pl: Remove duplicate typed-constant
35081 2012-04-28 David S. Miller <davem@davemloft.net>
35083 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35084 (check-abi-%): Remove AWK script prerequisite and explicit
35086 (check-abi): Rewrite to just diff the symlist with the abilist.
35087 (config-tls, config-abi-config): Delete, no longer used.
35088 (update-abi-%): Remove AWK script and explicit abilist directory.
35089 (update-abi): Rewrite to simply compare and conditionally copy the
35090 symlist and the sysdep abilist file. Remove update-abi-config
35092 * abilist/ld.abilist: Remove.
35093 * abilist/libBrokenLocale.abilist: Remove.
35094 * abilist/libanl.abilist: Remove.
35095 * abilist/libcrypt.abilist: Remove.
35096 * abilist/libdl.abilist: Remove.
35097 * abilist/librt.abilist: Remove.
35098 * abilist/libthread_db.abilist: Remove.
35099 * abilist/libutil.abilist: Remove.
35100 * scripts/extract-abilist.awk: Remove.
35101 * scripts/merge-abilist.awk: Remove.
35102 * sysdeps/generic/libcidn.abilist: New file.
35103 * sysdeps/generic/libnss_compat.abilist: New file.
35104 * sysdeps/generic/libnss_db.abilist: New file.
35105 * sysdeps/generic/libnss_dns.abilist: New file.
35106 * sysdeps/generic/libnss_files.abilist: New file.
35107 * sysdeps/generic/libnss_hesiod.abilist: New file.
35108 * sysdeps/generic/libnss_nis.abilist: New file.
35109 * sysdeps/generic/libnss_nisplus.abilist: New file.
35110 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35111 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35112 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35114 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35115 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35116 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35117 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35118 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35119 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35120 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35121 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35122 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35124 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35125 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35126 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35127 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35129 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35130 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35131 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35132 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35133 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35134 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35136 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35137 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35138 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35140 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35243 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35244 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35245 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35247 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35248 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35249 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35250 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35251 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35252 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35253 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35254 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35255 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35256 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35308 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35310 * conform/conformtest.pl: Fix typo in handling typed-constant from
35313 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35315 * README: Cut down references to pre-2.6 Linux kernels and
35316 Linuxthreads. Update lists of configurations in libc and ports
35317 and sort alphabetically. Say "or newer" with Linux kernel version
35320 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35322 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35325 * math/libm-test.inc (logb_test_downward): New test to expose
35326 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35329 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35332 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35334 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35335 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35337 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35339 * sysdeps/unix/i386/brk.S: Remove file.
35340 * sysdeps/unix/i386/dl-brk.S: Likewise.
35341 * sysdeps/unix/i386/pipe.S: Likewise.
35342 * sysdeps/unix/i386/sigreturn.S: Likewise.
35343 * sysdeps/unix/i386/syscall.S: Likewise.
35344 * sysdeps/unix/i386/vfork.S: Likewise.
35345 * sysdeps/unix/i386/wait.S: Likewise.
35347 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35348 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35350 * configure.in (arm*-none*): Do not allow without
35351 --enable-hacker-mode.
35352 (netbsd*): Remove case setting base_os.
35353 (386bsd*): Likewise.
35354 (freebsd*): Likewise.
35357 (sunos*): Likewise.
35358 (ultrix*): Likewise.
35359 (newsos*): Likewise.
35360 (dynix*): Likewise.
35366 (minix*): Likewise.
35367 (irix4*): Likewise.
35368 (irix6*): Likewise.
35369 (solaris[2-9]*): Likewise.
35371 * configure: Regenerated.
35373 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35376 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35377 overflow or cancellation in calculating denominator.
35378 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35379 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35380 down expression to avoid unexpected rounding in newer GCCs.
35381 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35383 2012-04-26 David S. Miller <davem@davemloft.net>
35385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35386 long-double compat symbols.
35387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35401 2012-04-25 David S. Miller <davem@davemloft.net>
35403 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35404 HWCAP_* values only after the memory barriers have been defined.
35405 (atomic_full_barrier): Define.
35406 (atomic_read_barrier): Define.
35407 (atomic_write_barrier): Define.
35409 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35411 * shlib-versions: Add libgcc_s version information.
35412 * sysdeps/generic/libgcc_s.h: Remove.
35413 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35415 * sysdeps/gnu/unwind-resume.c: Likewise.
35416 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35418 2012-04-25 David S. Miller <davem@davemloft.net>
35420 * sysdeps/unix/sparc/brk.S: Delete.
35421 * sysdeps/unix/sparc/dl-brk.S: Delete.
35422 * sysdeps/unix/sparc/pipe.S: Delete.
35423 * sysdeps/unix/sparc/sysdep.S: Delete.
35424 * sysdeps/unix/sparc/sysdep.h: Delete.
35425 * sysdeps/unix/sparc/vfork.S: Delete.
35426 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35427 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35428 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35429 (ret_ERRVAL, r0, r1, MOVE): Define.
35430 (JUMPTARGET): Remove.
35431 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35432 sysdeps/unix/sparc/sysdep.h
35433 (ENTRY, END): Remove.
35434 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35436 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35438 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35439 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35442 * timezone/README: Update upstream location and email address for
35444 * timezone/zdump.c: Update from tzcode 2012b.
35445 * timezone/zic.c: Likewise.
35447 * configure.in (libc_cv_as_needed): Remove test.
35448 * configure: Regenerated.
35449 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35450 conditional definition.
35451 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35452 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35453 * config.make.in (have-as-needed): Remove variable.
35455 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35456 Paul Pluzhnikov <ppluzhnikov@google.com>
35458 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35461 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35463 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35464 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35465 * sysdeps/sh/strlen.S: Likewise.
35467 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35469 * sysdeps/unix/fork.S: Remove file.
35470 * sysdeps/unix/i386/fork.S: Likewise.
35471 * sysdeps/unix/sparc/fork.S: Likewise.
35473 * sysdeps/unix/system.c: Remove file.
35474 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35476 * sysdeps/unix/getegid.S: Remove file.
35477 * sysdeps/unix/geteuid.S: Likewise.
35479 2012-04-24 Roland McGrath <roland@hack.frob.com>
35481 * scripts/check-localplt.awk: New file.
35482 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35484 * scripts/data/localplt-generic.data: Add a comment.
35486 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35487 NODE when __dir_mkfile failed.
35488 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35489 Reported by Ludovic Courtès <ludo@gnu.org>.
35491 2012-04-24 Andreas Jaeger <aj@suse.de>
35493 * Makerules (common-clean): Also remove gen-as-const-headers
35496 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35498 * Makerules (native-compile): Do not change working directory for
35499 build. Use $(OUTPUT_OPTION) in command.
35500 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35502 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35505 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35506 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35507 * math/libm-test.inc (floor_test): Add more tests.
35508 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35510 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35512 * sysdeps/unix/getdents.c: Remove file.
35513 * sysdeps/unix/sysv/getdents.c: Likewise.
35514 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35516 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35517 sysdeps/unix/mman/syscalls.list.
35519 (mprotect): Likewise.
35521 (munmap): Likewise.
35522 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35523 * sysdeps/unix/mman/syscalls.list: Remove.
35524 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35526 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35527 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35528 * configure: Regenerated.
35529 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35530 $(libgcc_s_suffix).
35531 * config.make.in (libgcc_s_suffix): Remove variable.
35533 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35535 * sysdeps/unix/sysv/gethostname.c: Move to ...
35536 * sysdeps/posix/gethostname.c: ... here.
35538 * sysdeps/unix/execve.S: Remove file.
35540 * sysdeps/unix/_exit.S: Remove file.
35542 2012-04-23 Andreas Jaeger <aj@suse.de>
35545 * manual/Makefile: Remove make dist support, there's no
35546 need for a stand-alone documentation tar ball.
35547 (TEXI2DVI): Define always, it's not in Makeconfig.
35550 (edition): Removed.
35551 (glibc-doc-$(edition).tar): Removed
35555 (ETAGS): Remove, it's in Makeconfig.
35556 (move-if-change): Remove, it's in Makeconfig.
35558 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35561 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35562 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35563 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35564 (strtod_l, strtof_l, strtold_l): Remove __wur.
35565 It is not necessarily an error to ignore strtol's return value.
35566 One can reliably look at the stored endptr to decide whether
35567 the number had valid syntax.
35569 2012-04-21 Andreas Jaeger <aj@suse.de>
35572 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35574 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35576 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35577 * sysdeps/unix/sysv/Versions: Remove file.
35579 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35584 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35587 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35588 version from __vm86.
35590 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35592 * sysdeps/unix/common/lxstat.c: Remove file.
35593 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35595 * sysdeps/unix/sysv/Makefile: Remove file.
35597 * sysdeps/unix/sysv/direct.h: Remove file.
35599 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35600 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35601 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35602 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35603 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35604 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35605 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35607 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35609 * sysdeps/unix/xmknod.c: Remove file.
35610 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35612 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35614 * sysdeps/unix/sysv/i386/time.S: Remove file.
35616 * sysdeps/unix/fxstat.c: Remove file.
35617 * sysdeps/unix/xstat.c: Likewise.
35618 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35620 * sysdeps/unix/sysv/sigaction.c: Remove file.
35622 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35623 (sysdep_headers): Remove variable.
35624 [termio.h not in sysdep_headers] (generated): Likewise.
35625 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35626 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35627 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35628 * sysdeps/unix/sysv/tcflow.c: Likewise.
35629 * sysdeps/unix/sysv/tcflush.c: Likewise.
35630 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35631 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35632 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35633 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35634 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35636 * sysdeps/unix/siglist.c: Remove file.
35638 * sysdeps/unix/getppid.S: Remove file.
35640 * sysdeps/unix/mkdir.c: Remove file.
35641 * sysdeps/unix/rmdir.c: Likewise.
35643 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35645 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35647 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35648 errlist-compat value.
35650 2012-04-18 David S. Miller <davem@davemloft.net>
35652 * sysdeps/generic/memcopy.h (reg_char): Delete.
35653 * debug/strcat_chk.c: Use char, not reg_char.
35654 * debug/strcpy_chk.c: Likewise.
35655 * debug/strncat_chk.c: Likewise.
35656 * debug/strncpy_chk.c: Likewise.
35657 * string/memchr.c: Likewise.
35658 * string/memrchr.c: Likewise.
35659 * string/rawmemchr.c: Likewise.
35660 * string/strcat.c: Likewise.
35661 * string/strchr.c: Likewise.
35662 * string/strchrnul.c: Likewise.
35663 * string/strcmp.c: Likewise.
35664 * string/strcpy.c: Likewise.
35665 * string/strncat.c: Likewise.
35666 * string/strncmp.c: Likewise.
35667 * string/strncpy.c: Likewise.
35669 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35671 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35672 __builtin_memcopy is called when src and dest ranges are known to not
35675 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35677 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35678 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35679 fwd_align_merge macro call.
35680 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35681 bwd_align_merge macro call.
35682 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35684 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35686 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35687 bwd_align_merge macros.
35688 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35689 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35690 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35692 2012-04-18 David S. Miller <davem@davemloft.net>
35694 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35696 2012-04-18 Andreas Jaeger <aj@suse.de>
35699 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35700 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35701 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35703 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35704 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35705 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35707 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35708 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35709 Adjust for changed ldbl-128 files.
35711 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35712 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35713 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35715 2012-04-17 David S. Miller <davem@davemloft.net>
35717 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35719 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35721 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35722 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35723 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35724 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35725 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35726 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35728 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35731 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35732 * math/libm-test.inc: Add ilogb errno and exception tests.
35733 * math/w_ilogb.c: New file: ilogb wrapper.
35734 * math/w_ilogbf.c: New file: ilogbf wrapper.
35735 * math/w_ilogbl.c: New file: ilogbl wrapper.
35736 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35737 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35738 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35739 exception being thrown with 0.0 as argument.
35740 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35741 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35742 exception being thrown with 0.0 as argument.
35743 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35744 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35745 exception being thrown with 0.0 as argument.
35746 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35747 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35748 exception being thrown with 0.0 as argument.
35749 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35750 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35751 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35752 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35753 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35754 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35755 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35756 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35757 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35759 2012-04-17 Petr Baudis <pasky@ucw.cz>
35761 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35764 2012-04-16 Marek Polacek <polacek@redhat.com>
35766 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35768 2012-04-16 Marek Polacek <polacek@redhat.com>
35770 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35771 operands of fdivp instruction.
35773 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35775 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35776 * elf/tst-auditmod3b.c: Likewise.
35777 * elf/tst-auditmod4b.c: Likewise.
35778 * elf/tst-auditmod5b.c: Likewise.
35779 * elf/tst-auditmod6b.c: Likewise.
35780 * elf/tst-auditmod6c.c: Likewise.
35781 * elf/tst-auditmod7b.c: Likewise.
35782 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35783 * sysdeps/x86_64/preconfigure.in: Likewise.
35784 * sysdeps/x86_64/preconfigure: Regenerated.
35786 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35788 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35791 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35793 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35794 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35796 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35799 * locale/iso-639.def: Fix gl language name. Spotted by
35802 2012-04-12 Roland McGrath <roland@hack.frob.com>
35805 * libio/libio.h (__io_write_fn): Update comment.
35807 2012-04-12 Petr Baudis <pasky@ucw.cz>
35810 * stdio.texi (Hook Functions): The user provided writer function
35811 is not allowed to return -1.
35813 2012-04-11 David S. Miller <davem@davemloft.net>
35815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35817 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35819 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35820 Add a leading slash to rtkaio.
35822 2012-04-11 Jim Meyering <meyering@redhat.com>
35825 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35826 It is not necessarily an error to ignore fwrite's return
35827 value. One can reliably use ferror to test for errors after
35830 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35832 * bits/types.h (__snseconds_t): New type.
35833 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35835 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35836 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35837 (__SNSECONDS_T_TYPE): Likewise.
35838 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35839 (__SNSECONDS_T_TYPE): Likewise.
35840 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35841 (__SNSECONDS_T_TYPE): Likewise.
35843 2012-04-10 Andreas Jaeger <aj@suse.de>
35846 * manual/time.texi (Processor Time): Return type of times is
35847 elapsed real time since an arbitrary point in the past.
35848 (CPU Time): Move CLK_TCK from here...
35849 (Processor Time): ...to here. Correct description.
35850 * manual/conf.texi (Constants for Sysconf): Correct description of
35853 2012-04-10 David S. Miller <davem@davemloft.net>
35856 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35857 where the is a gap between DT_REL(A) and DT_JMPREL.
35859 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35861 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35862 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35863 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35865 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35867 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35868 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35869 (dl_main): Handle --inhibit-cache.
35870 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35872 * elf/dl-load.c (_dl_map_object): Use it.
35873 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35875 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35878 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35879 (__ieee754_powl): Saturate large exponents rather than testing for
35880 overflow of y*log2(x).
35881 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35882 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35886 * math/s_ctan.c: Include <float.h>.
35887 (__ctan): Avoid internal overflow or cancellation in calculating
35889 * math/s_ctanf.c: Likewise.
35890 * math/s_ctanl.c: Likewise.
35891 * math/s_ctanh.c: Likewise.
35892 * math/s_ctanhf.c: Likewise.
35893 * math/s_ctanhl.c: Likewise.
35894 * math/libm-test.inc (ctan_test): Add more tests.
35895 (ctanh_test): Likewise.
35896 * sysdeps/i386/fpu/libm-test-ulps: Update.
35897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35899 2012-04-09 Andreas Jaeger <aj@suse.de>
35902 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35903 is an optional BSD extension.
35906 * manual/stdio.texi (Opening Streams): Document additional fopen
35909 2012-04-09 Roland McGrath <roland@hack.frob.com>
35911 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35912 %eax without telling the compiler.
35914 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35917 * manual/install.texi: Use sourceware.org.
35919 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35922 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35923 (__ieee754_pow): Generate overflow and underflow using huge*huge
35924 and tiny*tiny rather than just returning constant infinity or zero
35925 for large exponents.
35926 * math/libm-test.inc (pow_test): Require overflow exceptions for
35927 applicable cases of large exponents.
35930 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35931 (__ieee754_pow): Use iterative multiplication algorithm only for
35932 integer exponents with absolute value below 1024. Check for odd
35933 integer exponents when using algorithm for real exponents.
35934 * math/libm-test.inc (pow_test): Add more tests.
35935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35937 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35940 * math/libm-test.inc (exp_test): Do not allow overflow exception
35943 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35946 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35947 instead of __kernel_standard_f.
35949 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35951 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35952 * sysdeps/x86_64/memset_chk.S: Likewise.
35954 2012-04-08 Andreas Jaeger <aj@suse.de>
35957 * manual/startup.texi (Environment Access): Describe return value
35958 for putenv and setenv.
35961 * manual/filesys.texi (Directory Entries): Add description for
35965 * manual/filesys.texi (Directory Entries): Clarify that it's file
35966 system not operating system in the description of DT_UNKNOWN.
35969 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35971 2012-04-08 Stephen Compall <s11@member.fsf.org>
35974 * manual/llio.texi (Opening and Closing Files): Add cross
35975 reference to explain mode argument.
35977 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35979 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35980 * sysdeps/x86_64/memset_chk.S: Likewise.
35982 2012-04-07 David S. Miller <davem@davemloft.net>
35984 * elf/elf.h (R_SPARC_WDISP10): Define.
35985 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35987 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35988 R_SPARC_SIZE64 and R_SPARC_H34.
35990 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35992 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35993 conditions and remove no longer applicable assertion.
35995 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35997 * bits/byteswap.h: Include <features.h>.
35998 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35999 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36001 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36003 * bits/byteswap.h (__bswap_16): Removed.
36004 Include <bits/byteswap-16.h> to get __bswap_16.
36005 * sysdeps/i386/bits/byteswap.h: Likewise.
36006 * sysdeps/s390/bits/byteswap.h: Likewise.
36007 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36008 * bits/byteswap-16.h: New file.
36009 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36010 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36011 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36012 * string/Makefile (headers): Add bits/byteswap-16.h.
36014 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36017 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36019 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36020 * nss/tst-nss-static.c: New.
36022 2012-04-06 Robert Millan <rmh@gnu.org>
36025 * manual/llio.texi (File Position Primitive): lseek
36026 refers to WHENCE when it really means OFFSET.
36028 2012-04-06 Andreas Jaeger <aj@suse.de>
36030 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36031 strncmp declarations.
36033 * abilist/libc.abilist: Add __poll and __ppoll.
36035 2012-04-05 David S. Miller <davem@davemloft.net>
36037 * scripts/check-local-headers.sh: Accept a host triplet in the
36038 path matched by the exclude regexp.
36040 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36042 * sysdeps/powerpc/powerpc32/dl-machine.h
36043 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36044 * sysdeps/s390/s390-32/dl-machine.h
36045 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36046 * sysdeps/sparc/sparc32/dl-machine.h
36047 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36048 * sysdeps/sparc/sparc64/dl-machine.h
36049 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36051 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36053 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36054 undefined symbol errors.
36056 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36059 2012-04-05 Michael Matz <matz@suse.de>
36062 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36064 2012-04-05 Andreas Jaeger <aj@suse.de>
36067 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36070 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36072 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36073 which ROUND is no valid rounding mode.
36075 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36077 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36079 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36081 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36083 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36084 an exception using FPU order intentionally.
36086 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36088 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36089 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36090 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36091 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36093 2012-04-05 Simon Josefsson <simon@josefsson.org>
36096 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36097 EINVAL when BUFLEN is too smal.
36099 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36102 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36103 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36105 2012-04-03 Andreas Jaeger <aj@suse.de>
36108 * manual/setjmp.texi (System V contexts): Fix sentence.
36111 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36112 New macro for this case.
36113 [!__GNUC__] (__bswap_64): New inline function for this case.
36114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36115 * bits/byteswap.h: Likewise.
36116 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36117 ull, guard with __GLIBC_HAVE_LONG_LONG.
36119 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36120 __GLIBC_HAVE_LONG_LONG.
36122 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36123 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36125 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36128 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36129 inptr and inend, rather than using last_ch.
36131 2012-04-02 David S. Miller <davem@davemloft.net>
36133 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36134 * stdio-common/printf-parse.h (read_int): Change return type to
36135 'int', return -1 on INT_MAX overflow.
36136 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36137 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36138 overflows INT_MAX. Check for overflow of in-format-string precision
36139 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36140 SIZE_MAX not INT_MAX for integer overflow test.
36141 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36142 skip the construct in the format string but do not record anything.
36143 * stdio-common/bug22.c: Adjust to test both width/prevision
36144 INT_MAX overflow as well as total length INT_MAX overflow. Check
36145 explicitly for proper errno values.
36147 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36149 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36151 * string/test-strcmp.c [! WIDE]: Likewise.
36152 * time/tst-mktime2.c: Likewise for INT_MAX.
36153 * string/test-string.h: #include <sys/param.h> for MIN.
36155 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36156 * sysdeps/i386/init-first.c (init): Likewise.
36157 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36158 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36159 * sysdeps/sh/init-first.c (init): Likewise.
36161 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36163 * po/ru.po: Update from translation team.
36164 * po/vi.po: Likewise.
36166 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36168 * resolv/nss_dns/dns-host.c: Merge copyright years.
36170 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36173 Optimize memcpy with prefetch if
36174 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36175 src, dst pointers have unequal 16 byte alignments.
36177 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36180 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36181 from a CNAME entry and return the minimum ttl for the query.
36182 (gaih_getanswer_slice): Likewise.
36184 2012-03-30 Jeff Law <law@redhat.com>
36186 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36188 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36189 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36191 * resolv/nss_dns/dns-host.c: Update copyright year.
36193 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36195 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36196 requests to save a system call. Fix check that all bytes are sent.
36198 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36199 comments for sendmmsg.
36201 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36204 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36205 with only 1 character between 0x0041 and 0x01b0.
36206 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36207 * wcsmbs/tst-mbsnrtowcs.c: New file.
36209 2012-03-29 David S. Miller <davem@davemloft.net>
36211 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36212 small copies by hand.
36214 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36217 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36218 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36221 2012-03-28 David S. Miller <davem@davemloft.net>
36223 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36224 that branches into memcpy.
36225 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36228 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36231 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36232 implementation too.
36233 * sysdeps/sparc/mempcpy.S: New file.
36235 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36236 the IFUNC routine in the libc case.
36237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36239 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36240 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36241 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36242 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36243 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36244 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36245 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36246 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36248 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36249 loop to 256 bytes instead of 64 bytes and fix test signedness.
36251 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36252 * sysdeps/sparc/sparc32/Makefile: rather than here...
36253 * sysdeps/sparc/sparc64/Makefile: and here.
36255 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36257 * malloc/mallocbug.c: Avoid warnings about unused variables.
36259 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36262 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36263 in the right place. Discard and retry query if response is
36264 larger than input buffer size.
36266 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36271 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36272 x for large integer exponent.
36273 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36274 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36275 sign of result as needed afterwards.
36276 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36277 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36278 result for underflowing pow the same as for overflow.
36279 (__kernel_standard_l): Handle powl overflow and underflow here
36280 rather than calling __kernel_standard.
36281 * math/libm-test.inc (pow_test): Add more tests.
36296 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36297 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36298 (__kernel_standard_l): New function.
36299 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36301 * math/w_acosl.c (__acosl): Likewise.
36302 * math/w_asinl.c (__asinl): Likewise.
36303 * math/w_atan2l.c (__atan2l): Likewise.
36304 * math/w_atanhl.c (__atanhl): Likewise.
36305 * math/w_coshl.c (__coshl): Likewise.
36306 * math/w_exp10l.c (__exp10l): Likewise.
36307 * math/w_exp2l.c (__exp2l): Likewise.
36308 * math/w_fmodl.c (__fmodl): Likewise.
36309 * math/w_hypotl.c (__hypotl): Likewise.
36310 * math/w_j0l.c (__j0l, __y0l): Likewise.
36311 * math/w_j1l.c (__j1l, __y1l): Likewise.
36312 * math/w_jnl.c (__jnl, __ynl): Likewise.
36313 * math/w_lgammal.c (__lgammal): Likewise.
36314 * math/w_log10l.c (__log10l): Likewise.
36315 * math/w_log2l.c (__log2l): Likewise.
36316 * math/w_logl.c (__logl): Likewise.
36317 * math/w_powl.c (__powl): Likewise.
36318 * math/w_remainderl.c (__remainderl): Likewise.
36319 * math/w_scalbl.c (sysv_scalbl): Likewise.
36320 * math/w_sinhl.c (__sinhl): Likewise.
36321 * math/w_sqrtl.c (__sqrtl): Likewise.
36322 * math/w_tgammal.c (__tgammal): Likewise.
36323 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36324 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36325 * math/libm-test.inc (acos_test): Add more tests.
36326 (acosh_test): Likewise.
36327 (asin_test): Likewise.
36328 (atanh_test): Likewise.
36329 (exp_test): Likewise.
36330 (exp10_test): Likewise.
36331 (exp2_test): Likewise.
36332 (expm1_test): Likewise.
36333 (lgamma_test): Likewise.
36334 (log_test): Likewise.
36335 (log10_test): Likewise.
36336 (log1p_test): Likewise.
36337 (log2_test): Likewise.
36338 (pow_test): Do not allow some spurious overflow exceptions.
36339 (sqrt_test): Add more tests.
36340 (tgamma_test): Likewise.
36341 (y0_test): Likewise.
36342 (y1_test): Likewise.
36343 (yn_test): Likewise.
36345 2012-03-27 Anton Blanchard <anton@samba.org>
36347 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36349 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36350 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36351 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36353 2012-03-27 David S. Miller <davem@davemloft.net>
36355 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36357 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36358 have-as-vis3 check.
36360 2012-03-27 Andreas Jaeger <aj@suse.de>
36362 * sysdeps/x86_64/elf/configure.in: Moved to ...
36363 * sysdeps/x86_64/configure.in: ... here.
36364 * sysdeps/x86_64/elf/start.S: Moved to ...
36365 * sysdeps/x86_64/start.S: ... here.
36366 * sysdeps/x86_64/elf/configure: Delete.
36368 * sysdeps/x86_64/configure.in: Merge contents from
36369 sysdeps/i386/configure.in (without i686 check).
36371 * sysdeps/i386/elf/Versions: Merge into ...
36372 * sysdeps/i386/Versions: ... this.
36373 * sysdeps/i386/elf/Versions: Delete file.
36374 * sysdeps/i386/elf/start.S: Moved to ...
36375 * sysdeps/i386/start.S: ...here.
36376 * sysdeps/i386/elf/configure.in: Merge into...
36377 * sysdeps/i386/configure.in: ...here.
36378 * sysdeps/i386/elf/configure.in: Delete file.
36379 * sysdeps/i386/elf/configure: Delete file.
36381 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36382 * debug/backtracesyms.c: ... here.
36383 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36384 * debug/backtracesymsfd.c: ... here.
36385 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36386 * sysdeps/generic/ifunc-sel.h: ... here.
36388 * sysdeps/unix/i386/start.c: Delete file.
36389 * sysdeps/unix/sparc/start.c: Delete file.
36390 * sysdeps/unix/start.c: Delete file.
36392 * sysdeps/sh/elf/configure.in: Moved to ...
36393 * sysdeps/sh/configure.in: ... here.
36394 * sysdeps/sh/elf/start.S: Moved to ...
36395 * sysdeps/sh/start.S: ... here.
36396 * sysdeps/sh/elf/configure: Delete file.
36398 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36399 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36400 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36401 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36402 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36403 * sysdeps/powerpc/powerpc64/start.S: here.
36404 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36405 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36406 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36407 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36408 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36410 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36411 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36412 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36413 * sysdeps/powerpc/powerpc32/start.S: ... here.
36414 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36415 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36416 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36418 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36419 * sysdeps/powerpc/ifunc-sel.h: ... here.
36420 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36421 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36423 * sysdeps/sparc/elf/configure.in: Moved to ...
36424 * sysdeps/sparc/configure.in: ... here.
36425 * sysdeps/sparc/elf/configure: Delete file.
36426 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36427 * sysdeps/sparc/sparc32/start.S: ... here.
36428 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36429 * sysdeps/sparc/sparc64/start.S: ... here.
36430 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36431 * sysdeps/sparc/sparc32/Makefile: ... this.
36432 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36433 * sysdeps/sparc/sparc64/Makefile: ... this.
36435 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36436 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36437 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36438 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36439 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36440 * sysdeps/s390/s390-32/setjmp.S: ... here.
36441 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36442 * sysdeps/s390/s390-32/configure.in: ... here.
36443 * sysdeps/s390/s390-32/elf/configure: Delete file.
36444 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36445 * sysdeps/s390/s390-32/start.S: ... here.
36447 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36448 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36449 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36450 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36451 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36452 * sysdeps/s390/s390-64/setjmp.S: ... here.
36453 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36454 * sysdeps/s390/s390-64/configure.in: ... here
36455 * sysdeps/s390/s390-64/elf/configure: Delete file.
36456 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36457 * sysdeps/s390/s390-64/start.S: ... here.
36458 * sysdeps/s390/s390-64/elf/configure: Delete.
36460 * configure.in: Remove support for elf directories in sysdeps.
36462 * configure: Regenerated.
36463 * sysdeps/i386/configure: Regenerated.
36464 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36465 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36466 * sysdeps/s390/s390-32/configure: Regenerated.
36467 * sysdeps/s390/s390-64/configure: Regenerated.
36468 * sysdeps/sh/configure: Regenerated.
36469 * sysdeps/sparc/configure: Regenerated.
36470 * sysdeps/x86_64/configure: Regenerated.
36472 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36476 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36477 denormal result into account.
36479 2012-03-25 Roland McGrath <roland@hack.frob.com>
36481 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36482 Reported by Allan McRae <allan@archlinux.org>.
36484 2012-03-23 Jeff Law <law@redhat.com>
36486 * nss/getnssent.c (__nss_getent): Fix typo.
36488 2012-03-23 David S. Miller <davem@davemloft.net>
36490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36492 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36494 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36495 to pad to uint64_t for each field.
36496 (dl_tls_index): Replace unsigned long with uint64_t.
36498 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36499 Paul Pluzhnikov <ppluzhnikov@google.com>
36502 * grp/Makefile (otherlibs): Don't set it.
36503 * inet/Makefile (otherlibs): Likewise.
36504 * login/Makefile (otherlibs): Likewise.
36505 * nscd/Makefile (otherlibs): Likewise.
36506 * posix/Makefile (otherlibs): Likewise.
36507 * pwd/Makefile (otherlibs): Likewise.
36508 * rt/Makefile (otherlibs): Likewise.
36509 * sunrpc/Makefile (otherlibs): Likewise.
36510 * nss/Makefile (otherlibs): Likewise.
36511 Add libnss_files to routines and static-only-routines.
36512 ($(objpfx)getent): Remove rule.
36513 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36514 static-only-routines.
36516 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36519 * math/s_cexp.c: Include <float.h>.
36520 (__cexp): Handle exp result overflowing not necessarily
36521 overflowing both real and imaginary parts of result.
36522 * math/s_cexpf.c: Likewise.
36523 * math/s_cexpl.c: Likewise.
36524 * math/libm-test.inc (cexp_test): Add more tests.
36525 * sysdeps/i386/fpu/libm-test-ulps: Update.
36526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36528 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36530 * include/link.h (ELFW): New macro.
36531 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36532 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36534 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36536 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36539 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36541 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36543 (struct La_x32_retval): Likewise.
36545 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36547 * sysdeps/x86_64/preconfigure.in: New file.
36548 * sysdeps/x86_64/preconfigure: New generated file.
36550 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36553 * math/e_exp2l.c: Include <float.h>.
36554 (__ieee754_exp2l): Handle overflow and underflow cases
36555 separately. Only pass fractional part of argument to
36557 * math/libm-test.inc (exp2_test): Add more tests.
36559 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36560 negating x to take absolute value.
36561 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36563 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36564 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36566 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36567 computing low part if x was negated.
36568 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36570 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36572 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36573 la_x32_gnu_pltexit.
36574 (pltexit): Cast int_retval to ptrdiff_t.
36575 * elf/tst-auditmod3b.c: Likewise.
36576 * elf/tst-auditmod4b.c: Likewise.
36577 * elf/tst-auditmod5b.c: Likewise.
36578 * elf/tst-auditmod6b.c: Likewise.
36579 * elf/tst-auditmod6c.c: Likewise.
36580 * elf/tst-auditmod7b.c: Likewise.
36582 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36583 and x32_gnu_pltexit.
36585 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36586 __ELF_NATIVE_CLASS.
36587 (La_x32_regs): New macro.
36588 (La_x32_retval): Likewise.
36589 (la_x32_gnu_pltenter): New function prototype.
36590 (la_x32_gnu_pltexit): Likewise.
36592 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36594 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36599 * configure.in (libc_cv_cc_nofma): Check for option to disable
36600 generation of FMA instructions.
36601 * configure: Regenerate.
36602 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36603 * sysdeps/ieee754/dbl-64/Makefile: New file.
36604 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36605 Remove brandred-fma4.
36606 (CFLAGS-brandred-fma4.c): Remove.
36607 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36610 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36613 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36615 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36616 LLONG_MAX != LONG_MAX.
36617 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36618 (_fitoa_word): Likewise.
36619 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36620 LLONG_MAX != LONG_MAX.
36621 * stdio-common/_itowa.h: Include <_itoa.h>.
36622 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36623 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36624 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36625 only if not defined.
36626 (_ITOA_WORD_TYPE): Likewise.
36627 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36628 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36630 2012-03-21 David S. Miller <davem@davemloft.net>
36632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36634 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36636 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36637 of x86_64 when setting libc_cv_slibdir, libdir and
36639 * sysdeps/unix/sysv/linux/configure: Regenerated.
36641 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36643 * manual/lang.texi (Old Varargs): Remove section.
36644 (How Variadic): Update menu.
36645 (va_start): Do not mention varargs.h.
36647 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36648 Joseph Myers <joseph@codesourcery.com>
36650 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36652 * configure: Regenerated.
36654 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36656 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36657 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36660 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36663 * Makefile (files-for-dist): Remove NOTES.
36664 (NOTES): Remove rule.
36665 * README: Don't refer to NOTES.
36666 * manual/creature.texi: Don't include macros.texi.
36667 * manual/intro.texi (creature.texi): Remove comment referring to
36670 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36671 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36672 * configure: Regenerated.
36673 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36674 LIBC_TRY_CC_OPTION.
36675 (libc_cv_as_i686): Likewise.
36676 (libc_cv_cc_avx): Likewise.
36677 (libc_cv_cc_sse2avx): Likewise.
36678 (libc_cv_cc_fma4): Likewise.
36679 (libc_cv_cc_novzeroupper): Likewise.
36680 * sysdeps/i386/configure: Regenerated.
36683 * sysdeps/i386/fpu/s_cexp.S: Remove.
36684 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36685 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36686 * math/libm-test.inc (cexp_test): Add more tests.
36687 * sysdeps/i386/fpu/libm-test-ulps: Update.
36688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36690 2012-03-21 Allan McRae <allan@archlinux.org>
36692 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36694 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36697 * math/w_exp2.c: Do not include <float.h>.
36698 (o_threshold, u_threshold): Remove.
36699 (__exp2): Calculate result before checking finiteness and calling
36701 * math/w_exp2f.c: Likewise.
36702 * math/w_exp2l.c: Likewise.
36703 * math/libm-test.inc (exp2_test): Require overflow exception for
36707 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36708 range of signed 64-bit integers before using fistpll. Remove
36709 checks for whether integers fit in mantissa bits.
36710 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36711 the range of signed 32-bit integers before using fistpl. Remove
36712 checks for whether integers fit in mantissa bits.
36713 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36714 (__ieee754_powl): Test for y outside the range of signed 64-bit
36715 integers before using fistpll. Reduce 64-bit values to 63-bit
36717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36718 divide-by-zero is raised for zero to large negative powers.
36719 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36720 (__ieee754_powl): Test for y outside the range of signed 64-bit
36721 integers before using fistpll. Reduce 64-bit values to 63-bit
36723 * math/libm-test.inc (pow_test): Add more tests.
36725 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36727 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36728 <stdio-common/_itoa.h>.
36729 * debug/segfault.c: Likewise.
36730 * elf/dl-cache.c: Likewise.
36731 * elf/dl-minimal.c: Likewise.
36732 * elf/dl-misc.c: Likewise.
36733 * elf/dl-sysdep.c: Likewise.
36734 * elf/dl-version.c: Likewise.
36735 * elf/rtld.c: Likewise.
36736 * hurd/hurdsock.c: Likewise.
36737 * hurd/lookup-retry.c: Likewise.
36738 * malloc/malloc.c: Likewise.
36739 * malloc/mtrace.c: Likewise.
36740 * nscd/nscd_getgr_r.c: Likewise.
36741 * nscd/nscd_getpw_r.c: Likewise.
36742 * nscd/nscd_getserv_r.c: Likewise.
36743 * posix/getopt_init.c: Likewise.
36744 * posix/wordexp.c: Likewise.
36745 * stdio-common/_itoa.c: Likewise.
36746 * stdio-common/printf_fphex.c: Likewise.
36747 * stdio-common/vfprintf.c: Likewise.
36748 * string/_strerror.c: Likewise.
36749 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36750 * sysdeps/i386/i686/hp-timing.h: Likewise.
36751 * sysdeps/mach/_strerror.c: Likewise.
36752 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36753 * sysdeps/mach/hurd/sethostid.c: Likewise.
36754 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36755 * sysdeps/mach/xpg-strerror.c: Likewise.
36756 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36757 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36758 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36759 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36760 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36761 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36762 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36763 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36764 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36765 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36766 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36767 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36768 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36769 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36770 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36771 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36772 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36773 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36774 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36775 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36776 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36778 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36780 * stdio-common/_itoa.h: Moved to ...
36781 * sysdeps/generic/_itoa.h: Here.
36783 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36785 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36786 instead of "_itoa.h" and "_itowa.h".
36787 * stdio-common/vfprintf.: Likewise.
36789 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36791 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36793 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36794 (__signbit): Likwise.
36795 (llrintf): Likwise.
36798 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36800 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36803 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36805 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36806 OVERFLOW_EXCEPTION_OK.
36807 * math/libm-test.inc ("Philosophy"): Update comment about
36809 (OVERFLOW_EXCEPTION): Define.
36810 (OVERFLOW_EXCEPTION_OK): Likewise.
36811 (INVALID_EXCEPTION_OK): Renumber.
36812 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36813 (IGNORE_ZERO_INF_SIGN): Likewise.
36814 (test_exceptions): Handle FE_OVERFLOW.
36815 (exp10_test): Expect overflow exceptions.
36816 (exp2_test): Likewise.
36817 (expm1_test): Likewise.
36818 (nextafter_test): Likewise.
36819 (pow_test): Likewise.
36820 (scalbn_test): Likewise.
36821 (scalbln_test): Likewise.
36823 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36825 * sysdeps/x86_64/bits/atomic.h
36826 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36828 (atomic_exchange_acq): Likewise.
36829 (__arch_exchange_and_add_body): Likewise.
36830 (__arch_add_body): Likewise.
36831 (atomic_add_negative): Likewise.
36832 (atomic_add_zero): Likewise.
36834 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36836 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36837 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36839 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36841 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36842 Check __x86_64__ instead of __WORDSIZE.
36844 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36846 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36848 2012-03-19 David S. Miller <davem@davemloft.net>
36850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36852 * sysdeps/sparc/fpu/fenv_private.h: New file.
36853 * sysdeps/sparc/fpu/math_private.h: Use it.
36854 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36856 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36857 (libc_feholdexcept_setroundl): Remove.
36858 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36860 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36861 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36863 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36865 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36866 int64_t instead of long int.
36867 (INSERT_WORDS64): Likwise.
36869 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36871 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36872 _Unwind_GetCFA return to _Unwind_Ptr first.
36874 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36877 * math/s_clog.c: Include <float.h>.
36878 (__clog): Scale large or subnormal inputs.
36879 * math/s_clogf.c: Likewise.
36880 * math/s_clogl.c: Likewise.
36881 * math/s_clog10.c: Include <float.h>.
36882 (M_LOG10_2): Define.
36883 (__clog10): Scale large or subnormal inputs.
36884 * math/s_clog10f.c: Likewise.
36885 * math/s_clog10l.c: Likewise.
36886 * math/libm-test.inc (clog_test): Add more tests.
36887 (clog10_test): Likewise.
36888 * sysdeps/i386/fpu/libm-test-ulps: Update.
36889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36892 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36894 * math/libm-test.inc (atan2_test): Add another test.
36896 * Makerules (common-objdir-compile): Remove.
36897 * sysdeps/unix/Makefile (config-generated): Do not add
36898 $(unix-generated) to variable.
36899 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36900 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36902 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36904 [generic bits/local_lim.h] (before-compile): Do not append to
36906 [generic bits/local_lim.h] (common-generated): Likewise.
36907 [generic sys/param.h] (before-compile): Do not append to variable.
36908 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36909 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36910 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36911 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36913 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36914 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36915 [generic sys/param.h] ($(addprefix
36916 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36917 [generic sys/param.h] (common-generated): Do not append to
36919 [generic sys/param.h] (sysdep_headers): Likewise.
36920 [generic bits/errno.h] (before-compile): Do not append to
36922 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36924 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36925 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36926 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36927 [generic bits/errno.h] (common-generated): Do not append to
36929 [generic bits/ioctls.h] (before-compile): Do not append to
36931 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36933 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36934 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36935 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36937 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36938 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36939 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36940 [generic bits/ioctls.h] (common-generated): Do not append to
36942 [generic sys/syscall.h] (syscall.h): Remove variable.
36943 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36945 [generic sys/syscall.h] (before-compile): Do not append to
36947 [generic sys/syscall.h] (common-generated): Likewise.
36948 * sysdeps/unix/errnos-tmpl.c: Remove file.
36949 * sysdeps/unix/errnos.awk: Likewise.
36950 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36951 * sysdeps/unix/ioctls.awk: Likewise.
36952 * sysdeps/unix/mk-local_lim.c: Likewise.
36953 * sysdeps/unix/snarf-ioctls: Likewise.
36955 2012-03-19 Richard Henderson <rth@twiddle.net>
36957 * sysdeps/i386/fpu/fenv_private.h: New file.
36958 * sysdeps/i386/fpu/math_private.h: Use it.
36959 (math_opt_barrier, math_force_eval): Remove.
36960 (libc_feholdexcept_setround_53bit): Remove.
36961 (libc_feupdateenv_53bit): Remove.
36962 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36963 (math_opt_barrier, math_force_eval): Remove.
36964 (libc_feholdexcept): Remove.
36965 (libc_feholdexcept_setround): Remove.
36966 (libc_fetestexcept, libc_fesetenv): Remove.
36967 (libc_feupdateenv_test): Remove.
36968 (libc_feupdateenv, libc_feholdsetround): Remove.
36969 (libc_feresetround): Remove.
36971 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36972 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36974 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36975 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36976 (libc_feupdateenv_testl): New.
36977 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36978 (libc_feupdateenv_testf): New.
36979 (libc_feupdateenv): Use libc_feupdateenv_test.
36980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36983 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36984 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36985 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36986 (libc_feresetround_noex): New.
36987 (libc_feresetround_noexf): New.
36988 (libc_feresetround_noexl): New.
36989 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36990 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36991 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36992 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36995 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36997 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36998 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36999 SET_RESTORE_ROUND_NOEX.
37000 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37001 SET_RESTORE_ROUND_NOEXF.
37002 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37003 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37004 (libc_feholdsetroundf): New.
37005 (libc_feresetround, libc_feresetroundf): New.
37007 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37008 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37009 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37011 * sysdeps/generic/math_private.h: Include <fenv.h>.
37012 (default_libc_feholdexcept): New.
37013 (default_libc_feholdexcept_setround): New.
37014 (default_libc_fesetenv, default_libc_feupdateenv): New.
37015 (libc_feholdexcept): Only define if undefined.
37016 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37017 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37018 (libc_feholdexcept_setroundl): Likewise.
37019 (libc_feholdexcept_setround_53bit): Likewise.
37020 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37021 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37022 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37023 (libc_feupdateenv_53bit): Likewise.
37024 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37025 (libc_feholdexcept): Convert from macro to inline function.
37026 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37027 (libc_fesetenv, libc_feupdateenv): Likewise.
37029 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37030 not previously defined.
37031 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37032 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37033 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37034 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37035 * sysdeps/ieee754/flt-32/math_private.h: New file.
37036 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37037 math_private.h below SET_FLOAT_WORD.
37038 (__isnan, __isinf_ns, __finite): Remove.
37039 (__isnanf, __isinf_nsf, __finitef): Remove.
37041 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37045 2012-03-17 David S. Miller <davem@davemloft.net>
37048 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37051 2012-03-16 David S. Miller <davem@davemloft.net>
37053 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37057 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37059 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37060 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37061 sysdep_routines when subdir is sysvipc.
37062 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37063 __getshmlba helper.
37065 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37067 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37069 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37072 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37074 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37075 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37076 (__lround): Renamed to ...
37077 (__llround): This. Replace long int with long long int.
37078 Define lround functions as aliases of llround functions.
37079 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37081 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37083 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37084 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37085 adresses to uintptr_t. Replace "long int" and "unsigned long
37086 int" with "greg_t" on va_arg.
37088 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37090 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37091 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37093 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37094 Move e_machine check before EI_CLASS check. Handle x32
37095 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37096 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37097 SKIP_EM_IA_64 and include
37098 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37100 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37101 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37102 (add_system_dir): New macro.
37104 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37105 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37107 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37118 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37120 * math/w_j0f.c (j0f): Likewise.
37122 * math/w_j0l.c (__j0l): Likewise.
37124 * math/w_j1.c (j1): Likewise.
37126 * math/w_j1f.c (j1f): Likewise.
37128 * math/w_j1l.c (__j1l): Likewise.
37130 * math/w_jn.c (jn): Likewise.
37132 * math/w_jnf.c (jnf): Likewise.
37134 * math/w_jnl.c (__jnl): Likewise.
37136 * math/libm-test.inc (j0_test): Add more tests.
37137 (j1_test): Likewise.
37138 (jn_test): Likewise. Add trailing semicolon to existing test.
37139 (y0_test): Likewise.
37140 (y1_test): Likewise.
37141 * sysdeps/i386/fpu/libm-test-ulps: Update.
37142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37146 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37147 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37148 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37149 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37150 (__tanl): Set errno for infinite argument.
37151 * sysdeps/i386/fpu/mptan.c: Remove.
37152 * sysdeps/i386/fpu/s_tan.S: Likewise.
37153 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37154 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37155 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37156 * math/libm-test.inc (tan_test): Add more tests and enable more
37157 tests for double and long double.
37158 * sysdeps/i386/fpu/libm-test-ulps: Update.
37159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37161 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37163 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37164 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37166 2012-03-16 Roland McGrath <roland@hack.frob.com>
37168 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37169 * configure.in: Use it for both main tree and add-ons.
37170 * configure: Regenerated.
37172 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37174 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37176 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37178 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37182 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37183 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37184 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37185 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37186 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37188 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37189 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37190 != 0 for prec == 2.
37191 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37192 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37193 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37194 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37195 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37196 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37197 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37198 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37199 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37200 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37201 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37202 * math/libm-test.inc (cos_test): Add more tests and enable more
37203 tests for long double.
37204 (sin_test): Likewise.
37205 (sincos_test): Likewise.
37206 * sysdeps/i386/fpu/libm-test-ulps: Update.
37207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37209 2012-03-16 David S. Miller <davem@davemloft.net>
37211 * sysdeps/sparc/fpu/math_private.h: New file.
37213 2012-03-15 David S. Miller <davem@davemloft.net>
37215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37225 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37229 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37230 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37232 * sysdeps/sparc/sparc-ifunc.h: New file.
37233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37260 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37274 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37278 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37280 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37284 2012-03-15 Andreas Jaeger <aj@suse.de>
37287 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37288 ieee754/flt-32 implementation for sin, cos and sincos.
37289 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37290 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37291 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37292 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37293 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37294 ieee754/flt-32 implementation for tan.
37296 * math/libm-test.inc (cos_test): Enable some large input tests for
37298 (sin_test): Likewise.
37299 (sincos_test): Likewise.
37300 (tan_test): Add tests for large input.
37302 * sysdeps/i386/fpu/libm-test-ulps: Update.
37304 2012-03-15 Andreas Jaeger <aj@suse.de>
37307 * math/libm-test.inc (cos_test): Add more test cases.
37308 (sin_test): Likewise.
37309 (sincos_test): Likewise.
37311 2012-03-15 Andreas Jaeger <aj@suse.de>
37314 * math/libm-test.inc (cos_test): Add a test case for large input
37316 (sin_test): Likewise.
37317 (sincos_test): Likewise.
37319 2012-03-15 Andreas Jaeger <aj@suse.de>
37320 Joseph Myers <joseph@codesourcery.com>
37323 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37324 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37325 * sysdeps/i386/fpu/branred.c: Likewise.
37326 * sysdeps/i386/fpu/dosincos.c: Likewise.
37327 * sysdeps/i386/fpu/mpa.c: Likewise.
37328 * sysdeps/i386/fpu/s_cos.S: Likewise.
37329 * sysdeps/i386/fpu/s_sin.S: Likewise.
37330 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37331 * sysdeps/i386/fpu/sincos32.c: Likewise.
37333 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37335 (libc_feupdateenv_53bit): Define.
37336 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37338 (libc_feupdateenv_53bit): Define.
37340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37341 53 bit (without extend i386 double precision).
37343 * math/libm-test.inc (sincos_test): Add tests for large input.
37347 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37349 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37353 2012-03-15 David S. Miller <davem@davemloft.net>
37355 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37356 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37357 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37358 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37383 fmin/fmax sysdep routines.
37384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37386 2012-03-14 David S. Miller <davem@davemloft.net>
37388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37409 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37415 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37460 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37465 * sysdeps/sparc/configure.in: New file.
37466 * sysdeps/sparc/configure: Generate.
37467 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37468 * configure: Regenerate.
37469 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37470 * config.make.in (have-as-vis3): New.
37471 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37472 available use -Av9d instead of -Av9a.
37473 * sysdeps/sparc/sparc64/Makefile: Likewise.
37474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37489 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37490 fzeros/fnegs to load 0x80000000 into a float register instead of
37492 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37494 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37498 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37499 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37500 ($(inst_includedir)/bits/syscall.h): Remove rule.
37501 ($(objpfx)bits/syscall.d): Include instead of
37502 $(objpfx)syscall-list.d.
37503 (generated): Change syscall-list.h and syscall-list.d to
37504 bits/syscall.h and bits/syscall.d.
37506 2012-03-14 Roland McGrath <roland@hack.frob.com>
37509 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37511 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37514 * math/s_csqrt.c: Include <float.h>.
37515 (__csqrt): Scale large or subnormal inputs.
37516 * math/s_csqrtf.c: Likewise.
37517 * math/s_csqrtl.c: Likewise.
37518 * math/libm-test.inc (csqrt_test): Add more tests.
37519 * sysdeps/i386/fpu/libm-test-ulps: Update.
37520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37523 * math/libm-test.inc (hypot_test): Add more tests.
37525 2012-03-13 David S. Miller <davem@davemloft.net>
37528 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37529 double-precision for the calculation instead of scaling.
37531 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37533 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37534 manipulate bits before adding and subtracting TWO52[sx].
37535 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37536 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37538 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37540 2012-03-13 David S. Miller <davem@davemloft.net>
37542 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37543 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37545 rtld-global-offsets.h
37546 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37548 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37551 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37553 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37554 'err' in the ifdef scope in which it is actually used.
37556 * nss/nss_db/db-init.c: Include string.h
37558 2012-03-12 David S. Miller <davem@davemloft.net>
37560 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37561 masking out of the most significant byte of random value used.
37562 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37563 Fix coding style in previous change.
37565 * sysdeps/unix/sysv/linux/kernel-features.h
37566 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37567 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37569 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37572 2012-03-11 David S. Miller <davem@davemloft.net>
37574 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37575 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37576 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37577 for 'resultvar' otherwise things get truncated on 64-bit.
37579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37580 Fix masking out of the most significant byte of random value used.
37582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37584 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37588 2012-03-09 David S. Miller <davem@davemloft.net>
37590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37591 variables with appropriate CPP guards.
37592 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37593 from the frame pointer, not the stack pointer. Correct layout
37594 comments. Fix test on resulting framesize and the management of
37595 the outregs buffer for pltexit. Preserve floating point return
37596 values across _dl_call_pltexit call.
37597 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37598 framesize and the management of the outregs buffer for pltexit.
37599 Preserve floating point return values across _dl_call_pltexit
37601 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37602 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37603 (la_sparc64_gnu_pltexit): New functions.
37604 (print_exit): Fix format string for return register value.
37606 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37608 * sunrpc/Makefile (others): Add rpcgen.
37609 ($(objpfx)rpcgen): Remove special build rule and dependency on
37611 * sunrpc/rpcgen.c: New file.
37613 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37616 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37617 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37618 * sysdeps/i386/crti.S: Likewise.
37619 * sysdeps/i386/crtn.S: Likewise.
37620 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37621 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37622 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37623 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37624 * sysdeps/sh/crti.S: Likewise.
37625 * sysdeps/sh/crtn.S: Likewise.
37626 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37629 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37631 * locale/programs/locfile-kw.gperf: Likewise.
37632 * locale/programs/charmap-kw.h: Regenerated.
37633 * locale/programs/locfile-kw.h: Likewise.
37636 * intl/plural.y: Replace FSF snail mail address with URL.
37637 * intl/plural.c: Regenerated.
37639 2012-03-09 Richard Henderson <rth@twiddle.net>
37641 * include/math_private.h: Remove file.
37642 * math/math_private.h: Move file ...
37643 * sysdeps/generic/math_private.h: ... here.
37645 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37646 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37647 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37649 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37650 and <math_private.h>.
37651 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37652 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37653 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37654 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37655 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37666 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37667 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37668 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37669 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37670 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37672 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37673 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37676 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37677 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37678 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37679 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37680 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37681 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37683 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37684 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37687 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37688 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37689 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37691 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37692 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37693 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37694 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37695 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37696 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37697 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37698 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37699 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37700 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37701 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37702 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37703 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37704 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37705 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37706 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37707 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37708 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37709 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37710 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37711 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37712 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37714 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37715 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37716 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37717 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37718 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37719 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37720 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37721 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37722 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37724 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37725 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37726 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37730 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37739 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37740 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37741 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37742 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37743 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37744 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37745 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37746 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37747 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37748 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37749 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37750 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37751 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37752 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37753 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37754 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37755 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37756 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37757 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37758 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37759 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37760 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37761 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37762 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37763 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37764 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37765 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37766 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37767 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37768 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37769 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37770 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37771 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37772 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37774 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37775 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37776 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37777 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37778 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37779 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37780 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37781 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37782 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37783 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37784 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37785 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37786 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37787 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37788 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37789 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37790 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37792 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37793 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37794 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37795 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37796 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37797 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37798 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37799 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37800 * sysdeps/ieee754/k_standard.c: Likewise.
37801 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37805 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37808 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37810 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37811 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37813 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37814 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37815 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37816 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37817 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37818 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37820 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37826 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37828 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37830 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37831 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37832 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37834 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37836 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37839 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37842 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37843 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37844 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37849 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37851 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37852 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37853 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37854 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37857 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37858 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37859 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37860 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37861 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37862 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37863 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37864 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37865 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37867 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37868 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37869 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37874 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37877 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37878 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37879 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37882 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37883 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37884 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37885 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37886 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37887 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37888 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37889 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37890 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37891 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37892 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37893 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37894 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37896 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37897 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37898 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37899 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37900 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37904 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37905 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37908 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37909 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37910 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37911 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37912 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37913 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37914 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37915 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37916 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37917 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37918 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37920 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37922 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37923 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37924 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37925 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37926 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37927 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37928 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37929 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37930 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37931 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37932 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37933 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37934 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37935 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37936 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37937 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37938 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37939 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37940 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37941 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37942 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37943 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37944 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37945 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37946 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37947 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37948 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37949 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37950 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37951 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37952 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37954 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37955 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37956 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37957 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37958 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37959 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37960 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37961 * sysdeps/ieee754/s_lib_version.c: Likewise.
37962 * sysdeps/ieee754/s_matherr.c: Likewise.
37963 * sysdeps/ieee754/s_signgam.c: Likewise.
37964 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37965 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37966 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37967 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37968 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37969 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37970 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37971 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37972 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37973 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37974 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37975 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37976 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37977 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37978 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37979 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37980 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37981 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37982 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37986 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37988 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37989 * sunrpc/rpc_main.c: Likewise.
37990 * sunrpc/rpc_svcout.c: Likewise.
37992 2012-03-09 David S. Miller <davem@davemloft.net>
37994 * include/math_private.h: New file.
37996 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37998 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37999 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38000 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38001 from <bits/socket_type.h>.
38002 (enum __socket_type): Don't define here.
38003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38005 bits/socket_type.h.
38008 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38009 checking __USE_GNU.
38011 * Makerules ($(inst_includedir)/%.h): New rule.
38012 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38013 (install-others): Remove variable setting.
38014 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38016 2012-03-08 Richard Henderson <rth@twiddle.net>
38018 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38019 from macro to inline function; merge with the
38020 !__LIBC_INTERNAL_MATH_INLINES version.
38021 (__ieee754_sqrtf): Likewise.
38023 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38024 to inline function.
38025 (__rintf, __floor, __floorf): Likewise.
38027 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38028 macro to inline function.
38029 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38031 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38032 not <math/math_private.h>.
38034 2012-03-08 David S. Miller <davem@davemloft.net>
38036 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38038 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38040 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38042 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38044 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38045 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38047 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38049 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38050 be defined individually, they must be defined as a block. Define
38051 S for printing a string instead of hidint the different by using a
38052 macro for adding the 'l'.
38053 * stdio-common/tst-fphex-wide.c: Adjust.
38055 2012-03-07 Marek Polacek <polacek@redhat.com>
38057 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38059 2012-03-08 Marek Polacek <polacek@redhat.com>
38062 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38063 * stdio-common/tst-fphex.c: Define a few macros to make the
38064 test reusable. Use them.
38065 * stdio-common/tst-fphex-wide.c: New file.
38067 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38070 * manual/macros.texi (gnusystems): New macro.
38071 (nongnusystems): Likewise.
38072 (gnulinuxhurdsystems): Likewise.
38073 (gnuhurdsystems): Likewise..
38074 (gnulinuxsystems): Likewise.
38075 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38076 variants of the GNU system, not "GNU system".
38077 * manual/conf.texi: Likewise.
38078 * manual/errno.texi: Likewise. Update example of errno macro
38080 * manual/filesys.texi: Likewise.
38081 (getumask): Document as specific to GNU/Hurd.
38082 * manual/install.texi: Likewise. Reword some references to
38084 * manual/intro.texi: Likewise.
38085 * manual/io.texi: Likewise.
38086 (File Name Portability): Detail which constraints are inapplicable
38087 to all GNU systems and which are only inapplicable to GNU/Hurd.
38088 * manual/job.texi: Likewise.
38089 * manual/llio.texi: Likewise.
38090 (O_NOCTTY): Document as present on GNU/Linux.
38091 * manual/maint.texi: Likewise.
38092 * manual/memory.texi: Likewise.
38093 * manual/pattern.texi: Likewise.
38094 * manual/pipe.texi: Likewise.
38095 * manual/process.texi: Likewise.
38096 * manual/resource.texi: Likewise.
38097 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38099 * manual/setjmp.texi: Likewise.
38100 * manual/signal.texi: Likewise.
38101 * manual/startup.texi: Likewise.
38102 * manual/stdio.texi: Likewise.
38103 * manual/terminal.texi: Likewise.
38104 (ONLCR): Document as POSIX.
38105 (OXTABS): Document availability on GNU/Linux as XTABS.
38106 (ONOEOT): Document availability separately from other bits.
38107 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38108 * manual/time.texi: Likewise.
38109 * manual/users.texi: Likewise.
38110 * INSTALL: Regenerated.
38111 * sysdeps/gnu/errlist.c: Regenerated.
38113 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38114 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38115 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38117 * configure: Regenerated.
38119 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38121 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38122 default includes instead of AC_HEADER_CHECK.
38123 * sysdeps/i386/configure: Regenerated.
38126 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38127 * math/s_cacoshf.c (__cacoshf): Likewise.
38128 * math/s_cacoshl.c (__cacoshl): Likewise.
38129 * math/s_casinh.c (__casinh): Set signs of result from argument.
38130 * math/s_casinhf.c (__casinhf): Likewise.
38131 * math/s_casinhl.c (__casinhl): Likewise.
38132 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38133 (casinh_test): Add more tests.
38134 * sysdeps/i386/fpu/libm-test-ulps: Update.
38135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38137 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38139 * po/zh_TW.po: Update from translation team.
38141 * login/Makefile (distribute): Remove variable.
38142 * catgets/Makefile: Likewise.
38143 * mach/Makefile: Likewise.
38144 * malloc/Makefile: Likewise.
38145 * misc/Makefile: Likewise.
38146 * iconv/Makefile: Likewise.
38147 * nscd/Makefile: Likewise.
38148 * hurd/Makefile: Likewise.
38149 * manual/Makefile: Likewise.
38150 * locale/Makefile: Likewise.
38151 * intl/Makefile: Likewise.
38152 * conform/Makefile: Likewise.
38153 * nss/Makefile: Likewise.
38154 * time/Makefile: Likewise.
38155 * soft-fp/Makefile: Likewise.
38156 * dirent/Makefile: Likewise.
38157 * gmon/Makefile: Likewise.
38158 * po/Makefile: Likewise.
38159 * rt/Makefile: Likewise.
38160 * socket/Makefile: Likewise.
38161 * math/Makefile: Likewise.
38162 * signal/Makefile: Likewise.
38163 * debug/Makefile: Likewise.
38164 * elf/Makefile: Likewise.
38165 * timezone/Makefile: Likewise.
38166 * stdlib/Makefile: Likewise.
38167 * iconvdata/Makefile: Likewise.
38168 * sunrpc/Makefile: Likewise.
38169 * io/Makefile: Likewise.
38170 * argp/Makefile: Likewise.
38171 * inet/Makefile: Likewise.
38172 * hesiod/Makefile: Likewise.
38173 * grp/Makefile: Likewise.
38174 * csu/Makefile: Likewise.
38175 * wctype/Makefile: Likewise.
38176 * crypt/Makefile: Likewise.
38177 * libio/Makefile: Likewise.
38178 * string/Makefile: Likewise.
38179 * nis/Makefile: Likewise.
38180 * resolv/Makefile: Likewise.
38181 * stdio-common/Makefile: Likewise.
38182 * wcsmbs/Makefile: Likewise.
38183 * dlfcn/Makefile: Likewise.
38184 * posix/Makefile: Likewise.
38187 * timezone/Makefile: Don't install timezone files, just the programs
38190 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38192 * nss/databases.def: Add missing gshadow entry.
38194 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38196 2012-03-06 Marek Polacek <polacek@redhat.com>
38199 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38200 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38201 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38202 * stdio-common/tst-long-dbl-fphex.c: New file.
38204 2012-03-06 David S. Miller <davem@davemloft.net>
38206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38207 (set_obp_int): New function.
38208 (get_obp_int): New function.
38209 (__get_clockfreq_via_dev_openprom): Likewise.
38210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38211 Avoid unused variable warnings on 'val' and use builtin_expect.
38212 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38214 (INLINE_CLONE_SYSCALL): Likewise.
38216 2012-03-05 David S. Miller <davem@davemloft.net>
38218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38220 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38224 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38225 only for |x| >= 40.
38226 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38228 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38231 Replace gettimeofday with __vdso_gettimeofday.
38233 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38234 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38235 __vdso_clock_gettime and __vdso_getcpu.
38237 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38238 time with __vdso_time.
38240 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38242 * manual/lang.texi (size_t): Note types to which size_t may be
38243 equivalent with the GNU C Library, but do not describe when
38244 differences between them are significant.
38246 2012-03-05 Andreas Jaeger <aj@suse.de>
38248 * sysdeps/i386/fpu/libm-test-ulps: Update.
38250 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38253 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38254 (__ieee754_pow): Save and restore rounding mode and use
38255 round-to-nearest for main computations.
38256 * math/libm-test.inc (pow_test_tonearest): New function.
38257 (pow_test_towardzero): Likewise.
38258 (pow_test_downward): Likewise.
38259 (pow_test_upward): Likewise.
38260 (main): Call the new functions.
38261 * sysdeps/i386/fpu/libm-test-ulps: Update.
38262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38265 * math/libm-test.inc (cosh_test_tonearest): New function.
38266 (cosh_test_towardzero): Likewise.
38267 (cosh_test_downward): Likewise.
38268 (cosh_test_upward): Likewise.
38269 (sinh_test_tonearest): Likewise.
38270 (sinh_test_towardzero): Likewise.
38271 (sinh_test_downward): Likewise.
38272 (sinh_test_upward): Likewise.
38273 (main): Call the new functions.
38274 * sysdeps/i386/fpu/libm-test-ulps: Update.
38275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38277 2012-03-05 Tom de Vries <tom@codesourcery.com>
38279 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38280 default stack guard is set in last bytes.
38281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38283 2012-03-05 Kees Cook <keescook@chromium.org>
38285 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38288 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38289 possibly allocate from heap instead of stack.
38290 * stdio-common/bug-vfprintf-nargs.c: New file.
38291 * stdio-common/Makefile (tests): Add nargs overflow test.
38293 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38297 2012-03-03 Marek Polacek <polacek@redhat.com>
38299 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38300 * math/math_private.h: Likewise.
38301 * stdlib/tst-strtod.c: Likewise.
38302 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38303 * sysdeps/x86_64/bits/atomic.h: Likewise.
38305 2012-03-02 David S. Miller <davem@davemloft.net>
38307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38311 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38312 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38313 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38314 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38316 2012-03-02 Roland McGrath <roland@hack.frob.com>
38319 * manual/examples/README: New file, says the example source files
38320 can be used under GPL>=2.
38321 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38322 line containing just "*/".
38323 * manual/examples/add.c: Add copyright header (GPL>=2).
38324 * manual/examples/argp-ex1.c: Likewise.
38325 * manual/examples/argp-ex2.c: Likewise.
38326 * manual/examples/argp-ex3.c: Likewise.
38327 * manual/examples/argp-ex4.c: Likewise.
38328 * manual/examples/atexit.c: Likewise.
38329 * manual/examples/db.c: Likewise.
38330 * manual/examples/dir.c: Likewise.
38331 * manual/examples/dir2.c: Likewise.
38332 * manual/examples/execinfo.c: Likewise.
38333 * manual/examples/filecli.c: Likewise.
38334 * manual/examples/filesrv.c: Likewise.
38335 * manual/examples/fmtmsgexpl.c: Likewise.
38336 * manual/examples/genpass.c: Likewise.
38337 * manual/examples/inetcli.c: Likewise.
38338 * manual/examples/inetsrv.c: Likewise.
38339 * manual/examples/isockad.c: Likewise.
38340 * manual/examples/longopt.c: Likewise.
38341 * manual/examples/memopen.c: Likewise.
38342 * manual/examples/memstrm.c: Likewise.
38343 * manual/examples/mkfsock.c: Likewise.
38344 * manual/examples/mkisock.c: Likewise.
38345 * manual/examples/mygetpass.c: Likewise.
38346 * manual/examples/pipe.c: Likewise.
38347 * manual/examples/popen.c: Likewise.
38348 * manual/examples/rprintf.c: Likewise.
38349 * manual/examples/search.c: Likewise.
38350 * manual/examples/select.c: Likewise.
38351 * manual/examples/setjmp.c: Likewise.
38352 * manual/examples/sigh1.c: Likewise.
38353 * manual/examples/sigusr.c: Likewise.
38354 * manual/examples/stpcpy.c: Likewise.
38355 * manual/examples/strdupa.c: Likewise.
38356 * manual/examples/strftim.c: Likewise.
38357 * manual/examples/strncat.c: Likewise.
38358 * manual/examples/subopt.c: Likewise.
38359 * manual/examples/swapcontext.c: Likewise.
38360 * manual/examples/termios.c: Likewise.
38361 * manual/examples/testopt.c: Likewise.
38362 * manual/examples/testpass.c: Likewise.
38363 * manual/examples/timeval_subtract.c: Likewise.
38366 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38368 * manual/timeval_subtract.c.texi: ... here, new file.
38370 2012-03-02 David S. Miller <davem@davemloft.net>
38372 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38374 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38377 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38378 (__sin): Save and restore rounding mode and use round-to-nearest
38379 for all computations.
38380 (__cos): Save and restore rounding mode and use round-to-nearest
38381 for all computations.
38382 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38384 (tan): Save and restore rounding mode and use round-to-nearest for
38386 * math/libm-test.inc (cos_test_tonearest): New function.
38387 (cos_test_towardzero): Likewise.
38388 (cos_test_downward): Likewise.
38389 (cos_test_upward): Likewise.
38390 (sin_test_tonearest): Likewise.
38391 (sin_test_towardzero): Likewise.
38392 (sin_test_downward): Likewise.
38393 (sin_test_upward): Likewise.
38394 (tan_test_tonearest): Likewise.
38395 (tan_test_towardzero): Likewise.
38396 (tan_test_downward): Likewise.
38397 (tan_test_upward): Likewise.
38398 (main): Call the new functions.
38399 * sysdeps/i386/fpu/libm-test-ulps: Update.
38400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38403 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38404 small n, then large n, before computing and testing k+n.
38405 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38406 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38410 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38411 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38412 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38413 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38414 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38415 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38416 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38417 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38418 * math/libm-test.inc (scalbn_test): Add more tests.
38419 (scalbln_test): Likewise.
38421 * manual/filesys.texi (mode_t): Describe constraints on size and
38422 signedness, not exact equivalence to a particular type.
38424 (ino64_t): Likewise.
38426 (nlink_t): Likewise.
38427 (blkcnt_t): Likewise.
38428 (blkcnt64_t): Likewise.
38429 * manual/llio.texi (off_t): Likewise.
38432 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38433 (__ieee754_exp): Save and restore rounding mode and use
38434 round-to-nearest for all computations.
38435 * math/libm-test.inc (exp_test_tonearest): New function.
38436 (exp_test_towardzero): Likewise.
38437 (exp_test_downward): Likewise.
38438 (exp_test_upward): Likewise.
38439 (main): Call the new functions.
38440 * sysdeps/i386/fpu/libm-test-ulps: Update.
38441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38443 2012-03-01 Chris Demetriou <cgd@google.com>
38445 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38446 have predictable order.
38448 2012-03-01 David S. Miller <davem@davemloft.net>
38450 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38452 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38453 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38454 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38455 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38457 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38458 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38459 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38461 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38462 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38463 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38464 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38465 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38469 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38470 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38471 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38473 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38474 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38475 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38476 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38477 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38478 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38479 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38480 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38481 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38482 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38483 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38486 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38487 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38489 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38490 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38491 * sysdeps/sparc/elf/configure: Regenerated.
38493 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38495 * configure.in (AS, LD): Require binutils 2.20 or later.
38496 * configure: Regenerated.
38497 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38498 as required minimum version.
38499 * INSTALL: Regenerated.
38503 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38504 before squaring exponent.
38505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38506 bottom long double and 27 bits of top long double before squaring
38508 * math/libm-test.inc (erfc_test): Add more tests.
38509 * sysdeps/i386/fpu/libm-test-ulps: Update.
38510 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38513 2012-03-01 Kai Tietz <ktietz@redhat.com>
38515 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38516 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38517 containing bit-fields.
38518 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38519 * soft-fp/single.h (_FP_UNION_S): Likewise.
38520 * soft-fp/double.h (_FP_UNION_D): Likewise.
38522 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38525 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38526 not include ../strcmp.S.
38527 [USE_AS_STRNCASECMP_L]: Likewise.
38528 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38529 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38530 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38531 (__strncasecmp_l_ia32): Define as alias to
38532 __strncasecmp_l_nonascii.
38535 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38536 * sysdeps/i386/fpu/libm-test-ulps: Update.
38537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38539 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38542 2012-02-29 Jeff Law <law@redhat.com>
38544 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38545 out of bounds read.
38547 2012-02-29 Marek Polacek <polacek@redhat.com>
38550 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38551 * elf/Makefile: Add rules to run tst-unused-dep.out.
38553 2012-02-28 David S. Miller <davem@davemloft.net>
38555 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38556 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38557 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38558 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38559 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38560 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38562 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38564 * math/libm-test.inc (llround_test): Move one test from
38565 lround_test. Use TEST_f_L in moved test.
38566 (lround_test): Move misplaced test to llround_test. Add testcase
38569 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38571 * sysdeps/x86_64/fpu/e_expf.S: New file.
38572 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38574 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38577 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38578 of remain_len that may cause incomplete multi-byte character and
38580 * posix/bug-regex33.c: New file.
38581 * posix/Makefile (tests): Add bug-regex33.
38583 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38585 * manual/macros.texi: New file.
38586 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38587 * manual/libc.texinfo: Include macros.texi.
38588 * manual/creatute.texi: Likewise.
38589 * manual/install.texi: Likewise.
38590 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38591 @glibcadj{} in references to the GNU C Library.
38592 * manual/charset.texi: Likewise.
38593 * manual/conf.texi: Likewise.
38594 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38595 when not using those macros.
38596 * manual/creature.texi: Likewise.
38597 * manual/crypt.texi: Likewise.
38598 * manual/errno.texi: Likewise.
38599 * manual/filesys.texi: Likewise.
38600 * manual/header.texi: Likewise.
38601 * manual/install.texi: Likewise.
38602 * manual/intro.texi: Likewise.
38603 * manual/io.texi: Likewise.
38604 * manual/job.texi: Likewise.
38605 * manual/lang.texi: Likewise.
38606 * manual/libc.texiinfo: Likewise.
38607 * manual/llio.texi: Likewise.
38608 * manual/locale.texi: Likewise.
38609 * manual/maint.texi: Likewise.
38610 * manual/math.texi: Likewise.
38611 * manual/memory.texi: Likewise.
38612 * manual/message.texi: Likewise.
38613 * manual/nss.texi: Likewise.
38614 * manual/pattern.texi: Likewise.
38615 * manual/process.texi: Likewise.
38616 * manual/resource.texi: Likewise.
38617 * manual/search.texi: Likewise.
38618 * manual/setjmp.texi: Likewise.
38619 * manual/signal.texi: Likewise.
38620 * manual/socket.texi: Likewise.
38621 * manual/startup.texi: Likewise.
38622 * manual/stdio.texi: Likewise.
38623 * manual/string.texi: Likewise.
38624 * manual/sysinfo.texi: Likewise.
38625 * manual/syslog.texi: Likewise.
38626 * manual/terminal.texi: Likewise.
38627 * manual/time.texi: Likewise.
38628 * manual/users.texi: Likewise.
38629 * INSTALL: Regenerated.
38630 * NOTES: Regenerated.
38631 * sysdeps/gnu/errlist.c: Regenerated.
38633 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38635 * include/dirent.h: Include <dirstream.h> before
38638 2012-02-28 David S. Miller <davem@davemloft.net>
38640 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38641 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38642 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38643 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38645 2012-02-27 David S. Miller <davem@davemloft.net>
38647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38649 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38650 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38653 frame pointer instead of stack pointer relative arg slot.
38654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38655 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38656 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38658 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38661 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38663 2012-02-27 David S. Miller <davem@davemloft.net>
38665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38669 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38670 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38671 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38672 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38674 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38676 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38677 later. Allow versions 5-9.
38678 * configure: Regenerated.
38679 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38680 required minimum version and 4.6 as recommended version. Do not
38681 mention bugs in GCC 2.7 and 2.8.
38682 * INSTALL: Regenerated.
38684 2012-02-27 David S. Miller <davem@davemloft.net>
38686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38690 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38691 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38692 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38693 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38695 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38696 manipulate bits before adding and subtracting TWO112[sx].
38697 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38699 2012-02-27 Roland McGrath <roland@hack.frob.com>
38702 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38703 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38704 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38705 being in POSIX, because they are in 1003.1-2008.
38707 * rt/tst-aio.c: Include <fcntl.h>.
38708 * rt/tst-aio7.c: Likewise.
38709 * rt/tst-aio64.c: Likewise.
38711 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38713 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38715 * manual/install.texi (--with-headers): Describe headers as
38716 interface headers, not private headers.
38717 (Specific advice for GNU/Linux systems): Describe use of headers
38718 from "make headers_install", not private headers from older
38720 * INSTALL: Regenerated.
38721 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38723 * sysdeps/unix/sysv/linux/configure: Regenerated.
38725 * manual/llio.texi (fclean): Remove documentation.
38727 * manual/Makefile (libc-texi-generated): New variable. Include
38729 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38730 $(libc-texi-generated), not duplicated list of files.
38731 (version.texi, stamp-version): New rules.
38732 (realclean): Remove $(libc-texi-generated), not individual files
38733 from that list. Do not remove dir-add.texinfo.
38734 * manual/libc.texinfo: Comment out uses of edition numbers and
38735 references to printed manual. Remove last-updated dates.
38736 (EDITION): Comment out.
38738 (VERSION, UPDATED): Remove.
38739 (version.texi): Include.
38741 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38743 * sysdeps/posix/spawni.c: Include <signal.h>.
38744 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38745 * sysdeps/pthread/aio_fsync.c: Likewise.
38747 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38749 * conform/Makefile (tests): Run only when not cross-compiling and
38750 when fast-check is not defined.
38752 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38753 * conform/data/limits.h-data: Fixes for POSIX2008.
38754 * conform/run-conformtest.sh: Run all tests.
38755 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38757 * include/bits/dlfcn.h: Likewise.
38758 * include/langinfo.h: Likewise.
38759 * include/monetary.h: Likewise.
38760 * include/sys/poll.h: Likewise.
38762 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38764 * posix/spawn.h: Define __need_sigset_t.
38765 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38766 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38767 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38768 to get sigevent_t only.
38769 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38770 only for __USE_GNU.
38771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38772 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38773 process_vm_writev only for __USE_GNU.
38774 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38776 * conform/Makefile: For now ignore errors from run-conformtest.
38777 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38778 POSIX to avoid namespace pollution. Don't prepend headers.
38779 * conform/data/aio.h-data: Fixes for POSIX testing.
38780 * conform/data/fcntl.h-data: Likewise.
38781 * conform/data/glob.h-data: Likewise.
38782 * conform/data/grp.h-data: Likewise.
38783 * conform/data/pthread.h-data: Likewise.
38784 * conform/data/pwd.h-data: Likewise.
38785 * conform/data/signal.h-data: Likewise.
38786 * conform/data/spawn.h-data: Likewise.
38787 * conform/data/stdio.h-data: Likewise.
38788 * conform/data/stdlib.h-data: Likewise.
38789 * conform/data/stropts.h-data: Likewise.
38790 * conform/data/sys/mman.h-data: Likewise.
38791 * conform/data/sys/stat.h-data: Likewise.
38792 * conform/data/sys/types.h-data: Likewise.
38793 * conform/data/sys/wait.h-data: Likewise.
38794 * conform/data/time.h-data: Likewise.
38795 * conform/data/unistd.h-data: Likewise.
38796 * conform/data/utime.h-data: Likewise.
38798 * io/sys/stat.h: fchmod was always in POSIX.
38799 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38800 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38801 * rt/aio.h: Define __need_timespec before including <time.h>.
38802 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38803 struct. Add forward declaration of pthread_attr_t and use it in
38805 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38806 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38807 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38808 always remove CLK_TCK definition.
38810 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38812 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38814 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38816 * conform/run-conformtest.sh: New file.
38817 * conform/Makefile: Run run-conformtest for tests.
38818 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38821 * conform/data/uchar.h-data: New file.
38822 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38823 * conform/data/arpa/inet.h-data: Likewise.
38824 * conform/data/assert.h-data: Likewise.
38825 * conform/data/complex.h-data: Likewise.
38826 * conform/data/cpio.h-data: Likewise.
38827 * conform/data/ctype.h-data: Likewise.
38828 * conform/data/dirent.h-data: Likewise.
38829 * conform/data/dlfcn.h-data: Likewise.
38830 * conform/data/errno.h-data: Likewise.
38831 * conform/data/fcntl.h-data: Likewise.
38832 * conform/data/float.h-data: Likewise.
38833 * conform/data/fmtmsg.h-data: Likewise.
38834 * conform/data/fnmatch.h-data: Likewise.
38835 * conform/data/ftw.h-data: Likewise.
38836 * conform/data/glob.h-data: Likewise.
38837 * conform/data/grp.h-data: Likewise.
38838 * conform/data/iconv.h-data: Likewise.
38839 * conform/data/inttypes.h-data: Likewise.
38840 * conform/data/langinfo.h-data: Likewise.
38841 * conform/data/libgen.h-data: Likewise.
38842 * conform/data/limits.h-data: Likewise.
38843 * conform/data/locale.h-data: Likewise.
38844 * conform/data/math.h-data: Likewise.
38845 * conform/data/monetary.h-data: Likewise.
38846 * conform/data/mqueue.h-data: Likewise.
38847 * conform/data/ndbm.h-data: Likewise.
38848 * conform/data/net/if.h-data: Likewise.
38849 * conform/data/netdb.h-data: Likewise.
38850 * conform/data/netinet/in.h-data: Likewise.
38851 * conform/data/nl_types.h-data: Likewise.
38852 * conform/data/poll.h-data: Likewise.
38853 * conform/data/pthread.h-data: Likewise.
38854 * conform/data/pwd.h-data: Likewise.
38855 * conform/data/regex.h-data: Likewise.
38856 * conform/data/sched.h-data: Likewise.
38857 * conform/data/search.h-data: Likewise.
38858 * conform/data/semaphore.h-data: Likewise.
38859 * conform/data/setjmp.h-data: Likewise.
38860 * conform/data/signal.h-data: Likewise.
38861 * conform/data/spawn.h-data: Likewise.
38862 * conform/data/stdarg.h-data: Likewise.
38863 * conform/data/stdio.h-data: Likewise.
38864 * conform/data/stdlib.h-data: Likewise.
38865 * conform/data/string.h-data: Likewise.
38866 * conform/data/strings.h-data: Likewise.
38867 * conform/data/stropts.h-data: Likewise.
38868 * conform/data/sys/ipc.h-data: Likewise.
38869 * conform/data/sys/mman.h-data: Likewise.
38870 * conform/data/sys/msg.h-data: Likewise.
38871 * conform/data/sys/resource.h-data: Likewise.
38872 * conform/data/sys/select.h-data: Likewise.
38873 * conform/data/sys/sem.h-data: Likewise.
38874 * conform/data/sys/shm.h-data: Likewise.
38875 * conform/data/sys/socket.h-data: Likewise.
38876 * conform/data/sys/stat.h-data: Likewise.
38877 * conform/data/sys/statvfs.h-data: Likewise.
38878 * conform/data/sys/time.h-data: Likewise.
38879 * conform/data/sys/timeb.h-data: Likewise.
38880 * conform/data/sys/times.h-data: Likewise.
38881 * conform/data/sys/types.h-data: Likewise.
38882 * conform/data/sys/uio.h-data: Likewise.
38883 * conform/data/sys/un.h-data: Likewise.
38884 * conform/data/sys/utsname.h-data: Likewise.
38885 * conform/data/sys/wait.h-data: Likewise.
38886 * conform/data/syslog.h-data: Likewise.
38887 * conform/data/tar.h-data: Likewise.
38888 * conform/data/termios.h-data: Likewise.
38889 * conform/data/utime.h-data: Likewise.
38890 * conform/data/utmpx.h-data: Likewise.
38891 * conform/data/varargs.h-data: Likewise.
38892 * conform/data/wchar.h-data: Likewise.
38893 * conform/data/wctype.h-data: Likewise.
38894 * conform/data/wordexp.h-data: Likewise.
38896 * include/stropts.h: New file.
38897 * include/uchar.h: New file.
38898 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38899 * include/assert.h: Likewise.
38900 * include/ctype.h: Likewise.
38901 * include/dirent.h: Likewise.
38902 * include/dlfcn.h: Likewise.
38903 * include/fcntl.h: Likewise.
38904 * include/fnmatch.h: Likewise.
38905 * include/glob.h: Likewise.
38906 * include/grp.h: Likewise.
38907 * include/libio.h: Likewise.
38908 * include/locale.h: Likewise.
38909 * include/math.h: Likewise.
38910 * include/net/if.h: Likewise.
38911 * include/netdb.h: Likewise.
38912 * include/netinet/in.h: Likewise.
38913 * include/pthread.h: Likewise.
38914 * include/pwd.h: Likewise.
38915 * include/regex.h: Likewise.
38916 * include/sched.h: Likewise.
38917 * include/search.h: Likewise.
38918 * include/setjmp.h: Likewise.
38919 * include/signal.h: Likewise.
38920 * include/stdio.h: Likewise.
38921 * include/stdlib.h: Likewise.
38922 * include/string.h: Likewise.
38923 * include/sys/cdefs.h: Likewise.
38924 * include/sys/mman.h: Likewise.
38925 * include/sys/msg.h: Likewise.
38926 * include/sys/resource.h: Likewise.
38927 * include/sys/select.h: Likewise.
38928 * include/sys/socket.h: Likewise.
38929 * include/sys/stat.h: Likewise.
38930 * include/sys/statvfs.h: Likewise.
38931 * include/sys/time.h: Likewise.
38932 * include/sys/times.h: Likewise.
38933 * include/sys/uio.h: Likewise.
38934 * include/sys/utsname.h: Likewise.
38935 * include/sys/wait.h: Likewise.
38936 * include/termios.h: Likewise.
38937 * include/time.h: Likewise.
38938 * include/ulimit.h: Likewise.
38939 * include/unistd.h: Likewise.
38940 * include/utime.h: Likewise.
38941 * include/wchar.h: Likewise.
38942 * include/wctype.h: Likewise.
38943 * include/wordexp.h: Likewise.
38945 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38947 * time/time.h: TIME_UTC must be a macro.
38948 Make timespec_get available for ISO C11 only as well.
38950 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38952 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38953 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38955 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38957 * configure.in: Use -o not -a in test for unsupported multi-arch.
38959 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38961 * manual/texinfo.tex: Update to version 2012-01-19.16.
38963 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38965 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38967 2012-02-24 Roland McGrath <roland@hack.frob.com>
38970 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38971 * manual/fdl-1.3.texi: New file.
38972 * manual/fdl-1.1.texi: File removed.
38975 * manual/libc.texinfo (FDL_VERSION): New @set.
38976 Use it for mention of FDL in cover text.
38977 (Documentation License): Use it in @include file name.
38979 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38980 Roland McGrath <roland@hack.frob.com>
38983 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38984 (not LONG_LONG_MAX and LONG_LONG_MIN.
38985 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38986 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38988 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38990 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38994 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38995 manipulate bits before adding and subtracting TWO23[sx].
38996 * math/libm-test.inc (nearbyint_test): Add more tests.
38998 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39001 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39002 bits before adding and subtracting TWO23[sx].
39003 * math/libm-test.inc (rint_test): Add more tests.
39004 (rint_test_tonearest): Likewise.
39005 (rint_test_towardzero): Likewise.
39006 (rint_test_downward): Likewise.
39007 (rint_test_upward: Likewise.
39009 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39012 * include/stdc-predef.h: New file. Extracted from features.h.
39013 * include/features.h: Include stdc-predef.h.
39014 * Makefile (headers): Add stdc-predef.h.
39015 * CONFORMANCE (Compiler limitations): Update.
39017 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39019 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39021 2012-02-21 David S. Miller <davem@davemloft.net>
39023 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39024 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39026 2012-02-20 David S. Miller <davem@davemloft.net>
39028 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39029 using a normal save/restore sequence, rather than allocating a
39030 dummy stack frame just to store a frame pointer and restore.
39031 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39033 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39035 * manual/install.texi: Fix stray word in line-wrapped comment.
39037 2012-02-20 David S. Miller <davem@davemloft.net>
39039 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39040 both binutils and gcc support GOTDATA.
39042 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39043 "rd %pc" in the PIC register setup sequences.
39045 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39046 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39047 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39048 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39049 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39051 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39052 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39054 (SYSCALL_ERROR_HANDLER): Likewise.
39055 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39056 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39058 (SYSCALL_ERROR_HANDLER): Likewise.
39060 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39061 (HAVE_GCC_GOTDATA): New.
39062 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39063 relocation support in both binutils and gcc.
39064 * sysdeps/sparc/elf/configure: Regenerate.
39066 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39067 * sysdeps/sparc/sparc32/elf/configure: Delete.
39068 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39069 * sysdeps/sparc/sparc64/elf/configure: Delete.
39070 * sysdeps/sparc/elf/configure.in: New file.
39071 * sysdeps/sparc/elf/configure: Generate.
39073 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39074 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39075 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39076 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39077 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39079 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39081 * manual/install.texi: Do not mention specific glibc version
39083 * manual/libc.texinfo (VERSION, UPDATED): Update.
39084 (@copying): Use @copyright{} and range of years.
39086 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39089 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39090 [crti.S not in sysdirs] (generated): Do not append.
39091 [crti.S not in sysdirs] (omit-deps): Likewise.
39092 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39093 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39094 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39095 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39096 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39098 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39099 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39100 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39101 * csu/defs.awk: Remove file.
39102 * sysdeps/generic/initfini.c: Likewise.
39103 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39105 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39108 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39110 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39111 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39112 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39113 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39115 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39117 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39118 (__EPOLL_PACKED): Define to empty if not defined by
39120 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39124 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39126 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39127 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39128 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39129 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39131 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39135 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39137 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39139 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39140 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39141 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39144 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39146 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39147 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39149 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39151 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39152 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39154 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39156 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39159 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39161 * math/w_acos.c: Use non-signaling floating-point comparisons.
39162 * math/w_acosf.c: Likewise.
39163 * math/w_acosh.c: Likewise.
39164 * math/w_acoshf.c: Likewise.
39165 * math/w_acoshl.c: Likewise.
39166 * math/w_acosl.c: Likewise.
39167 * math/w_asin.c: Likewise.
39168 * math/w_asinf.c: Likewise.
39169 * math/w_asinl.c: Likewise.
39170 * math/w_atanh.c: Likewise.
39171 * math/w_atanhf.c: Likewise.
39172 * math/w_atanhl.c: Likewise.
39173 * math/w_exp2.c: Likewise.
39174 * math/w_exp2f.c: Likewise.
39175 * math/w_exp2l.c: Likewise.
39176 * math/w_j0.c: Likewise.
39177 * math/w_j0f.c: Likewise.
39178 * math/w_j0l.c: Likewise.
39179 * math/w_j1.c: Likewise.
39180 * math/w_j1f.c: Likewise.
39181 * math/w_j1l.c: Likewise.
39182 * math/w_jn.c: Likewise.
39183 * math/w_jnf.c: Likewise.
39184 * math/w_log.c: Likewise.
39185 * math/w_log10.c: Likewise.
39186 * math/w_log10f.c: Likewise.
39187 * math/w_log10l.c: Likewise.
39188 * math/w_log2.c: Likewise.
39189 * math/w_log2f.c: Likewise.
39190 * math/w_log2l.c: Likewise.
39191 * math/w_logf.c: Likewise.
39192 * math/w_logl.c: Likewise.
39193 * math/w_sqrt.c: Likewise.
39194 * math/w_sqrtf.c: Likewise.
39195 * math/w_sqrtl.c: Likewise.
39196 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39197 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39198 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39199 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39200 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39202 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39205 * manual/string.texi (strnlen): Use correct parameter name in
39206 equivalent expression.
39208 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39211 * manual/users.texi (seteuid): Consistently use neweuid for
39214 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39217 * manual/nss.texi (Services in the NSS configuration): Correct
39218 list of services in example configuration file.
39220 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39223 * manual/arith.texi: Remove statements about negative zero
39224 behaving identically to zero.
39226 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39229 * manual/install.texi: Do not document upgrading from libc5.
39231 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39234 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39236 2012-02-18 David S. Miller <davem@davemloft.net>
39238 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39239 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39240 %o7 across the call.
39241 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39244 SETUP_PIC_REG_LEAF.
39245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39246 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39247 * sysdeps/sparc/crtn.S: Likewise.
39249 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39251 * aout/Makefile: Remove.
39253 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39256 * manual/examples/argp-ex1.c (main): Format definition in GNU
39258 * manual/examples/argp-ex2.c (main): Likewise.
39259 * manual/examples/argp-ex3.c (main): Likewise.
39260 * manual/examples/argp-ex4.c (main): Likewise.
39261 * manual/examples/longopt.c (main): Use new-style prototype
39263 * manual/examples/strncat.c (main): Specify return type and use
39264 (void) for arguments.
39265 * manual/examples/subopt.c (main): Use char **argv argument.
39267 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39270 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39273 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39276 * manual/string.texi (strchr): Change when strchrnul is
39279 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39282 * manual/locale.texi (setlocale): Document LOCPATH.
39284 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39287 * manual/process.texi (execle): Move @dots{} before last argument.
39289 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39292 * manual/charset.texi (Generic Charset Conversion): Fix typo
39293 (LC_TYPE -> LC_CTYPE).
39295 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39298 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39299 (scalbnf): Likewise.
39300 (scalbnl): Likewise.
39301 (scalbln): Likewise.
39302 (scalblnf): Likewise.
39303 (scalblnl): Likewise.
39304 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39305 (vwarnx): Likewise.
39308 * manual/filesys.texi (telldir): Use braces around return type.
39309 * manual/llio.texi (mmap): Add space after comma.
39310 (mmap64): Likewise.
39311 * manual/math.texi (jn): Use @var{} on parameter names.
39317 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39319 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39321 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39322 (sched_get_priority_max): Likewise.
39323 * manual/signal.texi (sigvec): Add space after comma.
39324 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39326 (if_indextoname): Likewise.
39327 (if_freenameindex): Likewise.
39328 (sendto): Use ',' instead of '.' in prototype.
39329 * manual/startup.texi (syscall): Use @dots{} instead of literal
39331 * manual/stdio.texi (__fpending): Separate initial words of
39332 paragraph from @deftypefun line.
39333 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39335 (vsyslog): Use @var{} on parameter names.
39336 * manual/terminal.texi (stty): Use @var{} on parameter names.
39337 * manual/users.texi (getutmp): Use @var{} on parameter names.
39338 (getutmpx): Likewise.
39340 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39343 * manual/stdio.texi (fopen): Fix typos in description of
39346 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39349 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39350 get clock_id definition.
39352 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39355 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39356 (madvise): Cast every argument to void on its own.
39358 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39361 * manual/startup.texi (Exit Status): Fix typo.
39363 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39366 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39367 * manual/examples/argp-ex2.c: Likewise.
39368 * manual/examples/argp-ex3.c: Likewise.
39370 2012-02-16 Richard Henderson <rth@redhat.com>
39372 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39373 * sysdeps/s390/s390-32/initfini.c: Remove.
39374 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39375 * sysdeps/s390/s390-64/initfini.c: Remove.
39377 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39379 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39380 compiler output for sysdeps/generic/initfini.c.
39381 * sysdeps/sh/elf/initfini.c: Remove file.
39383 2012-02-16 David S. Miller <davem@davemloft.net>
39386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39388 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39389 * sysdeps/sparc/crti.S: New file.
39390 * sysdeps/sparc/crtn.S: New file.
39391 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39392 * sysdeps/sparc/sparc64/Makefile: Likewise.
39394 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39397 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39399 2012-02-15 Roland McGrath <roland@hack.frob.com>
39402 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39404 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39405 (write, read, close): Likewise.
39406 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39408 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39410 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39411 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39412 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39413 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39415 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39419 2012-02-14 Marek Polacek <polacek@redhat.com>
39421 * sysdeps/x86_64/crti.S: New file.
39422 * sysdeps/x86_64/crtn.S: New file.
39423 * sysdeps/x86_64/elf/initfini.c: Remove file.
39425 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39427 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39428 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39429 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39430 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39432 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39436 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39438 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39439 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39440 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39441 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39443 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39447 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39449 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39450 __feraiseexcept instead of feraiseexcept.
39452 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39453 nanosleep invocations.
39454 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39455 strings, and add error checking for a nanosleep invocations.
39457 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39459 Replace FSF snail mail address with URLs, as per GNU coding standards.
39460 Most of the snail mail addresses were wrong anyway, and omitting
39461 them makes the source code easier to maintain. Almost all of the
39462 changes are to license notices and to locale LC_IDENTIFICATION
39463 addresses, except for this one:
39464 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39465 not its snail mail address.
39467 2012-02-09 Richard Henderson <rth@twiddle.net>
39469 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39470 of kernel-features.h.
39472 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39474 2012-02-08 Marek Polacek <polacek@redhat.com>
39476 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39477 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39478 * sysdeps/gnu/_G_config.h: Likewise.
39479 * sysdeps/generic/_G_config.h: Likewise.
39481 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39483 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39487 * sysdeps/powerpc/powerpc32/crti.S: New file.
39488 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39489 * sysdeps/powerpc/powerpc64/crti.S: New file.
39490 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39492 * Makeconfig (have-initfini): Don't set.
39493 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39494 * configure.in (nopic_initfini): Don't substitute.
39495 * config.h.in (HAVE_INITFINI): Don't #undef.
39496 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39497 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39499 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39501 Support crti.S and crtn.S provided directly by architectures.
39502 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39503 [crti.S in sysdirs] (omit-deps): Likewise.
39504 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39505 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39506 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39507 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39508 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39509 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39510 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39511 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39512 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39513 compiler output for sysdeps/generic/initfini.c.
39514 * sysdeps/i386/elf/Makefile: Remove file.
39515 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39517 2012-02-07 Marek Polacek <polacek@redhat.com>
39519 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39520 * sysdeps/gnu/_G_config.h: Likewise.
39521 * sysdeps/mach/hurd/_G_config.h: Likewise.
39523 2012-02-07 Marek Polacek <polacek@redhat.com>
39525 * math/Makefile (tests): Add tst-CMPLX2.
39526 * math/tst-CMPLX2.c: New file.
39528 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39530 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39532 * math/libm-test.inc (jn_test): Add missing L suffix.
39534 2012-02-06 Marek Polacek <polacek@redhat.com>
39536 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39537 * sysdeps/i386/fpu/e_powf.S: Likewise.
39538 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39539 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39540 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39541 * sysdeps/i386/fpu/e_pow.S: Likewise.
39542 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39543 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39544 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39545 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39546 * sysdeps/i386/fpu/e_log2.S: Likewise.
39547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39548 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39549 * sysdeps/i386/fpu/e_powl.S: Likewise.
39550 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39551 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39552 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39553 * sysdeps/i386/fpu/e_logl.S: Likewise.
39554 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39555 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39556 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39557 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39558 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39559 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39560 * sysdeps/i386/fpu/e_log.S: Likewise.
39561 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39563 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39564 * sysdeps/i386/fpu/e_logf.S: Likewise.
39565 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39566 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39567 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39568 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39569 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39570 * sysdeps/i386/fpu/e_log10.S: Likewise.
39571 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39572 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39573 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39574 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39575 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39576 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39577 * sysdeps/i386/asm-syntax.h: Likewise.
39578 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39579 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39580 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39581 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39582 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39583 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39584 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39585 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39586 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39587 * sysdeps/powerpc/sysdep.h: Likewise.
39588 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39589 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39591 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39594 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39596 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39598 * sysdeps/i386/sysdep.h: Include <features.h>.
39599 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39602 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39604 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39606 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39609 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39611 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39612 (SETUP_PIC_REG): Use GET_PC_THUNK.
39613 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39616 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39618 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39619 for non-PIC compilation.
39620 (SETUP_PIC_REG): Add .p2align directive.
39621 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39622 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39623 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39624 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39625 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39626 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39627 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39629 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39630 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39631 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39632 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39633 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39634 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39635 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39636 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39637 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39638 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39639 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39640 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39641 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39643 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39645 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39647 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39648 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39649 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39650 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39651 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39652 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39653 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39654 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39655 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39656 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39657 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39658 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39659 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39660 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39661 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39663 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39665 * math/tst-CMPLX.c: Include <stdio.h>.
39667 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39669 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39671 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39672 * sysdeps/sparc/bits/mathdef.h: Likewise.
39674 2012-01-31 Marek Polacek <polacek@redhat.com>
39676 * libio/libio.h: Don't define _PARAMS.
39677 * locale/programs/config.h: Don't define PARAMS.
39678 * stdlib/strtol_l.c: Likewise.
39679 (__strtol_l): Remove PARAMS from the prototype.
39681 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39683 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39684 names. Just use the correct names. Remove unnecessary wrapper
39686 * malloc/arena.c: Likewise.
39687 * malloc/hooks.c: Likewise.
39689 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39690 ARENA_TEST says not to. Simplify test for creation of a new arena.
39691 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39693 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39695 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39697 (update_get_addr): New function.
39698 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39699 GET_ADDR_MODULE parameter.
39701 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39703 * crypt/cert.c: Remove __STDC__ conditionals.
39704 * crypt/crypt-entry.c: Likewise.
39705 * crypt/crypt_util.c: Likewise.
39706 * libio/filedoalloc.c: Likewise.
39707 * libio/fileops.c: Likewise.
39708 * libio/genops.c: Likewise.
39709 * libio/iofclose.c: Likewise.
39710 * libio/iofdopen.c: Likewise.
39711 * libio/iofopen.c: Likewise.
39712 * libio/iofopen64.c: Likewise.
39713 * libio/iogetdelim.c: Likewise.
39714 * libio/iopopen.c: Likewise.
39715 * libio/obprintf.c: Likewise.
39716 * libio/oldfileops.c: Likewise.
39717 * libio/oldiofclose.c: Likewise.
39718 * libio/oldiofdopen.c: Likewise.
39719 * libio/oldiofopen.c: Likewise.
39720 * libio/oldiopopen.c: Likewise.
39721 * libio/wfiledoalloc.c: Likewise.
39722 * libio/wgenops.c: Likewise.
39723 * locale/programs/xmalloc.c: Likewise.
39724 * misc/syslog.c: Likewise.
39725 * stdio-common/xbug.c: Likewise.
39726 * string/memchr.c: Likewise.
39727 * string/memcmp.c: Likewise.
39728 * string/memrchr.c: Likewise.
39729 * string/rawmemchr.c: Likewise.
39730 * sysdeps/posix/getcwd.c: Likewise.
39731 * time/strftime_l.c: Likewise.
39733 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39735 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39736 * config.make.in (config-cflags-sse2avx): Define.
39737 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39740 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39742 * scripts/config.guess: Update from upstream config git repository.
39743 * scripts/config.sub: Likewise.
39745 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39747 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39749 (R_TILEPRO_*, R_TILEGX_*): New macros.
39751 * scripts/firstversions.awk: Fix bug in version range handling.
39753 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39755 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39757 * include/sys/epoll.h: New file.
39758 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39761 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39763 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39764 Avoid unnecessary __WORDSIZE == 64 test.
39765 (fmaxf): Use VEX format if possible.
39770 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39771 * math/math_private.h: Remove libc_fegetround* and
39773 * sysdeps/i386/configure.in: Check for -msse2avx.
39774 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39775 also if SSE2AVX is defined.
39776 Remove libc_fegetround* and libc_fesetround*.
39777 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39778 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39782 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39785 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39787 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39789 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39791 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39793 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39795 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39798 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39800 * Makeconfig (libm): Define.
39801 * elf/Makefile: Add rules to build and run tst-relsort1.
39802 * elf/tst-relsort1.c: New file.
39803 * elf/tst-relsort1mod1.c: New file.
39804 * elf/tst-relsort1mod2.c: New file.
39806 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39808 * math/s_ldexp.c: Remove __STDC__ conditionals.
39809 * math/s_ldexpf.c: Likewise.
39810 * math/s_ldexpl.c: Likewise.
39811 * math/s_nextafter.c: Likewise.
39812 * math/s_nexttowardf.c: Likewise.
39813 * math/s_significand.c: Likewise.
39814 * math/s_significandf.c: Likewise.
39815 * math/s_significandl.c: Likewise.
39816 * math/w_jnl.c: Likewise.
39817 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39818 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39819 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39820 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39821 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39823 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39824 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39825 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39826 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39827 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39828 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39829 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39830 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39831 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39832 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39833 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39834 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39835 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39836 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39837 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39838 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39839 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39840 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39841 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39842 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39843 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39844 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39845 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39846 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39847 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39848 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39849 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39850 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39851 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39852 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39853 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39854 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39855 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39856 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39857 * sysdeps/ieee754/k_standard.c: Likewise.
39858 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39859 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39860 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39861 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39862 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39863 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39865 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39866 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39867 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39868 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39869 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39870 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39871 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39872 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39873 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39874 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39875 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39876 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39877 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39878 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39879 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39880 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39881 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39882 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39883 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39884 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39887 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39888 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39889 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39890 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39891 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39893 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39894 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39896 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39897 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39898 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39899 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39900 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39901 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39902 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39903 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39904 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39905 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39906 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39907 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39908 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39909 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39910 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39911 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39912 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39913 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39914 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39915 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39916 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39917 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39918 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39919 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39920 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39921 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39922 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39923 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39924 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39925 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39926 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39927 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39928 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39929 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39930 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39931 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39932 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39933 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39934 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39935 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39937 * sysdeps/ieee754/s_matherr.c: Likewise.
39938 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39939 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39943 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39945 * crypt/md5.h: Remove __STDC__ conditionals.
39946 * libio/libioP.h: Likewise.
39947 * locale/programs/config.h: Likewise.
39948 * sysdeps/generic/sysdep.h: Likewise.
39949 * sysdeps/i386/asm-syntax.h: Likewise.
39950 * sysdeps/s390/asm-syntax.h: Likewise.
39951 * sysdeps/unix/sysdep.h: Likewise.
39952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39955 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39957 * libio/libio.h: Remove __STDC__ conditionals.
39958 * malloc/obstack.h: Likewise.
39959 * math/complex.h: Likewise.
39960 * math/math.h: Likewise.
39961 * sysdeps/generic/_G_config.h: Likewise.
39962 * sysdeps/gnu/_G_config.h: Likewise.
39963 * sysdeps/mach/hurd/_G_config.h: Likewise.
39964 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39965 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39966 * sysdeps/sparc/bits/mathdef.h: Likewise.
39968 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39971 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39972 Clean up HAS_* macros.
39973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39974 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39979 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39984 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39986 * elf/tst-unique3.cc (gets): Remove declaration.
39987 * elf/tst-unique3lib.cc (gets): Likewise.
39988 * elf/tst-unique3lib2.cc (gets): Likewise.
39989 * elf/tst-unique4.cc (gets): Likewise.
39991 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39993 * include/stdio.h: Add C++ protection. Add gets declarations and
39995 * debug/tst-chk1.c: Don't declare gets here.
39996 * stdio-common/tst-gets.c: Likewise.
39998 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40000 * posix/glob: Remove directory.
40002 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40004 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40006 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40008 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40009 of the non-standard EPFNOSUPPORT.
40011 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40013 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40014 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40015 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40017 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40019 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40021 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40023 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40025 * nscd/grpcache.c (cache_addgr): Likewise.
40026 * nscd/hstcache.c (cache_addhst): Likewise.
40027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40028 * nscd/pwdcache.c (cache_addpw): Likewise.
40029 * nscd/servicescache.c (cache_addserv): Likewise.
40031 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40033 * malloc/malloc.c: Various cleanups.
40034 * malloc/hooks.c: Likewise.
40036 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40037 * stdlib/bug-fmtmsg1.c: New file.
40039 * stdlib/fmtmsg.c (init): Add missing unlock.
40040 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40042 2012-01-12 Marek Polacek <polacek@redhat.com>
40044 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40047 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40049 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40050 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40051 macro to ensure uniqueness of label name.
40052 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40053 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40055 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40057 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40059 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40060 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40061 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40064 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40066 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40068 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40069 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40070 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40072 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40074 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40075 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40076 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40079 * math/bits/math-finite.h: Add ldexp support.
40081 2012-01-10 Marek Polacek <polacek@redhat.com>
40083 * locale/programs/localedef.h (show_archive_content): Add noreturn
40086 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40088 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40090 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40092 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40094 * io/Makefile (headers): Add bits/poll2.h.
40096 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40099 typo #include statement.
40101 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40103 * include/sys/cdefs.h: Define __attribute_alloc_size.
40104 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40105 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40106 * elf/pldd.c: Likewise.
40107 * iconv/iconv_charmap.c: Likewise.
40108 * iconv/iconvconfig.c: Likewise.
40109 * iconv/strtab.c: Likewise.
40110 * locale/programs/locale.c: Likewise.
40111 * locale/programs/localedef.h: Likewise.
40112 * locale/programs/simple-hash.c: Likewise.
40113 * nscd/nscd.h: Likewise.
40114 * nss/makedb.c: Likewise.
40115 * sysdeps/generic/ldconfig.h: Likewise.
40116 * locale/programs/localedef.c: Remove xmalloc prototype.
40117 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40119 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40121 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40124 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40126 * math/Makefile (tests): Add tst-CMPLX.
40127 * math/tst-CMPLX.c: New file.
40129 * math/complex.h (CMPLXL): Fix typo.
40131 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40132 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40134 * debug/tst-chk1.c: Add poll and ppoll tests.
40135 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40136 * include/sys/poll.h: Add hidden proto for ppoll.
40137 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40138 * sysdeps/mach/hurd/ppoll.c: Likewise.
40139 * io/ppoll.c: Likewise.
40140 * debug/poll_chk.c: New file.
40141 * debug/ppoll_chk.c: New file.
40142 * include/bits/poll2.h: New file.
40143 * io/bits/poll2.h: New file.
40146 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40148 * configure.in: static is always set to yes. Remove.
40149 * config.make.in: Don't set build-static.
40150 * Makeconfig: Remove use of build-static.
40151 * dlfcn/Makefile: Likewise.
40152 * elf/Makefile: Likewise.
40153 * math/Makefile: Likewise.
40154 * misc/Makefile: Likewise.
40155 * nptl/Makefile: Likewise.
40156 * sysdeps/mach/hurd/Makefile: Likewise.
40158 * configure.in: PWD_P is not used anymore.
40159 * config.make.in: Remove PWD_P entry.
40161 * configure.in: Remove last remnants of RANLIB.
40162 No need to check for signed size_t anymore.
40163 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40165 Remove __builtin_expect test because we require at least gcc 3.4.
40166 * aclocal.m4: Likewise.
40168 * wcsmbs/mbrtoc16.c: Implement using towc function.
40169 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40170 * wcsmbs/wcsmbsload.c: Likewise.
40171 * iconv/gconv_simple.c: Likewise.
40172 * iconv/gconv_int.h: Likewise.
40173 * iconv/gconv_builtin.h: Likewise.
40174 * iconv/iconv_prog.c: Remove CHAR16 handling.
40176 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40178 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40180 * configure.in: Remove --with-elf and --enable-bounded options.
40181 Dont set base_machine for ia64. More non-ELF conditions removed.
40182 Remove testing and setting of leading underscore information.
40183 * config.make.in (build-bounded): Set to no.
40184 * config.h.in: Remove NO_UNDERSCORES entry.
40185 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40187 * csu/start.c: Remove !NO_UNDERSCORE code.
40188 * locale/localeinfo.h: Likewise.
40189 * sysdeps/generic/machine-gmon.h: Likewise.
40190 * sysdeps/generic/sysdep.h: Likewise.
40191 * sysdeps/i386/sysdep.h: Likewise.
40192 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40193 * sysdeps/mach/sysdep.h: Likewise.
40194 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40195 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40196 * sysdeps/sh/sysdep.h: Likewise.
40197 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40198 * sysdeps/unix/i386/sysdep.S: Likewise.
40199 * sysdeps/unix/sparc/start.c: Likewise.
40200 * sysdeps/unix/sparc/sysdep.S: Likewise.
40201 * sysdeps/unix/sparc/sysdep.h: Likewise.
40202 * sysdeps/unix/start.c: Likewise.
40203 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40204 * sysdeps/x86_64/sysdep.h: Likewise.
40206 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40209 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40211 * argp/argp-fmtstream.h: Use const instead __const.
40212 * argp/argp.h: Likewise.
40213 * assert/assert.h: Likewise.
40214 * bits/fenv.h: Likewise.
40215 * bits/sched.h: Likewise.
40216 * bits/sigset.h: Likewise.
40217 * bits/sigthread.h: Likewise.
40218 * catgets/nl_types.h: Likewise.
40219 * conform/data/pthread.h-data: Likewise.
40220 * crypt/crypt-private.h: Likewise.
40221 * crypt/crypt.h: Likewise.
40222 * crypt/crypt_util.c: Likewise.
40223 * ctype/ctype.h: Likewise.
40224 * debug/execinfo.h: Likewise.
40225 * debug/mbsnrtowcs_chk.c: Likewise.
40226 * debug/mbsrtowcs_chk.c: Likewise.
40227 * debug/wcsnrtombs_chk.c: Likewise.
40228 * debug/wcsrtombs_chk.c: Likewise.
40229 * debug/wcstombs_chk.c: Likewise.
40230 * dirent/dirent.h: Likewise.
40231 * dlfcn/dlfcn.h: Likewise.
40232 * elf/neededtest4.c: Likewise.
40233 * grp/grp.h: Likewise.
40234 * gshadow/gshadow.h: Likewise.
40235 * iconv/gconv.h: Likewise.
40236 * iconv/gconv_int.h: Likewise.
40237 * iconv/gconv_simple.c: Likewise.
40238 * iconv/iconv.h: Likewise.
40239 * iconv/loop.c: Likewise.
40240 * iconv/skeleton.c: Likewise.
40241 * include/aio.h: Likewise.
40242 * include/aliases.h: Likewise.
40243 * include/argz.h: Likewise.
40244 * include/arpa/inet.h: Likewise.
40245 * include/assert.h: Likewise.
40246 * include/dirent.h: Likewise.
40247 * include/dlfcn.h: Likewise.
40248 * include/execinfo.h: Likewise.
40249 * include/fcntl.h: Likewise.
40250 * include/fenv.h: Likewise.
40251 * include/glob.h: Likewise.
40252 * include/grp.h: Likewise.
40253 * include/libintl.h: Likewise.
40254 * include/mntent.h: Likewise.
40255 * include/netdb.h: Likewise.
40256 * include/pwd.h: Likewise.
40257 * include/rpc/netdb.h: Likewise.
40258 * include/sched.h: Likewise.
40259 * include/search.h: Likewise.
40260 * include/shadow.h: Likewise.
40261 * include/signal.h: Likewise.
40262 * include/stdio.h: Likewise.
40263 * include/stdlib.h: Likewise.
40264 * include/string.h: Likewise.
40265 * include/sys/socket.h: Likewise.
40266 * include/sys/stat.h: Likewise.
40267 * include/sys/statfs.h: Likewise.
40268 * include/sys/statvfs.h: Likewise.
40269 * include/sys/syslog.h: Likewise.
40270 * include/sys/time.h: Likewise.
40271 * include/sys/uio.h: Likewise.
40272 * include/time.h: Likewise.
40273 * include/unistd.h: Likewise.
40274 * include/utmp.h: Likewise.
40275 * include/wchar.h: Likewise.
40276 * include/wctype.h: Likewise.
40277 * inet/aliases.h: Likewise.
40278 * inet/arpa/inet.h: Likewise.
40279 * inet/netinet/ether.h: Likewise.
40280 * inet/netinet/in.h: Likewise.
40281 * intl/libintl.h: Likewise.
40282 * io/bits/fcntl2.h: Likewise.
40283 * io/fcntl.h: Likewise.
40284 * io/ftw.h: Likewise.
40285 * io/sys/poll.h: Likewise.
40286 * io/sys/stat.h: Likewise.
40287 * io/sys/statfs.h: Likewise.
40288 * io/sys/statvfs.h: Likewise.
40289 * io/utime.h: Likewise.
40290 * libio/bits/stdio.h: Likewise.
40291 * libio/bits/stdio2.h: Likewise.
40292 * libio/libio.h: Likewise.
40293 * libio/libioP.h: Likewise.
40294 * libio/stdio.h: Likewise.
40295 * locale/lc-ctype.c: Likewise.
40296 * locale/locale.h: Likewise.
40297 * login/utmp.h: Likewise.
40298 * malloc/arena.c: Likewise.
40299 * malloc/malloc.c: Likewise.
40300 * malloc/malloc.h: Likewise.
40301 * malloc/mcheck.c: Likewise.
40302 * malloc/mtrace.c: Likewise.
40303 * math/bits/mathcalls.h: Likewise.
40304 * math/fenv.h: Likewise.
40305 * math/math_private.h: Likewise.
40306 * misc/bits/error.h: Likewise.
40307 * misc/bits/syslog.h: Likewise.
40308 * misc/err.h: Likewise.
40309 * misc/error.h: Likewise.
40310 * misc/fstab.h: Likewise.
40311 * misc/mntent.h: Likewise.
40312 * misc/regexp.h: Likewise.
40313 * misc/search.h: Likewise.
40314 * misc/sgtty.h: Likewise.
40315 * misc/sys/mman.h: Likewise.
40316 * misc/sys/syslog.h: Likewise.
40317 * misc/sys/uio.h: Likewise.
40318 * misc/sys/xattr.h: Likewise.
40319 * misc/ttyent.h: Likewise.
40320 * nis/rpcsvc/ypclnt.h: Likewise.
40321 * nss/nss.h: Likewise.
40322 * posix/bits/unistd.h: Likewise.
40323 * posix/fnmatch.h: Likewise.
40324 * posix/glob.h: Likewise.
40325 * posix/sched.h: Likewise.
40326 * posix/spawn.h: Likewise.
40327 * posix/sys/wait.h: Likewise.
40328 * posix/unistd.h: Likewise.
40329 * posix/wordexp.h: Likewise.
40330 * pwd/pwd.h: Likewise.
40331 * resolv/netdb.h: Likewise.
40332 * resource/sys/resource.h: Likewise.
40333 * rt/aio.h: Likewise.
40334 * rt/bits/mqueue2.h: Likewise.
40335 * rt/mqueue.h: Likewise.
40336 * shadow/shadow.h: Likewise.
40337 * signal/signal.h: Likewise.
40338 * socket/send.c: Likewise.
40339 * socket/sendto.c: Likewise.
40340 * socket/sys/socket.h: Likewise.
40341 * stdio-common/printf.h: Likewise.
40342 * stdlib/bits/stdlib.h: Likewise.
40343 * stdlib/fmtmsg.h: Likewise.
40344 * stdlib/monetary.h: Likewise.
40345 * stdlib/stdlib.h: Likewise.
40346 * stdlib/ucontext.h: Likewise.
40347 * streams/stropts.h: Likewise.
40348 * string/argz.h: Likewise.
40349 * string/bits/string2.h: Likewise.
40350 * string/string.h: Likewise.
40351 * string/strings.h: Likewise.
40352 * sunrpc/rpc/auth.h: Likewise.
40353 * sunrpc/rpc/auth_des.h: Likewise.
40354 * sunrpc/rpc/clnt.h: Likewise.
40355 * sunrpc/rpc/netdb.h: Likewise.
40356 * sunrpc/rpc/pmap_clnt.h: Likewise.
40357 * sunrpc/rpc/xdr.h: Likewise.
40358 * sysdeps/generic/inttypes.h: Likewise.
40359 * sysdeps/generic/net/if.h: Likewise.
40360 * sysdeps/generic/sys/swap.h: Likewise.
40361 * sysdeps/gnu/net/if.h: Likewise.
40362 * sysdeps/gnu/utmpx.h: Likewise.
40363 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40364 * sysdeps/i386/i486/bits/string.h: Likewise.
40365 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40366 * sysdeps/s390/bits/string.h: Likewise.
40367 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40368 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40369 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40370 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40371 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40372 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40373 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40374 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40375 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40376 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40377 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40378 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40379 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40380 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40381 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40382 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40383 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40384 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40385 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40386 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40387 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40388 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40389 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40390 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40391 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40392 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40393 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40394 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40395 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40396 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40397 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40398 * sysvipc/sys/ipc.h: Likewise.
40399 * sysvipc/sys/msg.h: Likewise.
40400 * sysvipc/sys/sem.h: Likewise.
40401 * sysvipc/sys/shm.h: Likewise.
40402 * termios/termios.h: Likewise.
40403 * time/sys/time.h: Likewise.
40404 * time/time.h: Likewise.
40405 * wcsmbs/bits/wchar2.h: Likewise.
40406 * wcsmbs/uchar.h: Likewise.
40407 * wcsmbs/wchar.h: Likewise.
40408 * wctype/wctype.h: Likewise.
40411 * Makeconfig: Remove all but ELF support including AIX support.
40412 * Makerules: Likewise.
40413 * config.h.in: Likewise.
40414 * config.make.in: Likewise.
40415 * configure: Likewise.
40416 * configure.in: Likewise.
40417 * csu/Makefile: Likewise.
40418 * csu/version.c: Likewise.
40419 * debug/Makefile: Likewise.
40420 * dlfcn/Makefile: Likewise.
40421 * elf/Makefile: Likewise.
40422 * extra-lib.mk: Likewise.
40423 * iconv/Makefile: Likewise.
40424 * include/libc-symbols.h: Likewise.
40425 * include/shlib-compat.h: Likewise.
40426 * resolv/Makefile: Likewise.
40427 * resolv/res_libc.c: Likewise.
40428 * rt/Makefile: Likewise.
40429 * sysdeps/i386/asm-syntax.h: Likewise.
40430 * sysdeps/i386/sysdep.h: Likewise.
40431 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40432 * sysdeps/mach/sysdep.h: Likewise.
40433 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40434 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40435 * sysdeps/s390/asm-syntax.h: Likewise.
40436 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40437 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40438 * sysdeps/sh/sysdep.h: Likewise.
40439 * sysdeps/unix/sparc/sysdep.h: Likewise.
40440 * sysdeps/wordsize-32/divdi3.c: Likewise.
40441 * sysdeps/x86_64/sysdep.h: Likewise.
40443 * argp/Versions: Remove _argp_unlock_xxx.
40446 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40447 * abilist/libBrokenLocale.abilist: Likewise.
40448 * abilist/libanl.abilist: Likewise.
40449 * abilist/libc.abilist: Likewise.
40450 * abilist/libcrypt.abilist: Likewise.
40451 * abilist/libdl.abilist: Likewise.
40452 * abilist/libm.abilist: Likewise.
40453 * abilist/libnsl.abilist: Likewise.
40454 * abilist/libpthread.abilist: Likewise.
40455 * abilist/libresolv.abilist: Likewise.
40456 * abilist/librt.abilist: Likewise.
40457 * abilist/libthread_db.abilist: Likewise.
40458 * abilist/libutil.abilist: Likewise.
40459 * abilist/libnss_db.abilist: New file.
40461 * scripts/abilist.awk: Add support for indirect functions.
40463 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40465 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40467 * shlib-versions: Remove entries for ports architectures.
40469 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40471 * elf/stackguard-macros.h: Remove support for IA-64.
40472 * elf/tst-auditmod1.c: Likewise.
40473 * sysdeps/generic/ldsodefs.h: Likewise.
40475 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40476 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40480 * configure.in: Remove --enable-omitfp support.
40482 * config.make.in: Likewise.
40483 * Makeconfig: Likewise.
40484 * manual/install.texi: Likewise.
40486 In case anyone cares, the IA-64 architecture could move to ports.
40487 * sysdeps/ia64/*: Removed.
40488 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40489 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40492 * configure.in: Remove entries for unsupported architectures.
40495 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40496 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40498 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40499 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40500 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40501 fall back to using wcrtomb.
40502 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40503 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40505 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40506 * wcsmbs/tst-c16c32-1.c: New file.
40508 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40511 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40513 * elf/tst-unique3.cc: Add explicit declaration of gets.
40514 * elf/tst-unique3lib.cc: Likewise.
40515 * elf/tst-unique3lib2.cc: Likewise.
40516 * elf/tst-unique4.cc: Likewise.
40518 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40520 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40523 * assert/assert.h (static_assert): Don't define for C++.
40524 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40525 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40527 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40529 * iconv/loop.c (single loop): Fix assertion in storing of
40532 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40534 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40536 * posix/getconf.c: Update copyright year.
40537 * nss/getent.c: Likewise.
40538 * nss/makedb.c: Likewise.
40539 * iconv/iconvconfig.c: Likewise.
40540 * iconv/iconv_prog.c: Likewise.
40541 * elf/ldconfig.c: Likewise.
40542 * elf/pldd.c: Likewise.
40543 * elf/sotruss.ksh: Likewise.
40544 * catgets/gencat.c: Likewise.
40545 * csu/version.c: Likewise.
40546 * elf/ldd.bash.in: Likewise.
40547 * elf/sprof.c (print_version): Likewise.
40548 * locale/programs/locale.c: Likewise.
40549 * locale/programs/localedef.c: Likewise.
40550 * login/programs/pt_chown.c: Likewise.
40551 * nscd/nscd.c (print_version): Likewise.
40552 * debug/xtrace.sh: Likewise.
40553 * malloc/memusage.sh: Likewise.
40554 * malloc/mtrace.pl: Likewise.
40555 * debug/catchsegv.sh: Likewise.
40557 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40559 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40562 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40565 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40566 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40568 * iconv/gconv_int.h: Likewise.
40569 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40570 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40571 from libc for GLIBC_2.16.
40572 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40573 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40574 * wcsmbs/uchar.h: Really define mbstate_t.
40575 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40576 * wcsmbs/c16rtomb.c: New file.
40577 * wcsmbs/mbrtoc16.c: New file.
40578 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40579 for C/POSIX locale.
40580 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40581 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40583 * wcsmbs/wchar.h: Add missing __restrict.
40585 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40588 * time/Makefile (routines): Add timespec_get.
40589 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40590 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40591 timespec for ISO C11.
40592 * time/timespec_get.c: New file.
40593 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40594 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40597 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40598 * stdlib/stdlib.h: Declare aligned_alloc.
40599 * Versions.def: Add GLIBC_2.16 for libc.
40600 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40603 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40606 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40610 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40613 * assert/assert.h (static_assert): Define.
40615 * version.h: Update for 2.16 development version.
40618 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40621 * version.h (RELEASE): Bump for 2.15 release.
40622 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40624 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40625 Patch by Marek Polacek <mpolacek@redhat.com>.
40627 * bits/byteswap.h: Protect long long constants with __extension__.
40628 * sysdeps/i386/bits/byteswap.h: Likewise.
40629 * sysdeps/ia64/bits/byteswap.h: Likewise.
40630 * sysdeps/s390/bits/byteswap.h: Likewise.
40631 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40633 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40636 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40637 destination buffer.
40638 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40640 2011-12-23 Marek Polacek <polacek@redhat.com>
40642 * elf/dl-addr.c (determine_info): Add inline keyword.
40643 * elf/tst-auditmod4b.c (check_avx): Likewise.
40644 * elf/tst-auditmod6b.c (check_avx): Likewise.
40645 * elf/tst-auditmod6c.c (check_avx): Likewise.
40646 * elf/tst-auditmod7b.c (check_avx): Likewise.
40648 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40650 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40653 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40656 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40657 processing for last bytes.
40659 2011-08-06 Bruno Haible <bruno@clisp.org>
40662 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40663 U+0385, not to U+1FEE.
40666 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40667 entry for U+00A5 U+0301.
40669 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40672 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40673 buffer for the output is too small.
40675 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40679 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40680 SSE flags if possible.
40682 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40686 processing for last bytes.
40688 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40690 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40691 (syscall-list-default-options, syscall-list-default-condition)
40692 (syscall-list-includes): Define.
40693 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40694 list of ABIs and options and #if conditions for each ABI. Do not
40695 handle common syscalls between ABIs specially.
40696 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40698 (syscall-list-variants, syscall-list-32bit-options)
40699 (syscall-list-32bit-condition, syscall-list-64bit-options)
40700 (syscall-list-64bit-condition): Define.
40701 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40702 (syscall-list-variants, syscall-list-32bit-options)
40703 (syscall-list-32bit-condition, syscall-list-64bit-options)
40704 (syscall-list-64bit-condition): Define.
40705 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40707 (syscall-list-variants, syscall-list-32bit-options)
40708 (syscall-list-32bit-condition, syscall-list-64bit-options)
40709 (syscall-list-64bit-condition): Define.
40710 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40712 (syscall-list-variants, syscall-list-32bit-options)
40713 (syscall-list-32bit-condition, syscall-list-64bit-options)
40714 (syscall-list-64bit-condition): Define.
40716 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40718 * locale/iso-639.def: Add brx entry.
40721 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40722 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40724 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40725 __feraiseexcept_renamed.
40727 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40730 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40731 EPOLLET with unsigned values.
40732 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40733 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40735 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40736 to large cancellation.
40737 * math/s_cacoshf.c: Likewise.
40738 * math/s_cacoshl.c: Likewise.
40740 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40744 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40745 * math/s_cacoshf.c: Likewise.
40746 * math/s_cacoshl.c: Likewise.
40748 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40751 * iconv/gconv.h: Define __GCONV_SWAP.
40752 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40753 * iconvdata/utf-16.c: Likewise.
40754 * iconvdata/utf-32.c: Likewise.
40756 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40760 numerator after shifting it by one limb.
40762 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40764 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40765 under [__USE_EXTERN_INLINES].
40767 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40770 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40772 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40774 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40775 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40777 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40778 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40779 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40780 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40781 for strncasecmp/strncasecmp_l compilation.
40782 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40783 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40785 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40788 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40791 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40794 * time/tzfile.c (__tzfile_read): Check values from file header.
40796 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40798 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40799 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40800 * powerpc/powerpc32/dl-start.S: Likewise.
40801 * powerpc/powerpc32/elf/start.S: Likewise.
40802 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40803 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40804 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40805 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40806 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40807 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40808 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40809 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40810 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40811 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40812 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40813 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40814 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40815 * powerpc/powerpc32/memset.S: Likewise.
40816 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40817 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40818 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40819 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40820 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40821 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40822 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40823 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40824 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40825 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40826 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40827 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40828 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40830 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40832 * math/libm-test.inc: Added more nearbyint tests.
40833 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40838 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40840 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40843 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40845 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40846 Add wcscpy-ssse3 wcscpy-c.
40847 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40848 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40849 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40850 * sysdeps/x86_64/wcschr.S: New file.
40851 * sysdeps/x86_64/wcsrchr.S: New file.
40852 * string/test-strcmp.c: Remove checking of wcscmp function for
40854 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40855 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40856 wcsrchr-sse2 wcsrchr-c.
40857 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40858 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40859 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40860 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40861 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40862 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40863 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40864 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40865 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40866 * wcsmbc/wcschr.c (WCSCHR): New macro.
40868 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40870 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40871 * wcsmbs/test-wcsrchr.c: New file.
40872 * string/test-strrchr.c: Add wcsrchr support.
40874 * wcsmbs/test-wcscpy.c: New file.
40875 * string/test-strcpy.c: Add wcscpy support.
40878 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40880 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40883 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40886 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40888 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40890 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40891 Minor optimizations.
40893 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40894 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40895 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40897 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40899 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40900 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40901 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40902 for gcc to avoid warnings.
40903 * inet/Makefile (tests): Add tst-checks.
40904 * inet/tst-checks.c: New file.
40906 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40909 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40912 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40913 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40915 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40917 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40919 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40922 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40924 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40926 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40927 conditional on GCC version.
40928 (__arch_compare_and_exchange_val_8_acq)
40929 (__arch_compare_and_exchange_val_16_acq)
40930 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40931 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40932 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40934 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40936 * sysdeps/sh/backtrace.c: New file.
40938 2011-12-02 Andreas Schwab <schwab@redhat.com>
40940 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40943 2011-12-01 Andreas Schwab <schwab@redhat.com>
40945 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40946 falling back to utime.
40948 2011-11-30 Andreas Schwab <schwab@redhat.com>
40950 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40951 expectations for float.
40953 2011-11-29 Andreas Schwab <schwab@redhat.com>
40955 * locale/weight.h (findidx): Add parameter len.
40956 * locale/weightwc.h (findidx): Likewise.
40957 * posix/fnmatch_loop.c (FCT): Adjust caller.
40958 * posix/regcomp.c (build_equiv_class): Likewise.
40959 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40960 * posix/regexec.c (check_node_accept_bytes): Likewise.
40961 * string/strcoll_l.c (STRCOLL): Likewise.
40962 * string/strxfrm_l.c (STRXFRM): Likewise.
40964 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40966 * Makefile.in: Remove CVSOPT handling.
40967 * configure.in: Remove use of AC_REVISION.
40968 * iconvdata/Makefile (distribute): No need to filter out CVS.
40969 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40972 2011-11-16 Andreas Schwab <schwab@redhat.com>
40974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40975 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40976 [USE_AS_STRNCASECMP_L]: Likewise.
40977 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40978 NO_TLS_DIRECT_SEG_REFS.
40979 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40980 Fix argument offsets for non-PIC.
40981 [USE_AS_STRNCASECMP_L]: Likewise.
40982 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40983 NO_TLS_DIRECT_SEG_REFS.
40985 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40987 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40989 * locale/loadlocale.c (_nl_load_locale): Likewise.
40991 2011-11-15 Andreas Schwab <schwab@redhat.com>
40993 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40994 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40995 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40996 (SYSCALL_GETTIME): Set errno on error.
40998 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40999 count references to noai6ai_cached.
41001 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41003 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41005 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41006 FD_CLOEXEC for /proc/self/maps.
41008 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41009 FD_CLOEXEC for /proc/meminfo.
41011 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41014 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41015 FD_CLOEXEC for given file.
41017 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41019 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41020 FD_CLOEXEC for /etc/hosts.
41021 (_gethtent): Likewise.
41023 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41025 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41026 cancellation and set FD_CLOEXEC for /etc/netgroup.
41028 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41029 reading /etc/publickey.
41031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41032 allow cancellation when reading /etc/group.
41034 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41036 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41038 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41039 when using data file.
41041 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41043 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41044 (write_nis_obj): Use "c" and "e" in fopen.
41046 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41048 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41050 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41052 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41054 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41057 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41059 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41061 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41063 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41064 file parsing and set FD_CLOEXEC.
41066 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41068 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41070 2011-11-14 Andreas Schwab <schwab@redhat.com>
41072 * malloc/arena.c (arena_get2): Don't call reused_arena when
41073 _int_new_arena failed.
41075 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41077 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41078 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41079 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41080 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41081 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41082 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41083 to compile strcasecmp and strncasecmp.
41084 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41085 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41087 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41089 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41091 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41092 locale-defines.sym to gen-as-const-headers.
41093 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41094 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41096 to compile strcasecmp and strncasecmp.
41097 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41098 strcasecmp_l and strncasecmp_l.
41099 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41100 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41101 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41102 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41103 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41104 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41105 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41106 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41107 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41108 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41109 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41111 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41113 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41114 result of SYSDEP_GETTIME_CPU to retval.
41115 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41116 parameter list to macro. Remove trailing semicolon. Adjust users.
41118 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41121 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41123 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41125 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41126 from unused variable.
41128 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41130 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41133 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41136 * sunrpc/rpc_prot.c (rejected): Fix case value.
41138 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41139 unsigned long long int to avoid warnings in shift.
41141 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41143 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41146 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41147 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41148 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41150 * nis/nis_table.c (nis_list): Use variable of correct type for
41151 result of __follow_path call.
41153 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41155 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41156 of math functions ceil, trunc, floor, round, and sqrt, when
41157 avaliable on the platform.
41158 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41160 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41161 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41162 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41164 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41166 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41167 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41169 2011-11-11 Roland McGrath <roland@hack.frob.com>
41171 * include/unistd.h: Fix __readlink return type.
41172 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41174 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41176 * stdlib/ucontext.h: Undo last change for makecontext.
41178 2011-11-11 Andreas Schwab <schwab@redhat.com>
41180 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41182 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41183 * setjmp/setjmp.h: Mark functions as non-leaf.
41184 * setjmp/bits/setjmp2.h: Likewise.
41185 * stdlib/ucontext.h: Likewise.
41187 2011-11-10 Andreas Schwab <schwab@redhat.com>
41189 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41190 (reused_arena): Don't check arena limit.
41191 (arena_get2): Atomically check arena limit.
41193 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41195 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41196 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41201 2011-11-07 Andreas Schwab <schwab@redhat.com>
41203 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41204 handler when locking.
41206 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41207 Fix size of allocated buffer.
41209 2011-11-04 Andreas Schwab <schwab@redhat.com>
41212 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41213 declarations for long double functions.
41214 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41216 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41218 2011-11-03 Andreas Schwab <schwab@redhat.com>
41220 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41223 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41226 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41228 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41230 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41232 * include/alloca.h (stackinfo_alloca_round): Define.
41233 (extend_alloca): Use it.
41234 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41235 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41238 * scripts/check-local-headers.sh: Ignore libaudit.h.
41240 * nscd/Makefile (extra-objs): Make recursively expanded.
41242 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41244 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41247 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41248 * posix/tst-rfc3484-2.c: Likewise.
41249 * posix/tst-rfc3484-3.c: Likewise.
41251 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41253 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41255 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41256 process_vm_writev from libc using GLIBC_2.15 version.
41258 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41260 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41262 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41265 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41268 * nss/getent.c (initgroups_keys): Show error message in case no group
41271 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41272 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41273 __bump_nl_timestamp.
41274 * nscd/connections (nscd_init): When host database is served open
41275 netlink socket and request notification about configuration changes.
41276 (main_loop_poll): Track netlink file descriptor and bump timestamp
41277 in case data becomes available.
41278 (main_loop_epoll): Likewise.
41279 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41280 (database_pers_head): Add extra_data fileds.
41281 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41282 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41283 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41286 in6ai data, call __free_in6ai.
41287 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41288 Add -DHAVE_NETLINK.
41289 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41290 interface information. Reuse previous data if netlink timestamp
41292 (__bump_nl_timestamp): New function.
41293 (__free_in6ai): New function.
41295 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41297 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41298 close_not_cancel_no_status here.
41299 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41301 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41304 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41307 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41308 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41309 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41311 2011-07-03 Andreas Jaeger <aj@suse.de>
41314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41315 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41316 * math/libm-test.inc (sin_test): Add test case.
41318 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41321 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41322 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41324 * elf/chroot_canon.c (chroot_canon): Cleanups.
41326 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41329 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41330 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41332 * string/test-strchr.c: Make usable for strchrnul testing.
41333 * string/test-strchrnul.c: New file.
41334 * string/Makefile (strop-tests): Add strchrnul.
41336 * po/it.po: Update from translation team.
41337 * po/es.po: Likewise.
41339 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41341 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41342 the three constants needed as parameters. Drop the others.
41343 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41344 __m128i_strloadu_tolower.
41345 Create and initialize variable zero and use it in all the places
41346 where _mm_setzero_si128 was used.
41348 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41349 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41350 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41351 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41353 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41354 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41355 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41356 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41357 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41358 __mpranred, __mptan.
41359 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41360 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41361 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41362 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41363 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41364 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41366 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41367 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41369 2011-10-28 Andreas Schwab <schwab@redhat.com>
41371 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41372 redefine if SHARED.
41373 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41376 wide char related routines to wcsmbs subdir.
41378 2011-10-27 Andreas Schwab <schwab@redhat.com>
41381 * misc/sys/cdefs.h (__THROWNL): Define.
41382 * posix/unistd.h: Use __THREADNL instead of __THREAD
41383 for memory synchronization functions.
41385 2011-10-26 Roland McGrath <roland@hack.frob.com>
41388 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41390 * manual/stdio.texi (Obstack Streams): Node removed.
41392 2011-10-26 Andreas Schwab <schwab@redhat.com>
41394 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41395 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41396 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41398 * math/math_private.h (math_force_eval): Allow non-addressable
41400 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41402 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41404 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41405 file is not needed.
41407 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41409 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41410 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41411 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41413 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41414 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41416 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41417 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41418 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41419 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41420 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41421 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41422 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41423 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41424 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41425 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41426 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41427 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41429 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41430 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41431 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41432 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41433 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41434 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41436 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41437 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41439 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41440 place. Use VEX encoding when compiling for AVX.
41442 2011-10-25 Andreas Schwab <schwab@redhat.com>
41444 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41445 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41447 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41449 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41451 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41452 useless if() expression.
41453 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41454 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41455 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41456 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41457 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41458 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41459 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41460 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41461 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41462 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41463 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41464 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41465 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41466 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41467 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41468 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41469 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41470 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41471 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41473 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41475 2011-10-25 Andreas Schwab <schwab@redhat.com>
41477 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41479 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41481 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41483 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41484 .text section. Avoid duplicate constants.
41485 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41486 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41487 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41493 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41494 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41495 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41496 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41497 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41498 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41499 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41500 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41501 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41502 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41503 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41504 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41505 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41506 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41507 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41508 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41509 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41510 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41511 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41512 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41513 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41514 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41515 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41516 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41517 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41518 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41519 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41520 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41521 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41522 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41523 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41524 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41525 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41526 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41527 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41528 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41529 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41531 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41533 * sysdeps/x86_64/dla.h: Move to ...
41534 * sysdeps/x86_64/fpu/dla.h: ...here.
41535 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41536 situations. Use __builtin_fma only for gcc 4.6 and up.
41538 * config.make.in: Add have-mfma4 entry.
41539 * configure.in: Substitute libc_cv_cc_fma4.
41540 * math/Makefile (dbl-only-routines): Add sincostab.
41541 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41542 Use __sincostab not sincos.
41543 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41550 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41551 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41552 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41553 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41555 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41556 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41558 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41559 define aliases when function name is a macro.
41560 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41561 sysdeps/ieee754/dbl-64/sincos.tbl.
41562 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41563 fma4-enabled routines.
41564 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41565 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41566 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41567 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41568 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41569 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41570 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41571 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41572 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41573 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41574 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41575 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41576 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41577 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41578 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41579 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41580 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41581 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41582 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41583 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41584 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41585 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41587 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41589 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41590 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41591 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41592 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41593 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41595 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41603 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41606 2011-10-24 Andreas Schwab <schwab@redhat.com>
41608 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41610 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41612 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41614 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41616 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41618 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41619 Remove unused variable magic_bits.
41620 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41622 * string/strnlen.c: Define and use STRNLEN macro.
41623 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41624 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41626 * wcsmbs/wcslen.c: Define and use WCSLEN.
41627 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41628 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41629 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41630 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41631 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41632 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41633 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41635 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41638 strnlen-sse2-no-bsf.
41639 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41640 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41641 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41642 Add strnlen support.
41643 (USE_AS_STRNLEN): New macro.
41644 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41645 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41646 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41647 * sysdeps/x86_64/wcslen.S: New file.
41649 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41651 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41652 XMM-moves are used for copying on small sizes.
41654 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41656 * wcsmbs/Makefile (strop-tests): Add wcschr.
41657 * wcsmbs/test-wcschr.c: New file.
41658 * string/test-strchr.c: Update.
41659 Add wcschr support.
41662 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41664 * wcsmbs/Makefile (strop-tests): Add wcslen.
41665 * wcsmbs/test-wcslen.c: New file.
41666 * string/test-strlen.c: Update.
41667 Add wcslen support.
41670 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41672 * po/it.po: Update from translation team.
41674 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41676 * sysdeps/x86_64/wcscmp.S: Update.
41677 Fix wrong comparison semantics.
41678 wcscmp shall use signed comparison not unsigned.
41679 Don't use substraction to avoid overflow bug.
41680 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41681 * wcsmbc/wcscmp.c: Likewise.
41682 * string/test-strcmp.c: Likewise.
41683 Add new tests to check cases with negative values.
41685 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41687 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41688 * sysdeps/x86_64/dla.h: ...here. New file.
41689 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41694 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41697 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41699 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41702 __ynl_finite aliases.
41704 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41708 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41710 [DLA_FMA] (EMULV): Use DLA_FMA.
41711 [DLA_FMA] (MUL12): Use EMULV.
41712 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41713 that are not needed.
41714 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41722 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41724 * math/s_nan.c: Undef __nan.
41725 * math/s_nanf.c: Undef __nanf.
41726 * math/s_nanl.c: Undef __nanl.
41727 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41730 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41732 * math/s_catan.c: Add branch predictions.
41733 * math/s_catanf.c: Likewise.
41734 * math/s_catanh.c: Likewise.
41735 * math/s_catanhf.c: Likewise.
41736 * math/s_catanhl.c: Likewise.
41737 * math/s_catanl.c: Likewise.
41738 * math/s_cexp.c: Likewise.
41739 * math/s_cexpf.c: Likewise.
41740 * math/s_cexpl.c: Likewise.
41741 * math/s_clog.c: Likewise.
41742 * math/s_clog10.c: Likewise.
41743 * math/s_clog10f.c: Likewise.
41744 * math/s_clog10l.c: Likewise.
41745 * math/s_clogf.c: Likewise.
41746 * math/s_clogl.c: Likewise.
41747 * math/s_csqrt.c: Likewise.
41748 * math/s_csqrtf.c: Likewise.
41749 * math/s_csqrtl.c: Likewise.
41750 * math/s_ctanf.c: Likewise.
41751 * math/s_ctanh.c: Likewise.
41752 * math/s_ctanhf.c: Likewise.
41753 * math/s_ctanhl.c: Likewise.
41754 * math/s_ctanl.c: Likewise.
41756 * math/math_private.h: Define __nan, __nanf, __nanl.
41757 * math/s_cacosh.c: Include <math_private.h>.
41758 * math/s_cacoshl.c: Likewise.
41759 * math/s_casinh.c: Likewise.
41760 * math/s_casinhf.c: Likewise.
41761 * math/s_casinhl.c: Likewise.
41762 * math/s_ccos.c: Rely entire on ccosh.
41763 * math/s_ccosf.c: Rely entire on ccoshf.
41764 * math/s_ccosl.c: Rely entirely on ccoshl.
41765 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41766 Remove tests for FE_INVALID.
41767 * math/s_ccoshf.c: Likewise.
41768 * math/s_ccoshl.c: Likewise.
41769 * math/s_csin.c: Likewise.
41770 * math/s_csinf.c: Likewise.
41771 * math/s_csinh.c Likewise.
41772 * math/s_csinhf.c: Likewise.
41773 * math/s_csinhl.c: Likewise.
41774 * math/s_csinl.c: Likewise.
41775 * math/s_ctan.c: Likewise.
41776 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41777 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41778 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41780 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41783 compilation problems.
41785 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41788 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41790 * sysdeps/i386/configure.in: Test for -mfma4 option.
41791 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41792 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41793 COMMON_CPUID_INDEX_80000001.
41794 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41795 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41796 use it if FMA3 is not supported.
41797 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41799 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41800 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41802 2011-10-20 Andreas Schwab <schwab@redhat.com>
41805 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41806 it would create a cycle with a link time dependency.
41808 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41810 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41812 * string/Makefile (strop-tests): Add rawmemchr.
41813 * string/test-rawmemchr.c: New file.
41815 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41816 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41817 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41818 when compiling str{,n}casecmp and when AVX is available. Hook up
41819 new optimized code in initializers.
41821 2011-10-19 Andreas Schwab <schwab@redhat.com>
41823 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41824 __feraiseexcept instead of feraiseexcept.
41826 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41828 * math/math_private.h: Define defaults for libc_fetestexcept and
41830 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41831 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41832 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41833 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41834 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41835 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41836 libc_fetestexcept and libc_feupdateenv.
41838 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41839 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41840 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41841 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41842 libc_feholdexcept_setround.
41844 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41845 Add s_nearbyint-c and s_nearbyintf-c.
41846 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41847 nearbyintf inlines.
41848 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41849 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41850 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41851 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41853 * math/math_private.h: Define defaults for libc_fegetround,
41854 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41855 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41856 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41857 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41858 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41859 standard functions.
41860 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41861 Remove comments and hacks for old compiler versions.
41862 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41863 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41864 libc_feholdexceptl.
41866 2011-10-18 Andreas Schwab <schwab@redhat.com>
41868 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41869 (__feraiseexcept_renamed): Add __NTH.
41870 (feraiseexcept): Add __NTH. Rename local variables to fix
41871 namespace violations.
41873 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41875 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41877 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41879 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41880 recently added interfaces.
41881 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41883 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41884 about macro parameter expansion.
41886 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41887 __NO_MATH_INLINES is defined. Cleanups.
41889 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41890 and __floorf is target has SSE4.1.
41891 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41892 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41893 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41894 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41896 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41898 (floorf): Likewise.
41900 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41902 2011-10-17 Andreas Schwab <schwab@redhat.com>
41904 * misc/sys/cdefs.h: Fix last change.
41906 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41909 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41911 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41913 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41914 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41915 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41916 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41917 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41919 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41920 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41921 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41922 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41923 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41924 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41925 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41926 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41927 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41928 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41929 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41930 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41931 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41932 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41933 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41934 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41936 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41937 ceil, ceilf, floor, floorf.
41939 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41940 Perform IRELATIVE relocations last.
41942 * elf/do-rel.h: Add another parameter nrelative, replacing the
41943 local variable with the same name. Change name of the function
41944 to end in Rel or Rela (uppercase).
41945 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41946 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41947 elf_dynamic_do_##reloc function.
41949 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41951 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41952 is sufficient, at least on modern CPUs.
41954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41956 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41957 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41959 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41961 * math/bits/math-finite.h: Add entries for exp.
41962 * math/e_expl.c: Add __*_finite alias.
41963 * sysdeps/i386/fpu/e_exp.S: Likewise.
41964 * sysdeps/i386/fpu/e_expf.S: Likewise.
41965 * sysdeps/i386/fpu/e_expl.c: Likewise.
41966 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41967 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41968 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41969 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41970 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41971 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41972 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41974 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41975 is sufficient, at least on modern CPUs.
41977 * ctype/ctype-info.c (__ctype_init): Define.
41978 * include/ctype.h (__ctype_init): Declare.
41979 (__ctype_b_loc): The variable is always initialized.
41980 (__ctype_toupper_loc): Likewise.
41981 (__ctype_tolower_loc): Likewise.
41982 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41983 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41985 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41987 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41989 * configure.in: Also look in $cxxmachine/include for C++ system
41992 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41994 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41995 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41996 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41997 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41999 (USE_AS_WMEMCMP): New macro.
42001 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42002 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42003 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42004 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42006 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42007 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42008 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42009 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42010 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42012 (USE_AS_WMEMCMP): New macro.
42013 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42014 * sysdeps/string/test-memcmp.c: Update.
42015 Fix simple_wmemcmp.
42017 * wcsmbs/wmemcmp.c: Update.
42018 (WMEMCMP): New macro.
42021 2011-10-12 Andreas Jaeger <aj@suse.de>
42024 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42026 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42028 * libio/iofwide.c (do_length): Avoid warning.
42030 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42032 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42034 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42036 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42037 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42038 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42039 * sysdeps/i386/i686/fpu/e_log.S: New file.
42040 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42041 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42043 * ctype/ctype.h: Add support for inlined isXXX functions when
42044 compiling C++ code.
42046 2011-10-14 Andreas Schwab <schwab@redhat.com>
42048 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42050 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42052 2011-10-13 Roland McGrath <roland@hack.frob.com>
42055 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42057 2011-10-13 Andreas Schwab <schwab@redhat.com>
42059 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42060 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42063 * sysdeps/x86_64/memrchr.S: Check for zero size.
42065 * string/stratcliff.c: Add memrchr tests.
42067 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42070 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42071 rawmemchr-sse2 rawmemchr-sse2-bsf.
42072 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42073 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42074 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42075 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42076 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42077 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42078 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42079 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42080 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42081 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42082 * string/memrchr.c (MEMRCHR): New macro.
42084 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42086 Add integration with gcc's -ffinite-math-only and optimize wrapper
42088 * Versions.def: Define GLIBC_2.15 version for libm.
42089 * math/Makefile (headers): Add bits/math-finite.h.
42090 * math/bits/math-finite.h: New file.
42091 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42092 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42093 * math/e_acoshl.c: Add __*_finite alias.
42094 * math/e_acosl.c: Likewise.
42095 * math/e_asinl.c: Likewise.
42096 * math/e_atan2l.c: Likewise.
42097 * math/e_atanhl.c: Likewise.
42098 * math/e_coshl.c: Likewise.
42099 * math/e_exp10.c: Likewise.
42100 * math/e_exp10f.c: Likewise.
42101 * math/e_exp10l.c: Likewise.
42102 * math/e_exp2l.c: Likewise.
42103 * math/e_fmodl.c: Likewise.
42104 * math/e_gammal_r.c: Likewise.
42105 * math/e_hypotl.c: Likewise.
42106 * math/e_j0l.c: Likewise.
42107 * math/e_j1l.c: Likewise.
42108 * math/e_jnl.c: Likewise.
42109 * math/e_lgammal_r.c: Likewise.
42110 * math/e_log10l.c: Likewise.
42111 * math/e_log2l.c: Likewise.
42112 * math/e_logl.c: Likewise.
42113 * math/e_powl.c: Likewise.
42114 * math/e_sinhl.c: Likewise.
42115 * math/e_sqrtl.c: Likewise.
42116 * math/e_scalb.c: Completely rewritten and optimized.
42117 * math/e_scalbf.c: Likewise.
42118 * math/e_scalbl.c: Likewise.
42119 * math/w_acos.c: Likewise.
42120 * math/w_acosf.c: Likewise.
42121 * math/w_acosl.c: Likewise.
42122 * math/w_acosh.c: Likewise.
42123 * math/w_acoshf.c: Likewise.
42124 * math/w_acoshl.c: Likewise.
42125 * math/w_asin.c: Likewise.
42126 * math/w_asinf.c: Likewise.
42127 * math/w_asinl.c: Likewise.
42128 * math/w_atan2.c: Likewise.
42129 * math/w_atan2f.c: Likewise.
42130 * math/w_atan2l.c: Likewise.
42131 * math/w_atanh.c: Likewise.
42132 * math/w_atanhf.c: Likewise.
42133 * math/w_atanhl.c: Likewise.
42134 * math/w_exp10.c: Likewise.
42135 * math/w_exp10f.c: Likewise.
42136 * math/w_exp10l.c: Likewise.
42137 * math/w_fmod.c: Likewise.
42138 * math/w_fmodf.c: Likewise.
42139 * math/w_fmodl.c: Likewise.
42140 * math/w_j0.c: Likewise.
42141 * math/w_j0f.c: Likewise.
42142 * math/w_j0l.c: Likewise.
42143 * math/w_j1.c: Likewise.
42144 * math/w_j1f.c: Likewise.
42145 * math/w_j1l.c: Likewise.
42146 * math/w_jn.c: Likewise.
42147 * math/w_jnf.c: Likewise.
42148 * math/w_log.c: Likewise.
42149 * math/w_logf.c: Likewise.
42150 * math/w_logl.c: Likewise.
42151 * math/w_log10.c: Likewise.
42152 * math/w_log10f.c: Likewise.
42153 * math/w_log10l.c: Likewise.
42154 * math/w_log2.c: Likewise.
42155 * math/w_log2f.c: Likewise.
42156 * math/w_log2l.c: Likewise.
42157 * math/w_pow.c: Likewise.
42158 * math/w_powf.c: Likewise.
42159 * math/w_powl.c: Likewise.
42160 * math/w_remainder.c: Likewise.
42161 * math/w_remainderf.c: Likewise.
42162 * math/w_remainderl.c: Likewise.
42163 * math/w_scalb.c: Likewise.
42164 * math/w_scalbf.c: Likewise.
42165 * math/w_scalbl.c: Likewise.
42166 * math/w_sqrt.c: Likewise.
42167 * math/w_sqrtf.c: Likewise.
42168 * math/w_sqrtl.c: Likewise.
42169 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42170 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42172 * math/math_private.h: Declare __kernel_standard_f.
42173 * math/w_cosh.c: Remove cruft and optimize a bit.
42174 * math/w_coshf.c: Likewise.
42175 * math/w_coshl.c: Likewise.
42176 * math/w_exp2.c: Likewise.
42177 * math/w_exp2f.c: Likewise.
42178 * math/w_exp2l.c: Likewise.
42179 * math/w_hypot.c: Likewise.
42180 * math/w_hypotf.c: Likewise.
42181 * math/w_hypotl.c: Likewise.
42182 * math/w_lgamma.c: Likewise.
42183 * math/w_lgamma_r.c: Likewise.
42184 * math/w_lgammaf.c: Likewise.
42185 * math/w_lgammaf_r.c: Likewise.
42186 * math/w_lgammal.c: Likewise.
42187 * math/w_lgammal_r.c: Likewise.
42188 * math/w_sinh.c: Likewise.
42189 * math/w_sinhf.c: Likewise.
42190 * math/w_sinhl.c: Likewise.
42191 * math/w_tgamma.c: Likewise.
42192 * math/w_tgammaf.c: Likewise.
42193 * math/w_tgammal.c: Likewise.
42194 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42196 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42197 Minor optimizations. Pretty printing. Remove cruft.
42198 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42199 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42200 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42201 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42202 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42203 * sysdeps/i386/fpu/e_asin.S: Likewise.
42204 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42205 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42206 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42207 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42208 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42209 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42210 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42211 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42212 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42213 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42214 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42215 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42216 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42217 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42218 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42219 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42220 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42221 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42222 * sysdeps/i386/fpu/e_log.S: Likewise.
42223 * sysdeps/i386/fpu/e_log10.S: Likewise.
42224 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42225 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42226 * sysdeps/i386/fpu/e_log2.S: Likewise.
42227 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42228 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42229 * sysdeps/i386/fpu/e_logf.S: Likewise.
42230 * sysdeps/i386/fpu/e_logl.S: Likewise.
42231 * sysdeps/i386/fpu/e_pow.S: Likewise.
42232 * sysdeps/i386/fpu/e_powf.S: Likewise.
42233 * sysdeps/i386/fpu/e_powl.S: Likewise.
42234 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42235 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42236 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42237 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42238 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42240 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42241 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42242 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42243 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42244 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42246 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42247 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42248 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42249 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42250 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42251 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42252 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42253 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42254 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42256 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42257 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42259 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42260 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42261 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42262 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42263 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42264 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42265 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42266 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42267 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42268 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42269 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42270 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42271 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42272 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42273 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42274 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42275 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42277 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42278 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42279 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42280 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42281 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42282 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42283 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42284 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42285 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42286 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42287 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42288 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42289 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42290 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42291 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42292 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42293 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42294 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42295 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42296 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42297 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42298 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42299 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42300 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42301 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42302 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42303 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42304 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42305 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42307 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42308 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42309 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42312 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42313 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42314 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42315 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42316 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42317 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42318 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42319 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42320 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42321 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42322 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42323 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42324 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42325 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42326 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42327 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42328 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42329 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42330 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42331 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42332 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42333 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42334 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42335 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42336 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42337 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42338 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42339 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42340 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42341 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42342 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42343 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42344 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42345 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42346 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42347 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42348 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42349 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42350 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42351 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42352 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42353 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42354 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42355 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42356 (__isnanf): Likewise.
42357 (__isinf_ns): Likewise.
42358 (__isinf_nsf): Likewise.
42359 (__finite): Likewise.
42360 (__finitef): Likewise.
42361 (__ieee754_sqrt): Define as macro.
42362 (__ieee754_sqrtf): Define as macro.
42363 (__ieee754_sqrtl): Define as macro.
42364 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42366 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42367 __FINITE_MATH_ONLY__ consistent.
42368 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42370 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42372 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42375 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42377 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42379 * po/ja.po: Update from translation team.
42381 2011-10-08 Roland McGrath <roland@hack.frob.com>
42383 * locale/programs/locarchive.c (prepare_address_space): New function.
42384 (create_archive, enlarge_archive, open_archive): Use it.
42386 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42387 inside [SHARED], where it is used.
42389 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42391 * nss/getent.c (netgroup_keys): Remove unused variable.
42392 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42394 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42396 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42397 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42399 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42400 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42401 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42402 * math/Makefile (libm-calls): Add s_isinf_ns.
42403 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42404 * math/multc3.c: Likewise.
42405 * math/s_casin.c: Likewise.
42406 * math/s_casinf.c: Likewise.
42407 * math/s_casinl.c: Likewise.
42408 * math/s_ccos.c: Likewise.
42409 * math/s_ccosf.c: Likewise.
42410 * math/s_ccosl.c: Likewise.
42411 * math/s_ctan.c: Likewise.
42412 * math/s_ctanf.c: Likewise.
42413 * math/s_ctanh.c: Likewise.
42414 * math/s_ctanhf.c: Likewise.
42415 * math/s_ctanhl.c: Likewise.
42416 * math/s_ctanl.c: Likewise.
42417 * math/w_fmod.c: Likewise.
42418 * math/w_fmodf.c: Likewise.
42419 * math/w_fmodl.c: Likewise.
42420 * math/w_remainder.c: Likewise.
42421 * math/w_remainderf.c: Likewise.
42422 * math/w_remainderl.c: Likewise.
42423 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42424 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42427 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42428 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42429 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42430 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42432 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42434 * stdio-common/printf_fphex.c: Likewise.
42435 * stdio-common/printf_size.c: Likewise.
42437 * math/e_exp10.c: Include math_private.h using <...> not "...".
42438 * math/e_exp10f.c: Likewise.
42439 * math/e_exp10l.c: Likewise.
42440 * math/e_exp2l.c: Likewise.
42441 * math/e_j0l.c: Likewise.
42442 * math/e_j1l.c: Likewise.
42443 * math/e_jnl.c: Likewise.
42444 * math/e_lgammal_r.c: Likewise.
42445 * math/e_rem_pio2l.c: Likewise.
42446 * math/e_scalb.c: Likewise.
42447 * math/e_scalbf.c: Likewise.
42448 * math/e_scalbl.c: Likewise.
42449 * math/k_cosl.c: Likewise.
42450 * math/k_sinl.c: Likewise.
42451 * math/k_tanl.c: Likewise.
42452 * math/s_cacoshf.c: Likewise.
42453 * math/s_catan.c: Likewise.
42454 * math/s_catanf.c: Likewise.
42455 * math/s_catanh.c: Likewise.
42456 * math/s_catanhf.c: Likewise.
42457 * math/s_catanhl.c: Likewise.
42458 * math/s_catanl.c: Likewise.
42459 * math/s_ccosh.c: Likewise.
42460 * math/s_ccoshf.c: Likewise.
42461 * math/s_ccoshl.c: Likewise.
42462 * math/s_cexp.c: Likewise.
42463 * math/s_cexpf.c: Likewise.
42464 * math/s_cexpl.c: Likewise.
42465 * math/s_clog.c: Likewise.
42466 * math/s_clog10.c: Likewise.
42467 * math/s_clog10f.c: Likewise.
42468 * math/s_clog10l.c: Likewise.
42469 * math/s_clogf.c: Likewise.
42470 * math/s_clogl.c: Likewise.
42471 * math/s_csin.c: Likewise.
42472 * math/s_csinf.c: Likewise.
42473 * math/s_csinh.c: Likewise.
42474 * math/s_csinhf.c: Likewise.
42475 * math/s_csinhl.c: Likewise.
42476 * math/s_csinl.c: Likewise.
42477 * math/s_csqrt.c: Likewise.
42478 * math/s_csqrtf.c: Likewise.
42479 * math/s_csqrtl.c: Likewise.
42480 * math/s_ctan.c: Likewise.
42481 * math/s_ctanf.c: Likewise.
42482 * math/s_ctanh.c: Likewise.
42483 * math/s_ctanhf.c: Likewise.
42484 * math/s_ctanhl.c: Likewise.
42485 * math/s_ctanl.c: Likewise.
42486 * math/s_ldexp.c: Likewise.
42487 * math/s_ldexpf.c: Likewise.
42488 * math/s_ldexpl.c: Likewise.
42489 * math/s_significand.c: Likewise.
42490 * math/s_significandf.c: Likewise.
42491 * math/s_significandl.c: Likewise.
42492 * math/w_acos.c: Likewise.
42493 * math/w_acosf.c: Likewise.
42494 * math/w_acosh.c: Likewise.
42495 * math/w_acoshf.c: Likewise.
42496 * math/w_acoshl.c: Likewise.
42497 * math/w_acosl.c: Likewise.
42498 * math/w_asin.c: Likewise.
42499 * math/w_asinf.c: Likewise.
42500 * math/w_asinl.c: Likewise.
42501 * math/w_atan2.c: Likewise.
42502 * math/w_atan2f.c: Likewise.
42503 * math/w_atan2l.c: Likewise.
42504 * math/w_atanh.c: Likewise.
42505 * math/w_atanhf.c: Likewise.
42506 * math/w_atanhl.c: Likewise.
42507 * math/w_cosh.c: Likewise.
42508 * math/w_coshf.c: Likewise.
42509 * math/w_coshl.c: Likewise.
42510 * math/w_dremf.c: Likewise.
42511 * math/w_exp10.c: Likewise.
42512 * math/w_exp10f.c: Likewise.
42513 * math/w_exp10l.c: Likewise.
42514 * math/w_exp2.c: Likewise.
42515 * math/w_exp2f.c: Likewise.
42516 * math/w_fmod.c: Likewise.
42517 * math/w_fmodf.c: Likewise.
42518 * math/w_fmodl.c: Likewise.
42519 * math/w_hypot.c: Likewise.
42520 * math/w_hypotf.c: Likewise.
42521 * math/w_hypotl.c: Likewise.
42522 * math/w_j0.c: Likewise.
42523 * math/w_j0f.c: Likewise.
42524 * math/w_j0l.c: Likewise.
42525 * math/w_j1.c: Likewise.
42526 * math/w_j1f.c: Likewise.
42527 * math/w_j1l.c: Likewise.
42528 * math/w_jn.c: Likewise.
42529 * math/w_jnf.c: Likewise.
42530 * math/w_jnl.c: Likewise.
42531 * math/w_lgamma.c: Likewise.
42532 * math/w_lgamma_r.c: Likewise.
42533 * math/w_lgammaf.c: Likewise.
42534 * math/w_lgammaf_r.c: Likewise.
42535 * math/w_lgammal.c: Likewise.
42536 * math/w_lgammal_r.c: Likewise.
42537 * math/w_log.c: Likewise.
42538 * math/w_log10.c: Likewise.
42539 * math/w_log10f.c: Likewise.
42540 * math/w_log10l.c: Likewise.
42541 * math/w_log2.c: Likewise.
42542 * math/w_log2f.c: Likewise.
42543 * math/w_log2l.c: Likewise.
42544 * math/w_logf.c: Likewise.
42545 * math/w_logl.c: Likewise.
42546 * math/w_pow.c: Likewise.
42547 * math/w_powf.c: Likewise.
42548 * math/w_powl.c: Likewise.
42549 * math/w_remainder.c: Likewise.
42550 * math/w_remainderf.c: Likewise.
42551 * math/w_remainderl.c: Likewise.
42552 * math/w_scalb.c: Likewise.
42553 * math/w_scalbf.c: Likewise.
42554 * math/w_scalbl.c: Likewise.
42555 * math/w_sinh.c: Likewise.
42556 * math/w_sinhf.c: Likewise.
42557 * math/w_sinhl.c: Likewise.
42558 * math/w_sqrt.c: Likewise.
42559 * math/w_sqrtf.c: Likewise.
42560 * math/w_sqrtl.c: Likewise.
42561 * math/w_tgamma.c: Likewise.
42562 * math/w_tgammaf.c: Likewise.
42563 * math/w_tgammal.c: Likewise.
42565 * po/ja.po: Update from translation team.
42567 2011-09-29 Andreas Jaeger <aj@suse.de>
42570 * sunrpc/netname.c (netname2host): Fix logic.
42574 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42576 * math/w_remainder.c (__remainder): Likewise.
42577 * math/w_remainderf.c (__remainderf): Likewise.
42578 * math/libm-test.inc (remainder_test): Add test cases.
42580 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42582 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42585 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42587 * string/test-memcmp.c: Avoid unncessary #defines.
42588 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42590 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42592 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42593 Use new sse2 version for core i3 - i7 as it's faster
42594 than sse42 version.
42595 (bit_Prefer_PMINUB_for_stringop): New.
42596 * sysdeps/x86_64/rawmemchr.S: Update.
42597 Replace with faster SSE2 version.
42598 * sysdeps/x86_64/memrchr.S: New file.
42599 * sysdeps/x86_64/memchr.S: Update.
42600 Replace with faster SSE2 version.
42602 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42604 * elf/dl-load.c (lose): Add cast to avoid warning.
42606 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42608 * po/ca.po: Update from translation team.
42610 * inet/getnetgrent_r.c: Hook up nscd.
42611 * nscd/Makefile (routines): Add nscd_netgroup.
42612 (nscd-modules): Add netgroupcache.
42613 (CFLAGS-netgroupcache.c): Define.
42614 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42615 (cache_search): Add const to second parameter.
42616 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42618 (dbs): Add netgrdb entry.
42619 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42620 (verify_persistent_db): Handle netgrdb.
42621 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42622 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42624 (netgroup_response_header): Define.
42625 (innetgroup_response_header): Define.
42626 (datahead): Add netgroup_response_header and innetgroup_response_header
42628 * nscd/nscd.conf: Add entries for netgroup cache.
42629 * nscd/nscd.h (dbtype): Add netgrdb.
42630 (_PATH_NSCD_NETGROUP_DB): Define.
42631 (netgroup_iov_disabled): Declare.
42632 (xmalloc, xcalloc, xrealloc): Move declarations here.
42633 (cache_search): Adjust prototype.
42634 Add netgroup-related prototypes.
42635 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42636 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42637 (__nscd_innetgr): Declare.
42638 * nscd/selinux.c (perms): Use access_vector_t as element type and
42639 add netgroup-related initializers.
42640 * nscd/netgroupcache.c: New file.
42641 * nscd/nscd_netgroup.c: New file.
42642 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42643 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42644 For four parameters use innetgr.
42645 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42646 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42647 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42648 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42650 * nscd/connections.c (register_traced_file): Don't register file
42651 for disabled databases.
42653 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42655 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42657 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42658 from tree and freeing node.
42660 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42662 * nss/nsswitch.c (__nss_database_lookup): Handle
42663 nss_parse_service_list out of memory case.
42665 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42667 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42668 out of memory case.
42670 2011-10-04 Andreas Schwab <schwab@redhat.com>
42672 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42673 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42675 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42676 elf_machine_rela, elf_machine_lazy_rel.
42677 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42678 (ELF_DYNAMIC_DO_REL): Likewise.
42679 (ELF_DYNAMIC_DO_RELA): Likewise.
42680 (ELF_DYNAMIC_RELOCATE): Likewise.
42681 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42682 to ELF_DYNAMIC_DO_REL.
42683 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42684 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42685 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42687 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42688 skip_ifunc, don't call ifunc function if non-zero.
42689 (elf_machine_rela): Likewise.
42690 (elf_machine_lazy_rel): Likewise.
42691 (elf_machine_lazy_rela): Likewise.
42692 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42693 (elf_machine_lazy_rel): Likewise.
42694 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42696 (elf_machine_lazy_rel): Likewise.
42697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42699 (elf_machine_lazy_rel): Likewise.
42700 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42701 (elf_machine_lazy_rel): Likewise.
42702 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42703 (elf_machine_lazy_rel): Likewise.
42704 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42705 (elf_machine_lazy_rel): Likewise.
42706 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42707 (elf_machine_lazy_rel): Likewise.
42708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42709 (elf_machine_lazy_rel): Likewise.
42710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42711 (elf_machine_lazy_rel): Likewise.
42713 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42715 * nss/nss_files/files-init.c (_nss_files_init): Use static
42716 initialization for all the *_traced_file variables.
42718 2011-09-28 Andreas Schwab <schwab@redhat.com>
42720 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42722 2011-09-27 Roland McGrath <roland@hack.frob.com>
42725 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42727 2011-09-27 Andreas Schwab <schwab@redhat.com>
42729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42730 Reread the line before reparsing it.
42732 2011-09-26 Andreas Schwab <schwab@redhat.com>
42734 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42736 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42737 Maxim Kuvyrkov <maxim@codesourcery.com>
42738 Joseph Myers <joseph@codesourcery.com>
42740 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42741 if needed for __stack_chk_guard.
42743 2011-09-19 Roland McGrath <roland@hack.frob.com>
42745 * sysdeps/posix/spawni.c (script_execute): Always define it.
42746 It will be optimized away if unused.
42747 (maybe_script_execute): New function.
42748 (__spawni): Call it.
42750 * Makerules: Don't include tls.make.
42751 (config-tls): Always set to thread.
42752 * tls.make.c: File removed.
42754 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42756 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42757 * config.make.in (CPPFLAGS-config): New substituted variable.
42759 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42761 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42764 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42765 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42767 2011-09-15 Roland McGrath <roland@hack.frob.com>
42769 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42770 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42772 (CALL_FAIL): Likewise.
42773 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42774 (CALL_FAIL): Macro removed.
42775 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42777 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42779 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42780 for __FINITE_MATH_ONLY__ == 1.
42782 2011-09-15 Andreas Schwab <schwab@redhat.com>
42784 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42785 __ieee754_sqrt instead of sqrt.
42786 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42787 __ieee754_sqrtf instead of sqrtf.
42788 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42789 __floorf instead of floorf.
42790 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42791 __floorf, __truncf instead of floorf, truncf.
42793 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42795 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42797 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42798 __extern_always_inline.
42799 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42802 2011-09-14 Andreas Schwab <schwab@redhat.com>
42804 * elf/rtld.c (dl_main): Also relocate in dependency order when
42805 doing symbol dependency testing.
42807 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42810 Always define `refsym'.
42812 2011-09-13 Andreas Schwab <schwab@redhat.com>
42814 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42815 (__FD_ELT): Renamed from __FDELT.
42816 * misc/bits/select2.h (__FD_ELT): Likewise.
42817 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42818 __FD_MASK instead of __FDELT, __FDMASK.
42819 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42821 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42824 * elf/Makefile (gen-ldd): Fix pattern.
42826 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42827 (init_tls): Likewise.
42829 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42831 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42833 2011-09-12 Andreas Schwab <schwab@redhat.com>
42835 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42836 `struct cmsghdr *' instead of `void *'.
42837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42840 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42842 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42844 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42845 ldd_rewrite_script.
42847 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42849 * configure.in: Remove --with-tls option.
42850 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42851 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42852 out in case it is missing.
42853 * sysdeps/ia64/elf/configure.in: Likewise.
42854 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42855 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42856 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42857 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42858 * sysdeps/sh/elf/configure.in: Likewise.
42859 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42860 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42861 * sysdeps/x86_64/elf/configure.in: Likewise.
42862 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42863 * sysdeps/mach/hurd/tls.h: Likewise.
42866 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42869 * configure.in: Fix use of AC_INIT.
42871 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42873 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42875 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42877 * malloc/hooks.c: Likewise.
42880 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42881 variables statically.
42882 (narenas): Initialize.
42883 (list_lock): Initialize.
42884 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42885 initializtion of main_arena and list_lock. Small cleanups.
42886 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42887 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42888 Add initializers to main_arena and mp_.
42889 (malloc_state): Remove pagesize member. Change all users to use
42892 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42893 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42894 is always initialized.
42896 * malloc/malloc.c: Removed unused configurations and dead code.
42897 * malloc/arena.c: Likewise.
42898 * malloc/hooks.c: Likewise.
42899 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42901 * include/tls.h: Removed. USE___THREAD must always be defined.
42902 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42903 * elf/dl-libc.c: Likewise.
42904 * elf/dl-tsd.c: Likewise.
42905 * include/errno.h: Likewise.
42906 * include/netdb.h: Likewise.
42907 * include/resolv.h: Likewise.
42908 * inet/herrno-loc.c: Likewise.
42909 * inet/herrno.c: Likewise.
42910 * malloc/arena.c: Likewise.
42911 * malloc/hooks.c: Likewise.
42912 * malloc/malloc.c: Likewise.
42913 * resolv/res-state.c: Likewise.
42914 * resolv/res_libc.c: Likewise.
42915 * sysdeps/i386/dl-machine.h: Likewise.
42916 * sysdeps/ia64/dl-machine.h: Likewise.
42917 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42918 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42919 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42920 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42921 * sysdeps/sh/dl-machine.h: Likewise.
42922 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42923 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42924 * sysdeps/unix/i386/sysdep.S: Likewise.
42925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42926 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42931 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42935 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42936 * sysdeps/x86_64/dl-machine.h: Likewise.
42937 * tls.make.c: Likewise.
42939 * configure.in: Remove --with-__thread option. Make tests for
42940 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42941 tls_model attribute fail if no support is available. Remove
42943 * Makeconfig: Adjust for dropped configure option. All features are
42945 * Makerules: Likewise.
42946 * Versions.def: Likewise.
42947 * argp/argp-fmtstream.c: Likewise.
42948 * argp/argp-fmtstream.h: Likewise.
42949 * argp/argp-help.c: Likewise.
42950 * assert/assert.c: Likewise.
42951 * config.h.in: Likewise.
42952 * config.make.in: Likewise.
42953 * configure: Likewise.
42954 * configure.in: Likewise.
42955 * csu/Versions: Likewise.
42956 * csu/init.c: Likewise.
42957 * elf/tst-audit2.c: Likewise.
42958 * elf/tst-tls10.c: Likewise.
42959 * elf/tst-tls10.h: Likewise.
42960 * elf/tst-tls11.c: Likewise.
42961 * elf/tst-tls12.c: Likewise.
42962 * elf/tst-tls14.c: Likewise.
42963 * elf/tst-tlsmod11.c: Likewise.
42964 * elf/tst-tlsmod12.c: Likewise.
42965 * elf/tst-tlsmod13.c: Likewise.
42966 * elf/tst-tlsmod13a.c: Likewise.
42967 * elf/tst-tlsmod14a.c: Likewise.
42968 * elf/tst-tlsmod15b.c: Likewise.
42969 * elf/tst-tlsmod16a.c: Likewise.
42970 * elf/tst-tlsmod16b.c: Likewise.
42971 * elf/tst-tlsmod7.c: Likewise.
42972 * elf/tst-tlsmod8.c: Likewise.
42973 * elf/tst-tlsmod9.c: Likewise.
42974 * gmon/gmon.c: Likewise.
42975 * grp/fgetgrent_r.c: Likewise.
42976 * grp/putgrent.c: Likewise.
42977 * hurd/fopenport.c: Likewise.
42978 * include/libc-symbols.h: Likewise.
42979 * include/tls.h: Likewise.
42980 * intl/gettextP.h: Likewise.
42981 * intl/loadinfo.h: Likewise.
42982 * locale/global-locale.c: Likewise.
42983 * locale/localeinfo.h: Likewise.
42984 * mach/devstream.c: Likewise.
42985 * malloc/arena.c: Likewise.
42986 * malloc/set-freeres.c: Likewise.
42987 * misc/err.c: Likewise.
42988 * misc/getttyent.c: Likewise.
42989 * misc/mntent_r.c: Likewise.
42990 * posix/getopt.c: Likewise.
42991 * posix/wordexp.c: Likewise.
42992 * pwd/fgetpwent_r.c: Likewise.
42993 * resolv/Versions: Likewise.
42994 * resolv/res_hconf.c: Likewise.
42995 * shadow/fgetspent_r.c: Likewise.
42996 * shadow/putspent.c: Likewise.
42997 * stdio-common/printf_fphex.c: Likewise.
42998 * stdio-common/tmpfile.c: Likewise.
42999 * stdlib/abort.c: Likewise.
43000 * stdlib/fmtmsg.c: Likewise.
43001 * sunrpc/auth_unix.c: Likewise.
43002 * sunrpc/clnt_perr.c: Likewise.
43003 * sunrpc/clnt_tcp.c: Likewise.
43004 * sunrpc/clnt_udp.c: Likewise.
43005 * sunrpc/clnt_unix.c: Likewise.
43006 * sunrpc/openchild.c: Likewise.
43007 * sunrpc/svc_simple.c: Likewise.
43008 * sunrpc/svc_tcp.c: Likewise.
43009 * sunrpc/svc_udp.c: Likewise.
43010 * sunrpc/svc_unix.c: Likewise.
43011 * sunrpc/xdr.c: Likewise.
43012 * sunrpc/xdr_array.c: Likewise.
43013 * sunrpc/xdr_rec.c: Likewise.
43014 * sunrpc/xdr_ref.c: Likewise.
43015 * sunrpc/xdr_stdio.c: Likewise.
43017 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43019 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43021 2011-07-03 Andreas Jaeger <aj@suse.de>
43023 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43024 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43025 regenerate with gen-libm-tests.pl.
43027 2010-05-12 Petr Baudis <pasky@suse.cz>
43030 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43031 around j0() zero points by switching to j1().
43032 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43037 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43039 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43041 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43044 Patch in part by Pavel Roskin <proski@gnu.org>.
43047 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43049 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43050 Free memory block if necessary.
43053 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43054 be NULL. Don't lock in this case.
43056 2011-09-09 Roland McGrath <roland@hack.frob.com>
43058 * elf/elf.h (ELFOSABI_GNU): New macro.
43059 (ELFOSABI_LINUX): Define to that.
43061 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43063 * string/strncat.c (strncat): Undef the symbol in case it has been
43064 defined in bits/string.h.
43066 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43068 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43070 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43073 2011-08-17 Andreas Jaeger <aj@suse.de>
43075 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43077 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43078 Ian Lance Taylor <iant@google.com>
43080 * math/libm-test.inc (lround_test): New testcase.
43081 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43083 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43085 * Makefile: Remove support for automatic cvs check-ins.
43086 * Makerules: Likewise.
43087 * config.make.in: Likewise.
43088 * configure.in: Likewise.
43089 * intl/Makefile: Likewise.
43090 * locale/Makefile: Likewise.
43091 * po/Makefile: Likewise.
43092 * posix/Makefile: Likewise.
43093 * sysdeps/gnu/Makefile: Likewise.
43094 * sysdeps/mach/hurd/Makefile: Likewise.
43095 * sysdeps/sparc/sparc32/Makefile: Likewise.
43098 * posix/Makefile (bug-regex32-ENV): Define.
43099 Patch by John Stanley <jpsinthemix@verizon.net>.
43101 * misc/Makefile (headers): Add bits/select2.h.
43102 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43103 * misc/bits/select2.h: New file.
43104 * include/bits/select2.h: New file.
43105 * debug/Makefile (routines): Add fdelt_chk.
43106 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43107 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43109 * debug/fdelt_chk.c: New file.
43111 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43112 * wcsmbs/test-wmemcmp.c: Likewise.
43113 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43114 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43116 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43118 * string/Makefile (strop-tests): Add memcmp.
43119 * string/test-wmemcmp.c: New file.
43120 * string/test-memcmp.c: Add wmemcmp support.
43122 2011-09-08 Roland McGrath <roland@hack.frob.com>
43125 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43128 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43129 garbage value in a __mach_port_mod_refs call in the cases of the
43130 task-self and thread-self ports.
43132 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43134 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43136 2011-09-08 Andreas Schwab <schwab@redhat.com>
43138 * elf/dl-load.c (lose): Check for non-null L.
43140 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43142 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43144 * elf/dl-libc.c (dlerror_run): Pass back error code from
43148 * elf/dl-load.c (lose): Free l_origin if it is valid.
43150 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43152 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43153 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43154 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43155 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43156 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43157 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43159 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43161 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43162 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43163 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43164 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43165 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43166 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43167 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43168 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43169 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43170 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43172 2011-08-15 Alan Modra <amodra@gmail.com>
43175 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43176 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43177 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43178 ppc_mcount to static-only-routines.
43179 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43181 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43182 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43184 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43186 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43187 for finite and infinity parameters.
43189 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43191 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43192 and add nop instructions for throughput optimization.
43193 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43195 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43197 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43198 aligned copy for power7 with vector-scalar instructions.
43199 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43201 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43206 2011-09-07 Andreas Schwab <schwab@redhat.com>
43209 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43212 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43214 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43215 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43216 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43217 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43220 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43222 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43223 Forgot to demangle the pointer.
43225 * sysdeps/i386/sysdep.h: Define atom_text_section.
43226 * sysdeps/x86_64/sysdep.h: Likewise.
43227 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43228 section with atom_text_section.
43229 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43230 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43231 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43233 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43235 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43236 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43237 already be defined. Change to take two parameters and don't assign
43238 result to variable. Adjust all users.
43239 Define INTERNAL_GETTIME if not already defined.
43240 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43243 HAVE_CLOCK_GETTIME_VSYSCALL.
43244 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43247 gettimeofday vsyscall, just use time.
43249 2011-09-06 Andreas Schwab <schwab@redhat.com>
43251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43254 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43256 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43260 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43261 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43262 syscall if possible.
43264 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43266 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43267 e_ident. Don't pass to find_mapsXX.
43268 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43270 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43273 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43274 * sysdeps/x86_64/multiarch/strchr.S: Update.
43275 Check bit_slow_BSF bit.
43276 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43277 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43278 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43280 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43283 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43285 (tryshell): Define.
43286 (__spawni): Change last parameter to be flag. Test
43287 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43288 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43289 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43290 * posix/spawni.c: Likewise.
43291 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43292 * posix/spawnp.c: Likewise. Change normal version to use
43293 SPAWN_XFLAGS_USE_PATH.
43294 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43295 SPAWN_XFLAGS_TRY_SHELL.
43298 * posix/glob.h: Remove gcc 1.x support.
43301 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43303 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43306 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43308 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43309 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43310 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43311 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43312 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43315 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43317 * sysdeps/x86_64/wcscmp.S: New file.
43319 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43320 wcscmp-c wcscmp-sse2
43321 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43322 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43323 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43324 * wcsmbs/wcscmp.c: Allow renaming.
43326 2011-09-05 David S. Miller <davem@davemloft.net>
43328 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43329 stack slot, rather than the struct return pointer slot.
43330 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43331 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43333 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43335 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43337 * po/ja.po: Update from translation team.
43340 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43341 kernel in 64-bit binaries.
43343 2011-09-01 David S. Miller <davem@davemloft.net>
43345 * elf/elf.h (HWCAP_SPARC_*): Move to..
43346 * sysdeps/sparc/sysdep.h: this new file and add new values.
43347 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43348 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43349 _DL_HWCAP_COUNT to 24.
43350 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43352 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43353 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43354 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43356 instead of magic constants.
43357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43359 2011-08-31 David S. Miller <davem@davemloft.net>
43361 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43363 Reimplement to do errno handling inline.
43364 (SYSCALL_ERROR_HANDLER): New macro.
43365 (__SYSCALL_STRING): Do not do errno handling in asm.
43366 (__CLONE_SYSCALL_STRING): Delete.
43367 (__INTERNAL_SYSCALL_STRING): Delete.
43368 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43369 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43370 (PSEUDO): Reimplement to do errno handling inline.
43371 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43372 (SYSCALL_ERROR_HANDLER): New macro.
43373 (__SYSCALL_STRING): Do not do errno handling in asm.
43374 (__CLONE_SYSCALL_STRING): Delete.
43375 (__INTERNAL_SYSCALL_STRING): Delete.
43376 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43377 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43379 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43380 (inline_syscall*): Add 'err' argument.
43381 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43382 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43383 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43384 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43386 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43387 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43389 2011-08-30 Andreas Schwab <schwab@redhat.com>
43391 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43393 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43395 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43398 2011-08-24 David S. Miller <davem@davemloft.net>
43400 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43402 2011-08-24 Andreas Schwab <schwab@redhat.com>
43404 * elf/Makefile: Add rules to build and run unload8 test.
43405 * elf/unload8.c: New file.
43406 * elf/unload8mod1.c: New file.
43407 * elf/unload8mod1x.c: New file.
43408 * elf/unload8mod2.c: New file.
43409 * elf/unload8mod3.c: New file.
43411 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43414 2011-08-23 David S. Miller <davem@davemloft.net>
43416 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43417 subtract stack bias.
43418 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43419 %sp not %fp in calculations.
43420 (_JMPBUF_UNWINDS_ADJ): Likewise.
43422 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43423 (aio_suspend): Call it to force an exception region around the
43424 AIO_MISC_WAIT() invocation.
43426 2011-08-23 Andreas Schwab <schwab@redhat.com>
43428 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43431 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43433 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43435 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43436 and <dl-machine.h>.
43437 (Elf64_FuncDesc): Remove.
43439 2011-08-22 David S. Miller <davem@davemloft.net>
43441 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43442 sigaltstack check, add missing cfi directives.
43443 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43444 missing cfi directives, and sigaltstack handling.
43446 2011-08-16 Andreas Schwab <schwab@redhat.com>
43449 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43450 object is seen twice.
43451 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43453 * elf/Makefile (distribute): Add tst-initorder2.c.
43454 (tests): Add tst-initorder2.
43455 (modules-names): Add tst-initorder2a tst-initorder2b
43456 tst-initorder2c tst-initorder2d. Add rules to build them.
43457 ($(objpfx)tst-initorder2.out): New rule.
43458 * elf/tst-initorder2.c: New file.
43459 * elf/tst-initorder2.exp: New file.
43461 2011-08-22 Andreas Schwab <schwab@redhat.com>
43463 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43465 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43466 dependencies back to end of function.
43468 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43469 $(elfobjdir)/ld.so.
43471 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43474 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43475 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43476 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43477 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43478 of __vdso_gettimeofday.
43479 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43480 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43482 (_libc_vdso_platform_setup): Remove initialization of
43483 __vdso_gettimeofday and __vdso_time.
43485 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43487 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43488 and fgetc_unlocked.
43489 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43492 * elf/dl-open.c (add_to_global): Report additions to the global scope
43493 for LD_DEBUG=scopes.
43494 (dl_open_worker): Also print scope of newly loaded dependencies.
43495 (_dl_show_scope): Indicate if there is no scope.
43498 * stdio-common/Makefile (tests): Add bug24.
43499 * stdio-common/bug24.c: New file.
43501 2011-08-19 Andreas Jaeger <aj@suse.de>
43504 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43505 non-existant file when using close-on-exec mode.
43507 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43510 the very first instruction.
43512 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43513 the CFI state in the end.
43514 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43515 inclusion of dl-trampoline.h.
43516 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43518 2011-08-19 Andreas Schwab <schwab@redhat.com>
43520 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43521 expectations for long double.
43523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43524 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43526 2011-08-14 David S. Miller <davem@davemloft.net>
43528 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43529 artificual limit depends upon the system page size.
43531 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43533 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43534 * resolv/Makefile: Define CFLAGS-libresolv.
43536 2011-08-17 Andreas Schwab <schwab@redhat.com>
43538 * nss/makedb.c (compute_tables): Make variables used in nested
43541 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43543 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43544 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43545 if buffer was too small.
43547 * elf/pldd.c (main): Attach to all threads in the process.
43548 Rewrite /proc handling to use *at functions.
43550 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43552 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43553 specifies first scope to show.
43554 (dl_open_worker): Update callers. Move printing scope of new
43555 object to before the relocation.
43556 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43557 * sysdeps/generic/ldsodefs.h: Update declaration.
43559 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43560 string for the scope number.
43562 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43564 * nscd/servicescache.c (cache_addserv): Make sure written is always
43567 2011-08-14 Roland McGrath <roland@hack.frob.com>
43569 * sysdeps/i386/i486/bits/atomic.h
43570 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43571 statement expression, so as to suppress "set but not used" warning.
43572 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43574 * string/strncat.c (STRNCAT): Use prototype definition.
43576 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43577 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43579 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43580 (localedef-modules): Add localedef.
43581 (locale-modules): Add locale.
43583 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43584 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43585 to avoid a warning.
43587 2011-08-14 David S. Miller <davem@davemloft.net>
43589 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43590 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43592 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43594 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43595 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43596 * elf/rtld.c (dl_main): Set l_name of vDSO.
43597 Call _dl_show_scope when DL_DEBUG_SCOPES.
43598 (process_dl_debug): Recognize scopes flag and also set it for all.
43599 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43600 Declare _dl_show_scope.
43602 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43603 (do_dlopen): Pass caller_dlopen to dl_open.
43604 (__libc_dlopen_mode): Initialize caller_dlopen.
43606 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43607 of libc. Make tolower call locale-independent. Optimize a bit by
43608 using isdigit instead of isalnum.
43609 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43611 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43613 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43614 was a dependency or dynamically loaded.
43616 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43618 * intl/l10nflist.c: Allow architecture-specific pop function.
43619 * sysdeps/x86_64/l10nflist.c: New file.
43621 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43624 2011-08-10 Andreas Schwab <schwab@redhat.com>
43626 * include/dirent.h: Add libc_hidden_proto for scandirat and
43627 scandirat64. Don't declare __scandirat64.
43628 * dirent/scandirat.c: Add libc_hidden_def.
43629 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43630 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43632 2011-08-10 David S. Miller <davem@davemloft.net>
43634 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43636 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43637 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43640 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43642 * Versions.def [libc]: Add GLIBC_2.15.
43643 * dirent/Makefile (routines): Add scandirat and scandirat64.
43644 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43646 * dirent/dirent.h: Declare scandirat and scandirat64.
43647 * dirent/scandirat.c: New file.
43648 * dirent/scandirat64.c: New file.
43649 * sysdeps/wordsize-64/scandirat.c: New file.
43650 * sysdeps/wordsize-64/scandirat64.c: New file.
43651 * dirent/opendir.c: Define opendirat.
43652 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43654 * dirent/scandir64.c: Adjust for scandir.c change.
43655 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43656 __scandirat64, and __scandir_cancel_handler.
43657 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43658 additional parameter and use openat instead of open (outside of ld.so).
43659 Add new __opendir as wrapper around __opendirat.
43660 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43661 here without requiring old scandirat implementation.
43663 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43665 * dirent/scandir.c (cancel_handler): Renamed to
43666 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43667 defined. Adjust users.
43668 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43669 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43671 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43673 * string/test-string.h (IMPL): Use __STRING to expand name and then
43676 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43679 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43681 * string/Makefile: Update.
43682 (strop-tests): Append strncat.
43683 * string/test-wcscmp.c: New file.
43684 New comprehensive test for wcscmp.
43685 * string/test-strcmp.c: Update.
43686 (WIDE): New define.
43688 2011-07-22 Andreas Schwab <schwab@redhat.com>
43690 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43693 2011-07-26 Andreas Schwab <schwab@redhat.com>
43695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43696 encoding to ACE if AI_IDN.
43698 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43701 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43703 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43705 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43706 Fix overflow bug in strncat.
43707 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43709 * string/test-strncat.c: Update.
43710 Add new tests for checking overflow bugs.
43712 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43715 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43716 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43717 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43718 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43719 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43720 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43721 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43722 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43724 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43725 (USE_AS_STRCAT): Define.
43726 Add strcat and strncat support.
43727 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43729 2011-07-25 Andreas Schwab <schwab@redhat.com>
43731 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43732 __n bigger than INT_MAX+1.
43733 (__strncmp_g): Likewise.
43735 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43737 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43738 * libio/stido.h: Likewise.
43740 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43745 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43746 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43748 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43752 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43757 (_dl_x86_64_save_sse): Likewise.
43759 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43763 (_dl_x86_64_save_sse): Likewise.
43765 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43767 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43769 2011-07-21 Andreas Schwab <schwab@redhat.com>
43771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43773 (_dl_x86_64_save_sse): Use correct AVX check.
43775 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43778 bug in strncpy/strncat.
43779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43781 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43783 * string/tester.c (test_strcat): Add tests for different alignments
43784 of source and destination.
43785 (test_strncat): Likewise.
43787 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43790 * posix/glob.c (glob): Check passed in values before using them in
43791 expressions to avoid some overflows.
43792 (glob_in_dir): Likewise.
43795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43796 check for AVX enablement so that we don't crash with old kernels and
43798 * elf/tst-audit4.c: Add same checks here.
43799 * elf/tst-audit6.c: Likewise.
43801 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43803 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43805 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43807 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43809 * po/cs.po: Update from translation team.
43810 * po/bg.po: Likewise.
43812 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43814 * misc/sys/cdefs.h: Add support for const attribute.
43815 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43816 to gnu_dev_{major,minor,makedev} functions.
43818 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43820 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43822 2011-07-20 Andreas Schwab <schwab@redhat.com>
43824 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43827 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43830 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43831 register in order to avoid conflicts with the soft frame pointer
43832 being held in r11 when necessary.
43833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43834 (INTERNAL_VSYSCALL_NCS): Likewise.
43836 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43838 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43839 * elf/dl-fini.c (_dl_fini): Adjust caller.
43840 * elf/dl-close.c (_dl_close_worker): Likewise.
43841 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43843 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43845 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43846 "aux_cache->nlibs < 0".
43848 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43849 in the reload-count case.
43851 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43854 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43855 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43856 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43857 * sysdeps/x86_64/multiarch/strcat.S: New file.
43858 * sysdeps/x86_64/multiarch/strncat.S: New file.
43859 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43860 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43861 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43862 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43863 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43864 (USE_AS_STRCAT): Define.
43865 Add strcat and strncat support.
43866 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43867 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43868 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43869 * string/strncat.c: Update.
43870 (USE_AS_STRNCAT): Define.
43871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43872 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43874 * sysdeps/x86_64/multiarch/init-arch.h
43875 (bit_Prefer_PMINUB_for_stringop): New.
43876 (index_Prefer_PMINUB_for_stringop): Likewise.
43877 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43878 bit_Prefer_PMINUB_for_stringop.
43880 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43882 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43884 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43885 of casting of buffer.
43886 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43887 buffer32 and buffer64.
43888 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43889 writes instead of casting of buffer.
43890 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43892 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43895 2011-07-19 Andreas Schwab <schwab@redhat.com>
43897 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43899 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43901 * nscd/nscd.c (termination_handler): Don't do anything for a database
43902 if it has not yet been initialized.
43904 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43906 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43908 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43910 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43912 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43914 * po/nl.po: Update from translation team.
43915 * po/sv.po: Likewise.
43917 2011-07-16 Roland McGrath <roland@hack.frob.com>
43919 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43920 now disallowed by GCC.
43922 * configure.in (use-default-link): Default to yes if a test -shared
43923 link meets our qualifications.
43924 * configure: Regenerated.
43926 * config.make.in (output-format): New variable.
43927 * configure.in: Check for ld --print-output-format support.
43928 * configure: Regenerated.
43929 * Makerules ($(common-objpfx)format.lds)
43930 [$(output-format) != unknown]: Just use $(output-format),
43931 instead of the linker-script munging.
43933 2011-07-14 Roland McGrath <roland@hack.frob.com>
43935 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43936 of $(common-objpfx)shlib.lds.
43937 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43939 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43940 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43942 * configure.in (-z relro check): Adjust test code to add a large
43943 writable data section after it.
43944 * configure: Regenerated.
43946 2011-07-11 Roland McGrath <roland@hack.frob.com>
43948 * configure.in (-z relro check): Fix test code to make the variable
43950 * configure: Regenerated.
43952 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43954 * nscd/nscd.h (struct traced_file): Define.
43955 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43956 elements. Add traced_files.
43957 (inotify_fd): Declare.
43958 (register_traced_file): Declare.
43959 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43960 (inotify_fd): Export.
43961 (resolv_conf_descr): Remove.
43962 (nscd_init): Move inotify descriptor creation to main.
43963 Don't register files for notification here.
43964 (register_traced_file): New function.
43965 (invalidate_cache): Don't use reset_res to determine whether to call
43966 res_init, go through the list of registered files.
43967 (main_loop_poll): The inotify descriptors are now stored in the
43968 structures for the traced files.
43969 (main_loop_epoll): Likewise
43970 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43971 to __nss_disable_nscd.
43972 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43973 for a database anymore. Check the records for all the registered
43975 * nss/Makefile (libnss_files-routines): Add files-init.
43976 (libnss_db-routines): Add db-init.
43977 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43978 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43979 * nss/nss_db/db-init.c: New file.
43980 * nss/nss_files/files-init.c: New file.
43981 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43982 __nss_lookup_function.
43983 (__nss_lookup_function): Call nss_load_library.
43984 (nss_load_all_libraries): New function.
43985 (__nss_disable_nscd): Take parameter with callback function for files
43986 to register. Set is_nscd. Load all the DSOs for the NSS modules
43987 used for the cached services.
43988 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43989 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43990 options for features to all the files in nscd.
43992 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43994 2011-07-10 Roland McGrath <roland@hack.frob.com>
43996 * csu/elf-init.c (__libc_csu_init): Comment typo.
43998 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44000 * po/pl.po: Update from translation team.
44001 * po/ja.po: Likewise.
44002 * po/ru.po: Likewise.
44003 * po/ko.po: Likewise.
44004 * po/fr.po: Likewise.
44006 2011-07-09 Roland McGrath <roland@hack.frob.com>
44008 * configure.in (.ctors/.dtors header and trailer check):
44009 Use an empirical test on a built program.
44010 * configure: Regenerated.
44012 * configure.in (-z relro check): Use an empirical test on a built DSO.
44013 Detect, but do not require, on ia64.
44014 * configure: Regenerated.
44016 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44017 Update tests that use readelf to use $READELF instead.
44018 * configure: Regenerated.
44020 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44022 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44023 if the result is not used.
44025 2011-07-05 Andreas Jaeger <aj@suse.de>
44028 * stdlib/tst-strtod.c: Add testcase.
44030 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44032 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44033 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44034 The latter has a higher limit. Take additional parameter to pass to
44036 (__pathconf): Pass file to __statfs_link_max.
44037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44039 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44043 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44044 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44046 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44047 (__statfs_filesize_max): Likewise.
44048 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44050 2011-07-05 Andreas Jaeger <aj@suse.de>
44052 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44054 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44056 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44058 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44061 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44063 * Makefile (strop-tests): Add strncat.
44064 * string/test-strncat.c: New file.
44066 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44068 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44070 2011-06-21 Andreas Jaeger <aj@suse.de>
44072 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44073 Copy rule from iconvdata/Makefile.
44075 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44078 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44079 but no long options are defined, just return 'W'.
44081 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44084 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44086 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44088 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44090 (innetgr): Likewise.
44092 2011-07-05 Roland McGrath <roland@hack.frob.com>
44094 * config.make.in (install_root): Default to $(DESTDIR).
44096 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44098 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44100 2011-07-02 Roland McGrath <roland@hack.frob.com>
44102 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44104 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44105 containing directory rather than embedding absolute directory names.
44107 * scripts/check-local-headers.sh: Rewritten using awk.
44108 Match by word, not by line. Print error messages for matches.
44109 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44111 * Makerules [shlib-lds-flags empty]:
44112 ($(common-objpfx)libc_pic.opts): New target.
44113 ($(common-objpfx)libc_pic.os.clean): New target.
44114 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44116 * config.make.in (OBJCOPY): New variable.
44117 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44118 * configure: Regenerated.
44120 * config.make.in (use-default-link): New variable.
44121 * configure.in (use_default_link): Grok --with-default-link to set it.
44122 * configure: Regenerated.
44123 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44124 (shlib-lds, shlib-lds-flags): Define to empty.
44126 * Makerules (shlib-lds): New variable.
44127 (shlib-lds-flags): New variable.
44128 (build-shlib, build-moduile, build-module-asneeded): Use it.
44129 ($(common-objpfx)libc.so): Use $(shlib-lds).
44130 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44131 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44133 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44134 DT_FLAGS/DT_FLAGS_1 with zero flags.
44136 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44137 linker script munging.
44139 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44141 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44143 * crypt/sha512.c (sha512_process_block): Perform total addition using
44144 128-bit if possible.
44145 (__sha512_finish_ctx): Likewise.
44146 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44148 * crypt/sha256.c (SWAP64): Define.
44149 (sha256_process_block): Perform total addition using 64-bit if
44151 (__sha256_finish_ctx): Likewise.
44153 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44155 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44157 * nscd/hstcache.c (cache_addhst): Likewise.
44158 * nscd/grpcache.c (cache_addgr): Likewise.
44159 * nscd/aicache.c (addhstaiX): Likewise
44160 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44162 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44164 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44165 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44166 * nscd/hstcache.c (cache_addhst): Likewise.
44167 * nscd/grpcache.c (cache_addgr): Likewise.
44168 * nscd/aicache.c (addhstaiX): Likewise
44170 2011-07-01 Andreas Schwab <schwab@redhat.com>
44172 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44173 domain only when needed.
44175 2011-06-30 Andreas Schwab <schwab@redhat.com>
44177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44178 is always restored.
44180 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44182 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44183 are re-adding the entry.
44184 * nscd/servicescache.c (cache_addserv): Likewise.
44186 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44188 * sysdeps/generic/dl-irel.h: fix protection against multiple
44190 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44192 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44195 * malloc/memusage.sh: Fix quoting in message.
44196 * debug/xtrace.sh: Likewise.
44198 * configure.in: Remove support for --experimental-malloc option, make
44200 * config.make.in: Likewise.
44201 * malloc/Makefile: Likewise.
44203 2011-06-27 Andreas Schwab <schwab@redhat.com>
44205 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44206 two-byte characters.
44208 2011-06-27 Roland McGrath <roland@hack.frob.com>
44210 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44211 AC_CACHE_CHECK invocation.
44212 * configure: Regenerated.
44214 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44216 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44219 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44220 bit from old_res_options.
44222 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44224 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44225 value type for setfct.
44227 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44230 __gettimeofday instead of gettimeofday.
44232 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44234 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44236 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44238 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44240 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44243 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44246 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44247 strcpy-sse2-unaligned strncpy-sse2-unaligned
44248 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44249 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44250 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44251 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44252 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44253 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44254 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44255 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44256 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44257 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44258 (STRCPY): Support SSE2 and SSSE3 versions.
44260 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44263 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44264 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44265 kernels which artificially limit size of requests.
44267 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44270 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44271 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44272 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44273 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44274 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44275 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44276 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44277 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44278 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44279 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44280 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44281 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44282 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44283 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44285 Enable unaligned load optimization for Intel Core i3, i5 and i7
44287 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44289 (index_Fast_Unaligned_Load): Define.
44290 (HAS_FAST_UNALIGNED_LOAD): Define.
44292 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44294 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44296 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44300 until it is clear that the information is realy needed.
44301 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44303 2011-06-22 Andreas Schwab <schwab@redhat.com>
44305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44307 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44310 /sys/devices/system/cpu/online if it is usable.
44312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44313 reading the information from the /proc filesystem to once a second.
44315 2011-06-21 Andreas Jaeger <aj@suse.de>
44317 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44318 NULL after inclusion of kernel headers.
44320 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44322 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44323 calls to internal_setent.
44326 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44327 addresses using gethostbyname4_r ignore IPv4 addresses.
44329 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44330 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44332 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44334 2011-06-20 David S. Miller <davem@davemloft.net>
44336 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44338 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44340 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44341 (elf_irel): Use it.
44342 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44343 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44344 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44345 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44346 * sysdeps/x86_64/dl-irel.h: Likewise.
44348 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44349 * elf/dl-sym.c: Likewise.
44351 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44353 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44354 need to dereference resplen2.
44356 2011-06-14 Andreas Schwab <schwab@redhat.com>
44358 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44360 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44362 * Makeconfig: Define vardbdir and inst_vardbdir.
44363 * nss/Makefile: Add rules to install db-Makefile.
44365 * nss/nss_db/db-XXX.c: Cleanup.
44367 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44368 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44370 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44371 * nss/makedb.c: Implement -g option to specify that value strings
44372 are generated and should not be added to table iterated over for
44374 * nss/nss_db/db-initgroups.c: New file.
44376 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44379 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44380 (internal_getgrouplist): Adjust to name change.
44381 Update use_initgroups_entry if this is not the first call.
44382 * nss/databases.def: Add initgroups entry.
44384 * nss/makedb.c (compute_tables): Check result of multiple hash table
44385 sizes to minimize maximum chain length.
44387 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44389 * Versions.def: Add entry for libnss_db.
44390 * shlib-versions: Likewise.
44391 * nss/Makefile: Add rules to build libnss_db.
44392 * nss/Versions: Add libnss_db information. Organize libnss_files
44394 * nss/db-Makefile: Add gshadow support. Change rules for the new
44395 makedb progra. Some minor improvements to generate smaller files.
44396 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44398 * nss/makedb.c: ...here.
44399 Improve database format to be smaller and require less memory at
44401 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44403 * nss/nss_db/db-netgrp.c: Likewise.
44404 * nss/nss_db/db-open.c: Likewise.
44405 * nss/nss_files/flies-XXX.x: Adjust comments.
44406 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44407 * nss/nss_files/files-grp.c: Likewise.
44408 * nss/nss_files/files-hosts.c: Likewise.
44409 * nss/nss_files/files-network.c: Likewise.
44410 * nss/nss_files/files-proto.c: Likewise.
44411 * nss/nss_files/files-pwd.c: Likewise.
44412 * nss/nss_files/files-rpc.c: Likewise.
44413 * nss/nss_files/files-service.c: Likewise.
44414 * nss/nss_files/files-sgrp.c: Likewise.
44415 * nss/nss_files/files-spwd.c: Likewise.
44416 * nss/nss_db/db-alias.c: Removed.
44417 * nss/nss_db/dummy-db.h: Removed.
44419 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44421 * nss/makedb.c: Rewritten to not use database library.
44422 * nss/Makefile: Update to build new makedb program.
44424 2011-06-14 Andreas Jaeger <aj@suse.de>
44426 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44427 memset declaration.
44429 2011-06-10 Andreas Schwab <schwab@redhat.com>
44431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44434 2011-06-10 Roland McGrath <roland@hack.frob.com>
44436 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44437 * elf/Makefile ($(objpfx)ld.so): Likewise.
44439 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44440 Don't list ld.so twice in dependencies.
44442 * posix/bug-regex31.c: Include <stdlib.h>.
44444 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44446 * nis/nss_compat/compat-spwd.c
44447 (getspent_next_nss_netgr): Remove unused variable.
44448 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44450 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44451 nonmembers" output to use the right array.
44453 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44455 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44457 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44458 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44459 * catgets/gencat.c (read_input_file): Likewise.
44460 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44462 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44463 variable definition inside #if's controlling its use.
44465 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44467 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44469 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44471 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44474 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44476 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44477 * configure: Regenerated.
44479 * Makerules: Revert last change.
44480 * elf/Makefile: Likewise.
44482 2011-06-09 Roland McGrath <roland@hack.frob.com>
44484 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44485 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44486 (reloc-link): Likewise.
44488 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44490 * elf/Makefile: Add rules to build pldd.
44491 * elf/pldd.c: New file.
44492 * elf/pldd-xx.c: New file.
44494 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44496 * version.h: Update for 2.15 development version.
44498 2011-06-07 David S. Miller <davem@davemloft.net>
44500 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44503 elf_machine_lazy_rel): Likewise.
44504 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44506 elf_machine_lazy_rel): Likewise.
44507 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44508 dl_hwcap via passed in argument.
44509 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44512 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44514 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44516 2011-06-06 Roland McGrath <roland@hack.frob.com>
44519 * manual/fdl-1.1.texi: New file, verbatim from:
44520 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44521 * manual/lgpl-2.1.texi: New file, verbatim from:
44522 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44523 * manual/Makefile (licenses): New variable, list those new file names.
44525 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44527 * manual/fdl.texi: File removed.
44528 * manual/lesser.texi: File removed.
44529 * manual/libc.texinfo (Copying, Documentation License):
44530 Use new @include file names, put @appendix directive before @include.
44532 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44535 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44536 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44537 (mq_open): Add __NTH.
44539 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44542 Assume Intel Core i3/i5/i7 processor if AVX is available.
44544 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44549 2011-05-31 Andreas Schwab <schwab@redhat.com>
44551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44552 memory. Use alloca_account. Fix memory leak when retrying.
44554 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44556 * version.h (RELEASE): Bump for 2.14 release.
44557 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44559 * config.make.in (RANLIB): Remove entry.
44561 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44563 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44564 (libc.pot): Work around missing support for .ksh extension in xgettext.
44567 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44568 if both request failed.
44569 (send_dg): In case of server errors clear resplen or *resplen2.
44572 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44573 when there are multiple maps.
44574 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44575 (_dl_fini): Remove test here.
44577 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44579 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44582 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44583 bit from old_res_options.
44584 (gaih_inet): Likewise.
44587 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44590 * resolv/res_init.c (res_setoptions): Make the code more compact.
44593 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44597 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44599 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44602 * malloc/malloc.h: Declare malloc hook variables as volatile.
44604 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44608 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44609 raise in the comment.
44610 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44611 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44612 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44614 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44617 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44618 grow the buffers more if it already has to be sufficient.
44619 (build_wcs_upper_buffer): Likewise.
44620 * posix/regexec.c (check_matching): Likewise.
44621 (clean_state_log_if_needed): Likewise.
44622 (extend_buffers): Don't enlarge buffers beyond size of the input
44624 Patches mostly by Emil Wojak <emil@wojak.eu>.
44625 * posix/bug-regex32.c: New file.
44626 * posix/Makefile (tests): Add bug-regex32.
44628 * locale/findlocale.c (_nl_find_locale): Return right away if
44629 _nl_explode_name failed.
44630 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44632 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44634 * debug/xtrace.sh: Unify messages.
44635 * malloc/memusage.sh: Likewise.
44638 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44639 time symbol from vDSO. Substitute with vsyscall if not available.
44640 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44643 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44644 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44645 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44646 Add sendmmsg and internal_sendmmsg.
44647 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44648 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44651 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44652 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44653 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44655 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44658 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44659 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44661 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44665 * iconvdata/Makefile (tests): Add bug-iconv9.
44666 * iconvdata/bug-iconv9.c: New file.
44668 2011-05-27 Andreas Schwab <schwab@redhat.com>
44671 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44673 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44676 (struct user_regs_struct): Change intcs field back to cs.
44678 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44680 * po/ja.po: Update from translation team.
44682 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44685 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44686 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44688 2011-05-20 Andreas Schwab <schwab@redhat.com>
44690 * stdlib/longlong.h: Update from GCC.
44692 2011-05-23 Andreas Schwab <schwab@redhat.com>
44694 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44696 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44697 Add parameter name.
44698 (__sysconf): Pass it down.
44700 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44703 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44705 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44706 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44707 add in in __libc_use_alloca calls. Adjust callers.
44708 (glob): Use malloc in some situations.
44710 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44711 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44714 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44716 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44717 and CLOCK_BOOTTIME_ALARM.
44720 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44723 * string/_strerror.c (__strerror_r): Print negative errors as signed
44727 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44728 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44729 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44731 * configure.in: Fix typo in redirection and correct removal of test
44732 files in two cases.
44735 * locale/setlocale.c (new_composite_name): Fix test to check for
44736 identical name of all categories.
44739 * libio/filedoalloc.c (local_isatty): New function.
44740 (_IO_file_doallocate): Use local_isatty.
44741 * stdio-common/perror.c (perror): In case a new stream is used
44742 forward the stream error.
44743 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44746 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44751 * include/alloca.h (extend_alloca_account): Define.
44754 * posix/regex.h: Fix comments with documentation of user-accessible
44755 fields after compilation and describe correct free'ing of pattern
44756 after re_compile_pattern.
44757 Patch by Reuben Thomas <rrt@sc3d.org>.
44759 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44761 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44762 and -mno-altivec to prevent the compiler from using Altivec and/or
44763 VSX instructions when the corresponding registers are not available.
44765 2011-05-19 Andreas Schwab <schwab@redhat.com>
44767 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44769 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44771 * libio/freopen.c (freopen): Use __dup2, not dup2.
44772 * libio/freopen64.c (freopen64): Likewise.
44774 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44777 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44778 * math/Makefile (tests): Add test-powl.
44779 (CFLAGS-test-powl.c): Define.
44780 * math/test-powl.c: New file.
44782 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44784 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44786 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44789 * iconvdata/gb18030.c: Update to GB18020-2005.
44791 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44793 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44794 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44795 Patch by Aharon Robbins <arnold@skeeve.com>.
44798 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44802 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44803 through underflows.
44806 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44807 point to strings before performing equality test for error_one_per_line
44811 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44814 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44815 (struct user_fpregs_struct): Avoid __uint*_t types.
44818 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44819 symbol info. Use it instead of calling _dl_addr locally.
44820 (lock_and_info): New function.
44821 (tr_freehook): Call lock_and_info and pass symbol info as additional
44822 parameter to tr_where.
44823 (tr_mallochook): Likewise.
44824 (tr_reallochook): Likewise.
44825 (tr_memalignhook): Likewise.
44827 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44828 used and couldn't be at all thread-safe.
44830 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44832 * libio/freopen.c (freopen): Don't close old file descriptor
44833 before the new one is opened. Instead dup the new file descriptor
44834 to the old one after the new stream is created.
44835 * libio/freopen64.c (freopen64): Likewise.
44836 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44837 * libio/fileops.c (_IO_new_file_close_it): Handle new
44838 _IO_FLAGS2_NOCLOSE flag.
44839 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44840 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44841 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44842 _IO_FLAGS2_NOCLOSE flag.
44843 * include/unistd.h: Add hidden_proto for dup3.
44844 Define __have_dup3.
44845 * io/dup3.c: Define hidden symbol.
44846 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44849 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44850 when an incomplete long option is used.
44851 * posix/tst-getopt_long1.c: New file.
44852 * posix/Makefile (tests): Add tst-getopt_long1.
44855 * scripts/config.guess: Update from autoconf-2.68.
44856 * scripts/config.sub: Likewise.
44859 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44861 (has_cpuclock): ...this. New function.
44862 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44863 macro here based on has_cpuclock code.
44866 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44867 First byte (not low byte) is now always NUL.
44868 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44871 Use non-cancelable interfaces.
44874 * locale/iso-639.def: Add entry for Sorani.
44877 * include/stdlib.h: Move include protection to the right place.
44878 Define abort_msg_s. Declare __abort_msg with it.
44879 * stdlib/abort.c (__abort_msg): Adjust type.
44880 * assert/assert.c (__assert_fail_base): New function. Majority
44881 of code from __assert_fail. Allocate memory for __abort_msg with
44883 (__assert_fail): Now call __assert_fail_base.
44884 * assert/assert-perr.c: Remove bulk of implementation. Use
44885 __assert_fail_base.
44886 * include/assert.hL Declare __assert_fail_base.
44887 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44889 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44891 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44895 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44896 until all modules are registered in the DTV.
44897 * elf/Makefile: Add rules to build and run tst-tls19.
44898 * elf/tst-tls19.c: New file.
44899 * elf/tst-tls19mod1.c: New file.
44900 * elf/tst-tls19mod2.c: New file.
44901 * elf/tst-tls19mod3.c: New file.
44902 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44905 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44909 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44910 two-byte sequence errors.
44911 * iconvdata/Makefile (tests): Add bug-iconv8.
44912 * iconvdata/bug-iconv8.c: New file.
44915 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44918 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44921 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44922 (dummy_getcfa): New function.
44923 (init): Get _Unwind_GetCFA address, use dummy if not found.
44924 (backtrace_helper): In recursion check, also check whether CFA changes.
44925 (__backtrace): Completely initialize arg.
44927 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44928 storing incomplete byte sequence in state object. Avoid testing for
44929 guaranteed too small input if we know there is enough data available.
44931 2011-05-11 Andreas Schwab <schwab@redhat.com>
44933 * Makeconfig (+link-pie): Indent.
44934 * Rules (binaries-pie): Define if $(have-fpie) and
44936 (binaries-shared): Also filter out $(binaries-pie).
44937 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44938 * nscd/Makefile (others-pie): Add nscd.
44939 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44940 ($(objpfx)nscd): Remove command override.
44941 * login/Makefile (others-pie): Add pt_chown.
44942 ($(objpfx)pt_chown): Remove command override.
44943 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44944 remove command overrides.
44946 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44948 * libio/tst_putwc.c: Fix error messages.
44951 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44952 currently writing and seek to current position when not.
44953 * libio/Makefile (tests): Add bug-fclose1.
44954 * libio/bug-fclose1.c: New file.
44956 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44959 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44960 don't set DF_1_NODELETE here.
44961 (do_lookup_x): When entering new entry test for copy relocation
44962 and if necessary set DF_1_NODELETE flag.
44963 * elf/tst-unique4.cc: New file.
44964 * elf/tst-unique4.h: New file.
44965 * elf/tst-unique4lib.cc: New file.
44966 * elf/Makefile: Add rules to build and run tst-unique4.
44967 Patch by Piotr Bury <pbury@goahead.com>.
44969 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44972 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44975 * misc/mntent_r.c (addmntent): Flush the stream after the output
44978 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44979 (is_trusted_path_normalize): Skip initial colon. Append slash
44980 to empty buffer. Duplicate is_trusted_path code but allow
44981 constructed patch to be prefix.
44982 (is_dst): Allow $ORIGIN followed by /.
44983 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44984 Correct testing of result of is_trusted_path_normalize
44985 (decompose_rpath): Fix warning.
44987 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44990 * grp/initgroups.c (internal_getgrouplist): When we found the service
44991 list through the initgroups entry in nsswitch.conf do not always
44992 continue on a successful lookup. Don't always use the
44993 __nss_group_database value if it is set.
44994 * nss/nsswitch.conf (initgroups): Change action for successful db
44995 lookup to continue for compatibility.
44997 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45000 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45002 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45004 * iconvdata/tst-tables.sh: Likewise.
45005 * iconvdata/cp770.c: New file.
45006 * iconvdata/cp771.c: New file.
45007 * iconvdata/cp772.c: New file.
45008 * iconvdata/cp773.c: New file.
45009 * iconvdata/cp774.c: New file.
45010 * iconvdata/testdata/CP770: New file.
45011 * iconvdata/testdata/CP770..UTF8: New file.
45012 * iconvdata/testdata/CP771: New file.
45013 * iconvdata/testdata/CP771..UTF8: New file.
45014 * iconvdata/testdata/CP772: New file.
45015 * iconvdata/testdata/CP772..UTF8: New file.
45016 * iconvdata/testdata/CP773: New file.
45017 * iconvdata/testdata/CP773..UTF8: New file.
45018 * iconvdata/testdata/CP774: New file.
45019 * iconvdata/testdata/CP774..UTF8: New file.
45021 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45023 * iconvdata/gen-8bit-gap.sh: Likewise.
45024 * iconvdata/gen-8bit.sh: Likewise.
45026 * locale/iso-639.def: Add ary entry.
45029 * locale/C-translit.h.in: Add U20A1 transliteration.
45032 * locale/iso-639.def: Add wae entry.
45033 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45036 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45040 * locale/C-translit.h.in: Add entry for U20B9.
45041 Patch by pravin.d.s@gmail.com.
45043 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45046 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45047 ENAMETOOLONG use generic getcwd.
45048 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45049 in rtld. Use *stat64.
45050 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45051 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45052 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45053 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45054 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45055 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45056 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45057 __fstatat64 macros.
45058 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45059 * dirent/rewinddir.c: Add libc_hidden_def.
45060 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45061 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45063 * include/dirent.h (__alloc_dir): Add flags parameter.
45064 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45065 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45067 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45068 from fdopendir if O_CLOEXEC is already set.
45070 2011-03-15 Alan Modra <amodra@gmail.com>
45072 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45073 l_tls_firstbyte_offset non-zero. Save padding offset in
45074 l_tls_firstbyte_offset for later use.
45075 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45076 freeing static tls block.
45078 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45080 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45081 where #ifdef was intended. The intent is to prevent ARG_MAX from
45082 being defined by the kernel headers.
45084 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45087 * resolv/resolv.h: Define RES_NOTLDQUERY.
45088 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45089 no-tld-query and set RES_NOTLDQUERY.
45090 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45091 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45092 modern BIND to search name as TLD unless forbidden.
45094 2011-05-07 Petr Baudis <pasky@suse.cz>
45095 Ulrich Drepper <drepper@gmail.com>
45098 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45099 (is_trusted_path): ...to here.
45100 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45101 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45102 using is_trusted_path_normalize() in setuid scripts.
45104 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45106 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45107 __BEGIN/__END_DECLS.
45109 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45112 NSS_STATUS_NOTFOUND if no record was found.
45114 2011-05-05 Andreas Schwab <schwab@redhat.com>
45116 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45117 (headers-not-in-tirpc): Remove rpc/netdb.h
45118 * resolv/netdb.h: Revert last change.
45120 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45122 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45123 circular dependency between libgcc.a and libc.a.
45125 2011-05-05 Andreas Schwab <schwab@redhat.com>
45127 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45128 * nis/Makefile: Don't install rpcsvc/*.
45129 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45130 instead of <rpc/types.h>.
45131 (MAXHOSTNAMELEN): Define.
45133 2011-05-03 Andreas Schwab <schwab@redhat.com>
45135 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45137 2011-04-28 Maciej Babinski <mbabinski@google.com>
45140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45141 gethostbyname4_r when IPv6 results are possible.
45143 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45146 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45147 _PC_PIPE_BUF handling.
45149 2011-04-30 Bruno Haible <bruno@clisp.org>
45152 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45153 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45155 * inet/getnameinfo.c (getnameinfo): Likewise.
45157 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45159 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45160 to groups setting in database lookup.
45161 * nss/nsswitch.conf: Add initgroups entry.
45163 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45166 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45168 Patch by Eric Blake <eblake@redhat.com>.
45170 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45172 * sunrpc/Makefile (need-export-routines): Add svc_run.
45173 (routines): Remove svc_run.
45174 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45175 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45176 * sunrpc/svc_run.c (svc_run): Likewise.
45177 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45179 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45182 problem in reallocation in last patch.
45184 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45186 * sunrpc/Makefile: Move inclusion of Rules.
45188 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45190 * nss/nss_files/files-initgroups.c: New file.
45191 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45192 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45193 _nss_files_initgroups_dyn.
45195 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45197 * elf/elf.h (R_ARM_IRELATIVE): Define.
45199 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45201 * po/ru.po: Update from translation team.
45203 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45205 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45208 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45211 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45212 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45213 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45214 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45215 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45217 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45219 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45221 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45222 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45225 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45228 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45230 * stdlib/bug-getcontext.c: New file.
45231 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45233 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45235 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45236 instructions into .machine "z9-109".
45237 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45238 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45240 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45242 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45243 between environment variables and auxiliary vector.
45245 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45247 * Makefile: Add rules to build linkobj/libc.so.
45248 * include/libc-symbols.h: Define libc_hidden_nolink.
45249 * include/rpc/auth.h: Mark functions which are to be hidden.
45250 * include/rpc/auth_des.h: Likewise.
45251 * include/rpc/auth_unix.h: Likewise.
45252 * include/rpc/clnt.h: Likewise.
45253 * include/rpc/des_crypt.h: Likewise.
45254 * include/rpc/key_prot.h: Likewise.
45255 * include/rpc/pmap_clnt.h: Likewise.
45256 * include/rpc/pmap_prot.h: Likewise.
45257 * include/rpc/pmap_rmt.h: Likewise.
45258 * include/rpc/rpc_msg.h: Likewise.
45259 * include/rpc/svc.h: Likewise.
45260 * include/rpc/svc_auth.h: Likewise.
45261 * include/rpc/xdr.h: Likewise.
45262 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45263 * nss/Makefile: Likewise.
45264 * sunrpc/Makefile: Don't install headers. Build library with normal
45265 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45266 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45267 for the compat linking library. Remove use of INTDEF/INTUSE.
45268 * sunrpc/auth_none.c: Likewise.
45269 * sunrpc/auth_unix.c: Likewise.
45270 * sunrpc/authdes_prot.c: Likewise.
45271 * sunrpc/authuxprot.c: Likewise.
45272 * sunrpc/clnt_gen.c: Likewise.
45273 * sunrpc/clnt_perr.c: Likewise.
45274 * sunrpc/clnt_raw.c: Likewise.
45275 * sunrpc/clnt_simp.c: Likewise.
45276 * sunrpc/clnt_tcp.c: Likewise.
45277 * sunrpc/clnt_udp.c: Likewise.
45278 * sunrpc/clnt_unix.c: Likewise.
45279 * sunrpc/des_crypt.c: Likewise.
45280 * sunrpc/des_soft.c: Likewise.
45281 * sunrpc/get_myaddr.c: Likewise.
45282 * sunrpc/key_call.c: Likewise.
45283 * sunrpc/key_prot.c: Likewise.
45284 * sunrpc/netname.c: Likewise.
45285 * sunrpc/pm_getmaps.c: Likewise.
45286 * sunrpc/pm_getport.c: Likewise.
45287 * sunrpc/pmap_clnt.c: Likewise.
45288 * sunrpc/pmap_prot.c: Likewise.
45289 * sunrpc/pmap_prot2.c: Likewise.
45290 * sunrpc/pmap_rmt.c: Likewise.
45291 * sunrpc/publickey.c: Likewise.
45292 * sunrpc/rpc_cmsg.c: Likewise.
45293 * sunrpc/rpc_common.c: Likewise.
45294 * sunrpc/rpc_dtable.c: Likewise.
45295 * sunrpc/rpc_prot.c: Likewise.
45296 * sunrpc/rpc_thread.c: Likewise.
45297 * sunrpc/rtime.c: Likewise.
45298 * sunrpc/svc.c: Likewise.
45299 * sunrpc/svc_auth.c: Likewise.
45300 * sunrpc/svc_authux.c: Likewise.
45301 * sunrpc/svc_raw.c: Likewise.
45302 * sunrpc/svc_run.c: Likewise.
45303 * sunrpc/svc_simple.c: Likewise.
45304 * sunrpc/svc_tcp.c: Likewise.
45305 * sunrpc/svc_udp.c: Likewise.
45306 * sunrpc/svc_unix.c: Likewise.
45307 * sunrpc/svcauth_des.c: Likewise.
45308 * sunrpc/xcrypt.c: Likewise.
45309 * sunrpc/xdr.c: Likewise.
45310 * sunrpc/xdr_array.c: Likewise.
45311 * sunrpc/xdr_float.c: Likewise.
45312 * sunrpc/xdr_intXX_t.c: Likewise.
45313 * sunrpc/xdr_mem.c: Likewise.
45314 * sunrpc/xdr_rec.c: Likewise.
45315 * sunrpc/xdr_ref.c: Likewise.
45316 * sunrpc/xdr_sizeof.c: Likewise.
45317 * sunrpc/xdr_stdio.c: Likewise.
45319 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45322 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45323 * sysdeps/ia64/dl-tls.h: Likewise.
45324 * sysdeps/powerpc/dl-tls.h: Likewise.
45325 * sysdeps/s390/dl-tls.h: Likewise.
45326 * sysdeps/sh/dl-tls.h: Likewise.
45327 * sysdeps/sparc/dl-tls.h: Likewise.
45328 * sysdeps/x86_64/dl-tls.h: Likewise.
45329 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45331 2011-03-14 Andreas Schwab <schwab@redhat.com>
45333 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45334 rpath element also skip the following colon.
45335 (expand_dynamic_string_token): Add is_path parameter and pass
45336 down to DL_DST_REQUIRED and _dl_dst_substitute.
45337 (decompose_rpath): Call expand_dynamic_string_token with
45338 non-zero is_path. Ignore empty rpaths.
45339 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45342 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45347 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45350 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45351 Patch by Filipe David Manana <fdmanana@apache.org>.
45353 2011-04-07 Andreas Schwab <schwab@redhat.com>
45355 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45356 Maintain aligned stack.
45357 (CHECK_RSP): Remove unused macro.
45359 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45361 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45362 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45364 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45366 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45368 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45370 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45373 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45374 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45375 * sysdeps/x86_64/memmove.c: New file.
45376 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45377 (memcpy): Renamed to ...
45378 (__new_memcpy): This.
45379 (memcpy): Provide GLIBC_2_14 memcpy.
45380 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45381 (memcpy): Provide GLIBC_2_2_5 memcpy.
45383 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45386 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45388 2011-03-30 Andreas Schwab <schwab@redhat.com>
45390 * misc/syncfs.c: New file.
45391 * misc/Makefile (routines): Add syncfs.
45392 * posix/unistd.h: Declare syncfs.
45393 * sysdeps/unix/syscalls.list: Add syncfs.
45395 2011-04-01 Andreas Schwab <schwab@redhat.com>
45397 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45399 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45400 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45402 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45404 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45407 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45409 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45411 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45415 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45417 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45418 sync_file_range.c with -fexceptions.
45419 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45420 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45421 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45422 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45423 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45424 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45426 sync_file_range as cancellation point
45427 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45428 now a wrapper around __call_sync_file_range with cancellation handling.
45429 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45430 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45431 function name to __call_sync_file_range.
45432 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45433 Add call_sync_file_range.
45435 2011-04-01 Andreas Schwab <schwab@redhat.com>
45437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45440 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45442 * iconv/iconv.h: Fix typo in comment.
45443 * io/fcntl.h: Likewise.
45444 * libio/stdio.h: Likewise.
45445 * posix/spawn.h: Likewise.
45446 * posix/unistd.h: Likewise.
45447 * stdlib/stdlib.h: Likewise.
45448 * time/time.h: Likewise.
45449 * wcsmbs/wchar.h: Likewise.
45451 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45452 open_by_handle): Add.
45453 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45454 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45455 Augment a few comments.
45456 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45457 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45458 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45461 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45464 * io/fcntl.h (AT_EMPTY_PATH): Define.
45466 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45468 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45469 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45470 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45472 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45473 * Versions.def: Add GLIBC_2.14.
45474 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45477 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45479 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45481 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45483 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45486 * string/test-strncmp.c (do_page_test): New function.
45487 (check2): Likewise.
45488 (test_main): Call check2.
45489 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45491 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45494 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45495 Handle cache information in CPU leaf 4.
45496 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45498 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45501 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45502 character representation.
45503 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45505 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45507 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45508 END(__isnan) to END(__isnanf) to match function entry point/label
45509 EALIGN(__isnanf,...).
45511 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45513 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45515 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45518 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45519 copy from the symbol referenced in the relocation to initialize the
45521 Patch by Piotr Bury <pbury@goahead.com>.
45522 * elf/Makefile: Add rules to build and tst-unique3.
45523 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45524 * elf/tst-unique3.cc: New file.
45525 * elf/tst-unique3.h: New file.
45526 * elf/tst-unique3lib.cc: New file.
45527 * elf/tst-unique3lib2.cc: New file.
45529 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45531 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45533 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45534 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45537 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45539 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45540 to-be-loaded object along a path to loader is ld.so.
45542 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45543 Ulrich Drepper <drepper@gmail.com>
45545 * sysdeps/x86_64/memset.S: After aligning destination, code
45546 branches to different locations depending on the value of
45547 misalignment, when multiarch is enabled. Fix this.
45549 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45551 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45552 Set _x86_64_preferred_memory_instruction for AMD processsors.
45553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45554 Set bit_Prefer_SSE_for_memop for AMD processors.
45556 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45558 * libio/fmemopen.c (fmemopen): Optimize a bit.
45560 2011-03-03 Andreas Schwab <schwab@redhat.com>
45562 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45564 2011-03-03 Roland McGrath <roland@redhat.com>
45566 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45568 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45570 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45571 __bzero_ultra1 instead of __memset_ultra1.
45573 2011-02-23 Andreas Schwab <schwab@redhat.com>
45574 Ulrich Drepper <drepper@gmail.com>
45577 * include/link.h (struct link_map): Add l_orig_initfini.
45578 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45579 returning unsuccessfully.
45580 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45581 close of a file loaded at startup, restore the original l_initfini
45583 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45584 list, store the pointer.
45585 * elf/Makefile ($(objpfx)noload-mem): New rule.
45586 (noload-ENV): Define.
45587 (tests): Add $(objpfx)noload-mem.
45588 * elf/noload.c: Include <memcheck.h>.
45589 (main): Call mtrace. Close all opened handles.
45591 2011-02-17 Andreas Schwab <schwab@redhat.com>
45594 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45595 dependencies are missing.
45597 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45599 Fix __if_freereq crash: Unlike the generic version which uses free,
45601 * sysdeps/mach/hurd/ifreq.h: New file.
45603 2011-01-27 Petr Baudis <pasky@suse.cz>
45604 Ulrich Drepper <drepper@gmail.com>
45607 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45608 to extend_alloca().
45609 * stdio-common/bug23.c: New file.
45610 * stdio-common/Makefile (tests): Add bug23.
45612 2010-09-28 Andreas Schwab <schwab@redhat.com>
45613 Ulrich Drepper <drepper@gmail.com>
45616 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45617 before performing relro protection. At old place add assertion
45618 to make sure nothing changed.
45620 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45621 Glauber de Oliveira Costa <glommer@gmail.com>
45623 * elf/elf.h: Add new ARM TLS relocs.
45625 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45628 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45630 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45632 * sysdeps/wordsize-64/tst-writev.c: New file.
45634 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45636 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45637 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45638 insns in _dl_start to prevent a TOC reference before relocs are
45641 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45644 * Makeconfig: Remove RANLIB definition.
45645 * Makerules: Don't use RANLIB.
45646 * aclocal.m4: Remove ranlib test.
45647 * configure.in: No need to check for ranlib.
45648 * elf/rtld-Rules: Don't use RANLIB.
45650 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45652 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45654 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45655 inclusion protection macro.
45657 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45658 SIGRTMIN and SIGRTMAX and print information in that case only when
45659 SIGRTMIN is defined.
45661 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45663 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45664 arginfo fn returning -1.
45666 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45667 and thousands string is zero terminated.
45669 2011-02-03 Andreas Schwab <schwab@redhat.com>
45671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45672 sysdeps/unix/sysv/linux/bits/socket.h.
45674 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45676 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45677 (__CPU_COUNT): Remove old macros.
45678 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45679 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45680 (__CPU_ALLOC, __CPU_FREE): Add macros.
45681 (__sched_cpualloc, __sched_cpufree): Add declarations.
45683 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45685 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45686 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45687 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45688 (readdhstai): Return value of addhstaiX call.
45689 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45690 (addgrbyX): Return value returned by cache_addgr.
45691 (readdgrbyname): Return value returned by addgrbyX.
45692 (readdgrbygid): Likewise.
45693 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45694 (addpwbyX): Return value returned by cache_addpw.
45695 (readdpwbyname): Return value returned by addhstbyX.
45696 (readdpwbyuid): Likewise.
45697 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45698 (addservbyX): Return value returned by cache_addserv.
45699 (readdservbyname): Return value returned by addservbyX:
45700 (readdservbyport): Likewise.
45701 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45702 (addhstbyX): Return value returned by cache_addhst.
45703 (readdhstbyname): Return value returned by addhstbyX.
45704 (readdhstbyaddr): Likewise.
45705 (readdhstbynamev6): Likewise.
45706 (readdhstbyaddrv6): Likewise.
45707 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45708 (readdinitgroups): Return value returned by addinitgroupsX.
45709 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45710 (prune_cache): Keep track of timeout value of re-added entries.
45711 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45712 * nscd/nscd.h: Adjust prototypes of readd* functions.
45714 2011-02-04 Roland McGrath <roland@redhat.com>
45716 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45717 (nis_stats): Likewise.
45718 * nis/nis_modify.c (nis_modify): Likewise.
45719 * nis/nis_remove.c (nis_remove): Likewise.
45720 * nis/nis_add.c (nis_add): Likewise.
45722 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45724 * posix/fnmatch_loop.c: Add some consts.
45726 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45728 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45731 * config.make.in (config-cflags-novzeroupper): Define.
45732 * configure.in: Substitute libc_cv_cc_novzeroupper.
45733 * elf/Makefile (AVX-CFLAGS): Define.
45734 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45735 (CFLAGS-tst-auditmod4a.c): Likewise.
45736 (CFLAGS-tst-auditmod4b.c): Likewise.
45737 (CFLAGS-tst-auditmod6b.c): Likewise.
45738 (CFLAGS-tst-auditmod6c.c): Likewise.
45739 (CFLAGS-tst-auditmod7b.c): Likewise.
45740 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45742 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45744 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45745 function to the callback.
45746 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45748 2011-02-02 Andreas Schwab <schwab@redhat.com>
45750 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45753 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45756 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45758 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45760 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45763 * elf/Makefile: Add rules to build and run new test.
45764 * elf/tst-initorder.c: New file.
45765 * elf/tst-initorder.exp: New file.
45766 * elf/tst-initordera1.c: New file.
45767 * elf/tst-initordera2.c: New file.
45768 * elf/tst-initordera3.c: New file.
45769 * elf/tst-initordera4.c: New file.
45770 * elf/tst-initorderb1.c: New file.
45771 * elf/tst-initorderb2.c: New file.
45772 * elf/tst-order-a1.c: New file.
45773 * elf/tst-order-a2.c: New file.
45774 * elf/tst-order-a3.c: New file.
45775 * elf/tst-order-a4.c: New file.
45776 * elf/tst-order-b1.c: New file.
45777 * elf/tst-order-b2.c: New file.
45778 * elf/tst-order-main.c: New file.
45779 New test case by George Gensure <werkt0@gmail.com>.
45781 2010-10-01 Andreas Schwab <schwab@redhat.com>
45783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45784 decoding ACE if AI_CANONIDN.
45786 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45788 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45790 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45792 * version.h (RELEASE): Bump for 2.13 release.
45793 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45795 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45797 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45799 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45800 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45801 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45802 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45803 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45804 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45806 * posix/getconf.c: Update copyright year.
45807 * catgets/gencat.c: Likewise.
45808 * csu/version.c: Likewise.
45809 * debug/catchsegv.sh: Likewise.
45810 * debug/xtrace.sh: Likewise.
45811 * elf/ldconfig.c: Likewise.
45812 * elf/ldd.bash.in: Likewise.
45813 * elf/sprof.c (print_version): Likewise.
45814 * iconv/iconv_prog.c: Likewise.
45815 * iconv/iconvconfig.c: Likewise.
45816 * locale/programs/locale.c: Likewise.
45817 * locale/programs/localedef.c: Likewise.
45818 * malloc/memusage.sh: Likewise.
45819 * malloc/mtrace.pl: Likewise.
45820 * nscd/nscd.c (print_version): Likewise.
45821 * nss/getent.c: Likewise.
45823 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45824 PF_CAIF, and PF_ALG.
45825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45827 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45829 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45830 (modules-names): Use them.
45831 (ifunc-test-modules, ifunc-pie-tests): Define.
45832 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45833 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45834 (test-extras): Likewise.
45835 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45836 $(compile-command.c).
45837 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45838 (all-built-dso): Define.
45839 (check-textrel.out, check-execstack.out): Depend on it.
45841 * configure.in: Don't override --enable-multi-arch.
45843 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45846 * nscd/hstcache.c (tryagain): Define.
45847 (cache_addhst): Return tryagain not notfound for temporary errors.
45848 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45851 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45854 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45855 to make the syscall.
45856 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45859 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45860 and fall back to matching as normal character if the string ends before
45861 the matching ']' is found. This is what POSIX requires.
45862 * posix/testfnm.c: Adjust test result.
45863 * posix/globtest.sh: Adjust test result. Add new test.
45864 * posix/tst-fnmatch.input: Likewise.
45865 * posix/tst-fnmatch2.c: Add new test.
45867 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45869 * elf/Makefile (check-execstack): Revert last change. Depend on
45871 (check-execstack.h): New target.
45872 (generated): Add check-execstack.h.
45873 * elf/check-execstack.c: Include "check-execstack.h".
45874 (main): Revert last change.
45875 (handle_file): Return zero if GNU_STACK is absent and
45876 DEFAULT_STACK_PERMS doesn't include PF_X.
45878 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45880 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45881 in child fails because the descriptor is already closed.
45882 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45883 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45884 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45887 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45891 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45892 temporary buffer used to handle multi lookups locally.
45893 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45895 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45897 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45900 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45902 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45903 alignment for SSE2.
45905 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45908 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45909 characters. When rounding increased number of integer digits recompute
45911 * stdio-common/tst-grouping.c: New file.
45912 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45914 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45916 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45917 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45919 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45921 * bits/select.h: Likewise.
45923 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45925 * po/ja.po: Update from translation team.
45927 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45930 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45931 implementation just like for lxstat, fxstatat, et al.
45933 2010-12-27 Jim Meyering <meyering@redhat.com>
45936 * posix/regexec.c (build_trtable): Return failure indication upon
45937 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45939 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45942 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45943 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45944 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45948 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45951 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45952 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45954 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45956 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45957 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45958 script has SORT_BY_INIT_PRIORITY.
45959 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45960 NO_CTORS_DTORS_SECTIONS is defined.
45961 * elf/soinit.c: Likewise.
45962 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45963 NO_CTORS_DTORS_SECTIONS is defined.
45964 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45965 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45966 * sysdeps/sh/init-first.c: Likewise.
45967 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45969 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45971 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45972 always use the slow path.
45974 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45976 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45977 similar rule which adds the sysdep directories to the header search in
45978 order to pick up the correct platform stackinfo.h.
45979 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45980 perform test if it is, otherwise return successfully without testing.
45981 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45982 DEFAULT_STACK_PERMS define in stackinfo.h.
45983 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45984 defined in stackinfo.h.
45985 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45986 DEFAULT_STACK_PERMS defined in stackinfo.h.
45987 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45988 * sysdeps/ia64/stackinfo.h: Likewise.
45989 * sysdeps/s390/stackinfo.h: Likewise.
45990 * sysdeps/sh/stackinfo.h: Likewise.
45991 * sysdeps/sparc/stackinfo.h: Likewise.
45992 * sysdeps/x86_64/stackinfo.h: Likewise.
45993 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45994 PF_X for powerpc64. Retain PF_X for powerpc32.
45996 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45998 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46000 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46001 GETDENTS_64BIT_ALIGNED.
46003 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46005 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46007 2010-12-10 Andreas Schwab <schwab@redhat.com>
46009 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46012 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46013 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46015 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46016 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46018 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46021 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46024 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46026 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46028 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46030 * po/it.po: Update from translation team.
46032 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46037 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46039 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46041 2010-11-24 Andreas Schwab <schwab@redhat.com>
46043 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46045 (gaih_getanswer_slice): Likewise.
46047 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46051 2010-05-31 Petr Baudis <pasky@suse.cz>
46054 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46055 silently even in the chroot mode.
46057 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46059 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46060 last patch a bit. Pretty printing
46062 2010-05-31 Petr Baudis <pasky@suse.cz>
46065 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46066 initialization of skip_initgroups_dyn.
46068 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46070 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46071 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46073 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46075 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46077 2010-11-11 Andreas Schwab <schwab@redhat.com>
46079 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46080 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46081 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46082 ($(objpfx)tst-fnmatch-mem): New rule.
46083 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46084 * posix/tst-fnmatch.c (main): Call mtrace.
46086 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46089 Support Intel processor model 6 and model 0x2c.
46091 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46093 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46096 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46099 * string/test-strncasecmp.c (check_result): New function.
46100 (do_one_test): Use it.
46101 (check1): New function.
46102 (test_main): Use it.
46103 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46104 Support strcasecmp and strncasecmp.
46106 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46109 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46110 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46112 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46114 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46118 * sysdeps/x86_64/multiarch/bzero.S: New file.
46119 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46120 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46121 * sysdeps/x86_64/multiarch/memset.S: New file.
46122 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46124 Set bit_Prefer_SSE_for_memop for Intel processors.
46125 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46127 (index_Prefer_SSE_for_memop): Define.
46128 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46130 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46132 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46133 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46135 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46138 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46139 (__x86_64_raw_data_cache_size_half): Likewise.
46140 (__x86_64_raw_shared_cache_size): Likewise.
46141 (__x86_64_raw_shared_cache_size_half): Likewise.
46143 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46144 (__x86_64_raw_data_cache_size_half): Likewise.
46145 (__x86_64_raw_shared_cache_size): Likewise.
46146 (__x86_64_raw_shared_cache_size_half): Likewise.
46147 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46148 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46149 and __x86_64_raw_shared_cache_size_half. Round
46150 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46151 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46152 to multiple of 256 bytes.
46154 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46157 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46158 of inacessible symlinks. Verify result of symlink before returning it.
46159 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46160 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46162 2010-10-28 Erich Ritz <erichritz@gmail.com>
46164 * math/math.h (isinf): Fix typo in comment.
46166 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46168 * po/da.po: Update from translation team.
46170 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46172 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46173 is added to the list.
46175 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46176 Ulrich Drepper <drepper@gmail.com>
46178 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46179 the global list here. Move code to...
46180 (_dl_add_to_namespace_list): ...here. New function.
46181 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46182 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46183 * elf/dl-load.c (lose): Don't remove the element from the list.
46184 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46185 (_dl_map_object): Likewise.
46187 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46190 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46191 into all bytes of SSE register.
46192 Patch by Richard Li <richardpku@gmail.com>.
46194 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46197 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46200 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46202 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46203 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46204 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46205 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46210 2010-10-22 Andreas Schwab <schwab@redhat.com>
46212 * include/dlfcn.h (__RTLD_SECURE): Define.
46213 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46214 mode & __RTLD_SECURE instead.
46215 (open_path): Rename preloaded parameter to secure.
46216 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46217 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46218 * elf/dl-deps.c (openaux): Likewise.
46219 * elf/rtld.c (struct map_args): Remove is_preloaded.
46220 (map_doit): Don't use it.
46221 (dl_main): Likewise.
46222 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46223 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46225 2010-09-09 Andreas Schwab <schwab@redhat.com>
46227 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46228 (sysd-rules-targets): Remove duplicates.
46229 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46230 rtld-%.$o dependency.
46232 2010-10-18 Andreas Schwab <schwab@redhat.com>
46234 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46235 _dl_map_object do it.
46237 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46239 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46240 fast fma builtins, define the macros in the C99 standard.
46241 (FP_FAST_FMAF): Likewise.
46242 (FP_FAST_FMAL): Likewise.
46243 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46245 * bits/mathdef.h: Update copyright year.
46246 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46248 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46250 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46251 builtins, define the macros in the C99 standard.
46252 (FP_FAST_FMAF): Likewise.
46253 (FP_FAST_FMAL): Likewise.
46254 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46256 (FP_FAST_FMAF): Likewise.
46258 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46261 * math/libm-test.inc (fma_test): Some new testcases.
46262 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46263 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46264 y and infinite z. Do multiplication by C already in long double.
46265 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46267 y and infinite z. Do bitwise or of inexact bit into u.d.
46268 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46269 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46270 * sysdeps/i386/fpu/s_fma.S: Removed.
46271 * sysdeps/i386/fpu/s_fmal.S: Removed.
46273 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46276 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46278 computation is not scheduled after fetestexcept. Fix value
46279 of minimum denormal long double.
46281 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46284 * math/libm-test.inc (fma_test): Add some more tests.
46285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46288 2010-10-15 Andreas Schwab <schwab@redhat.com>
46290 * scripts/data/localplt-s390-linux-gnu.data: New file.
46291 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46293 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46296 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46297 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46299 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46301 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46303 if one of x and y is very large and the other is subnormal.
46304 * sysdeps/s390/fpu/s_fmaf.c: New file.
46305 * sysdeps/s390/fpu/s_fma.c: New file.
46306 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46307 * sysdeps/powerpc/fpu/s_fma.S: New file.
46308 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46309 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46310 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46312 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46315 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46317 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46318 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46319 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46320 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46321 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46322 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46323 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46325 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46328 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46329 * posix/bug-regex31.input: Add test case.
46331 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46333 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46334 * posix/bug-regex31.input: New file.
46337 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46338 (parse_sub_exp): Fix last change, use postorder.
46340 * posix/bug-regex31.c: New file.
46341 * posix/Makefile: Add rules to build and run bug-regex31.
46343 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46346 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46349 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46350 to have entries in sys_siglist.
46353 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46356 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46359 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46360 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46361 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46362 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46363 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46364 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46365 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46366 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46367 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46368 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46369 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46370 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46371 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46372 * math/ftestexcept.c (fetestexcept): Likewise.
46373 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46374 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46375 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46376 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46377 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46378 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46379 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46381 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46384 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46387 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46389 * string/bug-strstr1.c: New file.
46390 * string/Makefile: Add rules to build and run bug-strstr1.
46392 2010-10-05 Eric Blake <eblake@redhat.com>
46395 * string/str-two-way.h (two_way_long_needle): Always clear memory
46396 when skipping input due to the shift table.
46398 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46401 * malloc/mcheck.c: Handle large requests.
46404 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46405 for strncmp and strncasecmp.
46406 * string/stratcliff.c: Add tests for strcmp and strncmp.
46407 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46409 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46411 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46414 2010-09-30 Andreas Jaeger <aj@suse.de>
46416 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46417 (CGROUP_SUPER_MAGIC): Define.
46418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46419 Handle btrfs and cgroup file systems.
46420 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46423 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46425 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46426 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46428 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46431 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46432 trying to locate the ELF header.
46434 2010-09-27 Andreas Schwab <schwab@redhat.com>
46437 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46438 Mask out sign-bit copies when constructing f_fsid.
46440 2010-09-24 Petr Baudis <pasky@suse.cz>
46442 * debug/stack_chk_fail_local.c: Add missing licence exception.
46443 * debug/warning-nop.c: Likewise.
46445 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46447 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46448 implementing getdents64 using getdents syscall, set d_type if
46449 __ASSUME_GETDENTS32_D_TYPE.
46451 2010-09-16 Andreas Schwab <schwab@redhat.com>
46453 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46454 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46456 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46459 * posix/unistd.h: Undo change of feature selection for ftruncate from
46462 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46464 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46467 2010-09-20 Andreas Schwab <schwab@redhat.com>
46469 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46471 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46473 2010-09-14 Andreas Schwab <schwab@redhat.com>
46475 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46476 variables after CHECK_SP call.
46477 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46479 2010-09-13 Andreas Schwab <schwab@redhat.com>
46480 Ulrich Drepper <drepper@redhat.com>
46482 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46483 re-relocationg ld.so.
46484 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46485 _dl_init_paths call.
46486 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46489 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46491 * resolv/res_init.c (__res_vinit): Count the default server we added.
46493 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46494 Ulrich Drepper <drepper@redhat.com>
46497 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46498 (____longjmp_chk): Use %ebx for saving value across system call.
46501 2010-09-06 Andreas Schwab <schwab@redhat.com>
46503 * manual/Makefile: Don't mix pattern rules with normal rules.
46505 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46507 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46509 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46510 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46511 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46512 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46513 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46516 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46519 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46520 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46522 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46524 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46525 * sysdeps/x86_64/addmul_1.S: Likewise.
46526 * sysdeps/x86_64/lshift.S: Likewise.
46527 * sysdeps/x86_64/mul_1.S: Likewise.
46528 * sysdeps/x86_64/rshift.S: Likewise.
46529 * sysdeps/x86_64/sub_n.S: Likewise.
46530 * sysdeps/x86_64/submul_1.S: Likewise.
46532 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46534 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46535 Define __sched_param instead of SCHED_* and sched_param when
46536 <bits/sched.h> is included with __need_schedparam defined.
46537 * bits/sched.h [__need_schedparam]
46538 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46539 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46540 (__defined_schedparam): Define to 1.
46541 (__sched_param): New structure, identical to sched_param.
46542 (__need_schedparam): Undefine.
46544 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46546 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46547 (epoll_create1): Declare.
46549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46551 2010-08-31 Andreas Schwab <schwab@redhat.com>
46554 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46555 shifting retval into place.
46557 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46559 * nis/rpcsvc/nis.h: Update copyright notice.
46560 * nis/rpcsvc/nis.x: Likewise.
46561 * nis/rpcsvc/nis_callback.h: Likewise.
46562 * nis/rpcsvc/nis_callback.x: Likewise.
46563 * nis/rpcsvc/nis_object.x: Likewise.
46564 * nis/rpcsvc/nis_tags.h: Likewise.
46565 * nis/rpcsvc/yp.h: Likewise.
46566 * nis/rpcsvc/yp.x: Likewise.
46567 * nis/rpcsvc/ypupd.h: Likewise.
46568 * nis/yp_xdr.c: Likewise.
46569 * nis/ypupdate_xdr.c: Likewise.
46571 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46572 mainly the body of pmap_getport. Add parameters to specify timeouts.
46573 (pmap_getport): Use __libc_rpc_getport.
46574 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46575 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46576 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46578 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46583 2010-08-27 Roland McGrath <roland@redhat.com>
46585 * sysdeps/i386/i686/multiarch/Makefile
46586 (CFLAGS-varshift.c): New variable.
46588 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46590 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46591 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46595 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46597 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46599 * sysdeps/x86_64/strlen.S: Unroll the loop.
46600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46601 strlen-sse2 strlen-sse2-bsf.
46602 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46603 __strlen_no_bsf if bit_Slow_BSF is set.
46604 (__strlen_sse42): Removed.
46605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46606 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46608 2010-08-25 Roland McGrath <roland@redhat.com>
46610 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46611 * sysdeps/x86_64/multiarch/varshift.c: New file.
46612 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46613 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46614 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46615 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46617 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46620 strlen-sse2 strlen-sse2-bsf.
46621 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46622 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46623 (__strlen_sse2): Removed.
46624 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46627 bit_Slow_BSF for Atom.
46628 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46629 (index_Slow_BSF): Define.
46630 (HAS_SLOW_BSF): Define.
46632 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46635 * resolv/res_init.c (__res_vinit): When no server address at all
46636 is given default to loopback.
46638 2010-08-24 Roland McGrath <roland@redhat.com>
46640 * configure.in: Remove config-name.h generation.
46641 * configure: Regenerated.
46642 * config-name.in: File removed.
46643 * scripts/config-uname.sh: New file.
46644 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46645 ($(objdir)config-name.h): New target.
46647 * sunrpc/rpc_parse.h: Avoid nested comment.
46649 2010-08-24 Richard Henderson <rth@redhat.com>
46650 Ulrich Drepper <drepper@redhat.com>
46651 H.J. Lu <hongjiu.lu@intel.com>
46653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46655 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46656 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46657 _mm_alignr_epi8 with _mm_loadu_si128.
46658 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46659 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46660 (__m128i_shift_right): Removed.
46661 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46662 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46663 * sysdeps/x86_64/multiarch/varshift.h: New file.
46664 * sysdeps/x86_64/multiarch/varshift.S: New file.
46666 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46668 * configure.in: Move assembler checks to before sysdep dir checking.
46670 2010-08-20 Petr Baudis <pasky@suse.cz>
46672 * LICENSES: Sync the sunrpc license.
46674 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46676 * sunrpc/auth_des.c: Update copyright notice once again.
46677 * sunrpc/auth_none.c: Likewise.
46678 * sunrpc/auth_unix.c: Likewise.
46679 * sunrpc/authdes_prot.c: Likewise.
46680 * sunrpc/authuxprot.c: Likewise.
46681 * sunrpc/bindrsvprt.c: Likewise.
46682 * sunrpc/clnt_gen.c: Likewise.
46683 * sunrpc/clnt_perr.c: Likewise.
46684 * sunrpc/clnt_raw.c: Likewise.
46685 * sunrpc/clnt_simp.c: Likewise.
46686 * sunrpc/clnt_tcp.c: Likewise.
46687 * sunrpc/clnt_udp.c: Likewise.
46688 * sunrpc/clnt_unix.c: Likewise.
46689 * sunrpc/des_crypt.c: Likewise.
46690 * sunrpc/des_soft.c: Likewise.
46691 * sunrpc/get_myaddr.c: Likewise.
46692 * sunrpc/getrpcport.c: Likewise.
46693 * sunrpc/key_call.c: Likewise.
46694 * sunrpc/key_prot.c: Likewise.
46695 * sunrpc/openchild.c: Likewise.
46696 * sunrpc/pm_getmaps.c: Likewise.
46697 * sunrpc/pm_getport.c: Likewise.
46698 * sunrpc/pmap_clnt.c: Likewise.
46699 * sunrpc/pmap_prot.c: Likewise.
46700 * sunrpc/pmap_prot2.c: Likewise.
46701 * sunrpc/pmap_rmt.c: Likewise.
46702 * sunrpc/rpc/auth.h: Likewise.
46703 * sunrpc/rpc/auth_unix.h: Likewise.
46704 * sunrpc/rpc/clnt.h: Likewise.
46705 * sunrpc/rpc/des_crypt.h: Likewise.
46706 * sunrpc/rpc/key_prot.h: Likewise.
46707 * sunrpc/rpc/netdb.h: Likewise.
46708 * sunrpc/rpc/pmap_clnt.h: Likewise.
46709 * sunrpc/rpc/pmap_prot.h: Likewise.
46710 * sunrpc/rpc/pmap_rmt.h: Likewise.
46711 * sunrpc/rpc/rpc.h: Likewise.
46712 * sunrpc/rpc/rpc_des.h: Likewise.
46713 * sunrpc/rpc/rpc_msg.h: Likewise.
46714 * sunrpc/rpc/svc.h: Likewise.
46715 * sunrpc/rpc/svc_auth.h: Likewise.
46716 * sunrpc/rpc/types.h: Likewise.
46717 * sunrpc/rpc/xdr.h: Likewise.
46718 * sunrpc/rpc_clntout.c: Likewise.
46719 * sunrpc/rpc_cmsg.c: Likewise.
46720 * sunrpc/rpc_common.c: Likewise.
46721 * sunrpc/rpc_cout.c: Likewise.
46722 * sunrpc/rpc_dtable.c: Likewise.
46723 * sunrpc/rpc_hout.c: Likewise.
46724 * sunrpc/rpc_main.c: Likewise.
46725 * sunrpc/rpc_parse.c: Likewise.
46726 * sunrpc/rpc_parse.h: Likewise.
46727 * sunrpc/rpc_prot.c: Likewise.
46728 * sunrpc/rpc_sample.c: Likewise.
46729 * sunrpc/rpc_scan.c: Likewise.
46730 * sunrpc/rpc_scan.h: Likewise.
46731 * sunrpc/rpc_svcout.c: Likewise.
46732 * sunrpc/rpc_tblout.c: Likewise.
46733 * sunrpc/rpc_util.c: Likewise.
46734 * sunrpc/rpc_util.h: Likewise.
46735 * sunrpc/rpcinfo.c: Likewise.
46736 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46737 * sunrpc/rpcsvc/key_prot.x: Likewise.
46738 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46739 * sunrpc/rpcsvc/mount.x: Likewise.
46740 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46741 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46742 * sunrpc/rpcsvc/rex.x: Likewise.
46743 * sunrpc/rpcsvc/rstat.x: Likewise.
46744 * sunrpc/rpcsvc/rusers.x: Likewise.
46745 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46746 * sunrpc/rpcsvc/spray.x: Likewise.
46747 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46748 * sunrpc/rtime.c: Likewise.
46749 * sunrpc/svc.c: Likewise.
46750 * sunrpc/svc_auth.c: Likewise.
46751 * sunrpc/svc_authux.c: Likewise.
46752 * sunrpc/svc_raw.c: Likewise.
46753 * sunrpc/svc_run.c: Likewise.
46754 * sunrpc/svc_simple.c: Likewise.
46755 * sunrpc/svc_tcp.c: Likewise.
46756 * sunrpc/svc_udp.c: Likewise.
46757 * sunrpc/svc_unix.c: Likewise.
46758 * sunrpc/svcauth_des.c: Likewise.
46759 * sunrpc/xcrypt.c: Likewise.
46760 * sunrpc/xdr.c: Likewise.
46761 * sunrpc/xdr_array.c: Likewise.
46762 * sunrpc/xdr_float.c: Likewise.
46763 * sunrpc/xdr_mem.c: Likewise.
46764 * sunrpc/xdr_rec.c: Likewise.
46765 * sunrpc/xdr_ref.c: Likewise.
46766 * sunrpc/xdr_sizeof.c: Likewise.
46767 * sunrpc/xdr_stdio.c: Likewise.
46769 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46772 2010-08-19 Andreas Schwab <schwab@redhat.com>
46774 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46776 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46778 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46779 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46780 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46781 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46782 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46783 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46784 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46785 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46786 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46787 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46788 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46789 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46790 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46791 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46793 2010-07-26 Anton Blanchard <anton@samba.org>
46795 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46796 * malloc/arena.c (heap_trim): Likewise.
46798 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46800 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46803 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46805 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46807 * sysdeps/i386/elf/Makefile: New file.
46809 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46811 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46812 from fanotify_init.
46813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46814 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46816 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46818 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46820 * sysdeps/multiarch/strcmp.S: Likewise.
46822 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46824 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46825 strncase_l-nonascii.
46826 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46827 Add strncase_l-ssse3.
46828 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46829 * sysdeps/x86_64/strcmp.S: Likewise.
46830 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46831 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46832 * sysdeps/x86_64/strncase.S: New file.
46833 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46834 * sysdeps/x86_64/strncase_l.S: New file.
46835 * string/Makefile (strop-tests): Add strncasecmp.
46836 * string/test-strncasecmp.c: New file.
46838 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46841 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46842 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46844 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46846 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46848 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46850 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46851 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46852 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46854 2010-05-01 Alan Modra <amodra@gmail.com>
46856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46857 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46858 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46859 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46860 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46861 tidying. Don't tail-call __sigjmp_save for static lib.
46862 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46864 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46865 (CALL_MCOUNT): Add eh info, and nop after bl.
46866 (TAIL_CALL_SYSCALL_ERROR): New macro.
46867 (PSEUDO_RET): Use it.
46868 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46869 Correct save location of integer regs and cr.
46870 (_dl_profile_resolve): Correct cr save location. Delete nops
46871 after bl when SHARED. Reduce cfi size a little by better
46872 placement of cfi directives.
46873 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46874 make a stack frame. Instead use parm save area as a temp.
46875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46876 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46878 Don't make a stack frame for parent, use parm save area.
46879 Increase child stack frame to 112 bytes. Don't save unused reg,
46880 and adjust reg usage. Set up cfi on error recovery and
46881 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46883 (__makecontext): Add dummy nop after jump to exit.
46884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46885 Use correct parm save area and cr save, reduce stack frame.
46886 Correct cfi for possible PSEUDO_RET frame setup.
46887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46888 Branch to local label emitted by PSEUDO_RET rather than
46891 2010-08-12 Andreas Schwab <schwab@redhat.com>
46894 * locale/programs/locale.c (print_assignment): New function.
46895 (show_locale_vars): Use it.
46897 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46899 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46901 (struct statfs64): Likewise.
46902 (_STATFS_F_FLAGS): Define.
46903 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46904 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46905 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46906 (ST_VALID): Define locally.
46907 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46908 __statvfs_getflags, use the provided value.
46909 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46910 __ASSUME_STATFS_F_FLAGS.
46912 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46914 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46915 Add sys/fanotify.h.
46916 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46917 fanotify_mask for GLIBC_2.13.
46918 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46919 fanotify_init and fanotify_mark.
46920 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46921 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46923 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46925 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46926 prlimit64 for GLIBC_2.13.
46927 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46929 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46932 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46933 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46934 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46937 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46940 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46941 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46943 * nss/Makefile: Add rules to build and run tst-nss-test1.
46944 * shlib-versions: Add entry for libnss_test1.
46945 * nss/nss_test1.c: New file.
46946 * nss/tst-nss-test1.c: New file.
46948 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46949 (__nss_configure_lookup): Set appropriate entry in
46950 __nss_configure_lookup to true.
46951 * nss/nsswitch.h: Define enum with indeces of databases in
46952 databases and __nss_database_custom arrays. Declare
46953 __nss_database_custom.
46954 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46955 to avoid using nscd when custom rules are installed.
46956 * nss/getXXbyYY_r.c: Likewise.
46957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46959 * nss/nss_files/files-parse.c: Whitespace fixes.
46961 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46964 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46965 * posix/fnmatch_loop.c: Likewise.
46967 2010-07-17 Andi Kleen <ak@linux.intel.com>
46969 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46970 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46971 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46972 * Versions.def [GLIBC_2.13]: Add.
46974 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46976 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46977 Also fail if tpwd after pwuid call is NULL.
46979 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46981 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46982 when converting to ms.
46984 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46986 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46987 EOPNOTSUPP errors with ENOTTY.
46988 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46989 EOPNOTSUPP errors with ENOTTY.
46991 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46993 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46994 Add strcasecmp_l-ssse3.
46995 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46997 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46998 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46999 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47001 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47003 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47005 * string/Makefile (strop-tests): Add strcasecmp.
47006 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47007 strcasecmp_l-nonascii.
47008 (gen-as-const-headers): Add locale-defines.sym.
47009 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47010 * sysdeps/x86_64/strcasecmp.S: New file.
47011 * sysdeps/x86_64/strcasecmp_l.S: New file.
47012 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47013 * sysdeps/x86_64/locale-defines.sym: New file.
47014 * string/test-strcasecmp.c: New file.
47016 * string/test-strcasestr.c: Test both ends of the range of characters.
47017 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47019 2010-07-29 Roland McGrath <roland@redhat.com>
47022 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47024 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47026 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47029 2010-07-27 Andreas Schwab <schwab@redhat.com>
47031 * manual/memory.texi (Malloc Tunable Parameters): Document
47034 2010-07-26 Roland McGrath <roland@redhat.com>
47037 * configure.in (-fgnu89-inline check): Set and substitute
47038 gnu89_inline, not libc_cv_gnu89_inline.
47039 * configure: Regenerated.
47040 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47042 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47044 * string/test-strnlen.c: New file.
47045 * string/Makefile (strop-tests): Add strnlen.
47046 * string/tester.c (test_strnlen): Add a few more test cases.
47047 * string/tst-strlen.c: Better error reporting.
47049 * sysdeps/x86_64/strnlen.S: New file.
47051 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47053 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47054 lower-latency instructions.
47056 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47058 * string/test-strcasestr.c: New file.
47059 * string/test-strstr.c: New file.
47060 * string/Makefile (strop-tests): Add strstr and strcasestr.
47061 * string/str-two-way.h: Don't undefine MAX.
47062 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47064 2010-07-21 Andreas Schwab <schwab@redhat.com>
47066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47067 strcasestr-nonascii.
47068 (CFLAGS-strcasestr-nonascii.c): Define.
47069 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47070 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47071 Remove unused attribute.
47073 2010-07-20 Roland McGrath <roland@redhat.com>
47075 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47076 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47077 ld.so.cache was broken. With it, there is no way to disable dsocaps
47078 like LD_HWCAP_MASK can disable hwcaps.
47080 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47082 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47084 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47086 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47087 call in strcasestr.
47088 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47089 __strcasestr_sse42_nonascii.
47090 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47091 strcasestr-nonascii.c.
47092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47094 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47096 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47097 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47098 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47099 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47101 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47103 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47106 2010-07-06 Andreas Schwab <schwab@redhat.com>
47109 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47112 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47114 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47115 _PC_PIPE_BUF using F_GETPIPE_SZ.
47117 2010-07-05 Roland McGrath <roland@redhat.com>
47119 * manual/arith.texi (Rounding Functions): Fix rint description
47120 implicit in round description.
47122 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47124 * elf/Makefile: Fix linking for a few tests to make recent linker
47127 2010-06-30 Andreas Schwab <schwab@redhat.com>
47129 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47130 $(common-objpfx)libc_nonshared.a.
47132 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47134 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47135 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47136 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47137 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47138 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47139 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47140 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47141 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47156 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47157 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47158 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47159 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47160 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47161 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47162 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47163 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47164 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47165 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47166 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47167 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47183 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47185 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47186 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47187 * string/memmove.c (memmove): Renamed to ...
47188 (MEMMOVE): ...this. Default to memmove.
47189 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47190 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47193 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47194 mempcpy-ssse3-back memmove-ssse3-back.
47195 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47197 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47198 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47199 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47200 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47201 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47202 * sysdeps/x86_64/multiarch/memmove.c: New file.
47203 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47204 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47205 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47206 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47207 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47210 (index_Fast_Copy_Backward): Define.
47211 (HAS_ARCH_FEATURE): Define.
47212 (HAS_FAST_REP_STRING): Define.
47213 (HAS_FAST_COPY_BACKWARD): Define.
47215 2010-06-21 Andreas Schwab <schwab@redhat.com>
47217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47218 Restore proper fallback handling.
47220 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47223 * posix/group_member.c (__group_member): Correct checking loop.
47225 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47226 OOM in getpwuid_r correctly. Return error number when the caller
47227 should return, otherwise -1.
47228 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47229 call returning > 0 value.
47230 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47232 2010-06-07 Andreas Schwab <schwab@redhat.com>
47234 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47235 libc_nonshared.a from targets in modules-names.
47237 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47239 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47242 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47244 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47245 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47246 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47247 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47249 2010-06-02 Andreas Schwab <schwab@redhat.com>
47251 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47253 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47255 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47264 2010-06-14 Roland McGrath <roland@redhat.com>
47266 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47268 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47270 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47271 __REDIRECT followed by __THROW.
47272 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47273 * posix/getopt.h (getopt): Likewise.
47275 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47277 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47278 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47279 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47281 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47282 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47284 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47286 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47288 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47292 Properly check family and model.
47294 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47296 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47298 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47300 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47302 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47304 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47307 2010-05-19 Andreas Schwab <schwab@redhat.com>
47309 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47312 2010-05-21 Andreas Schwab <schwab@redhat.com>
47314 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47315 and internal_recvmmsg.
47316 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47317 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47318 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47319 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47321 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47322 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47323 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47325 2010-05-20 Andreas Schwab <schwab@redhat.com>
47327 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47329 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47331 POWER7 optimizations.
47332 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47333 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47335 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47337 * version.h: Update for 2.13 development version.
47339 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47341 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47342 exceptions. Return 0.
47344 2010-05-07 Roland McGrath <roland@redhat.com>
47346 * elf/ldconfig.c (main): Add a const.
47348 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47350 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47351 (args_options): Add no-idn option.
47352 (ahosts_keys_int): Add idn_flags to ai_flags.
47353 (parse_option): Handle 'i' option to clear idn_flags.
47355 * malloc/malloc.c (_int_free): Possible race in the most recently
47356 added check. Only act on the data if no current modification
47359 See ChangeLog.17 for earlier changes.