1 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5 calling __erfcl for arguments at least 16.
6 * math/auto-libm-test-in: Add more tests of erf.
7 * math/auto-libm-test-out: Regenerated.
9 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10 individual architectures.
11 * sysdeps/unix/sysv/linux/configure: Regenerated.
12 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14 * sysdeps/unix/sysv/linux/powerpc/configure.ac
15 (ldd_rewrite_script): Define variable.
16 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
21 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
22 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
27 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
34 Rename member __data.d to __data.__elision_data.
36 2014-06-24 Wilco <wdijkstr@arm.com>
38 * NEWS: Add 16918 to fixed bug list.
40 2014-06-24 Wilco <wdijkstr@arm.com>
42 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
44 2014-06-24 Wilco <wdijkstr@arm.com>
46 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
48 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
50 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
51 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
52 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
55 2014-06-24 Wilco <wdijkstr@arm.com>
57 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
59 2014-06-24 Wilco <wdijkstr@arm.com>
61 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
62 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
63 * sysdeps/arm/fesetround.c (fesetround): Remove space.
64 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
66 2014-06-24 Wilco <wdijkstr@arm.com>
69 * sysdeps/arm/feupdateenv.c (feupdateenv):
70 Rewrite to reduce FPSCR accesses and fix return value.
72 2014-06-24 Wilco <wdijkstr@arm.com>
74 * sysdeps/arm/fclrexcpt.c (feclearexcept):
75 Optimize to avoid unnecessary FPSCR writes.
76 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
77 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
78 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
79 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
81 2014-06-24 Wilco <wdijkstr@arm.com>
83 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
84 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
85 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
86 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
87 Call libc_fetestexcept_vfp.
88 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
89 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
90 __SOFTFP__ ifdef so that they can be built for softfp.
92 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
94 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
95 argument type signed char.
97 * Makerules (check-abi): Dump diff of symlist if the test
100 2014-06-23 Roland McGrath <roland@hack.frob.com>
102 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
105 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
106 Remove unused variable ST.
108 2014-06-23 Joseph Myers <joseph@codesourcery.com>
112 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
113 small arguments before calling __expm1.
114 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
115 small arguments before calling __expm1f.
116 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
117 small arguments before calling __expm1l.
118 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
120 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
121 * math/auto-libm-test-in: Add more cosh tests. Do not allow
122 spurious underflow for some cosh tests.
123 * math/auto-libm-test-out: Regenerated.
124 * sysdeps/i386/fpu/libm-test-ulps: Update.
127 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
128 (__ieee754_y1): Set errno if return value overflows.
129 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
130 (__ieee754_y1f): Set errno if return value overflows.
131 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
132 (__ieee754_y1l): Set errno if return value overflows.
133 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
134 (__ieee754_y1l): Set errno if return value overflows.
135 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
136 * math/auto-libm-test-out: Regenerated.
138 * math/gen-auto-libm-tests.c: Document use of
139 ignore-zero-inf-sign.
140 (input_flag_type): Add value flag_ignore_zero_inf_sign.
141 (input_flags): Add ignore-zero-inf-sign.
142 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
143 * math/gen-libm-test.pl (generate_testfile): Handle
144 ignore-zero-inf-sign.
145 * math/auto-libm-test-in: Mark some cpow tests with
146 ignore-zero-inf-sign and some with xfail-rounding.
147 * math/auto-libm-test-out: Regenerated.
148 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
149 * sysdeps/i386/fpu/libm-test-ulps: Update.
150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
153 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
154 overflowing or underflowing operations take place with sign of
156 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
157 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
158 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
159 (__ieee754_pow): Recompute overflowing and underflowing results in
160 original rounding mode.
161 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
162 (__powl_helper): Allow negative argument X and scale negated value
163 as needed. Avoid passing value outside [-1, 1] to f2xm1.
164 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
165 overflowing or underflowing operations take place with sign of
167 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
169 * math/auto-libm-test-in: Add more tests of pow.
170 * math/auto-libm-test-out: Regenerated.
171 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
172 (pow_tonearest_test_data): Remove.
173 (pow_test_tonearest): Likewise.
174 (pow_towardzero_test_data): Likewise.
175 (pow_test_towardzero): Likewise.
176 (pow_downward_test_data): Likewise.
177 (pow_test_downward): Likewise.
178 (pow_upward_test_data): Likewise.
179 (pow_test_upward): Likewise.
180 (main): Don't call removed functions.
181 * sysdeps/i386/fpu/libm-test-ulps: Update.
182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
184 2014-06-23 Roland McGrath <roland@hack.frob.com>
186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
360 2014-06-23 Will Newton <will.newton@linaro.org>
361 Wilco <wdijkstr@arm.com>
363 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
364 implementation. Include get-rounding-mode.h.
365 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
366 [!libc_feholdsetround_noex_ctx]: Define
367 libc_feholdsetround_noex_ctx.
368 [!libc_feholdsetround_noexf_ctx]: Define
369 libc_feholdsetround_noexf_ctx.
370 [!libc_feholdsetround_noexl_ctx]: Define
371 libc_feholdsetround_noexl_ctx.
372 (libc_feholdsetround_ctx): New function.
373 (libc_feresetround_ctx): New function.
374 (libc_feholdsetround_noex_ctx): New function.
375 (libc_feresetround_noex_ctx): New function.
377 2014-06-23 Roland McGrath <roland@hack.frob.com>
379 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
380 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
381 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
382 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
383 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
384 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
386 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
387 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
388 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
389 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
390 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
391 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
392 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
393 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
394 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
395 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
396 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
398 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
400 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
401 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
402 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
403 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
404 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
406 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
407 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
408 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
409 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
410 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
411 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
412 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
413 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
415 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
416 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
418 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
419 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
420 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
421 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
423 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
424 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
425 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
426 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
427 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
428 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
429 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
431 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
432 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
434 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
436 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
437 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
438 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
439 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
441 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
442 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
443 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
444 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
445 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
446 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
447 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
448 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
450 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
451 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
452 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
453 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
454 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
455 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
457 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
458 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
459 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
460 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
461 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
463 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
464 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
465 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
466 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
467 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
468 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
469 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
470 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
471 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
472 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
473 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
475 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
477 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
478 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
479 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
480 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
481 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
482 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
483 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
484 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
485 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
486 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
487 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
488 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
489 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
490 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
492 2014-06-23 Joseph Myers <joseph@codesourcery.com>
494 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
495 (FALLOC_FL_COLLAPSE_RANGE): New macro.
496 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
497 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
498 (IPV6_PMTUDISC_INTERFACE): Likewise.
499 (IPV6_PMTUDISC_OMIT): Likewise.
501 2014-06-23 Andreas Schwab <schwab@suse.de>
503 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
504 Remove unused errout label.
506 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
508 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
509 macro: hardware supports Vector Crypto instructions.
511 2014-06-23 Will Newton <will.newton@linaro.org>
513 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
514 rather than __builtin_expect.
516 * elf/dl-lookup.c (undefined_msg): Remove variable.
517 (_dl_lookup_symbol_x): Replace undefined_msg with string
520 * elf/dl-lookup.c (do_lookup_unique): New function.
521 (do_lookup_x): Move STB_GNU_UNIQUE handling code
522 to a separate function.
524 2014-06-23 Andreas Schwab <schwab@suse.de>
527 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
528 before reading the next line.
530 2014-06-23 Will Newton <will.newton@linaro.org>
532 * test-skeleton.c (signal_handler): Use printf and %m
533 rather than perror. Use printf rather than fprintf to
534 stderr. Use puts rather than fputs to stderr.
537 2014-06-22 Ludovic Courtès <ludo@gnu.org>
539 * nscd/nscd.c (thread_info_t): Remove typedef.
540 (thread_info): Remove variable.
542 2014-06-21 Allan McRae <allan@archlinux.org>
544 * NEWS: Mention CVE-2014-4043.
546 2014-06-20 Roland McGrath <roland@hack.frob.com>
548 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
549 * nptl/smp.h: ... here.
551 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
553 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
554 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
555 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
556 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
558 * nptl/allocatestack.c: Include <stack-aliasing.h>.
559 * nptl/stack-aliasing.h: New file.
560 * sysdeps/i386/i686/stack-aliasing.h: New file.
561 * sysdeps/i386/i686/nptl/Makefile: File removed.
562 * sysdeps/x86_64/stack-aliasing.h: New file.
563 * sysdeps/x86_64/nptl/Makefile
564 (CFLAGS-pthread_create.c): Variable removed.
566 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
567 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
569 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
570 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
573 2014-06-21 Joseph Myers <joseph@codesourcery.com>
575 * sysdeps/unix/sysv/linux/arm/kernel-features.h
576 (__ASSUME_SIGFRAME_V2): Remove macro.
577 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
578 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
579 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
580 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
581 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
582 Declare as function. Remove conditional macro definitions.
583 (__default_rt_sa_restorer): Likewise.
584 (__default_sa_restorer_v1): Remove declaration.
585 (__default_sa_restorer_v2): Likewise.
586 (__default_rt_sa_restorer_v1): Likewise.
587 (__default_rt_sa_restorer_v2): Likewise.
588 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
589 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
590 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
592 2014-06-20 Roland McGrath <roland@hack.frob.com>
594 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
595 (libpthread-routines): Add sysdep.
596 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
597 * sysdeps/unix/sysv/linux/sparc/Versions
598 (libpthread: GLIBC_2.3.3): New version set.
599 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
600 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
601 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
602 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
603 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
604 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
606 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
607 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
608 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
609 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
610 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
611 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
612 * sysdeps/sparc/nptl/sem_init.c: ... here.
613 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
614 * sysdeps/sparc/nptl/sem_post.c: ... here.
615 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
616 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
617 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
618 * sysdeps/sparc/nptl/sem_wait.c: ... here.
619 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
620 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
621 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
622 (libpthread-routines): Add cpu_relax.
623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
625 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
626 (librt: GLIBC_2.3.3): New version set.
627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
628 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
629 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
630 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
632 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
633 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
636 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
638 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
640 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
642 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
644 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
647 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
651 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
655 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
659 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
663 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
667 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
670 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
676 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
678 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
681 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
683 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
685 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
687 2014-06-20 Joseph Myers <joseph@codesourcery.com>
689 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
690 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
691 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
692 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
693 * nscd/nscd.c: Likewise.
694 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
695 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
696 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
697 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
699 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
701 (init_mq_netlink): Remove conditional have_sock_cloexec
702 definitions. Remove code conditional on have_sock_cloexec < 0.
703 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
704 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
705 * sysdeps/unix/sysv/linux/opensock.c: Do not include
707 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
708 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
710 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
713 Add tests for memset_chk and memset.
715 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
718 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
721 * elf/tst-dl-iter-static.c: New file.
722 * elf/Makefile (tests-static): Add tst-dl-iter-static.
724 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
727 2014-06-20 Joseph Myers <joseph@codesourcery.com>
729 * sysdeps/unix/sysv/linux/kernel-features.h
730 (__ASSUME_F_GETOWN_EX): Remove macro.
731 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
733 (miss_F_GETOWN_EX): Remove variable or macro.
734 (do_fcntl): Do not check miss_F_GETOWN_EX.
735 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
737 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
740 [!__ASSUME_AT_RANDOM]: Remove conditional code.
741 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
743 * sysdeps/unix/sysv/linux/kernel-features.h
744 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
745 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
746 [ADJ_OFFSET_SS_READ]: Make code unconditional.
747 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
749 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
752 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
753 Fix calculation of the symbol's value.
754 * sysdeps/arm/tst-armtlsdescloc.c: New file.
755 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
756 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
757 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
758 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
759 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
760 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
761 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
762 (modules-names): Add `tst-armtlsdescmod',
763 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
764 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
765 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
766 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
767 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
768 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
769 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
770 ($(objpfx)tst-armtlsdescloc): New dependency.
771 ($(objpfx)tst-armtlsdescextnow): Likewise.
772 ($(objpfx)tst-armtlsdescextlazy): Likewise.
773 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
775 * sysdeps/arm/configure: Regenerate.
777 2014-06-20 Joseph Myers <joseph@codesourcery.com>
779 * include/fcntl.h (__atfct_seterrno): Remove prototype.
780 (__atfct_seterrno_2): Likewise.
781 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
783 (__ASSUME_ATFCTS): Do not undefine and redefine.
784 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
785 (__have_atfcts): Remove conditional definition.
786 (__fxstatat([__NR_fstatat64]: Make code unconditional.
787 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
788 unreachable if [__ASSUME_ATFCTS].
789 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
790 not undefine and redefine.
791 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
793 (faccessat) [__NR_faccessat]: Make code unconditional.
794 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
795 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
797 (fchmodat) [__NR_fchmodat]: Make code unconditional.
798 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
799 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
801 (fchownat) [__NR_fchownat]: Make code unconditional.
802 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
803 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
805 (futimesat) [__NR_futimesat]: Make code unconditional.
806 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
807 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
809 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
810 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
811 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
813 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
814 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
815 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
816 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
818 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
819 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
820 * sysdeps/unix/sysv/linux/linkat.c: Do not include
822 (linkat) [__NR_linkat]: Make code unconditional.
823 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
824 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
825 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
827 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
828 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
829 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
831 (mkdirat) [__NR_mkdirat]: Make code unconditional.
832 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
833 * sysdeps/unix/sysv/linux/openat.c: Do not include
835 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
836 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
837 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
838 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
839 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
840 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
842 (readlinkat) [__NR_readlinkat]: Make code unconditional.
843 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
844 result of INLINE_SYSCALL directly, not via int variable.
845 * sysdeps/unix/sysv/linux/renameat.c: Do not include
847 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
848 (renameat) [__NR_renameat]: Make code unconditional.
849 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
850 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
851 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
852 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
853 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
854 (__ASSUME_ATFCTS): Do not undefine and redefine.
855 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
857 (symlinkat) [__NR_symlinkat]: Make code unconditional.
858 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
859 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
861 (unlinkat) [__NR_unlinkat]: Make code unconditional.
862 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
863 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
864 (__ASSUME_ATFCTS): Do not undefine and redefine.
865 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
867 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
868 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
869 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
871 (__xmknodat) [__NR_mknodat]: Make code unconditional.
872 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
874 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
876 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
878 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
881 * posix/regcomp.c (parse_reg_exp): Deallocate partially
882 constructed tree before returning error.
883 * posix/bug-regexp36.c: Expand test case.
885 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
888 * math/libm-test.inc (scalbln_test_date):
889 Add errno expectations.
890 * math/w_scalblnf.c: New File.
891 Add wrapper which checks for setting errno to ERANGE.
892 Add weak_alias for corresponding scalbln function.
893 * math/w_scalbln.c: Likewise.
894 * math/w_scalblnl.c: Likewise.
895 * math/Makefile (libm-calls): Add w_scalbln.
896 * sysdeps/ieee754/flt-32/s_scalblnf.c:
897 Remove weak_alias for corresponding scalbln function.
898 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
899 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
900 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
901 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
902 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
903 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
904 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
905 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
906 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
907 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
908 Remove long_double_symbol for scalblnl function in libm, libc.
909 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
910 Add wrapper which checks for setting errno to ERANGE.
911 Add long_double_symbol for scalblnl function in libm, libc.
912 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
913 Remove long_double_symbol for scalblnl in libm.
914 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
915 Add wrapper which checks for setting errno to ERANGE.
916 Add long_double_symbol for scalblnl function in libm.
917 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
918 Do not use wrapper because of own implementation.
920 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
922 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
923 3 bytes for __pad1 for x32.
924 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
926 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
927 H.J. Lu <hongjiu.lu@intel.com>
929 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
930 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
931 * sysdeps/x86_64/multiarch/memset.S: Likewise.
932 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
933 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
935 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
938 * posix/regcomp.c (parse_expression): Deallocate partially
939 constructed tree before returning error.
940 * posix/Makefile.c (tests): Add bug-regex36.
941 (generated): Add bug-regex36.mtrace.
942 (tests-special): Add $(objpfx)bug-regex36-mem.out
943 (bug-regex36-ENV): New variable.
944 ($(objpfx)bug-regex36-mem.out): New rule.
945 * posix/bug-regex36.c: New file.
947 2014-06-19 Will Newton <will.newton@linaro.org>
949 * malloc/malloc.c (systrim): If extra is zero then return
952 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
954 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
956 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
958 * sysdeps/aarch64/strchr.S: New file.
960 2014-06-18 Joseph Myers <joseph@codesourcery.com>
963 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
964 from arguments -2 or below.
965 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
966 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
968 2014-06-18 Andreas Schwab <schwab@suse.de>
971 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
972 of a bracket expr not to run off the end of the string.
973 * posix/Makefile (tests): Add tst-fnmatch3.
974 * posix/tst-fnmatch3.c: New file.
976 2014-06-18 Joseph Myers <joseph@codesourcery.com>
978 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
979 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
980 [$(cross-compiling) = no]: Likewise.
981 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
982 [$(cross-compiling) = no]: Likewise.
984 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
987 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
988 double, adjusted for any remainder from the high double.
989 * math/libm-test.inc (nearbyint): Add tests.
992 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
994 * nptl/sysdeps/powerpc/Makefile: Moved ...
995 * sysdeps/powerpc/nptl/Makefile: ... here.
996 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
997 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
998 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
999 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1000 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1001 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1002 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1003 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1004 * nptl/sysdeps/powerpc/tls.h: Moved ...
1005 * sysdeps/powerpc/nptl/tls.h: ... here.
1007 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1010 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1011 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1012 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1013 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1014 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1015 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1016 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1017 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1018 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1020 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1022 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1024 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1026 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1029 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1032 2014-06-16 Florian Weimer <fweimer@redhat.com>
1035 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1036 non-executed part of the test.
1038 2014-06-16 Andreas Schwab <schwab@suse.de>
1040 * string/bits/string2.h (strdup, strndup): Update feature guard.
1042 2014-06-14 David S. Miller <davem@davemloft.net>
1044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1046 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1048 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1049 that was previously under [RESET_PID].
1050 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1052 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1053 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1054 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1055 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1056 (__libc_vfork): New strong alias.
1057 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1059 2014-06-14 Andi Kleen <ak@linux.intel.com>
1061 * sysdeps/generic/elide.h: New file.
1063 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1065 * Makefile (installed-headers): Adjust path of pthread.h header.
1067 2014-06-13 Roland McGrath <roland@hack.frob.com>
1069 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1070 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1071 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1072 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1074 * nptl/sysdeps/s390/Makefile: Moved ...
1075 * sysdeps/s390/nptl/Makefile: ... here.
1076 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1077 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1078 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1079 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1080 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1081 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1082 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1083 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1084 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1085 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1086 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1087 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1088 * nptl/sysdeps/s390/tls.h: Moved ...
1089 * sysdeps/s390/nptl/tls.h: ... here.
1091 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1092 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1094 2014-06-13 David S. Miller <davem@davemloft.net>
1096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1097 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1099 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1102 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1103 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1104 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1105 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1106 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1107 Remove RESET_PID cpp guards.
1108 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1109 Remove RESET_PID cpp guards.
1110 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1112 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1114 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1117 2014-06-13 Andi Kleen <ak@linux.intel.com>
1119 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1120 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1121 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1122 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1123 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1124 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1125 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1126 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1127 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1128 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1129 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1130 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1131 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1132 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1133 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1134 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1135 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1136 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1137 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1138 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1140 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1141 (pthread_rwlock_rdlock): Add elision.
1142 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1143 (pthread_rwlock_wrlock): Add elision.
1144 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1145 (pthread_rwlock_trywrlock): Add elision.
1146 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1147 (pthread_rwlock_tryrdlock): Add elision.
1148 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1149 (pthread_rwlock_tryrdlock): Add elision unlock.
1150 * nptl/sysdeps/pthread/pthread.h:
1151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1152 (PTHREAD_RWLOCK_INITIALIZER,
1153 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1154 Handle new elision field.
1155 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1156 * sysdeps/arm/nptl/bits/pthreadtypes.h
1157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1158 * sysdeps/sh/nptl/bits/pthreadtypes.h
1159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1160 * sysdeps/tile/nptl/bits/pthreadtypes.h
1161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1162 * sysdeps/a/nptl/bits/pthreadtypes.h
1163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1164 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1165 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1166 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1168 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1169 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1170 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1171 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1172 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1174 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1175 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1176 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1178 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1179 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1180 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1181 (elision_init): Set try_xbegin to zero when no RTM.
1182 * sysdeps/x86/nptl/bits/pthreadtypes.h
1183 (pthread_rwlock_t): Change __pad1 to __rwelision.
1184 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1186 2014-06-13 Andi Kleen <ak@linux.intel.com>
1188 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1189 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1190 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1191 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1193 2014-06-13 Meador Inge <meadori@codesourcery.com>
1196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1197 that the cached result has been set before returning it.
1199 2014-06-12 Roland McGrath <roland@hack.frob.com>
1201 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1202 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1203 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1204 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1205 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1206 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1208 * nptl/sysdeps/sparc/Makefile: Moved ...
1209 * sysdeps/sparc/nptl/Makefile: ... here.
1210 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1211 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1212 * nptl/sysdeps/sparc/tls.h: Moved ...
1213 * sysdeps/sparc/nptl/tls.h: ... here.
1214 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1215 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1216 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1217 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1218 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1219 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1220 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1221 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1222 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1223 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1224 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1225 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1226 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1227 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1228 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1229 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1230 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1231 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1233 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1234 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1236 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1237 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1239 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1240 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1243 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1245 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1246 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1248 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1249 (struct list_links): Type removed.
1250 (struct thread_node, struct timer_node): Replace struct list_links
1251 with struct list_head.
1252 (list_unlink_ip): Likewise.
1253 * sysdeps/pthread/timer_routines.c
1254 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1255 (list_append, list_insbefore): Likewise.
1256 (list_init): Function removed.
1257 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1258 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1259 * sysdeps/pthread/Makefile: ... here, new file.
1261 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1262 * sysdeps/nptl/Implies: ... here.
1263 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1264 * nptl/sysdeps/pthread/list.h: Moved ...
1265 * include/list.h: ... here.
1266 * nptl/sysdeps/pthread/createthread.c: Moved ...
1267 * nptl/createthread.c: ... here.
1268 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1269 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1270 * nptl/pt-longjmp.c: ... here.
1271 * nptl/sysdeps/pthread/Makefile: Moved ...
1272 * sysdeps/nptl/Makefile: ... here.
1273 * nptl/sysdeps/pthread/Subdirs: Moved ...
1274 * sysdeps/nptl/Subdirs: ... here.
1275 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1276 * sysdeps/nptl/aio_misc.h: ... here.
1277 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1278 * sysdeps/nptl/bits/libc-lock.h: ... here.
1279 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1280 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1281 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1282 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1283 * nptl/sysdeps/pthread/configure: Moved ...
1284 * sysdeps/nptl/configure: ... here.
1285 * nptl/sysdeps/pthread/configure.ac: Moved ...
1286 * sysdeps/nptl/configure.ac: ... here.
1287 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1288 * sysdeps/nptl/gai_misc.h: ... here.
1289 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1290 * sysdeps/nptl/librt-cancellation.c: ... here.
1291 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1292 * sysdeps/nptl/malloc-machine.h: ... here.
1293 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1294 * sysdeps/nptl/pthread-functions.h: ... here.
1295 * nptl/sysdeps/pthread/pthread.h: Moved ...
1296 * sysdeps/nptl/pthread.h: ... here.
1297 * nptl/sysdeps/pthread/setxid.h: Moved ...
1298 * sysdeps/nptl/setxid.h: ... here.
1299 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1300 * sysdeps/nptl/sigfillset.c: ... here.
1301 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1302 * sysdeps/nptl/tcb-offsets.h: ... here.
1303 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1304 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1305 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1306 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1307 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1308 * sysdeps/pthread/allocalim.h: ... here.
1309 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1310 * sysdeps/pthread/bits/sigthread.h: ... here.
1311 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1312 * sysdeps/pthread/flockfile.c: ... here.
1313 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1314 * sysdeps/pthread/ftrylockfile.c: ... here.
1315 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1316 * sysdeps/pthread/funlockfile.c: ... here.
1317 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1318 * sysdeps/pthread/posix-timer.h: ... here.
1319 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1320 * sysdeps/pthread/timer_create.c: ... here.
1321 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1322 * sysdeps/pthread/timer_delete.c: ... here.
1323 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1324 * sysdeps/pthread/timer_getoverr.c: ... here.
1325 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1326 * sysdeps/pthread/timer_gettime.c: ... here.
1327 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1328 * sysdeps/pthread/timer_routines.c: ... here.
1329 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1330 * sysdeps/pthread/timer_settime.c: ... here.
1331 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1332 * sysdeps/pthread/tst-timer.c: ... here.
1333 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1334 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1336 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1337 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1339 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1340 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1341 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1342 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1343 Update #include target.
1344 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1345 * sysdeps/i386/i686/nptl/Makefile: ... here.
1346 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1347 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1348 Update #include target.
1349 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1350 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1351 * nptl/sysdeps/i386/Makefile: Moved ...
1352 * sysdeps/i386/nptl/Makefile: ... here.
1353 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1354 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1355 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1356 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1357 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1358 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1359 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1360 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1361 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1362 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1363 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1364 * nptl/sysdeps/i386/tls.h: Moved ...
1365 * sysdeps/i386/nptl/tls.h: ... here.
1367 * sysdeps/sh/Makefile [$(subdir) = csu]
1368 (gen-as-const-headers): Add tcb-offsets.sym.
1369 * nptl/sysdeps/sh/Makefile: File removed.
1370 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1371 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1372 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1373 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1374 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1375 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1376 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1377 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1378 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1379 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1380 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1381 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1382 * nptl/sysdeps/sh/tls.h: Moved ...
1383 * sysdeps/sh/nptl/tls.h: ... here.
1384 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1385 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1386 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1387 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1388 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1389 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1390 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1391 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1392 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1393 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1394 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1395 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1396 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1397 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1398 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1399 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1400 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1401 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1402 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1403 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1404 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1405 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1406 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1407 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1408 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1410 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1411 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1413 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1415 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1416 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1417 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1418 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1419 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1420 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1421 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1422 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1423 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1424 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1425 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1426 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1427 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1428 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1429 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1430 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1431 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1433 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1435 * posix/spawn_faction_addopen.c: Include string.h.
1437 2014-06-11 Roland McGrath <roland@hack.frob.com>
1439 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1440 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1441 * nptl/sysdeps/x86_64/Makefile: Moved ...
1442 * sysdeps/x86_64/nptl/Makefile: ... here.
1443 * nptl/sysdeps/x86_64/configure: Moved ...
1444 * sysdeps/x86_64/nptl/configure: ... here.
1445 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1446 * sysdeps/x86_64/nptl/configure.ac: ... here.
1447 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1448 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1449 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1450 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1451 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1452 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1453 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1454 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1455 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1456 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1457 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1458 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1459 * nptl/sysdeps/x86_64/tls.h: Moved ...
1460 * sysdeps/x86_64/nptl/tls.h: ... here.
1461 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1462 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1463 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1464 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1466 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1468 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1472 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1474 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1476 [POSIX] (off_t): Likewise.
1477 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1478 [POSIX] (S_ISBLK): Require macro.
1479 [POSIX] (S_ISCHR): Likewise.
1480 [POSIX] (S_ISDIR): Likewise.
1481 [POSIX] (S_ISFIFO): Likewise.
1482 [POSIX] (S_ISREG): Likewise.
1483 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1485 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1487 [POSIX] (time_t): Likewise.
1488 [POSIX] (timer_t): Likewise.
1490 2014-06-11 Florian Weimer <fweimer@redhat.com>
1493 * posix/spawn_int.h (struct __spawn_action): Make the path string
1494 non-const to support deallocation.
1495 * posix/spawn_faction_addopen.c
1496 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1497 * posix/spawn_faction_destroy.c
1498 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1499 path in all spawn_do_open actions.
1500 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1501 posix_spawn_file_actions_addopen.
1503 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1505 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1506 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1507 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1508 conditional code always true.
1509 (__libc_vfork): New alias.
1511 2014-06-11 Roland McGrath <roland@hack.frob.com>
1513 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1514 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1516 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1518 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1519 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1521 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1522 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1524 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1525 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1527 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1529 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1530 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1531 multiarch strcmp for PPC64.
1532 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1533 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1535 multiarch optimizations.
1536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1537 (__libc_ifunc_impl_list): Likewise.
1539 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1541 * benchtests/scripts/validate_benchout.py: New script.
1542 * benchtests/Makefile (bench-func): Call it.
1543 * benchtests/scripts/benchout.schema.json: New file.
1545 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1547 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1548 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1549 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1550 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1551 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1552 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1553 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1554 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1555 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1556 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1557 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1558 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1559 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1560 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1561 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1562 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1666 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1667 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1669 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1672 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1674 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1675 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1677 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1679 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1680 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1681 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1682 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1683 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1685 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1688 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1691 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1692 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1693 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1694 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1696 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1697 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1698 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1699 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1700 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1701 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1702 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1704 2014-06-10 Wilco <wdijkstr@arm.com>
1706 * math/test-fenv-return.c: New file.
1707 * math/Makefile: Add new test test-fenv-return.
1709 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1712 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1714 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1715 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1716 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1717 0.0L for an argument of 1.0L.
1718 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1720 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1721 value when x - 1 is zero.
1722 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1723 * sysdeps/i386/fpu/libm-test-ulps: Update.
1724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1726 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1729 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1731 2014-06-09 Roland McGrath <roland@hack.frob.com>
1733 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1734 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1736 2014-06-09 Roland McGrath <roland@hack.frob.com>
1738 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1739 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1741 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1742 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1744 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1745 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1747 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1748 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1750 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1751 if not already defined.
1752 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1753 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1754 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1755 (TLS_INIT_TP): Use it.
1756 (TLS_DEFINE_INIT_TP): New macro.
1757 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1759 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1761 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1763 [POSIX] (IXANY): Likewise.
1764 [POSIX] (OLCUC): Likewise.
1765 [POSIX || POSIX2008] (CBAUD): Do not allow.
1766 [POSIX || POSIX2008] (DEFECHO): Likewise.
1767 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1768 [POSIX || POSIX2008] (ECHOKE): Likewise.
1769 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1770 [POSIX || POSIX2008] (EXTA): Likewise.
1771 [POSIX || POSIX2008] (EXTB): Likewise.
1772 [POSIX || POSIX2008] (FLUSHO): Likewise.
1773 [POSIX || POSIX2008] (LOBLK): Likewise.
1774 [POSIX || POSIX2008] (PENDIN): Likewise.
1775 [POSIX || POSIX2008] (SWTCH): Likewise.
1776 [POSIX || POSIX2008] (VDISCARD): Likewise.
1777 [POSIX || POSIX2008] (VDSUSP): Likewise.
1778 [POSIX || POSIX2008] (VLNEXT): Likewise.
1779 [POSIX || POSIX2008] (VREPRINT): Likewise.
1780 [POSIX || POSIX2008] (VSTATUS): Likewise.
1781 [POSIX || POSIX2008] (VWERASE): Likewise.
1782 (B*): Change to B[0123456789]*.
1783 * conform/data/time.h-data [POSIX || UNIX98]
1784 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1785 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1786 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1787 [POSIX] (tm_*): Do not allow.
1789 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1791 * Makefile (install): Don't set LANGUAGE.
1792 * Makefile.in (install): Likewise.
1793 * assert/Makefile (test-assert-ENV): Remove variable.
1794 (test-assert-perr-ENV): Likewise.
1795 * elf/Makefile (neededtest4-ENV): Likewise.
1796 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1797 [$(cross-compiling) = no]: Don't set LANGUAGE.
1798 * io/ftwtest-sh (LANG): Remove variable.
1799 * libio/Makefile (tst-widetext-ENV): Likewise.
1800 * manual/install.texi (Running make install): Don't refer to
1801 environment settings for make install.
1802 * INSTALL: Regenerated.
1803 * nptl/tst-tls6.sh: Don't set LANG.
1804 * posix/globtest.sh (LANG): Remove variable.
1805 * string/Makefile (tester-ENV): Likewise.
1806 (inl-tester-ENV): Likewise.
1807 (noinl-tester-ENV): Likewise.
1808 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1809 [$(cross-compiling) = no]: Don't set LANGUAGE.
1810 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1811 without explicit environment settings.
1813 2014-06-06 Roland McGrath <roland@hack.frob.com>
1815 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1816 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1817 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1818 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1820 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1822 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1823 other files in the crypt directory.
1824 * crypt/crypt.c: Remove duplicate includes.
1825 * crypt/crypt-entry.c: Likewise.
1826 * crypt/crypt_util.c: Likewise.
1828 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1830 * Makeconfig (run-program-env): New variable.
1831 (run-program-prefix-before-env): Likewise.
1832 (run-program-prefix-after-env): Likewise.
1833 (run-program-prefix): Define in terms of new variables.
1834 (built-program-cmd-before-env): New variable.
1835 (built-program-cmd-after-env): Likewise.
1836 (built-program-cmd): Define in terms of new variables.
1837 (test-program-prefix-before-env): New variable.
1838 (test-program-prefix-after-env): Likewise.
1839 (test-program-prefix): Define in terms of new variables.
1840 (test-program-cmd-before-env): New variable.
1841 (test-program-cmd-after-env): Likewise.
1842 (test-program-cmd): Define in terms of new variables.
1843 * Rules (make-test-out): Use $(run-program-env).
1844 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1845 (help): Do not mention environment variables. Mention
1846 --timeoutfactor option.
1847 (timeoutfactor): New variable.
1848 (blacklist_exports): Remove function.
1849 (exports): Remove variable.
1850 (command): Do not include ${exports}.
1851 * manual/install.texi (Configuring and compiling): Do not mention
1852 test wrappers preserving environment variables. Mention that last
1853 assignment to a variable must take precedence.
1854 * INSTALL: Regenerated.
1855 * benchtests/Makefile (run-bench): Use $(run-program-env).
1856 * catgets/Makefile ($(objpfx)test1.cat): Use
1857 $(built-program-cmd-before-env), $(run-program-env) and
1858 $(built-program-cmd-after-env).
1859 ($(objpfx)test2.cat): Do not specify environment variables
1861 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1862 $(run-program-env) and $(built-program-cmd-after-env).
1863 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1864 $(run-program-env) and $(test-program-cmd-after-env).
1865 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1867 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1868 run_program_env and test_program_cmd_after_env arguments.
1869 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1870 * elf/tst-pathopt.sh: Use run_program_env argument.
1871 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1872 $(test-wrapper-env) and $(run-program-env).
1873 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1874 run_program_env arguments.
1875 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1876 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1877 $(test-program-prefix-before-env), $(run-program-env) and
1878 $(test-program-prefix-after-env).
1879 ($(objpfx)tst-gettext2.out): Likewise.
1880 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1881 run_program_env and test_program_prefix_after_env arguments.
1882 * intl/tst-gettext2.sh: Likewise.
1883 * intl/tst-gettext4.sh: Do not set environment variables
1885 * intl/tst-gettext6.sh: Likewise.
1886 * intl/tst-translit.sh: Likewise.
1887 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1888 $(test-program-prefix-before-env), $(run-program-env) and
1889 $(test-program-prefix-after-env).
1890 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1891 run_program_env and test_program_prefix_after_env arguments.
1892 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1893 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1894 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1895 explicitly with each use of ${test_wrapper_env}.
1896 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1897 $(test-program-prefix-before-env), $(run-program-env) and
1898 $(test-program-prefix-after-env).
1899 * posix/tst-getconf.sh: Do not set environment variables
1901 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1902 run_program_env and test_program_prefix_after_env arguments.
1903 * stdio-common/tst-printf.sh: Do not set environment variables
1905 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1906 $(test-program-prefix-before-env), $(run-program-env) and
1907 $(test-program-prefix-after-env).
1908 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1909 run_program_env and test_program_prefix_after_env arguments.
1910 Split $test calls into $test_pre and $test.
1911 * timezone/Makefile (build-testdata): Use
1912 $(built-program-cmd-before-env), $(run-program-env) and
1913 $(built-program-cmd-after-env).
1915 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1917 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1918 strlen for non SHARED builds.
1920 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1922 * nptl/allocatestack.c (check_list): Inlined function...
1923 (__reclaim_stacks): ... here.
1925 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1928 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1931 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1933 * Rules (make-test-out): Include
1934 LOCPATH=$(common-objpfx)localedata in default environment.
1935 * debug/Makefile (tst-chk1-ENV): Remove variable.
1936 (tst-chk2-ENV): Likewise.
1937 (tst-chk3-ENV): Likewise.
1938 (tst-chk4-ENV): Likewise.
1939 (tst-chk5-ENV): Likewise.
1940 (tst-chk6-ENV): Likewise.
1941 (tst-lfschk1-ENV): Likewise.
1942 (tst-lfschk2-ENV): Likewise.
1943 (tst-lfschk3-ENV): Likewise.
1944 (tst-lfschk4-ENV): Likewise.
1945 (tst-lfschk5-ENV): Likewise.
1946 (tst-lfschk6-ENV): Likewise.
1947 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1948 (tst-iconv7-ENV): Likewise.
1949 * intl/Makefile (LOCPATH-ENV): Likewise.
1950 (tst-codeset-ENV): Likewise.
1951 (tst-gettext3-ENV): Likewise.
1952 (tst-gettext5-ENV): Likewise.
1953 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1954 (tst-fopenloc-ENV): Likewise.
1955 (tst-fgetws-ENV): Remove variable.
1956 (tst-ungetwc1-ENV): Likewise.
1957 (tst-ungetwc2-ENV): Likewise.
1958 (bug-ungetwc2-ENV): Likewise.
1959 (tst-swscanf-ENV): Likewise.
1960 (bug-ftell-ENV): Likewise.
1961 (tst-fgetwc-ENV): Likewise.
1962 (tst-fseek-ENV): Likewise.
1963 (tst-ftell-partial-wide-ENV): Likewise.
1964 (tst-ftell-active-handler-ENV): Likewise.
1965 (tst-ftell-append-ENV): Likewise.
1966 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1967 (tst-regexloc-ENV): Likewise.
1968 (bug-regex1-ENV): Likewise.
1969 (tst-regex-ENV): Likewise.
1970 (tst-regex2-ENV): Likewise.
1971 (bug-regex5-ENV): Likewise.
1972 (bug-regex6-ENV): Likewise.
1973 (bug-regex17-ENV): Likewise.
1974 (bug-regex18-ENV): Likewise.
1975 (bug-regex19-ENV): Likewise.
1976 (bug-regex20-ENV): Likewise.
1977 (bug-regex22-ENV): Likewise.
1978 (bug-regex23-ENV): Likewise.
1979 (bug-regex25-ENV): Likewise.
1980 (bug-regex26-ENV): Likewise.
1981 (bug-regex30-ENV): Likewise.
1982 (bug-regex32-ENV): Likewise.
1983 (bug-regex33-ENV): Likewise.
1984 (bug-regex34-ENV): Likewise.
1985 (bug-regex35-ENV): Likewise.
1986 (tst-rxspencer-ENV): Likewise.
1987 (tst-rxspencer-no-utf8-ENV): Likewise.
1988 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1989 (tst-sscanf-ENV): Likewise.
1990 (tst-swprintf-ENV): Likewise.
1991 (tst-swscanf-ENV): Likewise.
1992 (test-vfprintf-ENV): Likewise.
1993 (scanf13-ENV): Likewise.
1994 (bug14-ENV): Likewise.
1995 (tst-grouping-ENV): Likewise.
1996 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1997 (tst-strtod3-ENV): Likewise.
1998 (tst-strtod4-ENV): Likewise.
1999 (tst-strtod5-ENV): Likewise.
2000 (testmb2-ENV): Likewise./
2001 * string/Makefile (tst-strxfrm-ENV): Likewise.
2002 (tst-strxfrm2-ENV): Likewise.
2003 (bug-strcoll1-ENV): Likewise.
2004 (test-strcasecmp-ENV): Likewise.
2005 (test-strncasecmp-ENV): Likewise.
2006 * time/Makefile (tst-strptime-ENV): Likewise.
2007 (tst-ftime_l-ENV): Likewise.
2008 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2009 (tst-mbrtowc-ENV): Likewise.
2010 (tst-wcrtomb-ENV): Likewise.
2011 (tst-mbrtowc2-ENV): Likewise.
2012 (tst-c16c32-1-ENV): Likewise.
2013 (tst-mbsnrtowcs-ENV): Likewise.
2015 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2017 * manual/resource.texi (How to get information about the memory
2018 subsystem?): Fix typo.
2019 Reported by Peon de la Parra Ivan <peon@keba.com>
2021 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2024 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2025 (pthread_spin_lock): Branch out of spin loop to proper location.
2026 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2027 (pthread_spin_lock): Likewise.
2029 * nptl/tst-spin4.c: New test.
2030 * nptl/Makefile (tests): Add tst-spin4.
2032 2014-06-03 Andreas Schwab <schwab@suse.de>
2035 * resolv/res_send.c (send_dg): Reload file descriptor after
2038 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2040 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2042 2014-06-03 Richard Henderson <rth@redhat.com>
2044 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2045 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2046 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2047 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2048 in the SAVE_PID block.
2049 (__libc_vfork): New alias.
2050 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2052 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2053 child in registers, not on the stack. Remove RESET_PID conditionals.
2054 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2056 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2058 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2060 2014-06-03 Wilco <wdijkstr@arm.com>
2062 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2063 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2064 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2065 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2066 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2069 2014-06-03 Wilco <wdijkstr@arm.com>
2071 * sysdeps/aarch64/fpu/math_private.h
2072 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2073 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2074 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2075 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2078 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2080 * crypt/crypt-private.h: Include ufc-crypt.h.
2081 (__b64_from_24bit): Declare extern.
2082 * crypt/crypt_util.c(__b64_from_24bit): New function.
2083 (b64t): New static const variable.
2084 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2085 (b64t): Remove variable.
2086 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2087 * crypt/sha256-crypt.c: Include crypt-private.h.
2088 (b64t): Remove variable.
2089 (__sha256_crypt_r): Remove b64_from_24bit and replace
2090 with __b64_from_24bit.
2091 * crypt/sha512-crypt.c: Likewise.
2093 2014-06-02 Roland McGrath <roland@hack.frob.com>
2095 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2096 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2097 Label the code __libc_vfork rather than __vfork.
2098 [!NOT_IN_libc] (vfork): Define as weak alias.
2099 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2100 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2101 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2103 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2105 * malloc/malloc.c (malloc_info): Fix format specifier for
2108 2014-06-02 Wilco <wdijkstr@arm.com>
2110 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2113 2014-06-02 Wilco <wdijkstr@arm.com>
2116 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2117 Rewrite to reduce FPCR/FPSR accesses.
2119 2014-06-01 David S. Miller <davem@davemloft.net>
2121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2123 2014-05-31 David S. Miller <davem@davemloft.net>
2125 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2126 to occur in round to nearest mode when |x| >= 2.0
2128 2014-05-30 Richard Henderson <rth@twiddle.net>
2130 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2131 (PSEUDO_RET_NOERRNO): Remove.
2132 (ret): Don't redefine.
2133 (ret_NOERRNO): Define in terms of ret.
2134 (ret_ERRVAL): Likewise.
2136 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2137 use of PSEUDO_RET; perform the error check directly.
2139 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2141 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2144 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2146 * malloc/malloc (malloc_info): Fix formatting.
2148 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2149 Roland McGrath <roland@hack.frob.com>
2151 * malloc/malloc (malloc_info): Also print mmapped statistics.
2153 2014-05-30 Roland McGrath <roland@hack.frob.com>
2155 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2156 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2158 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2160 * malloc/malloc.c (malloc_info): Inline mi_arena.
2162 2014-05-29 Richard Henderson <rth@twiddle.net>
2164 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2165 Remove comma before expanding ASM_ARGS_##nr.
2166 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2167 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2169 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2170 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2171 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2172 (ASM_ARGS_1): Add leading comma.
2174 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2175 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2176 to __errno_location.
2177 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2178 Remove the expected plt for __errno_location.
2180 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2181 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2184 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2185 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2186 it and break it down.
2187 (DOCARGS_0, DOCARGS_1): Do nothing.
2188 (DOCARGS_2): Update to store into the new stack frame.
2189 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2190 (UNDOCARGS_1): Update to restore from the new stack frame.
2191 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2192 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2194 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2195 (SINGLE_THREAD_P): New parameter for result regno.
2196 (PSEUDO): Update to match; use cbz instead of beq.
2198 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2199 Use ENTRY to define the _nocancel entry point. Share the syscall
2200 and syscall error check paths with the cancel path.
2203 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2204 whitespace; tabs before and after asm mnemonics.
2206 2014-05-29 Eric Wong <normalperson@yhbt.net>
2209 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2210 Call fstat64 or stat64 internally, depending on arguments passed.
2211 Replace stat buffer argument with file descriptor argument.
2212 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2213 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2214 Pass fd to __internal_statvfs instead of calling fstat64.
2215 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2216 Pass fd to __internal_statvfs64 instead of calling fstat64.
2217 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2218 Pass -1 to __internal_statvfs instead of calling stat64.
2219 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2220 Pass -1 to __internal_statvfs64 instead of calling stat64.
2222 2014-05-28 Roland McGrath <roland@hack.frob.com>
2224 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2225 that was previously under [RESET_PID].
2226 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2228 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2229 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2231 2014-05-27 Roland McGrath <roland@hack.frob.com>
2233 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2235 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2236 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2238 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2240 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2242 2014-05-27 Andreas Schwab <schwab@suse.de>
2244 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2246 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2247 * elf/rtld.c (init_tls, dl_main): Likewise.
2248 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2249 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2250 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2251 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2252 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2253 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2254 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2255 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2256 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2257 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2258 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2259 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2260 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2261 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2262 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2263 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2264 * sysdeps/generic/tls.h: Update description.
2266 2014-05-27 Will Newton <will.newton@linaro.org>
2269 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2270 and restore r2 rather than just restoring.
2272 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2275 * libio/tst-ftell-append.c: New test case.
2276 * libio/Makefile (tests): Add test case.
2277 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2279 * libio/wfileops.c (do_ftell_wide): Likewise.
2281 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2285 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2289 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2290 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2291 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2292 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2293 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2294 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2298 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2301 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2302 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2303 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2304 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2305 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2307 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2308 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2310 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2312 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2314 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2315 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2316 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2318 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2319 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2320 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2321 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2323 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2326 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2329 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2332 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2344 conditional [RESET_PID].
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2348 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2353 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2354 (__libc_vfork): New strong alias.
2355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2357 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2362 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2363 (__libc_vfork): New strong alias.
2364 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2369 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2371 * malloc/malloc.c (mi_arena): New function.
2372 (malloc_info): Remove nested function mi_arena. Call non-nosted
2375 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2377 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2379 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2380 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2381 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2382 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2383 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2384 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2385 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2387 2014-05-26 Andreas Schwab <schwab@suse.de>
2390 * locale/programs/repertoire.c (repertoire_read): Add slash
2391 between I18NPATH element and file name.
2392 * locale/programs/locfile.c (locfile_read): Likewise.
2394 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2396 * nptl/pthread_mutexattr_settype.c
2397 (__pthread_mutexattr_settype):
2398 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2400 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2402 * nptl/tst-mutex5 (do_test):
2403 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2405 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2407 * benchtests/README: Document 'init' directive.
2408 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2410 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2411 (parse_file): Recognize 'init' directive.
2413 2014-05-26 Kyle McMartin <kyle@redhat.com>
2416 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2417 alignment of struct pthread.
2419 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2422 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2423 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2424 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2425 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2427 2014-05-25 Richard Henderson <rth@twiddle.net>
2429 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2430 (SINGLE_THREAD_P_PIC): Remove.
2431 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2432 (SINGLE_THREAD_P_PIC): Remove.
2434 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2435 branch to syscall error ...
2437 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2438 from __local_syscall_error to .Lsyscall_error.
2439 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2440 (SYSCALL_ERROR): Update label name.
2442 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2443 Do not use DOARGS/UNDOARGS.
2444 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2445 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2446 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2447 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2448 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2450 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2453 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2454 define if !NOT_IN_libc.
2455 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2456 define with non-default symbol versions.
2458 2014-05-23 Richard Henderson <rth@twiddle.net>
2460 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2461 (vfork, __vfork): Define via compat_symbol.
2463 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2464 [!HAVE_IFUNC] (vfork_compat): Remove.
2465 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2467 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2470 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2471 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2474 2014-05-23 Richard Henderson <rth@twiddle.net>
2476 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2477 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2478 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2479 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2481 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2482 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2483 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2484 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2485 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2486 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2487 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2488 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2489 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2490 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2491 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2492 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2493 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2494 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2495 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2496 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2497 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2498 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2499 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2500 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2501 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2502 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2503 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2504 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2505 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2506 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2507 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2508 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2510 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2512 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2513 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2514 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2515 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2516 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2517 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2518 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2519 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2520 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2521 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2522 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2523 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2524 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2525 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2526 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2527 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2528 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2529 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2530 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2531 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2532 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2533 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2534 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2535 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2536 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2538 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2539 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2540 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2541 before exiting on error.
2542 (__libc_vfork): New strong alias.
2543 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2544 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2546 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2547 that was previously under [RESET_PID].
2548 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2550 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2552 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2555 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2556 value when x - 1 is zero.
2557 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2558 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2559 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2560 0.0L for an argument of 1.0L.
2561 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2563 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2564 value when x - 1 is zero.
2565 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2566 * sysdeps/i386/fpu/libm-test-ulps: Update.
2567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2571 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2572 alphasort and versionsort.
2574 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2576 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2578 [copysignf]: Likewise.
2580 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2582 * crypt/md5-crypt.c: Fix formatting.
2584 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2586 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2587 (b64_from_24bit): New function.
2589 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2591 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2592 libc_hidden_builtin_def to ifunc.
2593 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2594 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2596 2014-05-21 Roland McGrath <roland@hack.frob.com>
2598 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2599 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2601 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2603 * nscd/Depend (linuxthreads): Remove.
2605 * resolv/Depend (linuxthreads): Remove.
2606 * rt/Depend (linuxthreads): Remove.
2608 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2609 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2610 $(common-objpfx)elf/.
2611 (link-libc-before-gnulib): Likewise.
2612 (elfobjdir): Remove variable.
2613 * Makefile (install): Use $(elf-objpfx) instead of
2614 $(common-objpfx)elf/.
2615 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2617 (link-libc-deps): Likewise.
2618 ($(common-objpfx)libc.so): Likewise.
2619 ($(common-objpfx)linkobj/libc.so): Likewise.
2620 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2621 instead of $(common-objpfx)elf/.
2622 (symbolic-link-list): Likewise.
2623 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2624 [$(cross-compiling) = no]: Likewise.
2625 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2627 (static-gnulib-arch): Likewise.
2628 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2629 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2630 $(common-objpfx)elf/.
2632 2014-05-21 Richard Henderson <rth@redhat.com>
2634 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2635 (SINGLE_THREAD_P): Use the correct width load. Fold
2636 into the ldr offset.
2638 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2639 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2641 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2643 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2644 (libgcc_s_resume): Use __attribute_used__.
2645 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2648 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2650 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2651 optimization when used with float constants.
2653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2655 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2658 * locale/nl_langinfo_l.c: Make direct reference to every
2659 _nl_current_CATEGORY symbol.
2660 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2661 (tests-static): Add tst-langinfo-static.
2662 (tests-special): Add tst-langinfo-static.out.
2663 ($(objpfx)tst-langinfo.out): Redirect output.
2664 ($(objpfx)tst-langinfo-static.out): New.
2665 * localedata/tst-langinfo.sh: Send output to stdout.
2666 * localedata/tst-langinfo-static.c: New file.
2669 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2670 when the shift amount is modulo the limb size.
2672 2014-05-20 Richard Henderson <rth@redhat.com>
2675 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2676 Change type of sa_flags from unsigned int to int.
2679 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2681 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2683 2014-05-20 Will Newton <will.newton@linaro.org>
2685 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2686 Test the return value of the system call in the nocancel case.
2688 2014-05-20 Will Newton <will.newton@linaro.org>
2689 Yvan Roux <yvan.roux@linaro.org>
2691 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2692 #include of asm/ptrace.h.
2693 (PTRACE_GET_THREAD_AREA): Remove #undef.
2694 (PTRACE_GETHBPREGS): Likewise.
2695 (PTRACE_SETHBPREGS): Likewise.
2696 (struct user_regs_struct): New structure.
2697 (struct user_fpsimd_struct): New structure.
2698 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2699 #include of asm/ptrace.h and second #include of sys/user.h.
2700 (PTRACE_GET_THREAD_AREA): Remove #undef.
2701 (PTRACE_GETHBPREGS): Likewise.
2702 (PTRACE_SETHBPREGS): Likewise.
2703 (ELF_NGREG): Use new struct user_regs_struct.
2704 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2706 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2708 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2709 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2711 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2715 membar to avoid block loads/stores to overlap previous stores.
2717 2014-05-17 Richard Henderson <rth@redhat.com>
2719 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2720 Create the __##syscall_name##_nocancel entry point.
2721 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2722 Remove; let the sysdep-cancel.h code create it.
2724 2014-05-17 David S. Miller <davem@davemloft.net>
2726 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2727 Protect with __USE_GNU.
2728 (TIOCSET_TEMPT): Likewise.
2729 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2730 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2731 these are already provided in bits/ioctl-types.h
2733 2014-05-16 Roland McGrath <roland@hack.frob.com>
2735 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2736 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2738 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2739 Use wait4 regardless of [__NR_waitpid].
2741 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2744 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2745 (_FP_NANSIGN_Q): Set the quiet bit.
2747 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2749 * benchtests/Makefile
2750 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2751 not $(common-objpfx)math/libm.so.
2752 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2753 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2754 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2755 $(common-objpfx)dlfcn/libdl.so.
2756 ($(objpfx)tst-audit8): Depend on $(libm), not
2757 $(common-objpfx)math/libm.so.
2758 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2759 not $(common-objpfx)dlfcn/libdl.so.
2761 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2762 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2763 [$(build-shared) = yes].
2764 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2765 $(common-objpfx)nptl/libpthread.so.
2766 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2767 $(common-objpfx)math/libm.so$(libm.so-version) or
2768 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2769 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2770 $(common-objpfx)dlfcn/libdl.so.
2771 * setjmp/Makefile (link-libm): Remove variable.
2772 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2773 * stdio-common/Makefile (link-libm): Remove variable.
2774 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2775 * stdlib/Makefile (link-libm): Remove variable.
2776 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2777 ($(objpfx)tst-strtod-round): Likewise.
2778 ($(objpfx)tst-tininess): Likewise.
2779 ($(objpfx)tst-strtod-underflow): Likewise.
2780 ($(objpfx)tst-strtod6): Likewise.
2781 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2782 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2783 $(common-objpfx)dlfcn/libdl.so.
2785 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2787 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2788 BSD terminal modes definitions.
2790 2014-05-16 Roland McGrath <roland@hack.frob.com>
2792 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2793 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2795 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2796 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2797 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2798 Don't do #include_next.
2799 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2800 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2801 Don't do #include_next.
2802 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2803 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2804 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2805 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2807 2014-05-16 Allan McRae <allan@archlinux.org>
2809 * po/sv.po: Update Swedish translation from translation project.
2811 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2814 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2817 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2818 errno if the TIOCGPTN ioctl fails with an error different than
2820 * login/tst-ptsname.c: New file.
2821 * login/Makefile (tests): Add tst-ptsname.
2824 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2827 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2831 herrno to return EAI_AGAIN.
2833 2014-05-14 Roland McGrath <roland@hack.frob.com>
2835 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2836 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2837 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2842 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2844 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2850 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2854 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2855 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2856 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2857 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2858 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2859 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2860 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2861 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2862 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2863 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2864 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2866 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2868 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2871 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2873 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2875 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2877 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2879 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2881 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2883 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2885 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2887 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2889 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2891 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2893 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2895 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2897 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2900 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2902 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2904 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2906 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2908 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2910 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2912 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2914 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2916 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2918 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2921 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2923 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2925 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2926 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2927 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2928 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2929 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2930 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2931 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2932 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2933 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2934 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2935 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2936 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2937 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2938 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2939 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2940 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2941 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2942 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2943 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2944 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2945 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2946 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2947 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2948 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2949 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2950 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2951 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2952 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2953 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2954 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2955 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2957 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2958 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2960 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2961 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2962 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2963 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2964 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2965 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2967 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2968 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2970 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2973 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2974 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2976 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2977 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2978 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2979 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2981 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2982 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2983 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2984 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2985 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2986 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2987 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2988 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2990 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2991 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2993 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2995 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2996 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2997 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2998 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2999 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3001 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3003 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3005 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3006 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3007 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3008 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3009 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3010 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3012 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3013 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3015 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3016 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3018 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3019 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3021 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3022 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3023 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3024 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3026 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3027 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3028 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3029 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3030 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3031 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3032 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3033 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3035 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3038 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3040 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3041 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3042 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3043 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3046 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3048 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3050 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3051 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3052 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3053 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3054 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3055 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3056 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3057 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3058 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3059 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3061 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3062 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3064 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3067 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3068 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3070 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3072 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3074 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3075 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3077 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3078 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3079 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3080 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3081 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3082 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3083 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3084 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3086 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3087 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3089 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3091 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3092 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3093 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3094 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3097 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3099 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3101 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3102 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3103 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3104 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3105 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3106 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3107 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3108 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3109 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3110 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3111 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3113 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3114 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3116 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3117 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3119 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3120 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3121 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3122 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3123 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3124 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3125 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3126 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3127 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3128 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3129 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3130 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3131 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3132 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3133 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3134 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3135 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3136 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3138 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3139 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3140 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3141 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3143 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3145 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3146 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3147 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3148 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3149 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3150 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3152 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3153 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3155 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3156 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3157 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3158 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3159 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3160 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3161 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3162 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3163 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3164 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3165 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3166 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3167 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3168 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3169 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3170 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3171 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3173 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3174 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3175 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3176 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3177 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3179 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3180 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3181 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3182 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3183 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3184 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3185 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3186 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3187 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3188 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3190 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3193 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3194 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3195 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3196 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3198 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3199 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3200 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3201 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3202 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3203 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3204 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3205 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3206 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3207 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3211 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3213 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3217 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3219 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3221 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3223 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3225 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3228 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3229 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3230 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3231 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3232 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3233 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3234 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3235 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3236 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3237 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3238 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3239 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3240 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3241 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3243 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3244 that was previously under [RESET_PID].
3245 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3246 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3247 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3249 * sysdeps/i386/nptl/Implies: New file.
3250 * sysdeps/x86_64/nptl/Implies: New file.
3251 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3252 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3253 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3254 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3256 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3257 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3258 (__libc_vfork): New strong alias.
3259 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3260 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3262 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3263 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3264 (__libc_vfork): New strong alias.
3265 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3266 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3268 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3269 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3270 (__libc_vfork): New strong alias.
3271 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3272 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3273 * nptl/pt-vfork.c: New file.
3274 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3275 (libpthread: GLIBC_2.20): New version set (empty).
3277 2014-05-14 Will Newton <will.newton@linaro.org>
3279 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3282 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3285 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3286 arguments with exponent 65 or above.
3287 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3288 arguments 0x1p113L or above.
3289 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3290 to arguments 0x1p107L or above.
3291 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3292 positive arguments with exponent 65 or above.
3293 * math/auto-libm-test-in: Add more tests of log1p.
3294 * math/auto-libm-test-out: Regenerated.
3297 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3298 non-finite arguments is +0.
3299 * math/s_cacosf.c (__cacosf): Likewise.
3300 * math/s_cacosl.c (__cacosl): Likewise.
3301 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3302 * sysdeps/i386/fpu/libm-test-ulps: Update.
3303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3306 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3308 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3309 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3310 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3311 for explicit high bit of mantissa when testing for argument equal
3313 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3314 * sysdeps/i386/fpu/libm-test-ulps: Update.
3315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3318 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3319 (__erf): Scale by 16 instead of 8 in potentially underflowing
3320 case. Ensure exception if result actually underflows.
3321 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3322 (__erff): Scale by 16 instead of 8 in potentially underflowing
3323 case. Ensure exception if result actually underflows.
3324 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3325 (efx8): Remove variable.
3326 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3327 case. Ensure exception if result actually underflows.
3328 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3329 (efx8): Remove variable.
3330 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3331 case. Ensure exception if result actually underflows.
3332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3333 (efx8): Remove variable.
3334 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3335 case. Ensure exception if result actually underflows.
3336 * math/auto-libm-test-in: Add more tests of erf.
3337 * math/auto-libm-test-out: Regenerated.
3339 2014-05-14 Andreas Schwab <schwab@suse.de>
3341 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3342 Remove code conditionalized on USE___THREAD.
3344 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3345 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3348 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3350 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3351 Define unconditionally.
3352 (__ASSUME_O_CLOEXEC): Likewise.
3353 (__ASSUME_SOCK_CLOEXEC): Likewise.
3354 (__ASSUME_IN_NONBLOCK): Likewise.
3355 (__ASSUME_PIPE2): Likewise.
3356 (__ASSUME_EVENTFD2): Likewise.
3357 (__ASSUME_SIGNALFD4): Likewise.
3358 (__ASSUME_DUP3): Likewise.
3359 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3360 (__ASSUME_DUP3): Do not define.
3361 (__ASSUME_EVENTFD2): Likewise.
3362 (__ASSUME_IN_NONBLOCK): Likewise.
3363 (__ASSUME_O_CLOEXEC): Likewise.
3364 (__ASSUME_PIPE2): Likewise.
3365 (__ASSUME_SIGNALFD4): Likewise.
3366 (__ASSUME_SOCK_CLOEXEC): Likewise.
3367 (__ASSUME_UTIMES): Undefine.
3368 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3369 (__ASSUME_UTIMES): Do not define.
3370 (__ASSUME_O_CLOEXEC): Likewise.
3371 (__ASSUME_SOCK_CLOEXEC): Likewise.
3372 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3373 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3375 (__ASSUME_PIPE2): Likewise.
3376 (__ASSUME_EVENTFD2): Likewise.
3377 (__ASSUME_SIGNALFD4): Likewise.
3378 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3379 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3381 (__ASSUME_EVENTFD2): Likewise.
3382 (__ASSUME_SIGNALFD4): Likewise.
3383 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3384 (__ASSUME_32BITUIDS): Likewise.
3385 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3386 (__ASSUME_IPC64): Likewise.
3387 (__ASSUME_ST_INO_64_BIT): Likewise.
3388 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3389 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3390 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3391 (__ASSUME_UTIMES): Do not define.
3392 (__ASSUME_PSELECT): Likewise.
3393 (__ASSUME_PPOLL): Likewise.
3394 (__ASSUME_O_CLOEXEC): Likewise.
3395 (__ASSUME_SOCK_CLOEXEC): Likewise.
3396 (__ASSUME_IN_NONBLOCK): Likewise.
3397 (__ASSUME_PIPE2): Likewise.
3398 (__ASSUME_EVENTFD2): Likewise.
3399 (__ASSUME_SIGNALFD4): Likewise.
3400 (__ASSUME_DUP3): Likewise.
3401 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3402 (__ASSUME_UTIMES): Likewise.
3403 (__ASSUME_O_CLOEXEC): Likewise.
3404 (__ASSUME_SOCK_CLOEXEC): Likewise.
3405 (__ASSUME_IN_NONBLOCK): Likewise.
3406 (__ASSUME_PIPE2): Likewise.
3407 (__ASSUME_EVENTFD2): Likewise.
3408 (__ASSUME_SIGNALFD4): Likewise.
3409 (__ASSUME_DUP3): Likewise.
3410 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3411 (__ASSUME_UTIMES): Likewise.
3412 (__ASSUME_O_CLOEXEC): Likewise.
3413 (__ASSUME_SOCK_CLOEXEC): Likewise.
3414 (__ASSUME_IN_NONBLOCK): Likewise.
3415 (__ASSUME_PIPE2): Likewise.
3416 (__ASSUME_EVENTFD2): Likewise.
3417 (__ASSUME_SIGNALFD4): Likewise.
3418 (__ASSUME_DUP3): Likewise.
3419 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3421 (__ASSUME_UTIMES): Likewise.
3422 (__ASSUME_EVENTFD2): Likewise.
3423 (__ASSUME_SIGNALFD4): Likewise.
3424 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3425 (__ASSUME_O_CLOEXEC): Likewise.
3426 (__ASSUME_SOCK_CLOEXEC): Likewise.
3427 (__ASSUME_IN_NONBLOCK): Likewise.
3428 (__ASSUME_PIPE2): Likewise.
3429 (__ASSUME_EVENTFD2): Likewise.
3430 (__ASSUME_SIGNALFD4): Likewise.
3431 (__ASSUME_DUP3): Likewise.
3432 (__ASSUME_UTIMES): Undefine.
3434 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3435 feclearexcept. Remove symbol versioning code.
3436 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3437 symbol versioning code.
3438 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3439 symbol versioning code.
3440 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3441 feupdateenv. Remove symbol versioning code.
3442 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3443 fegetexceptflag. Remove symbol versioning code.
3444 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3445 fesetexceptflag. Remove symbol versioning code.
3446 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3447 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3448 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3449 (__posix_fadvise64_l32): Remove prototype.
3450 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3453 2014-05-13 Roland McGrath <roland@hack.frob.com>
3455 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3456 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3457 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3458 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3460 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3462 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3463 current working directory
3465 2014-05-13 Roland McGrath <roland@hack.frob.com>
3467 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3468 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3469 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3470 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3471 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3472 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3473 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3474 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3475 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3476 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3477 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3478 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3479 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3480 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3481 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3482 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3483 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3484 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3485 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3486 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3487 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3488 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3489 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3490 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3491 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3492 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3493 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3494 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3495 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3496 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3497 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3498 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3499 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3500 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3501 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3502 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3503 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3504 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3505 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3506 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3507 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3508 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3510 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3511 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3513 * sysdeps/unix/sysv/linux/arm/Makefile
3514 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3515 Add rt-aeabi_unwind_cpp_pr1.
3516 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3517 Add nptl-aeabi_unwind_cpp_pr1.
3518 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3519 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3520 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3521 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3522 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3523 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3525 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3526 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3527 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3528 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3530 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3531 Deconditionalize the code that was previously under [RESET_PID].
3532 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3534 * sysdeps/generic/exit-thread.h: New file.
3535 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3536 * include/unistd.h (__exit_thread): Remove declaration.
3537 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3538 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3539 * csu/libc-start.c: Include <exit-thread.h>.
3540 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3541 * nptl/pthread_create.c: Include <exit-thread.h>.
3542 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3543 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3544 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3545 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3546 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3547 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3548 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3549 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3550 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3551 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3552 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3553 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3554 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3555 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3556 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3557 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3558 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3560 2014-05-13 Andreas Schwab <schwab@suse.de>
3562 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3564 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3566 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3567 (__ASSUME_UTIMES): Do not condition on kernel version.
3568 (__ASSUME_PSELECT): Define unconditionally.
3569 (__ASSUME_PPOLL): Likewise.
3570 (__ASSUME_ATFCTS): Likewise.
3571 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3572 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3573 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3574 (__ASSUME_UTIMENSAT): Define unconditionally.
3575 (__ASSUME_PRIVATE_FUTEX): Likewise.
3576 (__ASSUME_FALLOCATE): Likewise.
3577 (__ASSUME_O_CLOEXEC): Likewise.
3578 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3579 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3580 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3581 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3582 (__ASSUME_IN_NONBLOCK): Likewise.
3583 (__ASSUME_PIPE2): Likewise.
3584 (__ASSUME_EVENTFD2): Likewise.
3585 (__ASSUME_SIGNALFD4): Likewise.
3586 (__ASSUME_DUP3): Likewise.
3587 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3588 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3589 (__ASSUME_AT_RANDOM): Likewise.
3590 (__ASSUME_PREADV): Likewise.
3591 (__ASSUME_PWRITEV): Likewise.
3592 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3593 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3594 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3595 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3596 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3597 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3598 (__ASSUME_O_CLOEXEC): Define unconditionally.
3599 (__ASSUME_PSELECT): Do not undefine conditionally.
3600 (__ASSUME_PPOLL): Likewise.
3601 (__ASSUME_ATFCTS): Likewise.
3602 (__ASSUME_SET_ROBUST_LIST): Likewise.
3603 (__ASSUME_UTIMENSAT): Likewise.
3604 (__ASSUME_FDATASYNC): Define unconditionally.
3605 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3606 (__ASSUME_SIGFRAME_V2): Likewise.
3607 )__ASSUME_EVENTFD2): Likewise.
3608 (__ASSUME_SIGNALFD4): Likewise.
3609 (__ASSUME_PSELECT): Do not undefine conditionally.
3610 (__ASSUME_PPOLL): Likewise.
3611 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3612 (__ASSUME_PSELECT): Define unconditionally.
3613 (__ASSUME_PPOLL): Likewise.
3614 (__ASSUME_O_CLOEXEC): Likewise.
3615 (__ASSUME_SOCK_CLOEXEC): Likewise.
3616 (__ASSUME_IN_NONBLOCK): Likewise.
3617 (__ASSUME_PIPE2): Likewise.
3618 (__ASSUME_EVENTFD2): Likewise.
3619 (__ASSUME_SIGNALFD4): Likewise.
3620 (__ASSUME_DUP3): Likewise.
3621 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3622 (__ASSUME_O_CLOEXEC): Likewise.
3623 (__ASSUME_SOCK_CLOEXEC): Likewise.
3624 (__ASSUME_IN_NONBLOCK): Likewise.
3625 (__ASSUME_PIPE2): Likewise.
3626 (__ASSUME_EVENTFD2): Likewise.
3627 (__ASSUME_SIGNALFD4): Likewise.
3628 (__ASSUME_DUP3): Likewise.
3629 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3630 (__ASSUME_EVENTFD2): Likewise.
3631 (__ASSUME_SIGNALFD4): Likewise.
3632 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3634 2014-05-12 Andreas Schwab <schwab@suse.de>
3637 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3638 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3639 than maximum RPC packet size.
3640 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3641 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3642 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3643 (_nss_nis_getservbyport_r): Likewise.
3645 2014-05-12 Will Newton <will.newton@linaro.org>
3647 * malloc/Makefile (tests): Add tst-mallopt.
3648 * malloc/tst-mallopt.c: New file.
3650 2014-05-09 Roland McGrath <roland@hack.frob.com>
3652 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3653 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3655 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3657 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3658 (tst-tlsmod6.so): Likewise.
3660 2014-05-09 Roland McGrath <roland@hack.frob.com>
3662 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3664 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3667 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3668 and <dl-procinfo.h>.
3669 (__fegetenv): Save SSE state in envp->__eip if supported.
3670 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3671 envp->__eip if supported.
3672 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3673 and <dl-procinfo.h>.
3674 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3675 __data_offset and __data_selector in environment to 0. Set SSE
3677 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3679 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3681 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3683 2014-05-09 Will Newton <will.newton@linaro.org>
3685 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3686 and libc_relro_required for ARM.
3687 * sysdeps/arm/preconfigure: Regenerate.
3689 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3690 Stefan Liebler <stli@linux.vnet.ibm.com>
3692 * config.make.in (enable-lock-elision): New Makefile variable.
3693 * configure.ac: Likewise.
3694 * configure: Regenerate.
3695 * sysdeps/s390/configure.ac:
3696 Add check for gcc transactions support.
3697 * sysdeps/s390/configure: Regenerate.
3698 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3699 Build elision files if enabled.
3700 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3701 Add lock elision support for s390.
3702 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3703 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3704 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3705 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3706 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3707 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3708 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3710 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3712 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3714 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3716 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3717 (__lll_timedlock_elision, __lll_lock_elision)
3718 (__lll_unlock_elision, __lll_trylock_elision)
3719 (lll_timedlock_elision, lll_lock_elision)
3720 (lll_unlock_elision, lll_trylock_elision): Add.
3721 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3722 (pthread_mutex_t): Add lock elision support for s390.
3724 2014-05-14 Wilco <wdijkstr@arm.com>
3726 * sysdeps/arm/fclrexcpt.c: Cleanup.
3727 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3728 * sysdeps/arm/feenablxcpt.c: Cleanup.
3729 * sysdeps/arm/fegetenv.c: Cleanup.
3730 * sysdeps/arm/fegetexcept.c: Cleanup.
3731 * sysdeps/arm/fegetround.c: Cleanup.
3732 * sysdeps/arm/feholdexcpt.c: Cleanup.
3733 * sysdeps/arm/fesetenv.c: Cleanup.
3734 * sysdeps/arm/fesetround.c: Cleanup.
3735 * sysdeps/arm/feupdateenv.c: Cleanup.
3736 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3737 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3738 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3739 * sysdeps/arm/ftestexcept.c: Cleanup.
3740 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3741 * sysdeps/arm/setfpucw.c: Cleanup.
3743 2014-05-09 Will Newton <will.newton@linaro.org>
3745 * sysdeps/arm/armv7/strcmp.S: New file.
3746 * NEWS: Mention addition of ARMv7 optimized strcmp.
3748 2014-05-08 Roland McGrath <roland@hack.frob.com>
3750 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3751 look for %.ac rather than %.in.
3753 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3754 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3755 * sysdeps/mach/hurd/configure: Regenerated.
3756 * sysdeps/unix/sysv/linux/configure: Regenerated.
3758 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3760 2014-05-07 Steve Ellcey <sellcey@mips.com>
3763 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3767 2014-05-07 Andreas Schwab <schwab@suse.de>
3769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3770 when skipping over non-matching result from nscd.
3772 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3775 * nptl/sockperf.c (client): Check socket return value.
3778 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3779 nscd security class.
3781 2014-05-06 Roland McGrath <roland@hack.frob.com>
3783 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3784 * sysdeps/arm/unwind.h: ... here.
3786 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3789 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3792 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3794 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3795 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3796 multiarch strncpy for PPC64.
3797 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3798 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3800 multiarch optimizations.
3801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3802 (__libc_ifunc_impl_list): Likewise.
3803 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3804 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3805 multiarch stpncpy for PPC64.
3806 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3807 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3809 2014-05-06 Andreas Schwab <schwab@suse.de>
3812 * gmon/mcount.c (_MCOUNT_DECL): Use
3813 atomic_compare_and_exchange_bool_acq instead of
3814 catomic_compare_and_exchange_bool_acq.
3816 2014-05-05 Roland McGrath <roland@hack.frob.com>
3818 * elf/Makefile (others, install-bin): Remove pldd.
3819 (pldd-modules): Variable removed.
3820 ($(objpfx)pldd): Target removed.
3821 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3822 (others, install-bin): Append pldd here.
3823 ($(objpfx)pldd): New target.
3825 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3826 to 0, so the first #if test emitted later doesn't see it undefined.
3827 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3828 * sysdeps/gnu/errlist.c: Regenerated.
3830 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3832 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3833 [libc_hidden_builtin_def]: Define to empty value.
3834 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3835 [libc_hidden_builtin_def]: Likewise.
3836 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3837 [libc_hidden_builtin_def]: Likewise.
3838 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3839 [libc_hidden_builtin_def]: Likewise.
3840 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3841 __redirect_memcpy and define ifunc as default hidden symbol.
3842 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3843 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3845 2014-05-04 Adam Conrad <adconrad@0c3.net>
3847 * locale/iso-4217.def: Reintroduce XDR currency.
3849 2014-05-04 Allan McRae <allan@archlinux.org>
3851 * po/eo.po: Update Esperanto translation from translation project.
3853 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3855 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3856 and FEATURE_INDEX_MAX to 1.
3857 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3859 2014-05-01 Steve Ellcey <sellcey@mips.com>
3861 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3862 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3863 * iconvdata/big5.c (ONE_DIRECTION): Define.
3864 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3865 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3866 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3867 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3868 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3869 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3870 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3871 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3872 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3873 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3874 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3875 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3876 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3877 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3878 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3879 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3880 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3881 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3882 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3883 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3884 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3885 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3886 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3887 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3888 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3889 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3890 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3891 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3892 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3893 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3894 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3895 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3896 * iconvdata/johab.c (ONE_DIRECTION): Define.
3897 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3898 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3899 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3900 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3901 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3902 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3903 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3904 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3905 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3906 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3908 2014-05-01 Roland McGrath <roland@hack.frob.com>
3910 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3911 (_IO_JUMPS_OFFSET): Define to 0.
3913 * nptl/sysdeps/pthread/bits/libc-lock.h
3914 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3915 (__libc_lock_define_initialized_recursive): Always define using
3916 initializer. Modern compilers treat uninitialized (implicit zero) and
3917 explicit zero initializers the same (i.e. put the datum in bss).
3919 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3921 * nscd/nscd-client.h: Include <string.h>.
3923 2014-05-01 David S. Miller <davem@davemloft.net>
3926 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3927 multiple zero bytes exist at the end of a string.
3928 Reported by Aurelien Jarno <aurelien@aurel32.net>
3930 * string/test-strcmp.c (check): Add explicit test for situations where
3931 there are multiple zero bytes after the first.
3933 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3936 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3937 when compiling wprintf.
3938 * stdio-common/tstdiomisc.c (t3): New function.
3941 2014-05-01 Steve Ellcey <sellcey@mips.com>
3943 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3944 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3945 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3946 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3948 2014-05-01 Steve Ellcey <sellcey@mips.com>
3950 * stdlib/longlong.h: Updated from GCC.
3952 2014-05-01 Will Newton <will.newton@linaro.org>
3953 Bernard Ogden <bernie.ogden@linaro.org>
3955 * NEWS: Update fixed bug list.
3958 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3960 2014-04-30 David S. Miller <davem@davemloft.net>
3962 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3963 (libc_feholdexcept_setround_sparc_ctx): New function.
3964 (libc_fesetenv_sparc_ctx): Likewise.
3965 (libc_feupdateenv_sparc_ctx): Likewise.
3966 (libc_feholdsetround_sparc_ctx): Likewise.
3967 (libc_feholdexcept_setround_ctx): Define.
3968 (libc_feholdexcept_setroundf_ctx): Likewise.
3969 (libc_feholdexcept_setroundl_ctx): Likewise.
3970 (libc_fesetenv_ctx): Likewise.
3971 (libc_fesetenvf_ctx): Likewise.
3972 (libc_fesetenvl_ctx): Likewise.
3973 (libc_feupdateenv_ctx): Likewise.
3974 (libc_feupdateenvf_ctx): Likewise.
3975 (libc_feupdateenvl_ctx): Likewise.
3976 (libc_feresetround_ctx): Likewise.
3977 (libc_feresetroundf_ctx): Likewise.
3978 (libc_feresetroundl_ctx): Likewise.
3979 (libc_feholdsetround_ctx): Likewise.
3980 (libc_feholdsetroundf_ctx): Likewise.
3981 (libc_feholdsetroundl_ctx): Likewise.
3983 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3984 with __USE_GNU instead of XOPEN cpp guards.
3986 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3989 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3990 with XOPEN cpp guards.
3992 2014-04-30 Julian Brown <julian@codesourcery.com>
3995 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3998 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4001 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4003 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4004 * sysdeps/unix/sysv/linux/configure: Regenerated.
4005 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4006 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4007 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4008 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4009 * README: Update reference to required Linux kernel version.
4010 * manual/install.texi (Linux): Update reference to required Linux
4011 kernel headers version.
4012 * INSTALL: Regenerated.
4014 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4016 [POSIX] (limits.h): Likewise.
4017 [POSIX] (math.h): Likewise.
4018 [POSIX] (sys/wait.h): Likewise.
4019 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4021 [POSIX] (stddef.h): Do not allow header inclusion.
4023 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4025 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4027 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4029 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4030 Return immediately after lll_futex_wake.
4032 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4035 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4037 (datahead_init_pos): Call datahead_init_common early.
4038 (datahead_init_neg): Likewise.
4040 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4041 datahead_init_neg): New functions.
4042 * nscd/aicache.c (addhstaiX): Use them.
4043 * nscd/grpcache.c (cache_addgr): Likewise.
4044 * nscd/hstcache.c (cache_addhst): Likewise.
4045 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4046 * nscd/netgroupcache.c (do_notfound): Likewise.
4047 (addgetnetgrentX): Likewise.
4048 (addinnetgrX): Likewise.
4049 * nscd/pwdcache.c (cache_addpw): Likewise.
4050 * nscd/servicescache.c (cache_addserv): Likewise.
4052 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4053 Atsushi Onoe <atsushi@onoe.org>
4058 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4059 one response is valid.
4060 * resolv/res_send.c (send_dg): Check for validity of other
4061 response if the current response is a referral.
4063 2014-04-29 Steve Ellcey <sellcey@mips.com>
4065 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4067 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4070 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4071 Always divide by positive zero when computing -Inf result.
4072 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4073 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4075 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4077 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4078 FPSCR if value do not change.
4079 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4080 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4081 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4082 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4083 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4084 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4087 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4089 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4090 * sysdeps/unix/sysv/linux/hppa: Move directory from
4091 ports/systeps/unix/sysv/linux/hppa.
4092 * README: Update listing for hppa-*-linux-gnu.
4094 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4097 * manual/stdio.texi (Hook functions): Fix types of stream hook
4100 * socket/sys/socket.h: Fix typo in comment.
4102 2014-04-28 Wilco <wdijkstr@arm.com>
4104 * sysdeps/arm/fenv_private.h: New file.
4105 * sysdeps/arm/math_private.h: New file.
4106 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4108 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4110 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4112 (La_x86_64_retval): Likewise.
4114 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4116 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4117 fpsr if value didn't change.
4118 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4119 to fpcr if value didn't change.
4120 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4121 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4122 fpsr or fpcr if value didn't change.
4123 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4124 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4125 fpcr if value didn't change.
4126 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4127 to fpsr if value didn't change.
4129 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4131 * nptl/tst-sem3.c: Use test-skeleton.c
4132 (main): Rename to do_test. Use return instead of
4134 * nptl/tst-sem4.c: Use test-skeleton.c
4135 (main): Rename to do_test.
4137 2014-04-22 David S. Miller <davem@davemloft.net>
4139 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4140 (struct sigaction): New struct member __glibc_reserved0, change
4141 type of sa_flags to int.
4143 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4145 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4146 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4148 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4150 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4151 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4153 2014-04-22 Will Newton <will.newton@linaro.org>
4154 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4156 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4157 (__longjmp): Add longjmp and longjmp_target SystemTap
4159 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4160 (__sigsetjmp): Add setjmp SystemTap probe.
4162 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4164 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4167 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4169 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4171 * sysdeps/powerpc/fpu/fenv_private.h
4172 (libc_feholdexcept_setroundl_ctx): Define to
4173 libc_feholdexcept_setround_ppc_ctx.
4174 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4175 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4176 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4177 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4179 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4181 * sysdeps/aarch64/math-tests.h: New file.
4183 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4185 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4188 Check and set bit_AVX2_Usable.
4189 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4191 (bit_AVX2): Likewise.
4192 (index_AVX2_Usable): Likewise.
4193 (CPUID_AVX2): Likewise.
4194 (HAS_AVX2): Likewise.
4196 2014-04-17 Will Newton <will.newton@linaro.org>
4198 * manual/setjmp.texi (System V contexts): Add note that
4199 calling setcontext on a context created by a call to a
4200 signal handler is undefined. Update text to note that
4201 setcontext from a signal handler is possible but not
4205 * stdlib/tst-setcontext.c: Include signal.h.
4206 (main): Check that the signal stack before and
4207 after swapcontext is the same.
4209 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4210 Re-implement to restore registers in user code and avoid
4211 rt_sigreturn system call.
4213 2014-04-17 Wilco <wdijkstr@arm.com>
4215 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4216 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4217 * math/test-fenv.c: Skip exception trap tests on targets which only
4218 support non-stop mode.
4220 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4221 Wilco Dijkstra <wilco.dijkstra@arm.com>
4223 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4224 (libc_feholdsetround_aarch64_ctx)
4225 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4226 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4227 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4228 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4229 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4230 (libc_feresetround_noexl_ctx): Define.
4232 2014-04-16 Richard Henderson <rth@redhat.com>
4234 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4236 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4239 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4240 const from the non-libc, non-ldso copy.
4242 * sysdeps/alpha/libm-test-ulps: Regenerate.
4244 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4245 Wilco Dijkstra <wilco.dijkstra@arm.com>
4247 * sysdeps/aarch64/fpu/math_private.h: New file.
4249 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4251 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4253 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4255 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4256 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4257 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4258 Intel MPX bound registers before _dl_profile_fixup.
4259 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4260 registers after _dl_profile_fixup. Save and restore bound
4261 registers bnd0/bnd1 when calling _dl_call_pltexit.
4262 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4263 (LR_BND_OFFSET): Likewise.
4264 (LRV_BND0_OFFSET): Likewise.
4265 (LRV_BND1_OFFSET): Likewise.
4267 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4269 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4271 * sysdeps/mach/hurd/i386/tls.h: ... here.
4272 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4273 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4276 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4278 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4280 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4282 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4284 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4287 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4288 * sysdeps/s390/configure: Regenerate.
4291 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4292 Set round-to-nearest internally to reduce error accumulation.
4294 2014-04-16 Alan Modra <amodra@gmail.com>
4298 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4299 * math/libm-test.inc (frexp_test_data): Add tests.
4300 * NEWS: Update fixed bug list.
4302 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4304 * benchtests/Makefile: Depend on libraries in build directory.
4305 (bench-math): Separate out math tests.
4306 (bench-pthread): Separate out pthread tests.
4307 (bench): Include math and pthread tests.
4309 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4312 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4313 _dl_debug_initialize.
4315 * configure.ac: Remove SELinux header check.
4316 * configure: Regenerate.
4317 * nscd/selinux.c (perms): Array of const char* to permission names.
4318 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4319 default policy. Call string_to_security_class and string_to_av_perm to
4320 translate strings. Enforce default policy and call avs_has_perm with
4321 results of translated strings.
4323 2014-04-13 David S. Miller <davem@davemloft.net>
4325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4327 2014-04-12 Allan McRae <allan@archlinux.org>
4330 * manual/string.texi (Collation Functions): Fix qsort argument
4332 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4334 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4336 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4337 Make the test a no-op if there are no exceptions defined.
4339 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4341 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4342 enable-hardcoded-path-in-tests
4344 2014-04-11 Will Newton <will.newton@linaro.org>
4346 * benchtests/Makefile (extra-objs): Add json-lib.o.
4347 (bench-func): Tidy up JSON output.
4348 * benchtests/bench-skeleton.c: Include json-lib.h.
4349 (main): Use JSON library functions to do output of
4351 * benchtests/bench-timing-type.c (main): Output the
4352 timing type simply, leaving formatting to the user.
4353 * benchtests/json-lib.c: New file.
4354 * benchtests/json-lib.h: Likewise.
4356 2014-04-11 Torvald Riegel <triegel@redhat.com>
4359 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4360 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4361 memory barriers. Add comments.
4362 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4363 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4364 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4365 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4366 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4367 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4369 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4371 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4372 * sysdeps/s390/s390-64/configure.ac: ... this ...
4373 * sysdeps/s390/configure.ac: ... to here.
4374 * sysdeps/s390/s390-32/configure: Delete file.
4375 * sysdeps/s390/s390-64/configure: Delete file.
4376 * sysdeps/s390/configure: Regenerate.
4378 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4380 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4382 2014-04-11 Will Newton <will.newton@linaro.org>
4384 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4385 to zero if it is not defined elsewhere. (mtrim): Test
4386 the value of MALLOC_DEBUG with #if rather than #ifdef.
4388 2014-04-10 Torvald Riegel <triegel@redhat.com>
4390 * benchtests/pthread_once-inputs: New file.
4391 * benchtests/pthread_once-source.c: New file.
4392 * benchtests/README: Update documentation.
4394 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4395 H.J. Lu <hongjiu.lu@intel.com>
4397 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4398 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4399 * sysdeps/x86_64/configure: Regenerated.
4400 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4402 (REGISTER_SAVE_RAX): Likewise.
4403 (REGISTER_SAVE_RCX): Likewise.
4404 (REGISTER_SAVE_RDX): Likewise.
4405 (REGISTER_SAVE_RSI): Likewise.
4406 (REGISTER_SAVE_RDI): Likewise.
4407 (REGISTER_SAVE_R8): Likewise.
4408 (REGISTER_SAVE_R9): Likewise.
4409 (REGISTER_SAVE_BND0): Likewise.
4410 (REGISTER_SAVE_BND1): Likewise.
4411 (REGISTER_SAVE_BND2): Likewise.
4412 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4413 bound registers when calling _dl_fixup.
4415 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4417 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4418 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4420 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4421 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4422 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4423 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4424 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4425 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4426 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4428 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4431 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4432 pathconf(_PC_NAME_MAX).
4434 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4436 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4438 (__PTHREAD_SPINS): Move definition to ...
4439 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4440 (__PTHREAD_SPINS): ... here.
4441 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4442 (__PTHREAD_SPIN): Likewise.
4443 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4444 (__PTHREAD_SPIN): Likewise.
4445 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4446 (__PTHREAD_SPIN): Likewise.
4447 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4448 (__PTHREAD_SPIN): Likewise.
4449 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4450 (__PTHREAD_SPIN): Likewise.
4451 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4452 (__PTHREAD_SPIN): Likewise.
4453 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4454 (__PTHREAD_SPIN): Likewise.
4455 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4456 (__PTHREAD_SPIN): Likewise.
4457 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4458 (__PTHREAD_SPIN): Likewise.
4459 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4460 (__PTHREAD_SPIN): Likewise.
4461 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4462 (__PTHREAD_SPIN): Likewise.
4463 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4464 (__PTHREAD_SPIN): Likewise.
4466 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4467 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4468 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4469 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4471 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4472 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4473 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4474 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4476 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4477 strlen symbol for non multi-arch builds.
4478 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4479 missing hidden_def and weak_alias.
4481 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4483 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4485 2014-04-07 Will Newton <will.newton@linaro.org>
4487 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4488 and contents. [!_LIBC] Remove #ifndef and contents.
4489 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4490 * string/memccpy.c (__memccpy): Use ANSI prototype.
4491 * string/memfrob.c (memfrob): Likewise.
4492 * string/strcoll.c (STRCOLL): Likewise.
4493 * string/strlen.c (strlen): Likewise.
4494 * string/strtok.c (STRTOK): Likewise.
4495 * string/strcat.c: Remove unused #include of memcopy.h.
4496 (strcat): Use ANSI prototype.
4497 * string/strchr.c: Remove unused #include of memcopy.h.
4498 (strchr): Use ANSI prototype.
4499 * string/strcmp.c: Remove unused #include of memcopy.h.
4500 (strcmp): Use ANSI prototype.
4501 * string/strcpy.c: Remove unused #include of memcopy.h.
4502 (strcpy): Use ANSI prototype.
4504 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4506 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4507 * config.make.in (config-extra-cppflags): Set it from
4508 libc_extra_cppflags.
4509 * configure.ac (libc_extra_cflags): Make it accumulate over
4510 configure fragments.
4511 (libc_extra_cppflags): New flag.
4512 * configure. Regenerate.
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4514 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4515 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4520 result for FE_DOWNWARD rounding mode.
4521 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4525 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4527 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4528 in function argument name.
4530 2014-04-03 David Svoboda <svoboda@cert.org>
4533 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4536 2014-04-03 Roland McGrath <roland@hack.frob.com>
4538 * elf/dl-unmap-segments.h: New file.
4539 * sysdeps/generic/ldsodefs.h
4540 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4541 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4542 * elf/dl-fptr.c: Likewise.
4543 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4544 * sysdeps/aarch64/tlsdesc.c: Likewise.
4545 * sysdeps/arm/tlsdesc.c: Likewise.
4546 * sysdeps/i386/tlsdesc.c: Likewise.
4547 * sysdeps/tile/dl-runtime.c: Likewise.
4548 * sysdeps/x86_64/tlsdesc.c: Likewise.
4549 * elf/dl-load.h: New file.
4550 * elf/dl-load.c: Include it.
4551 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4552 Macros moved to dl-load.h.
4553 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4554 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4555 Use _dl_unmap_segments in place of __munmap.
4556 Break out segment-mapping loop into ...
4557 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4559 2014-04-03 Will Newton <will.newton@linaro.org>
4561 * elf/dl-lookup.c (do_lookup_x): Remove comment
4562 referring to nested function and move variable
4563 declarations down to before first use.
4565 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4569 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4571 * math/s_catanf.c (__catanf): Likewise.
4572 * math/s_catanh.c (__catanh): Likewise.
4573 * math/s_catanhf.c (__catanhf): Likewise.
4574 * math/s_catanhl.c (__catanhl): Likewise.
4575 * math/s_catanl.c (__catanl): Likewise.
4576 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4577 by positive zero when computing -Inf result.
4578 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4579 (catanh_test): Likewise.
4580 * sysdeps/i386/fpu/libm-test-ulps: Update.
4581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4584 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4585 instead of using underflowing value in computing result.
4586 * math/s_clog10.c (__clog10): Likewise.
4587 * math/s_clog10f.c (__clog10f): Likewise.
4588 * math/s_clog10l.c (__clog10l): Likewise.
4589 * math/s_clogf.c (__clogf): Likewise.
4590 * math/s_clogl.c (__clogl): Likewise.
4591 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4592 (clog10_test): Likewise.
4593 * sysdeps/i386/fpu/libm-test-ulps: Update.
4594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4596 2014-04-02 Alan Modra <amodra@gmail.com>
4599 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4600 output when value is near a power of two. Use int64_t for lx and
4601 remove casts. Use decimal rather than hex exponent constants.
4602 Don't use long double multiplication when double will suffice.
4603 * math/libm-test.inc (nextafter_test_data): Add tests.
4604 * NEWS: Add 16739 and 16786 to bug list.
4606 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4608 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4610 2014-04-01 Will Newton <will.newton@linaro.org>
4612 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4613 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4615 2014-04-01 Florian Weimer <fweimer@redhat.com>
4618 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4619 * nptl/tst-setuid2.c: New file.
4620 * nptl/Makefile (xtests): Add tst-setuid2.
4622 2014-04-01 Alan Modra <amodra@gmail.com>
4625 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4627 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4631 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4632 set errno as appropriate.
4633 * math/w_scalbf.c (__scalbf): Likewise.
4634 * math/w_scalbl.c (__scalbl): Likewise.
4635 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4636 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4637 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4641 * math/w_atan2.c: Include <errno.h>.
4642 (__atan2): Set errno for result underflowing to zero.
4643 * math/w_atan2f.c: Include <errno.h>.
4644 (__atan2f): Set errno for result underflowing to zero.
4645 * math/w_atan2l.c: Include <errno.h>.
4646 (__atan2l): Set errno for result underflowing to zero.
4647 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4649 * math/auto-libm-test-out: Regenerated.
4651 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4653 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4654 Encode instruction correctly in little endian.
4655 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4657 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4659 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4661 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4664 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4667 * sysdeps/unix/sysv/linux/kernel-features.h
4668 [__sparc__ && !__arch64__ && !__sparc_v9__]
4669 (__ASSUME_SET_ROBUST_LIST): Do not define.
4670 [__sparc__ && !__arch64__ && !__sparc_v9__]
4671 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4672 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4674 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4675 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4676 (__ASSUME_REQUEUE_PI): Likewise.
4677 (__ASSUME_SET_ROBUST_LIST): Likewise.
4678 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4679 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4681 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4682 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4684 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4686 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4688 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4689 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4691 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4692 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4696 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4697 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4698 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4700 2014-03-31 Will Newton <will.newton@linaro.org>
4702 * benchtests/Makefile (bench): Add ffs and ffsll to list
4704 * benchtests/ffs-inputs: New file.
4705 * benchtests/ffsll-inputs: Likewise.
4707 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4710 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4711 too large before casting to int.
4712 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4713 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4714 * math/libm-test.inc (scalb_test_data): Add more tests.
4716 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4718 * benchtests/Makefile (DETAILED_OPT): New make option.
4719 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4721 * benchtests/bench-skeleton.c: Include stdbool.h.
4722 (main): Store and print timings per input.
4723 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4724 member to each argument value.
4725 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4726 (_print_arg_data): Initialize per-input timing to 0.
4728 * benchtests/Makefile (timing-type): New binary.
4729 (bench-clean): Also remove bench-timing-type.
4730 (bench): New target for timing-type.
4731 (bench-func): Print output in JSON format.
4732 * benchtests/bench-skeleton.c (main): Print output in JSON
4734 * benchtests/bench-timing-type.c: New file.
4735 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4736 (TIMING_PRINT_STATS): Remove.
4737 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4740 * benchtests/bench-modf.c: Remove.
4741 * benchtests/modf-inputs: New inputs file.
4743 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4746 * math/s_clog10.c (M_PI_LOG10E): New macro.
4747 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4748 imaginary parts are 0.
4749 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4750 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4751 imaginary parts are 0.
4752 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4753 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4754 imaginary parts are 0.
4755 * math/libm-test.inc (clog10_test_data): Update expected results
4756 for when real and imaginary parts are 0.
4758 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4760 * elf/dl-load.c: Finish conversion of __builtin_expect into
4763 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4766 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4767 1+x for argument with exponent below -67.
4768 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4770 * math/auto-libm-test-in: Add more tests of exp.
4771 * math/auto-libm-test-out: Regenerated.
4773 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4776 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4777 (nscd_getnetgrent): Use it.
4780 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4783 2014-03-27 Andi Kleen <ak@linux.intel.com>
4785 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4786 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4787 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4788 (lll_robust_unlock): Remove out of line section. Use cfi
4790 (LLL_STUB_UNWIND_INFO*): Remove.
4791 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4792 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4793 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4794 (lll_robust_unlock): Remove out of line section. Use cfi
4796 (LLL_STUB_UNWIND_INFO*): Remove.
4798 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4801 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4804 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4806 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4808 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4811 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4813 * math/test-fenv-preserve.c: New file.
4814 * math/Makefile (tests): Add test-fenv-preserve.
4816 2014-03-26 Will Newton <will.newton@linaro.org>
4818 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4820 2014-03-25 Roland McGrath <roland@hack.frob.com>
4822 * scripts/versionlist.awk: Partition the version sets and emit all
4823 GLIBC_* (sorted) before all others (sorted).
4825 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4827 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4828 GLIBC_2.2.5 version.
4830 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4832 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4835 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4840 2014-03-25 Andreas Schwab <schwab@suse.de>
4842 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4843 label to be used after in6ailist is initialized.
4845 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4847 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4848 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4850 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4854 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4856 (fp_formats): Update initializers.
4857 (init_fp_formats): Initialize new field.
4858 (output_for_one_input_case): Allow underflow for results up to
4860 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4861 * math/auto-libm-test-in: Don't mark some underflows from asin and
4863 * math/auto-libm-test-out: Regenerated.
4864 * sysdeps/i386/fpu/libm-test-ulps: Update.
4865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4867 2014-03-25 Andreas Schwab <schwab@suse.de>
4869 * libio/Makefile (tst-ftell-partial-wide-ENV)
4870 (tst-ftell-active-handler-ENV): Define.
4872 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4874 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4876 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4878 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4880 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4882 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4883 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4884 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4886 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4889 * elf/dl-load.c (open_verify): Add mode parameter.
4890 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4891 (open_path): Change from boolean 'secure' to complete flag 'mode'
4892 (_dl_map_object): Adjust.
4893 * elf/Makefile (tests): Add tst-dlopen-aout.
4894 * elf/tst-dlopen-aout.c: New test.
4896 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4899 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4900 (struct stat): Rename member pad0 to __glibc_reserved0.
4903 * sysdeps/s390/s390-32/bits/wordsize.h
4904 (__WORDSIZE32_SIZE_ULONG): New define.
4905 * sysdeps/s390/s390-64/bits/wordsize.h
4906 (__WORDSIZE32_SIZE_ULONG): Likewise.
4907 * sysdeps/generic/stdint.h (SIZE_MAX):
4908 Define as UL if __WORDSIZE32_SIZE_ULONG.
4911 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4912 (__glibc_reserved0): New variable.
4913 (sa_flags): Change type to int.
4915 * posix/Makefile (before-compile): Use += before-compile instead
4918 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4919 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4921 2014-03-20 Andreas Schwab <schwab@suse.de>
4924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4925 non-matching result from nscd.
4927 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4929 * scripts/bench.py: Moved to ...
4930 * benchtests/scripts/bench.py: ... here.
4931 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4933 2014-03-24 Andreas Schwab <schwab@suse.de>
4936 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4937 alloca_account and account alloca use for struct in6ailist.
4939 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4942 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4943 rounding mode to recompute results that overflow to infinity or
4945 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4947 * math/auto-libm-test-out: Regenerated.
4948 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4949 (ccosh_test): Likewise.
4950 (csin_test_data): Use plus_oflow.
4951 (csin_test): Use ALL_RM_TEST.
4952 (csinh_test_data): Use plus_oflow.
4953 (csinh_test): Use ALL_RM_TEST.
4954 * sysdeps/i386/fpu/libm-test-ulps: Update.
4955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4957 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4959 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4960 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4961 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4964 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4966 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4967 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4968 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4969 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4971 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4972 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4974 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4975 * sysdeps/i386/fpu/libm-test-ulps: Update.
4976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4978 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4980 * scripts/bench.pl: Remove file.
4981 * scripts/bench.py: New benchmark script.
4982 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4983 * benchtests/README: Mention python dependency.
4984 * scripts/pylintrc: New file.
4985 * scripts/pylint: New file.
4987 * bits/mathdef.h: Use #ifdef instead of #if.
4988 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4989 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4990 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4991 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4992 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4993 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4995 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4996 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4998 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5000 and strpbrk-ppc64 objects.
5001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5002 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5003 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5004 multiarch strpbrk for POWER7.
5005 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5006 multiarch strpbrk for PPC64.
5007 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5009 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5012 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5014 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5015 (atan_test): Likewise.
5016 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5017 (atanh_test): Use ALL_RM_TEST.
5018 (atan2_test_data): Likewise.
5019 (cabs_test): Likewise.
5020 (cacosh_test): Likewise.
5021 (carg_test): Likewise.
5022 (casin_test): Likewise.
5023 (casinh_test): Likewise.
5024 (cbrt_test): Likewise.
5025 (csqrt_test): Likewise.
5026 (erf_test): Likewise.
5027 (erfc_test): Likewise.
5028 (pow10_test): Likewise.
5029 (exp2_test): Likewise.
5030 (hypot_test): Likewise.
5031 (j0_test): Likewise.
5032 (j1_test): Likewise.
5033 (lgamma_test): Likewise.
5034 (gamma_test): Likewise.
5035 (sincos_test): Likewise.
5036 (tanh_test): Likewise.
5037 (y0_test): Likewise.
5038 (y1_test): Likewise.
5039 * sysdeps/i386/fpu/libm-test-ulps: Update.
5040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5042 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5044 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5046 and strcspn-ppc64 objects.
5047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5048 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5049 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5050 multiarch strcspn for POWER7.
5051 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5052 multiarch strcspn for PPC64.
5053 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5055 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5058 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5060 * math/gen-libm-test.pl (generate_testfile): Expect only function
5061 name as argument to AUTO_TESTS_* and pass results for all rounding
5062 modes to parse_args.
5063 (parse_auto_input): Separate inputs of automatic tests from
5064 outputs before storing in %auto_tests.
5065 * math/libm-test.inc (acos_test_data): Update call to
5067 (acos_test): Use ALL_RM_TEST.
5068 (acos_tonearest_test_data): Remove.
5069 (acos_test_tonearest): Likewise.
5070 (acos_towardzero_test_data): Likewise.
5071 (acos_test_towardzero): Likewise.
5072 (acos_downward_test_data): Likewise.
5073 (acos_test_downward): Likewise.
5074 (acos_upward_test_data): Likewise.
5075 (acos_test_upward): Likewise.
5076 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5077 (asin_test_data): Likewise.
5078 (asin_test): Use ALL_RM_TEST.
5079 (asin_tonearest_test_data): Remove.
5080 (asin_test_tonearest): Likewise.
5081 (asin_towardzero_test_data): Likewise.
5082 (asin_test_towardzero): Likewise.
5083 (asin_downward_test_data): Likewise.
5084 (asin_test_downward): Likewise.
5085 (asin_upward_test_data): Likewise.
5086 (asin_test_upward): Likewise.
5087 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5088 (atan_test_data): Likewise.
5089 (atanh_test_data): Likewise.
5090 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5091 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5092 (carg_test_data): Likewise.
5093 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5094 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5095 (ccosh_test_data): Likewise.
5096 (cexp_test_data): Likewise.
5097 (clog_test_data): Likewise.
5098 (clog10_test_data): Likewise.
5099 (cos_test_data): Update call to AUTO_TESTS_f_f.
5100 (cos_test): Use ALL_RM_TEST.
5101 (cos_tonearest_test_data): Remove.
5102 (cos_test_tonearest): Likewise.
5103 (cos_towardzero_test_data): Likewise.
5104 (cos_test_towardzero): Likewise.
5105 (cos_downward_test_data): Likewise.
5106 (cos_test_downward): Likewise.
5107 (cos_upward_test_data): Likewise.
5108 (cos_test_upward): Likewise.
5109 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5110 (cosh_test): Use ALL_RM_TEST.
5111 (cosh_tonearest_test_data): Remove.
5112 (cosh_test_tonearest): Likewise.
5113 (cosh_towardzero_test_data): Likewise.
5114 (cosh_test_towardzero): Likewise.
5115 (cosh_downward_test_data): Likewise.
5116 (cosh_test_downward): Likewise.
5117 (cosh_upward_test_data): Likewise.
5118 (cosh_test_upward): Likewise.
5119 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5120 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5121 (ctan_test_data): Likewise.
5122 (ctan_test): Use ALL_RM_TEST.
5123 (ctan_tonearest_test_data): Remove.
5124 (ctan_test_tonearest): Likewise.
5125 (ctan_towardzero_test_data): Likewise.
5126 (ctan_test_towardzero): Likewise.
5127 (ctan_downward_test_data): Likewise.
5128 (ctan_test_downward): Likewise.
5129 (ctan_upward_test_data): Likewise.
5130 (ctan_test_upward): Likewise.
5131 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5132 (ctanh_test): Use ALL_RM_TEST.
5133 (ctanh_tonearest_test_data): Remove.
5134 (ctanh_test_tonearest): Likewise.
5135 (ctanh_towardzero_test_data): Likewise.
5136 (ctanh_test_towardzero): Likewise.
5137 (ctanh_downward_test_data): Likewise.
5138 (ctanh_test_downward): Likewise.
5139 (ctanh_upward_test_data): Likewise.
5140 (ctanh_test_upward): Likewise.
5141 (erf_test_data): Update call to AUTO_TESTS_f_f.
5142 (erfc_test_data): Likewise.
5143 (exp_test_data): Likewise.
5144 (exp_test): Use ALL_RM_TEST.
5145 (exp_tonearest_test_data): Remove.
5146 (exp_test_tonearest): Likewise.
5147 (exp_towardzero_test_data): Likewise.
5148 (exp_test_towardzero): Likewise.
5149 (exp_downward_test_data): Likewise.
5150 (exp_test_downward): Likewise.
5151 (exp_upward_test_data): Likewise.
5152 (exp_test_upward): Likewise.
5153 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5154 (exp10_test): Use ALL_RM_TEST.
5155 (exp10_tonearest_test_data): Remove.
5156 (exp10_test_tonearest): Likewise.
5157 (exp10_towardzero_test_data): Likewise.
5158 (exp10_test_towardzero): Likewise.
5159 (exp10_downward_test_data): Likewise.
5160 (exp10_test_downward): Likewise.
5161 (exp10_upward_test_data): Likewise.
5162 (exp10_test_upward): Likewise.
5163 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5164 (expm1_test_data): Likewise.
5165 (expm1_test): Use ALL_RM_TEST.
5166 (expm1_tonearest_test_data): Remove.
5167 (expm1_test_tonearest): Likewise.
5168 (expm1_towardzero_test_data): Likewise.
5169 (expm1_test_towardzero): Likewise.
5170 (expm1_downward_test_data): Likewise.
5171 (expm1_test_downward): Likewise.
5172 (expm1_upward_test_data): Likewise.
5173 (expm1_test_upward): Likewise.
5174 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5175 (fma_test): Use ALL_RM_TEST.
5176 (fma_towardzero_test_data): Remove.
5177 (fma_test_towardzero): Likewise.
5178 (fma_downward_test_data): Likewise.
5179 (fma_test_downward): Likewise.
5180 (fma_upward_test_data): Likewise.
5181 (fma_test_upward): Likewise.
5182 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5183 (j0_test_data): Update call to AUTO_TESTS_f_f.
5184 (j1_test_data): Likewise.
5185 (jn_test_data): Update call to AUTO_TESTS_if_f.
5186 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5187 (log_test_data): Update call to AUTO_TESTS_f_f.
5188 (log10_test_data): Likewise.
5189 (log1p_test_data): Likewise.
5190 (log2_test_data): Likewise.
5191 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5192 (pow_tonearest_test_data): Likewise.
5193 (sin_test_data): Update call to AUTO_TESTS_f_f.
5194 (sin_test): Use ALL_RM_TEST.
5195 (sin_tonearest_test_data): Remove.
5196 (sin_test_tonearest): Likewise.
5197 (sin_towardzero_test_data): Likewise.
5198 (sin_test_towardzero): Likewise.
5199 (sin_downward_test_data): Likewise.
5200 (sin_test_downward): Likewise.
5201 (sin_upward_test_data): Likewise.
5202 (sin_test_upward): Likewise.
5203 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5204 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5205 (sinh_test): Use ALL_RM_TEST.
5206 (sinh_tonearest_test_data): Remove.
5207 (sinh_test_tonearest): Likewise.
5208 (sinh_towardzero_test_data): Likewise.
5209 (sinh_test_towardzero): Likewise.
5210 (sinh_downward_test_data): Likewise.
5211 (sinh_test_downward): Likewise.
5212 (sinh_upward_test_data): Likewise.
5213 (sinh_test_upward): Likewise.
5214 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5215 (sqrt_test): Use ALL_RM_TEST.
5216 (sqrt_tonearest_test_data): Remove.
5217 (sqrt_test_tonearest): Likewise.
5218 (sqrt_towardzero_test_data): Likewise.
5219 (sqrt_test_towardzero): Likewise.
5220 (sqrt_downward_test_data): Likewise.
5221 (sqrt_test_downward): Likewise.
5222 (sqrt_upward_test_data): Likewise.
5223 (sqrt_test_upward): Likewise.
5224 (tan_test_data): Update call to AUTO_TESTS_f_f.
5225 (tan_test): Use ALL_RM_TEST.
5226 (tan_tonearest_test_data): Remove.
5227 (tan_test_tonearest): Likewise.
5228 (tan_towardzero_test_data): Likewise.
5229 (tan_test_towardzero): Likewise.
5230 (tan_downward_test_data): Likewise.
5231 (tan_test_downward): Likewise.
5232 (tan_upward_test_data): Likewise.
5233 (tan_test_upward): Likewise.
5234 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5235 (tgamma_test_data): Likewise.
5236 (y0_test_data): Likewise.
5237 (y1_test_data): Likewise.
5238 (yn_test_data): Update call to AUTO_TESTS_if_f.
5239 (main): Do not call removed functions.
5241 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5243 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5244 (ldexp_test_data): Remove.
5245 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5247 (scalb_test): Use ALL_RM_TEST.
5249 2014-03-19 Andreas Schwab <schwab@suse.de>
5251 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5253 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5256 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5257 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5258 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5259 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5260 (__ASSUME_PREADV): Undefine.
5261 (__ASSUME_PWRITEV): Likewise.
5263 2014-03-18 Roland McGrath <roland@hack.frob.com>
5265 * bits/mman-linux.h: Add comment about non-Linux use.
5266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5267 bits/mman-linux.h resting place.
5269 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5270 * bits/mman-linux.h: ... here.
5272 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5274 * conform/conformtest.pl: Add standard definition when calling C
5275 preprocessor on data files.
5276 (checknamespace): Remove unused variable.
5278 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5280 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5281 minus_oflow, plus_uflow and minus_uflow in expected results.
5282 * math/libm-test.inc (scalbn_test_data): Add more tests of
5283 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5285 (scalbn_test): Use ALL_RM_TEST.
5286 (scalbln_test_data): Add more tests of negative arguments. Use
5287 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5288 (scalbln_test): Use ALL_RM_TEST.
5290 2014-03-18 Roland McGrath <roland@hack.frob.com>
5292 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5294 2014-03-18 Will Newton <will.newton@linaro.org>
5296 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5299 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5301 * Makerules [!subdir] (check-abi): Exit with error status if a
5304 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5306 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5307 for rint. Include results for all rounding modes.
5308 (nearbyint_test): Use ALL_RM_TEST.
5309 (rint_test_data): Include all tests used for nearbyint.
5311 2014-03-17 Will Newton <will.newton@linaro.org>
5313 * nptl/sysdeps/pthread/pthread.h: Revert previous
5316 * sysdeps/generic/ldsodefs.h: Revert previous
5319 * libio/genops.c: Revert previous change.
5320 * libio/libioP.h: Likewise.
5321 * stdio-common/vfprintf.c: Likewise.
5323 * sysdeps/generic/math_private.h: Revert previous
5326 * sysdeps/generic/math_private.h: Check whether
5327 HAVE_RM_CTX is defined with #ifdef rather
5330 * argp/argp-fmtstream.h: Check whether
5331 __STRICT_ANSI__ is defined with #ifdef rather
5333 * argp/argp.h: Likewise.
5335 * libio/genops.c: Check whether
5336 _IO_JUMPS_OFFSET is defined with #ifdef rather
5338 * libio/libioP.h: Likewise.
5339 * stdio-common/vfprintf.c: Likewise.
5341 * sysdeps/generic/ldsodefs.h: Check whether
5342 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5345 * nptl/sysdeps/pthread/pthread.h: Check
5346 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5349 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5351 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5353 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5357 * libio/fileops.c (_IO_file_open): Seek to end of file but
5358 don't cache the offset.
5359 (get_file_offset): Remove function.
5360 (do_ftell): Use cached offset when available.
5361 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5362 don't cache the offset.
5363 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5365 (do_one_test): Call it.
5366 (do_ftell_test): Fix up expected old offset for a+ mode.
5367 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5370 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5371 up test status with function return status.
5372 (do_write_test): Likewise.
5373 (do_append_test): Likewise.
5375 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5376 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5379 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5381 * math/gen-libm-test.pl (parse_args): Handle results specified for
5382 each rounding mode separately.
5383 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5384 tests and results from lrint_tonearest_test_data,
5385 lrint_towardzero_test_data, lrint_downward_test_data and
5386 lrint_upward_test_data.
5387 (lrint_test): Use ALL_RM_TEST.
5388 (lrint_tonearest_test_data): Remove.
5389 (lrint_test_tonearest): Likewise.
5390 (lrint_towardzero_test_data): Likewise.
5391 (lrint_test_towardzero): Likewise.
5392 (lrint_downward_test_data): Likewise.
5393 (lrint_test_downward): Likewise.
5394 (lrint_upward_test_data): Likewise.
5395 (lrint_test_upward): Likewise.
5396 (llrint_test_data): Merge in per-rounding-mode tests and results
5397 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5398 llrint_downward_test_data and llrint_upward_test_data.
5399 (llrint_test): Use ALL_RM_TEST.
5400 (llrint_tonearest_test_data): Remove.
5401 (llrint_test_tonearest): Likewise.
5402 (llrint_towardzero_test_data): Likewise.
5403 (llrint_test_towardzero): Likewise.
5404 (llrint_downward_test_data): Likewise.
5405 (llrint_test_downward): Likewise.
5406 (llrint_upward_test_data): Likewise.
5407 (llrint_test_upward): Likewise.
5408 (rint_test_data): Merge in per-rounding-mode tests and results
5409 from rint_tonearest_test_data, rint_towardzero_test_data,
5410 rint_downward_test_data and rint_upward_test_data. Add
5411 per-rounding-mode results for tests not in those arrays.
5412 (rint_test): Use ALL_RM_TEST.
5413 (rint_tonearest_test_data): Remove.
5414 (rint_test_tonearest): Likewise.
5415 (rint_towardzero_test_data): Likewise.
5416 (rint_test_towardzero): Likewise.
5417 (rint_downward_test_data): Likewise.
5418 (rint_test_downward): Likewise.
5419 (rint_upward_test_data): Likewise.
5420 (rint_test_upward): Likewise.
5421 (main): Don't call removed functions.
5423 2014-03-14 Roland McGrath <roland@hack.frob.com>
5425 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5426 "Compiled on ..." crapola. It is anti-useful.
5428 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5430 * scripts/evaluate-test.sh: Handle fourth argument to determine
5431 whether test run should stop on failure.
5432 * Makeconfig (stop-on-test-failure): New variable.
5433 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5434 $(stop-on-test-failure).
5435 * Makefile (tests): Give a summary of results from testing and
5436 exit with failure status if they include an ERROR or FAIL.
5438 * manual/install.texi (Configuring and compiling): Mention
5439 stop-on-test-failure=y.
5440 * INSTALL: Regenerated.
5442 2014-03-14 Roland McGrath <roland@hack.frob.com>
5444 * scripts/versionlist.awk: New file.
5445 * Makerules [$(build-shared) = yes]
5446 (postclean-generated): Add Versions.def, not Versions.def.v and
5448 ($(common-objpfx)Versions.def.v.i): Target removed.
5449 ($(common-objpfx)Versions.def): New target.
5450 ($(common-objpfx)Versions.all): Depend on that rather that
5451 $(common-objpfx)Versions.def.v.
5452 * Versions.def: File removed.
5454 * Makeconfig (+gccwarn): Add -Wundef.
5455 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5456 a dl-sysdep.h breaking its contract.
5457 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5458 * include/stackinfo.h: New file.
5459 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5460 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5461 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5462 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5463 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5464 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5465 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5466 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5467 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5468 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5469 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5470 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5471 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5472 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5473 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5475 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5478 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5480 * math/libm-test.inc (round_test_data): Add more tests.
5483 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5485 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5488 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5490 * math/libm-test.inc (ceil_test_data): Add more tests.
5492 * math/libm-test.inc (trunc_test_data): Add more tests related to
5495 2014-03-14 Roland McGrath <roland@hack.frob.com>
5497 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5498 with #if rather than #ifdef.
5499 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5501 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5503 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5504 first. Disable AVX-512 GCC support if assembler doesn't support
5506 * sysdeps/x86_64/configure: Regenerated.
5508 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5510 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5511 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5512 (__old_pthread_attr_setstack): Likewise.
5513 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5514 [!_STACK_GROWS_DOWN]: Likewise.
5516 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5518 * config.make.in (have-bash2): Delete.
5519 * configure.ac (libc_cv_have_bash2): Delete.
5520 * configure: Regenerate.
5521 * elf/Makefile (common-ldd-rewrite): Rename to ...
5522 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5523 (sh-ldd-rewrite): Delete.
5524 (bash-ldd-rewrite): Delete.
5525 (have-bash2): Delete checks.
5526 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5529 * config.make.in (have-ksh): Delete.
5531 * configure.ac (libc_cv_have_ksh): Delete.
5532 * configure: Regenerate.
5534 * elf/Makefile: Delete $(have-ksh) check.
5535 ($(objpfx)sotruss): Change KSH to BASH.
5536 * elf/sotruss.ksh: Rename to ...
5537 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5538 function style to match POSIX. Drop ksh vim mode setting.
5540 * manual/time.texi (Specifying the Time Zone with TZ): Change
5541 Tuesday to Thursday.
5543 * debug/tst-longjmp_chk2.c: Update header comment.
5544 (stackoverflow_handler): Add comment. Call assert on pass value.
5546 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5548 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5549 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5550 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5551 (La_x86_64_vector): Add zmm.
5552 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5553 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5554 ($(objpfx)tst-audit10): New target.
5555 ($(objpfx)tst-audit10.out): Likewise.
5556 (tst-audit10-ENV): New.
5557 (AVX512-CFLAGS): Likewise.
5558 (CFLAGS-tst-audit10.c): Likewise.
5559 (CFLAGS-tst-auditmod10a.c): Likewise.
5560 (CFLAGS-tst-auditmod10b.c): Likewise.
5561 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5562 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5563 * sysdeps/x86_64/configure: Regenerated.
5564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5565 AVX-512 zmm register support.
5566 (_dl_x86_64_save_sse): Likewise.
5567 (_dl_x86_64_restore_sse): Likewise.
5568 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5569 size vector registers.
5570 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5571 (ZMM_SIZE): Likewise.
5572 * sysdeps/x86_64/tst-audit10.c: New file.
5573 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5574 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5576 2014-03-13 Roland McGrath <roland@hack.frob.com>
5578 * configure.ac (HAVE_EHDR_START): New check.
5579 * configure: Regenerated.
5580 * config.h.in (HAVE_EHDR_START): New #undef.
5581 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5582 assuming the lowest-addressed segment maps the start of the file.
5584 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5586 * INSTALL: Regenerated.
5588 2014-03-13 Will Newton <will.newton@linaro.org>
5590 * manual/setjmp.texi (System V contexts): Improve
5591 clarity and grammar of documentation.
5593 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5596 * elf/Makefile (tests): Add tst-pie2.
5597 (tests-pie): Add tst-pie2.
5598 * elf/tst-pie2.c: New file.
5599 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5601 * elf/rtld.c (map_doit): Load executable as lt_executable.
5602 (dl_main): Likewise.
5604 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5607 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5608 (__ASSUME_PSELECT): Undefine.
5610 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5613 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5614 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5616 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5617 selector for static builds.
5619 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5622 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5625 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5627 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5628 IFUNC selector for static builds.
5630 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5632 * sysdeps/mips/math_private.h [__mips_hard_float]
5633 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5634 libc_feresetround_mips_ctx.
5635 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5636 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5637 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5640 * math/s_nextafter.c (__nextafter): Do not return value from
5641 overflowing computation.
5642 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5643 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5644 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5646 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5648 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5649 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5651 2014-03-11 Roland McGrath <roland@hack.frob.com>
5653 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5654 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5655 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5656 the new mov targetting sp.
5658 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5661 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5662 Define it for static builds as well.
5663 (NO_BZERO_IMPL): Likewise.
5665 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5667 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5668 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5669 multiarch strspn for PPC64.
5670 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5671 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5673 (__libc_ifunc_impl_list): Likewise.
5674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5675 multiarch optimizations
5676 * string/strspn.c (strspn): Using macro to redefine symbol name.
5678 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5679 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5681 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5682 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5683 multiarch strncat for PPC64.
5684 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5685 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5687 (__libc_ifunc_impl_list): Likewise.
5688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5689 multiarch optimizations
5691 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5694 * nscd/nscd.service: Make service type forking.
5696 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5698 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5699 sign in non default rounding modes.
5700 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5702 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5704 * math/libm-test.inc (ALL_RM_TEST): New macro.
5705 (ceil_test): Use ALL_RM_TEST.
5706 (cimag_test): Likewise.
5707 (conj_test): Likewise.
5708 (copysign_test): Likewise.
5709 (cproj_test): Likewise.
5710 (creal_test): Likewise.
5711 (fabs_test): Likewise.
5712 (floor_test): Likewise.
5713 (fmax_test): Likewise.
5714 (fmin_test): Likewise.
5715 (fmod_test): Likewise.
5716 (fpclassify_test): Likewise.
5717 (frexp_test): Likewise.
5718 (ilogb_test): Likewise.
5719 (isfinite_test): Likewise.
5720 (finite_test): Likewise.
5721 (isgreater_test): Likewise.
5722 (isgreaterequal_test): Likewise.
5723 (isinf_test): Likewise.
5724 (isless_test): Likewise.
5725 (islessequal_test): Likewise.
5726 (islessgreater_test): Likewise.
5727 (isnan_test): Likewise.
5728 (isnormal_test): Likewise.
5729 (issignaling_test): Likewise.
5730 (isunordered_test): Likewise.
5731 (logb_test): Likewise.
5732 (logb_downward_test_data): Remove.
5733 (logb_test_downward): Likewise.
5734 (lround_test): Use ALL_RM_TEST.
5735 (llround_test): Likewise.
5736 (modf_test): Likewise.
5737 (nexttoward_test): Likewise.
5738 (remainder_test): Likewise.
5739 (drem_test): Likewise.
5740 (remainder_tonearest_test_data): Likewise.
5741 (remainder_test_tonearest): Likewise.
5742 (drem_test_tonearest): Likewise.
5743 (remainder_towardzero_test_data): Likewise.
5744 (remainder_test_towardzero): Likewise.
5745 (drem_test_towardzero): Likewise.
5746 (remainder_downward_test_data): Likewise.
5747 (remainder_test_downward): Likewise.
5748 (drem_test_downward): Likewise.
5749 (remainder_upward_test_data): Likewise.
5750 (remainder_test_upward): Likewise.
5751 (drem_test_upward): Likewise.
5752 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5753 (round_test): Use ALL_RM_TEST.
5754 (signbit_test): Likewise.
5755 (trunc_test): Likewise.
5756 (significand_test): Likewise.
5757 (main): Don't call removed functions.
5759 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5762 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5764 (ILL_ILLOPN): Likewise.
5765 (ILL_ILLADR): Likewise.
5766 (ILL_ILLTRP): Likewise.
5767 (ILL_PRVOPC): Likewise.
5768 (ILL_PRVREG): Likewise.
5769 (ILL_COPROC): Likewise.
5770 (ILL_BADSTK): Likewise.
5771 (FPE_INTDIV): Likewise.
5772 (FPE_INTOVF): Likewise.
5773 (FPE_FLTDIV): Likewise.
5774 (FPE_FLTOVF): Likewise.
5775 (FPE_FLTUND): Likewise.
5776 (FPE_FLTRES): Likewise.
5777 (FPE_FLTINV): Likewise.
5778 (FPE_FLTSUB): Likewise.
5779 (SEGV_MAPERR): Likewise.
5780 (SEGV_ACCERR): Likewise.
5781 (BUS_ADRALN): Likewise.
5782 (BUS_ADRERR): Likewise.
5783 (BUS_OBJERR): Likewise.
5784 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5785 (TRAP_TRACE): Likewise.
5786 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5788 (CLD_KILLED): Likewise.
5789 (CLD_DUMPED): Likewise.
5790 (CLD_TRAPPED): Likewise.
5791 (CLD_STOPPED): Likewise.
5792 (CLD_CONTINUED): Likewise.
5793 (POLL_IN): Likewise.
5794 (POLL_OUT): Likewise.
5795 (POLL_MSG): Likewise.
5796 (POLL_ERR): Likewise.
5797 (POLL_PRI): Likewise.
5798 (POLL_HUP): Likewise.
5799 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5801 (ILL_ILLOPN): Likewise.
5802 (ILL_ILLADR): Likewise.
5803 (ILL_ILLTRP): Likewise.
5804 (ILL_PRVOPC): Likewise.
5805 (ILL_PRVREG): Likewise.
5806 (ILL_COPROC): Likewise.
5807 (ILL_BADSTK): Likewise.
5808 (FPE_INTDIV): Likewise.
5809 (FPE_INTOVF): Likewise.
5810 (FPE_FLTDIV): Likewise.
5811 (FPE_FLTOVF): Likewise.
5812 (FPE_FLTUND): Likewise.
5813 (FPE_FLTRES): Likewise.
5814 (FPE_FLTINV): Likewise.
5815 (FPE_FLTSUB): Likewise.
5816 (SEGV_MAPERR): Likewise.
5817 (SEGV_ACCERR): Likewise.
5818 (BUS_ADRALN): Likewise.
5819 (BUS_ADRERR): Likewise.
5820 (BUS_OBJERR): Likewise.
5821 (BUS_MCEERR_AR): Likewise.
5822 (BUS_MCEERR_AO): Likewise.
5823 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5824 (TRAP_TRACE): Likewise.
5825 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5827 (CLD_KILLED): Likewise.
5828 (CLD_DUMPED): Likewise.
5829 (CLD_TRAPPED): Likewise.
5830 (CLD_STOPPED): Likewise.
5831 (CLD_CONTINUED): Likewise.
5832 (POLL_IN): Likewise.
5833 (POLL_OUT): Likewise.
5834 (POLL_MSG): Likewise.
5835 (POLL_ERR): Likewise.
5836 (POLL_PRI): Likewise.
5837 (POLL_HUP): Likewise.
5838 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5839 (ILL_ILLOPN): Likewise.
5840 (ILL_ILLADR): Likewise.
5841 (ILL_ILLTRP): Likewise.
5842 (ILL_PRVOPC): Likewise.
5843 (ILL_PRVREG): Likewise.
5844 (ILL_COPROC): Likewise.
5845 (ILL_BADSTK): Likewise.
5846 (FPE_INTDIV): Likewise.
5847 (FPE_INTOVF): Likewise.
5848 (FPE_FLTDIV): Likewise.
5849 (FPE_FLTOVF): Likewise.
5850 (FPE_FLTUND): Likewise.
5851 (FPE_FLTRES): Likewise.
5852 (FPE_FLTINV): Likewise.
5853 (FPE_FLTSUB): Likewise.
5854 (SEGV_MAPERR): Likewise.
5855 (SEGV_ACCERR): Likewise.
5856 (BUS_ADRALN): Likewise.
5857 (BUS_ADRERR): Likewise.
5858 (BUS_OBJERR): Likewise.
5859 (BUS_MCEERR_AR): Likewise.
5860 (BUS_MCEERR_AO): Likewise.
5861 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5862 (TRAP_TRACE): Likewise.
5863 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5865 (CLD_KILLED): Likewise.
5866 (CLD_DUMPED): Likewise.
5867 (CLD_TRAPPED): Likewise.
5868 (CLD_STOPPED): Likewise.
5869 (CLD_CONTINUED): Likewise.
5870 (POLL_IN): Likewise.
5871 (POLL_OUT): Likewise.
5872 (POLL_MSG): Likewise.
5873 (POLL_ERR): Likewise.
5874 (POLL_PRI): Likewise.
5875 (POLL_HUP): Likewise.
5876 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5878 (ILL_ILLOPN): Likewise.
5879 (ILL_ILLADR): Likewise.
5880 (ILL_ILLTRP): Likewise.
5881 (ILL_PRVOPC): Likewise.
5882 (ILL_PRVREG): Likewise.
5883 (ILL_COPROC): Likewise.
5884 (ILL_BADSTK): Likewise.
5885 (ILL_BADIADDR): Likewise.
5886 (ILL_BREAK): Likewise.
5887 (FPE_INTDIV): Likewise.
5888 (FPE_INTOVF): Likewise.
5889 (FPE_FLTDIV): Likewise.
5890 (FPE_FLTOVF): Likewise.
5891 (FPE_FLTUND): Likewise.
5892 (FPE_FLTRES): Likewise.
5893 (FPE_FLTINV): Likewise.
5894 (FPE_FLTSUB): Likewise.
5895 (FPE_DECOVF): Likewise.
5896 (FPE_DECDIV): Likewise.
5897 (FPE_DECERR): Likewise.
5898 (FPE_INVASC): Likewise.
5899 (FPE_INVDEC): Likewise.
5900 (SEGV_MAPERR): Likewise.
5901 (SEGV_ACCERR): Likewise.
5902 (SEGV_PSTKOVF): Likewise.
5903 (BUS_ADRALN): Likewise.
5904 (BUS_ADRERR): Likewise.
5905 (BUS_OBJERR): Likewise.
5906 (BUS_MCEERR_AR): Likewise.
5907 (BUS_MCEERR_AO): Likewise.
5908 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5909 (TRAP_TRACE): Likewise.
5910 (TRAP_BRANCH): Likewise.
5911 (TRAP_HWBKPT): Likewise.
5912 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5914 (CLD_KILLED): Likewise.
5915 (CLD_DUMPED): Likewise.
5916 (CLD_TRAPPED): Likewise.
5917 (CLD_STOPPED): Likewise.
5918 (CLD_CONTINUED): Likewise.
5919 (POLL_IN): Likewise.
5920 (POLL_OUT): Likewise.
5921 (POLL_MSG): Likewise.
5922 (POLL_ERR): Likewise.
5923 (POLL_PRI): Likewise.
5924 (POLL_HUP): Likewise.
5925 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5926 (ILL_ILLOPN): Likewise.
5927 (ILL_ILLADR): Likewise.
5928 (ILL_ILLTRP): Likewise.
5929 (ILL_PRVOPC): Likewise.
5930 (ILL_PRVREG): Likewise.
5931 (ILL_COPROC): Likewise.
5932 (ILL_BADSTK): Likewise.
5933 (FPE_INTDIV): Likewise.
5934 (FPE_INTOVF): Likewise.
5935 (FPE_FLTDIV): Likewise.
5936 (FPE_FLTOVF): Likewise.
5937 (FPE_FLTUND): Likewise.
5938 (FPE_FLTRES): Likewise.
5939 (FPE_FLTINV): Likewise.
5940 (FPE_FLTSUB): Likewise.
5941 (SEGV_MAPERR): Likewise.
5942 (SEGV_ACCERR): Likewise.
5943 (BUS_ADRALN): Likewise.
5944 (BUS_ADRERR): Likewise.
5945 (BUS_OBJERR): Likewise.
5946 (BUS_MCEERR_AR): Likewise.
5947 (BUS_MCEERR_AO): Likewise.
5948 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5949 (TRAP_TRACE): Likewise.
5950 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5952 (CLD_KILLED): Likewise.
5953 (CLD_DUMPED): Likewise.
5954 (CLD_TRAPPED): Likewise.
5955 (CLD_STOPPED): Likewise.
5956 (CLD_CONTINUED): Likewise.
5957 (POLL_IN): Likewise.
5958 (POLL_OUT): Likewise.
5959 (POLL_MSG): Likewise.
5960 (POLL_ERR): Likewise.
5961 (POLL_PRI): Likewise.
5962 (POLL_HUP): Likewise.
5963 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5964 (ILL_ILLOPN): Likewise.
5965 (ILL_ILLADR): Likewise.
5966 (ILL_ILLTRP): Likewise.
5967 (ILL_PRVOPC): Likewise.
5968 (ILL_PRVREG): Likewise.
5969 (ILL_COPROC): Likewise.
5970 (ILL_BADSTK): Likewise.
5971 (FPE_INTDIV): Likewise.
5972 (FPE_INTOVF): Likewise.
5973 (FPE_FLTDIV): Likewise.
5974 (FPE_FLTOVF): Likewise.
5975 (FPE_FLTUND): Likewise.
5976 (FPE_FLTRES): Likewise.
5977 (FPE_FLTINV): Likewise.
5978 (FPE_FLTSUB): Likewise.
5979 (SEGV_MAPERR): Likewise.
5980 (SEGV_ACCERR): Likewise.
5981 (BUS_ADRALN): Likewise.
5982 (BUS_ADRERR): Likewise.
5983 (BUS_OBJERR): Likewise.
5984 (BUS_MCEERR_AR): Likewise.
5985 (BUS_MCEERR_AO): Likewise.
5986 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5987 (TRAP_TRACE): Likewise.
5988 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5990 (CLD_KILLED): Likewise.
5991 (CLD_DUMPED): Likewise.
5992 (CLD_TRAPPED): Likewise.
5993 (CLD_STOPPED): Likewise.
5994 (CLD_CONTINUED): Likewise.
5995 (POLL_IN): Likewise.
5996 (POLL_OUT): Likewise.
5997 (POLL_MSG): Likewise.
5998 (POLL_ERR): Likewise.
5999 (POLL_PRI): Likewise.
6000 (POLL_HUP): Likewise.
6001 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6002 (ILL_ILLOPN): Likewise.
6003 (ILL_ILLADR): Likewise.
6004 (ILL_ILLTRP): Likewise.
6005 (ILL_PRVOPC): Likewise.
6006 (ILL_PRVREG): Likewise.
6007 (ILL_COPROC): Likewise.
6008 (ILL_BADSTK): Likewise.
6009 (FPE_INTDIV): Likewise.
6010 (FPE_INTOVF): Likewise.
6011 (FPE_FLTDIV): Likewise.
6012 (FPE_FLTOVF): Likewise.
6013 (FPE_FLTUND): Likewise.
6014 (FPE_FLTRES): Likewise.
6015 (FPE_FLTINV): Likewise.
6016 (FPE_FLTSUB): Likewise.
6017 (SEGV_MAPERR): Likewise.
6018 (SEGV_ACCERR): Likewise.
6019 (BUS_ADRALN): Likewise.
6020 (BUS_ADRERR): Likewise.
6021 (BUS_OBJERR): Likewise.
6022 (BUS_MCEERR_AR): Likewise.
6023 (BUS_MCEERR_AO): Likewise.
6024 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6025 (TRAP_TRACE): Likewise.
6026 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6028 (CLD_KILLED): Likewise.
6029 (CLD_DUMPED): Likewise.
6030 (CLD_TRAPPED): Likewise.
6031 (CLD_STOPPED): Likewise.
6032 (CLD_CONTINUED): Likewise.
6033 (POLL_IN): Likewise.
6034 (POLL_OUT): Likewise.
6035 (POLL_MSG): Likewise.
6036 (POLL_ERR): Likewise.
6037 (POLL_PRI): Likewise.
6038 (POLL_HUP): Likewise.
6039 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6040 (ILL_ILLOPN): Likewise.
6041 (ILL_ILLADR): Likewise.
6042 (ILL_ILLTRP): Likewise.
6043 (ILL_PRVOPC): Likewise.
6044 (ILL_PRVREG): Likewise.
6045 (ILL_COPROC): Likewise.
6046 (ILL_BADSTK): Likewise.
6047 (ILL_DBLFLT): Likewise.
6048 (ILL_HARDWALL): Likewise.
6049 (FPE_INTDIV): Likewise.
6050 (FPE_INTOVF): Likewise.
6051 (FPE_FLTDIV): Likewise.
6052 (FPE_FLTOVF): Likewise.
6053 (FPE_FLTUND): Likewise.
6054 (FPE_FLTRES): Likewise.
6055 (FPE_FLTINV): Likewise.
6056 (FPE_FLTSUB): Likewise.
6057 (SEGV_MAPERR): Likewise.
6058 (SEGV_ACCERR): Likewise.
6059 (BUS_ADRALN): Likewise.
6060 (BUS_ADRERR): Likewise.
6061 (BUS_OBJERR): Likewise.
6062 (BUS_MCEERR_AR): Likewise.
6063 (BUS_MCEERR_AO): Likewise.
6064 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6065 (TRAP_TRACE): Likewise.
6066 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6068 (CLD_KILLED): Likewise.
6069 (CLD_DUMPED): Likewise.
6070 (CLD_TRAPPED): Likewise.
6071 (CLD_STOPPED): Likewise.
6072 (CLD_CONTINUED): Likewise.
6073 (POLL_IN): Likewise.
6074 (POLL_OUT): Likewise.
6075 (POLL_MSG): Likewise.
6076 (POLL_ERR): Likewise.
6077 (POLL_PRI): Likewise.
6078 (POLL_HUP): Likewise.
6079 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6080 (ILL_ILLOPN): Likewise.
6081 (ILL_ILLADR): Likewise.
6082 (ILL_ILLTRP): Likewise.
6083 (ILL_PRVOPC): Likewise.
6084 (ILL_PRVREG): Likewise.
6085 (ILL_COPROC): Likewise.
6086 (ILL_BADSTK): Likewise.
6087 (FPE_INTDIV): Likewise.
6088 (FPE_INTOVF): Likewise.
6089 (FPE_FLTDIV): Likewise.
6090 (FPE_FLTOVF): Likewise.
6091 (FPE_FLTUND): Likewise.
6092 (FPE_FLTRES): Likewise.
6093 (FPE_FLTINV): Likewise.
6094 (FPE_FLTSUB): Likewise.
6095 (SEGV_MAPERR): Likewise.
6096 (SEGV_ACCERR): Likewise.
6097 (BUS_ADRALN): Likewise.
6098 (BUS_ADRERR): Likewise.
6099 (BUS_OBJERR): Likewise.
6100 (BUS_MCEERR_AR): Likewise.
6101 (BUS_MCEERR_AO): Likewise.
6102 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6103 (TRAP_TRACE): Likewise.
6104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6106 (CLD_KILLED): Likewise.
6107 (CLD_DUMPED): Likewise.
6108 (CLD_TRAPPED): Likewise.
6109 (CLD_STOPPED): Likewise.
6110 (CLD_CONTINUED): Likewise.
6111 (POLL_IN): Likewise.
6112 (POLL_OUT): Likewise.
6113 (POLL_MSG): Likewise.
6114 (POLL_ERR): Likewise.
6115 (POLL_PRI): Likewise.
6116 (POLL_HUP): Likewise.
6117 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6118 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6121 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6122 before #include of <time.h>.
6123 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6124 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6125 (test-xfail-UNIX98/sched.h/conform): Likewise.
6127 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6129 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6130 error absence of trapping exception support.
6131 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6133 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6135 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6136 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6137 * timezone/Makefile (testdata): Move definition above include of
6139 (test-zones): New variable.
6140 (tests-special): Add zone files.
6141 (build-testdata): Use $(evaluate-test).
6143 * elf/Makefile (tests-special): Rename tests to end with .out.
6144 ($(objpfx)noload-mem): Likewise.
6145 ($(objpfx)tst-leaks1-mem): Likewise.
6146 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6147 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6148 $(objpfx)test-iconvconfig.out.
6149 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6150 set -e inside subshell and redirect output to file.
6151 * iconvdata/Makefile (generated): Rename tests to end with .out.
6153 (tests-special): Rename tests to end with .out.
6154 ($(objpfx)mtrace-tst-loading): Likewise.
6155 * intl/Makefile (generated): Likewise.
6156 (tests-special): Likewise.
6157 ($(objpfx)mtrace-tst-gettext): Likewise.
6158 * misc/Makefile (generated): Likewise.
6159 (tests-special): Likewise.
6160 ($(objpfx)tst-error1-mem): Likewise.
6161 * nptl/Makefile (tests-special): Likewise.
6162 ($(objpfx)tst-stack3-mem): Likewise.
6163 (generated): Likewise.
6164 * posix/Makefile (generated): Likewise.
6165 (tests-special): Likewise.
6166 (xtests-special): Likewise.
6167 ($(objpfx)tst-fnmatch-mem): Likewise.
6168 ($(objpfx)bug-regex2-mem): Likewise.
6169 ($(objpfx)bug-regex14-mem): Likewise.
6170 ($(objpfx)bug-regex21-mem): Likewise.
6171 ($(objpfx)bug-regex31-mem): Likewise.
6172 ($(objpfx)tst-vfork3-mem): Likewise.
6173 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6174 ($(objpfx)tst-pcre-mem): Likewise.
6175 ($(objpfx)tst-boost-mem): Likewise.
6176 ($(objpfx)bug-ga2-mem): Likewise.
6177 ($(objpfx)bug-glob2-mem): Likewise.
6178 * resolv/Makefile (generate): Likewise.
6179 (tests-special): Likewise.
6180 (xtests-special): Likewise.
6181 (generated): Likewise.
6182 ($(objpfx)mtrace-tst-leaks): Likewise.
6183 ($(objpfx)mtrace-tst-leaks2): Likewise.
6185 * scripts/merge-test-results.sh: New file.
6186 * Makefile (tests-special-notdir): New variable.
6187 (tests): Run merge-test-results.sh.
6189 * Rules (tests-special-notdir): New variable.
6190 (xtests-special-notdir): Likewise.
6191 (tests): Run merge-test-results.sh
6194 * Makeconfig (test-xfail-name): New variable.
6195 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6196 compute variable name for expected failures.
6197 * conform/Makefile (conformtest-headers-data): New variable.
6198 (conformtest-standards): Likewise.
6199 (conformtest-headers-ISO): Likewise.
6200 (conformtest-headers-ISO99): Likewise.
6201 (conformtest-headers-ISO11): Likewise.
6202 (conformtest-headers-POSIX): Likewise.
6203 (conformtest-headers-XPG3): Likewise.
6204 (conformtest-headers-XPG4): Likewise.
6205 (conformtest-headers-UNIX98): Likewise.
6206 (conformtest-headers-XOPEN2K): Likewise.
6207 (conformtest-headers-POSIX2008): Likewise.
6208 (conformtest-headers-XOPEN2K8): Likewise.
6209 (conformtest-header-list-base): Likewise.
6210 (conformtest-header-list-tests): Likewise.
6211 (conformtest-header-base): Likewise.
6212 (conformtest-header-tests): Likewise.
6213 (tests-special): Add $(conformtest-header-list-tests). If
6214 [$(fast-check) && !$(cross-compiling)], add
6215 $(conformtest-header-tests) instead of
6216 $(objpfx)run-conformtest.out.
6217 (generated): Add $(conformtest-header-list-base). If
6218 [$(fast-check) && !$(cross-compiling)], add
6219 $(conformtest-header-base). Remove previous setting.
6220 ($(conformtest-header-list-tests)): New target.
6221 (test-xfail-run-conformtest): Remove variable.
6222 ($(objpfx)run-conformtest.out): Remove target.
6223 (test-xfail-ISO11/complex.h/conform): New variable.
6224 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6225 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6226 (test-xfail-XPG3/varargs.h/conform): Likewise.
6227 (test-xfail-XPG4/varargs.h/conform): Likewise.
6228 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6229 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6230 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6231 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6232 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6233 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6234 (test-xfail-XPG3/ftw.h/conform): Likewise.
6235 (test-xfail-XPG3/grp.h/conform): Likewise.
6236 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6237 (test-xfail-XPG3/limits.h/conform): Likewise.
6238 (test-xfail-XPG3/pwd.h/conform): Likewise.
6239 (test-xfail-XPG3/search.h/conform): Likewise.
6240 (test-xfail-XPG3/signal.h/conform): Likewise.
6241 (test-xfail-XPG3/stdio.h/conform): Likewise.
6242 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6243 (test-xfail-XPG3/string.h/conform): Likewise.
6244 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6245 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6246 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6247 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6248 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6249 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6250 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6251 (test-xfail-XPG3/termios.h/conform): Likewise.
6252 (test-xfail-XPG3/time.h/conform): Likewise.
6253 (test-xfail-XPG3/unistd.h/conform): Likewise.
6254 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6255 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6256 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6257 (test-xfail-XPG4/netdb.h/conform): Likewise.
6258 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6259 (test-xfail-XPG4/signal.h/conform): Likewise.
6260 (test-xfail-XPG4/stdio.h/conform): Likewise.
6261 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6262 (test-xfail-XPG4/stropts.h/conform): Likewise.
6263 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6264 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6265 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6266 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6267 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6268 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6269 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6270 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6271 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6272 (test-xfail-XPG4/termios.h/conform): Likewise.
6273 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6274 (test-xfail-XPG4/unistd.h/conform): Likewise.
6275 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6276 (test-xfail-POSIX/sched.h/conform): Likewise.
6277 (test-xfail-POSIX/signal.h/conform): Likewise.
6278 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6279 (test-xfail-POSIX/tar.h/conform): Likewise.
6280 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6281 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6282 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6283 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6284 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6285 (test-xfail-UNIX98/sched.h/conform): Likewise.
6286 (test-xfail-UNIX98/signal.h/conform): Likewise.
6287 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6288 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6289 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6290 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6291 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6292 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6293 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6294 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6295 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6296 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6297 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6298 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6299 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6300 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6301 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6302 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6303 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6304 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6305 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6306 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6307 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6308 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6309 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6310 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6311 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6312 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6313 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6314 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6315 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6316 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6317 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6318 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6319 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6320 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6321 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6322 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6323 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6324 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6325 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6326 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6327 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6328 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6329 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6330 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6331 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6332 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6333 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6334 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6335 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6336 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6337 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6338 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6339 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6340 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6341 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6342 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6343 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6344 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6345 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6346 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6347 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6348 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6349 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6350 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6351 (conformtest-cc-flags): Likewise.
6352 ($(conformtest-header-tests): New target.
6353 * conform/check-header-lists.sh: New file.
6354 * conform/run-conformtest.sh: Remove.
6356 * conform/conformtest.pl: Allow ' and \ in values given for
6358 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6360 [POSIX] (sys/types.h): Likewise.
6361 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6363 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6365 * conform/data/signal.h-data (SIGIO): Remove expectation.
6366 [XPG3] (SIGBUS): Do not expect.
6367 [POSIX || XPG3] (SIGPOLL): Likewise.
6368 [POSIX || XPG3] (SIGPROF): Likewise.
6369 [POSIX || XPG3] (SIGSYS): Likewise.
6370 [XPG3] (SIGTRAP): Likewise.
6371 [POSIX || XPG3] (SIGURG): Likewise.
6372 [POSIX || XPG3] (SIGVTALRM): Likewise.
6373 [POSIX || XPG3] (SIGXCPU): Likewise.
6374 [POSIX || XPG3] (SIGXFSZ): Likewise.
6375 [POSIX] (SA_SIGINFO): Expect.
6376 [XPG3] (siginfo_t): Do not expect type or contents.
6377 [POSIX] (si_pid): Do not expect element.
6378 [POSIX] (si_uid): Likewise.
6379 [POSIX] (si_addr): Likewise.
6380 [POSIX] (si_status): Likewise.
6381 [POSIX] (si_band): Likewise.
6382 [XPG4] (si_value): Likewise.
6383 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6384 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6385 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6386 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6387 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6388 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6389 [POSIX || XPG3] (ILL_COPROC): Likewise.
6390 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6391 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6392 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6393 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6394 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6395 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6396 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6397 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6398 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6399 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6400 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6401 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6402 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6403 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6404 [POSIX || XPG3] (CLD_EXITED): Likewise.
6405 [POSIX || XPG3] (CLD_KILLED): Likewise.
6406 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6407 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6408 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6409 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6410 [POSIX || XPG3] (POLL_IN): Likewise.
6411 [POSIX || XPG3] (POLL_OUT): Likewise.
6412 [POSIX || XPG3] (POLL_MSG): Likewise.
6413 [POSIX || XPG3] (POLL_ERR): Likewise.
6414 [POSIX || XPG3] (POLL_PRI): Likewise.
6415 [POSIX || XPG3] (POLL_HUP): Likewise.
6416 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6417 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6418 (SIG*): Do not allow.
6419 [XPG3] (si_*): Likewise.
6420 [XPG3] (SI_*): Likewise.
6421 [XPG3 || XPG4] (sigev_*): Likewise.
6422 [XPG3 || XPG4] (SIGEV_*): Likewise.
6423 [XPG3 || XPG4] (sival_*): Likewise.
6424 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6425 [POSIX || XPG3] (BUS_*): Likewise.
6426 [POSIX || XPG3] (CLD_*): Likewise.
6427 [POSIX || XPG3] (FPE_*): Likewise.
6428 [POSIX || XPG3] (ILL_*): Likewise.
6429 [POSIX || XPG3] (POLL_*): Likewise.
6430 [POSIX || XPG3] (SEGV_*): Likewise.
6431 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6432 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6433 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6434 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6435 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6436 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6437 Specify type and value.
6438 (TVERSLEN): Likewise.
6439 (REGTYPE): Likewise.
6440 (AREGTYPE): Likewise.
6441 (LNKTYPE): Likewise.
6442 (SYMTYPE): Likewise.
6443 (CHRTYPE): Likewise.
6444 (BLKTYPE): Likewise.
6445 (DIRTYPE): Likewise.
6446 (FIFOTYPE): Likewise.
6447 (CONTTYPE): Likewise.
6452 (TUWRITE): Likewise.
6455 (TGWRITE): Likewise.
6458 (TOWRITE): Likewise.
6460 [POSIX] (TSVTX): Expect constant.
6462 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6464 * Makefile (tests): Change dependencies to ....
6465 (tests-special): ... additions to this variable.
6466 (tests): Depend on $(tests-special).
6467 * Makerules (check-abi-list): New variable.
6468 (check-abi): Depend on $(check-abi-list).
6469 [$(subdir) = elf] (tests-special): Add
6470 $(objpfx)check-abi-libc.out.
6471 [$(build-shared) = yes && subdir] (tests-special): Add
6473 [$(build-shared) = yes && subdir] (tests): Do not depend on
6475 * Rules (tests): Depend on $(tests-special).
6476 (xtests): Depend on $(xtests-special).
6477 * catgets/Makefile (tests): Change dependencies to ....
6478 (tests-special): ... additions to this variable.
6479 * conform/Makefile (tests): Change dependencies to ....
6480 (tests-special): ... additions to this variable.
6481 * elf/Makefile (tests): Change dependencies to ....
6482 (tests-special): ... additions to this variable.
6483 * grp/Makefile (tests): Change dependencies to ....
6484 (tests-special): ... additions to this variable.
6485 * iconv/Makefile (xtests): Change dependencies to ....
6486 (xtests-special): ... additions to this variable.
6487 * iconvdata/Makefile (tests): Change dependencies to ....
6488 (tests-special): ... additions to this variable.
6489 * intl/Makefile (tests): Change dependencies to ....
6490 (tests-special): ... additions to this variable. Also add
6491 $(objpfx)tst-gettext.out.
6492 * io/Makefile (tests): Change dependencies to ....
6493 (tests-special): ... additions to this variable.
6494 * libio/Makefile (tests): Change dependencies to ....
6495 (tests-special): ... additions to this variable.
6496 * malloc/Makefile (tests): Change dependencies to ....
6497 (tests-special): ... additions to this variable.
6498 * misc/Makefile (tests): Change dependencies to ....
6499 (tests-special): ... additions to this variable.
6500 * nptl/Makefile (tests): Change dependencies to ....
6501 (tests-special): ... additions to this variable.
6502 * nptl_db/Makefile (tests): Change dependencies to ....
6503 (tests-special): ... additions to this variable.
6504 * posix/Makefile (tests): Change dependencies to ....
6505 (tests-special): ... additions to this variable.
6506 (xtests): Change dependencies to ....
6507 (xtests-special): ... additions to this variable.
6508 * resolv/Makefile (tests): Change dependencies to ....
6509 (tests-special): ... additions to this variable.
6510 (xtests): Change dependencies to ....
6511 (xtests-special): ... additions to this variable.
6512 * stdio-common/Makefile (tests): Change dependencies to ....
6513 (tests-special): ... additions to this variable.
6514 (do-tst-unbputc): Remove target.
6515 (do-tst-printf): Likewise.
6516 * stdlib/Makefile (tests): Change dependencies to ....
6517 (tests-special): ... additions to this variable.
6518 * string/Makefile (tests): Change dependencies to ....
6519 (tests-special): ... additions to this variable.
6520 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6521 (tests-special): ... additions to this variable.
6523 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6525 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6527 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6528 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6530 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6531 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6532 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6533 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6534 * conform/data/libgen.h-data [XPG3]: Likewise.
6535 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6536 * conform/data/ndbm.h-data [XPG3]: Likewise.
6537 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6538 * conform/data/netdb.h-data [XPG3]: Likewise.
6539 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6540 * conform/data/poll.h-data [XPG3]: Likewise.
6541 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6542 * conform/data/strings.h-data [XPG3]: Likewise.
6543 * conform/data/stropts.h-data [XPG3]: Likewise.
6544 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6545 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6546 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6548 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6549 * conform/data/sys/time.h-data [XPG3]: Likewise.
6550 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6551 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6552 * conform/data/sys/un.h-data [XPG3]: Likewise.
6553 * conform/data/syslog.h-data [XPG3]: Likewise.
6554 * conform/data/ucontext.h-data [XPG3]: Likewise.
6555 * conform/data/utmpx.h-data [XPG3]: Likewise.
6556 * conform/data/varargs.h-data [UNIX98]: Enable file.
6558 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6560 * math/libm-test.inc (struct test_f_f_data): Move expected results
6561 into structure for each rounding mode.
6562 (struct test_ff_f_data): Likewise.
6563 (struct test_ff_f_data_nexttoward): Likewise.
6564 (struct test_fi_f_data): Likewise.
6565 (struct test_fl_f_data): Likewise.
6566 (struct test_if_f_data): Likewise.
6567 (struct test_fff_f_data): Likewise.
6568 (struct test_c_f_data): Likewise.
6569 (struct test_f_f1_data): Likewise.
6570 (struct test_fF_f1_data): Likewise.
6571 (struct test_ffI_f1_data): Likewise.
6572 (struct test_c_c_data): Likewise.
6573 (struct test_cc_c_data): Likewise.
6574 (struct test_f_i_data): Likewise.
6575 (struct test_ff_i_data): Likewise.
6576 (struct test_f_l_data): Likewise.
6577 (struct test_f_L_data): Likewise.
6578 (struct test_fFF_11_data): Likewise.
6580 (RM_FE_DOWNWARD): Likewise.
6581 (RM_FE_TONEAREST): Likewise.
6582 (RM_FE_TOWARDZERO): Likewise.
6583 (RM_FE_UPWARD): Likewise.
6584 (RUN_TEST_LOOP_f_f): Update references to expected results.
6585 (RUN_TEST_LOOP_2_f): Likewise.
6586 (RUN_TEST_LOOP_fff_f): Likewise.
6587 (RUN_TEST_LOOP_c_f): Likewise.
6588 (RUN_TEST_LOOP_f_f1): Likewise.
6589 (RUN_TEST_LOOP_fF_f1): Likewise.
6590 (RUN_TEST_LOOP_fI_f1): Likewise.
6591 (RUN_TEST_LOOP_ffI_f1): Likewise.
6592 (RUN_TEST_LOOP_c_c): Likewise.
6593 (RUN_TEST_LOOP_cc_c): Likewise.
6594 (RUN_TEST_LOOP_f_i): Likewise.
6595 (RUN_TEST_LOOP_f_i_tg): Likewise.
6596 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6597 (RUN_TEST_LOOP_f_b): Likewise.
6598 (RUN_TEST_LOOP_f_b_tg): Likewise.
6599 (RUN_TEST_LOOP_f_l): Likewise.
6600 (RUN_TEST_LOOP_f_L): Likewise.
6601 (RUN_TEST_LOOP_fFF_11): Likewise.
6602 * math/gen-libm-test.pl (parse_args): Output four copies of
6603 expected results for each test.
6605 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6606 (__ASSUME_UTIMES): Remove.
6607 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6608 (__ASSUME_UTIMES): Likewise.
6610 * math/gen-auto-libm-tests.c: Update comment on output format.
6611 (output_for_one_input_case): Generate before-rounding and
6612 after-rounding information as conditions on output flags not
6613 floating-point format.
6614 * math/auto-libm-test-out: Regenerated.
6615 * math/gen-libm-test.pl (cond_value): New function.
6616 (or_cond_value): Use cond_value.
6617 (generate_testfile): Handle conditional exceptions.
6619 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6621 * math/libm-test.inc (max_valid_error): New variable.
6622 (init_max_error): Take new argument specifying whether function
6623 results are exactly determined. Set max_valid_error and bound
6624 other variables for errors based on this argument.
6625 (set_max_error): Do not record results above max_valid_error.
6626 (check_float_internal): Only accept errors of up to 0.5ulps if
6627 also at most max_valid_error.
6628 (START): Take new argument EXACT and pass it to init_max_error.
6629 (acos_test): Update call to START.
6630 (acos_test_tonearest): Likewise.
6631 (acos_test_towardzero): Likewise.
6632 (acos_test_downward): Likewise.
6633 (acos_test_upward): Likewise.
6634 (acosh_test): Likewise.
6635 (asin_test): Likewise.
6636 (asin_test_tonearest): Likewise.
6637 (asin_test_towardzero): Likewise.
6638 (asin_test_downward): Likewise.
6639 (asin_test_upward): Likewise.
6640 (asinh_test): Likewise.
6641 (atan_test): Likewise.
6642 (atanh_test): Likewise.
6643 (atan2_test): Likewise.
6644 (cabs_test): Likewise.
6645 (cacos_test): Likewise.
6646 (cacosh_test): Likewise.
6647 (carg_test): Likewise.
6648 (casin_test): Likewise.
6649 (casinh_test): Likewise.
6650 (catan_test): Likewise.
6651 (catanh_test): Likewise.
6652 (cbrt_test): Likewise.
6653 (ccos_test): Likewise.
6654 (ccosh_test): Likewise.
6655 (ceil_test): Likewise.
6656 (cexp_test): Likewise.
6657 (cimag_test): Likewise.
6658 (clog_test): Likewise.
6659 (clog10_test): Likewise.
6660 (conj_test): Likewise.
6661 (copysign_test): Likewise.
6662 (cos_test): Likewise.
6663 (cos_test_tonearest): Likewise.
6664 (cos_test_towardzero): Likewise.
6665 (cos_test_downward): Likewise.
6666 (cos_test_upward): Likewise.
6667 (cosh_test): Likewise.
6668 (cosh_test_tonearest): Likewise.
6669 (cosh_test_towardzero): Likewise.
6670 (cosh_test_downward): Likewise.
6671 (cosh_test_upward): Likewise.
6672 (cpow_test): Likewise.
6673 (cproj_test): Likewise.
6674 (creal_test): Likewise.
6675 (csin_test): Likewise.
6676 (csinh_test): Likewise.
6677 (csqrt_test): Likewise.
6678 (ctan_test): Likewise.
6679 (ctan_test_tonearest): Likewise.
6680 (ctan_test_towardzero): Likewise.
6681 (ctan_test_downward): Likewise.
6682 (ctan_test_upward): Likewise.
6683 (ctanh_test): Likewise.
6684 (ctanh_test_tonearest): Likewise.
6685 (ctanh_test_towardzero): Likewise.
6686 (ctanh_test_downward): Likewise.
6687 (ctanh_test_upward): Likewise.
6688 (erf_test): Likewise.
6689 (erfc_test): Likewise.
6690 (exp_test): Likewise.
6691 (exp_test_tonearest): Likewise.
6692 (exp_test_towardzero): Likewise.
6693 (exp_test_downward): Likewise.
6694 (exp_test_upward): Likewise.
6695 (exp10_test): Likewise.
6696 (exp10_test_tonearest): Likewise.
6697 (exp10_test_towardzero): Likewise.
6698 (exp10_test_downward): Likewise.
6699 (exp10_test_upward): Likewise.
6700 (pow10_test): Likewise.
6701 (exp2_test): Likewise.
6702 (expm1_test): Likewise.
6703 (expm1_test_tonearest): Likewise.
6704 (expm1_test_towardzero): Likewise.
6705 (expm1_test_downward): Likewise.
6706 (expm1_test_upward): Likewise.
6707 (fabs_test): Likewise.
6708 (fdim_test): Likewise.
6709 (floor_test): Likewise.
6710 (fma_test): Likewise.
6711 (fma_test_towardzero): Likewise.
6712 (fma_test_downward): Likewise.
6713 (fma_test_upward): Likewise.
6714 (fmax_test): Likewise.
6715 (fmin_test): Likewise.
6716 (fmod_test): Likewise.
6717 (fpclassify_test): Likewise.
6718 (frexp_test): Likewise.
6719 (hypot_test): Likewise.
6720 (ilogb_test): Likewise.
6721 (isfinite_test): Likewise.
6722 (finite_test): Likewise.
6723 (isgreater_test): Likewise.
6724 (isgreaterequal_test): Likewise.
6725 (isinf_test): Likewise.
6726 (isless_test): Likewise.
6727 (islessequal_test): Likewise.
6728 (islessgreater_test): Likewise.
6729 (isnan_test): Likewise.
6730 (isnormal_test): Likewise.
6731 (issignaling_test): Likewise.
6732 (isunordered_test): Likewise.
6733 (j0_test): Likewise.
6734 (j1_test): Likewise.
6735 (jn_test): Likewise.
6736 (ldexp_test): Likewise.
6737 (lgamma_test): Likewise.
6738 (gamma_test): Likewise.
6739 (lrint_test): Likewise.
6740 (lrint_test_tonearest): Likewise.
6741 (lrint_test_towardzero): Likewise.
6742 (lrint_test_downward): Likewise.
6743 (lrint_test_upward): Likewise.
6744 (llrint_test): Likewise.
6745 (llrint_test_tonearest): Likewise.
6746 (llrint_test_towardzero): Likewise.
6747 (llrint_test_downward): Likewise.
6748 (llrint_test_upward): Likewise.
6749 (log_test): Likewise.
6750 (log10_test): Likewise.
6751 (log1p_test): Likewise.
6752 (log2_test): Likewise.
6753 (logb_test): Likewise.
6754 (logb_test_downward): Likewise.
6755 (lround_test): Likewise.
6756 (llround_test): Likewise.
6757 (modf_test): Likewise.
6758 (nearbyint_test): Likewise.
6759 (nextafter_test): Likewise.
6760 (nexttoward_test): Likewise.
6761 (pow_test): Likewise.
6762 (pow_test_tonearest): Likewise.
6763 (pow_test_towardzero): Likewise.
6764 (pow_test_downward): Likewise.
6765 (pow_test_upward): Likewise.
6766 (remainder_test): Likewise.
6767 (drem_test): Likewise.
6768 (remainder_test_tonearest): Likewise.
6769 (drem_test_tonearest): Likewise.
6770 (remainder_test_towardzero): Likewise.
6771 (drem_test_towardzero): Likewise.
6772 (remainder_test_downward): Likewise.
6773 (drem_test_downward): Likewise.
6774 (remainder_test_upward): Likewise.
6775 (drem_test_upward): Likewise.
6776 (remquo_test): Likewise.
6777 (rint_test): Likewise.
6778 (rint_test_tonearest): Likewise.
6779 (rint_test_towardzero): Likewise.
6780 (rint_test_downward): Likewise.
6781 (rint_test_upward): Likewise.
6782 (round_test): Likewise.
6783 (scalb_test): Likewise.
6784 (scalbn_test): Likewise.
6785 (scalbln_test): Likewise.
6786 (signbit_test): Likewise.
6787 (sin_test): Likewise.
6788 (sin_test_tonearest): Likewise.
6789 (sin_test_towardzero): Likewise.
6790 (sin_test_downward): Likewise.
6791 (sin_test_upward): Likewise.
6792 (sincos_test): Likewise.
6793 (sinh_test): Likewise.
6794 (sinh_test_tonearest): Likewise.
6795 (sinh_test_towardzero): Likewise.
6796 (sinh_test_downward): Likewise.
6797 (sinh_test_upward): Likewise.
6798 (sqrt_test): Likewise.
6799 (sqrt_test_tonearest): Likewise.
6800 (sqrt_test_towardzero): Likewise.
6801 (sqrt_test_downward): Likewise.
6802 (sqrt_test_upward): Likewise.
6803 (tan_test): Likewise.
6804 (tan_test_tonearest): Likewise.
6805 (tan_test_towardzero): Likewise.
6806 (tan_test_downward): Likewise.
6807 (tan_test_upward): Likewise.
6808 (tanh_test): Likewise.
6809 (tgamma_test): Likewise.
6810 (trunc_test): Likewise.
6811 (y0_test): Likewise.
6812 (y1_test): Likewise.
6813 (yn_test): Likewise.
6814 (significand_test): Likewise.
6816 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6817 individual tests in comment.
6818 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6819 (prev_max_error): New variable.
6820 (prev_real_max_error): Likewise.
6821 (prev_imag_max_error): Likewise.
6822 (compare_ulp_data): Don't refer to test names in comment.
6823 (find_test_ulps): Remove function.
6824 (find_function_ulps): Likewise.
6825 (find_complex_function_ulps): Likewise.
6826 (init_max_error): Take function name as argument. Look up ulps
6828 (print_ulps): Remove function.
6829 (print_max_error): Use prev_max_error instead of calling
6831 (print_complex_max_error): Use prev_real_max_error and
6832 prev_imag_max_error instead of calling find_complex_function_ulps.
6833 (check_float_internal): Take max_ulp parameter instead of calling
6834 find_test_ulps. Don't call print_ulps.
6835 (check_float): Update call to check_float_internal.
6836 (check_complex): Update calls to check_float_internal.
6837 (START): Pass argument to init_max_error.
6838 * math/gen-libm-test.pl (%results): Don't include "kind"
6840 (parse_ulps): Don't handle ulps of individual tests.
6841 (print_ulps_file): Likewise.
6842 (output_ulps): Likewise.
6843 * math/README.libm-test: Update.
6844 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6846 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6847 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6848 * sysdeps/arm/libm-test-ulps: Likewise.
6849 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6850 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6851 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6852 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6853 * sysdeps/microblaze/libm-test-ulps: Likewise.
6854 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6855 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6857 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6858 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6859 * sysdeps/sh/libm-test-ulps: Likewise.
6860 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6861 * sysdeps/tile/libm-test-ulps: Likewise.
6862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6864 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6866 * math/libm-test.inc (print_complex_max_error): Check separately
6867 whether real and imaginary errors are within allowed range and
6868 pass 0 to print_complex_function_ulps instead of value within
6871 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6873 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6875 (get_handles_fopen): Likewise.
6876 (do_write_test): Likewise.
6878 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6880 * libio/fileops.c (do_ftell): Use cached offset when
6882 * libio/iofwide.c (do_ftell_wide): Likewise.
6883 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6885 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6888 * libio/libioP.h (get_file_offset): New function.
6889 * libio/fileops.c (get_file_offset): Likewise.
6890 (do_ftell): Likewise.
6891 (_IO_new_file_seekoff): Split out ftell logic.
6892 * libio/wfileops.c (do_ftell_wide): Likewise.
6893 (_IO_wfile_seekoff): Split out ftell logic.
6894 * libio/tst-ftell-active-handler.c: New test case.
6895 * libio/Makefile (tests): Add it.
6897 2014-03-03 Roland McGrath <roland@hack.frob.com>
6899 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6900 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6902 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6905 * nscd/connections.c (nscd_init): Call do_exit.
6906 (start_threads): Call do_exit and notify_parent.
6907 (begin_drop_privileges): Call do_exit.
6908 (finish_drop_privileges): Likewise.
6909 * nscd/selinux.c (preserve_capabilities): Likewise.
6910 (install_real_capabilities): Likewise.
6911 (nscd_selinux_enabled): Likewise.
6912 (avc_create_thread): Likewise.
6913 (avc_alloc_lock): Likewise.
6914 (nscd_avc_init): Likewise.
6915 * nscd/nscd.c (parent_fd): New static variable.
6916 (main): Create a pipe between parent and child processes.
6917 Skip closing parent_fd.
6918 (monitor_child): New function.
6919 (do_exit): Likewise.
6920 (notify_parent): Likewise.
6921 * nscd/nscd.h (notify_parent): Likewise.
6922 (do_exit): Likewise.
6924 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6926 * malloc/malloc.c (__libc_calloc): Revert last change.
6928 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6932 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6934 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6938 (__libc_ifunc_impl_list): Likewise.
6939 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6940 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6941 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6942 * string/strrchr.c: Define STRRCHR.
6944 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6946 * benchtest/bench-strtok.c (simple_strtok): Delete.
6947 (strtok_string): Use as benchmark.
6948 * string/strtok (STRTOK): New macro.
6950 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6952 * manual/threads.texi: Add header and standard comments to all
6955 * elf/dl-lookup.c (check_match): New function.
6956 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6957 (do_lookup_x): Remove nested function check_match. Use non-nested
6958 function check_match.
6960 2014-02-28 Roland McGrath <roland@hack.frob.com>
6962 * csu/Makefile (generated, before-compile): Use += rather than =.
6963 * catgets/Makefile (generated, generated-dirs): Likewise.
6964 * debug/Makefile (generated): Likewise.
6965 * dlfcn/Makefile (generated): Likewise.
6966 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6967 * iconvdata/Makefile (before-compile, generated): Likewise.
6968 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6969 * libio/Makefile (generated): Likewise.
6970 * malloc/Makefile (generated): Likewise.
6971 * manual/Makefile (generated, generated-dirs): Likewise.
6972 * misc/Makefile (generated): Likewise.
6973 * posix/Makefile (generated): Likewise.
6974 * resolv/Makefile (generated): Likewise.
6975 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6976 * timezone/Makefile (generated, generated-dirs): Likewise.
6978 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6980 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6982 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6983 power8 implementation.
6984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6985 file: POWER8 llround ifunc implementation.
6986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6987 (__lllround): Add POWER8 implementation.
6988 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6989 POWER8 llround implementation.
6991 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6992 power8 implementation.
6993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6994 file: POWER8 llrint ifunc implementation.
6995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6996 Add POWER8 implementation.
6997 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6998 POWER8 llrint implementation.
7000 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7001 power8 implementation.
7002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7003 file: POWER8 finite ifunc implementation.
7004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7005 Add POWER8 implementation.
7006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7008 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7009 POWER8 finite implementation.
7010 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7013 power8 implementation.
7014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7015 file: POWER8 isinf ifunc implementation.
7016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7017 POWER8 implementation.
7018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7020 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7021 isinf implementation.
7022 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7024 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7025 (INIT_ARCH): Add hwcap2 initialization.
7026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7027 power8 implementation.
7028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7029 file: POWER8 isnan ifunc implementation.
7030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7031 POWER8 implementation.
7032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7034 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7035 isnan implementation.
7036 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7038 2014-02-27 Joey Ye <joey.ye@arm.com>
7040 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7041 (_FP_NANFRAC_Q): Set to zero.
7043 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7046 * math/auto-libm-test-in: New test inputs.
7047 * math/auto-libm-test-out: Regenerate.
7048 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7051 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7053 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7055 * scripts/evaluate-test.sh: Take new argument indicating whether
7056 failure is expected.
7057 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7058 indicating whether failure is expected.
7059 * conform/Makefile (test-xfail-run-conformtest): New variable.
7060 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7062 * posix/Makefile (test-xfail-annexc): New variable.
7063 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7065 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7067 * argp/Makefile: Include Makeconfig immediately after defining
7069 * assert/Makefile: Likewise.
7070 * benchtests/Makefile: Likewise.
7071 * catgets/Makefile: Likewise.
7072 * conform/Makefile: Likewise.
7073 * crypt/Makefile: Likewise.
7074 * csu/Makefile: Likewise.
7075 (all): Remove target.
7076 * ctype/Makefile: Include Makeconfig immediately after defining
7078 * debug/Makefile: Likewise.
7079 * dirent/Makefile: Likewise.
7080 * dlfcn/Makefile: Likewise.
7081 * gmon/Makefile: Likewise.
7082 * gnulib/Makefile: Likewise.
7083 * grp/Makefile: Likewise.
7084 * gshadow/Makefile: Likewise.
7085 * hesiod/Makefile: Likewise.
7086 * hurd/Makefile: Likewise.
7087 (all): Remove target.
7088 * iconvdata/Makefile: Include Makeconfig immediately after
7090 * inet/Makefile: Likewise.
7091 * intl/Makefile: Likewise.
7092 * io/Makefile: Likewise.
7093 * libio/Makefile: Likewise.
7094 (all): Remove target.
7095 * locale/Makefile: Include Makeconfig immediately after defining
7097 * login/Makefile: Likewise.
7098 * mach/Makefile: Likewise.
7099 (all): Remove target.
7100 * malloc/Makefile: Include Makeconfig immediately after defining
7102 (all): Remove target.
7103 * manual/Makefile: Include Makeconfig immediately after defining
7105 * math/Makefile: Likewise.
7106 * misc/Makefile: Likewise.
7107 * nis/Makefile: Likewise.
7108 * nss/Makefile: Likewise.
7109 * po/Makefile: Likewise.
7110 (all): Remove target.
7111 * posix/Makefile: Include Makeconfig immediately after defining
7113 * pwd/Makefile: Likewise.
7114 * resolv/Makefile: Likewise.
7115 * resource/Makefile: Likewise.
7116 * rt/Makefile: Likewise.
7117 * setjmp/Makefile: Likewise.
7118 * shadow/Makefile: Likewise.
7119 * signal/Makefile: Likewise.
7120 * socket/Makefile: Likewise.
7121 * soft-fp/Makefile: Likewise.
7122 * stdio-common/Makefile: Likewise.
7123 * stdlib/Makefile: Likewise.
7124 * streams/Makefile: Likewise.
7125 * string/Makefile: Likewise.
7126 * sunrpc/Makefile: Likewise.
7127 (all): Remove target.
7128 * sysvipc/Makefile: Include Makeconfig immediately after defining
7130 * termios/Makefile: Likewise.
7131 * time/Makefile: Likewise.
7132 * timezone/Makefile: Likewise.
7133 (all): Remove target.
7134 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7136 * wctype/Makefile: Likewise.
7138 2014-02-26 Steve Ellcey <sellcey@mips.com>
7140 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7141 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7142 (libc_feholdexcept_setround_mips): Ditto.
7143 (libc_feholdsetround): New.
7144 (libc_feholdsetroundf): New.
7145 (libc_feholdsetroundl): New.
7146 (libc_feupdateenv_test_mips): New.
7147 (libc_feupdateenv_test): New.
7148 (libc_feupdateenv_testf): New.
7149 (libc_feupdateenv_testl): New.
7150 (libc_feresetround): New.
7151 (libc_feresetroundf): New.
7152 (libc_feresetroundl): New.
7153 (libc_fetestexcept_mips): New.
7154 (libc_fetestexcept): New.
7155 (libc_fetestexceptf): New.
7156 (libc_fetestexceptl): New.
7158 (libc_feholdexcept_setround_mips_ctx): New.
7159 (libc_feholdexcept_setround_ctx): New.
7160 (libc_feholdexcept_setroundf_ctx): New.
7161 (libc_feholdexcept_setroundl_ctx): New.
7162 (libc_fesetenv_mips_ctx): New.
7163 (libc_fesetenv_ctx): New.
7164 (libc_fesetenv_ctxf): New.
7165 (libc_fesetenv_ctxl): New.
7166 (libc_feupdateenv_mips_ctx): New.
7167 (libc_feupdateenv_ctx): New.
7168 (libc_feupdateenvf_ctx): New.
7169 (libc_feupdateenvl_ctx): New.
7170 (libc_feholdsetround_mips_ctx): New.
7171 (libc_feholdsetround_ctx): New.
7172 (libc_feholdsetroundf_ctx): New.
7173 (libc_feholdsetroundl_ctx): New.
7174 (libc_feresetround_mips_ctx): New.
7175 (libc_feresetround_ctx): New.
7176 (libc_feresetroundf_ctx): New.
7177 (libc_feresetroundl_ctx): New.
7179 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7181 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7183 * manual/ipc.texi: New file.
7184 * manual/Makefile (chapters): Add ipc.
7185 * manual/job.texi: Add "Inter-Process Communication" to next.
7186 * manual/process.texi: Add "Inter-Process Communication" to prev.
7188 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7192 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7194 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7196 * manual/arith.texi: Fix spaces after sentences.
7197 * manual/charset.texi: Likewise.
7198 * manual/errno.texi: Likewise.
7199 * manual/install.texi: Likewise.
7200 * manual/llio.texi: Likewise.
7201 * manual/locale.texi: Likewise.
7202 * manual/maint.texi: Likewise.
7203 * manual/math.texi: Likewise.
7204 * manual/memory.texi: Likewise.
7205 * manual/message.texi: Likewise.
7206 * manual/probes.texi: Likewise.
7207 * manual/resource.texi: Likewise.
7208 * manual/signal.texi: Likewise.
7209 * manual/socket.texi: Likewise.
7210 * manual/stdio.texi: Likewise.
7211 * manual/string.texi: Likewise.
7212 * manual/time.texi: Likewise.
7213 * manual/users.texi: Likewise.
7215 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7218 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7219 _DEFAULT_SOURCE is defined.
7221 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7222 Carlos O'Donell <carlos@redhat.com>
7225 * elf/dl-tls.c (_dl_count_modids): New function.
7226 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7227 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7228 audit library and increment generation counter.
7229 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7230 * elf/tst-audit9.c: New file.
7231 * elf/tst-auditmod9a.c: New file.
7232 * elf/tst-auditmod9b.c: New file.
7233 * elf/Makefile: Add rules to build and run tst-audit9.
7235 2014-02-25 Florian Weimer <fweimer@redhat.com>
7238 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7240 2014-02-25 Will Newton <will.newton@linaro.org>
7242 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7243 (__longjmp): Restore sp and lr before restoring callee
7244 saved registers. Add longjmp and longjmp_target
7245 SystemTap probe point.
7246 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7247 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7248 Define to zero to match jmpbuf layout.
7249 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7250 (__sigsetjmp): Save sp and lr before saving callee
7251 saved registers. Add setjmp SystemTap probe point.
7253 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7255 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7257 2014-02-24 Andreas Schwab <schwab@suse.de>
7260 * elf/pldd.c (wait_for_ptrace_stop): New function.
7261 (main): Call it after attaching.
7263 2014-02-22 Roland McGrath <roland@hack.frob.com>
7265 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7266 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7267 Versions files is now verboten.
7268 * hurd/Versions (libc: GLIBC_2.0):
7269 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7270 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7271 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7272 * mach/Versions: Likewise.
7274 * csu/Versions: Remove unused %include.
7275 * resolv/Versions: Likewise.
7277 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7279 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7280 ($(objpfx)check-local-headers.out): Likewise.
7281 ($(objpfx)begin-end-check.out): Likewise.
7282 * Makerules (check-abi-%.out): Likewise.
7283 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7284 ($(objpfx)test2.cat): Likewise.
7285 ($(objpfx)de/libc.cat): Likewise.
7286 ($(objpfx)test-gencat.out): Likewise.
7287 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7288 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7289 ($(objpfx)noload-mem): Likewise.
7290 ($(objpfx)tst-pathopt.out): Likewise.
7291 ($(objpfx)tst-rtld-load-self.out): Likewise.
7292 ($(objpfx)tst-array1-cmp.out): Likewise.
7293 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7294 ($(objpfx)tst-array2-cmp.out): Likewise.
7295 ($(objpfx)tst-array3-cmp.out): Likewise.
7296 ($(objpfx)tst-array4-cmp.out): Likewise.
7297 ($(objpfx)tst-array5-cmp.out): Likewise.
7298 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7299 ($(objpfx)check-textrel.out): Likewise.
7300 ($(objpfx)check-execstack.out): Likewise.
7301 ($(objpfx)check-localplt.out): Likewise.
7302 ($(objpfx)order2-cmp.out): Likewise.
7303 ($(objpfx)tst-leaks1-mem): Likewise.
7304 ($(objpfx)tst-leaks1-static-mem): Likewise.
7305 ($(objpfx)tst-initorder-cmp.out): Likewise.
7306 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7307 ($(objpfx)tst-unused-dep.out): Likewise.
7308 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7309 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7310 * iconv/Makefile (test-iconvconfig): Likewise.
7311 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7312 ($(objpfx)iconv-test.out): Likewise.
7313 ($(objpfx)tst-tables.out): Likewise.
7314 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7315 ($(objpfx)tst-gettext.out): Likewise.
7316 ($(objpfx)tst-translit.out): Likewise.
7317 ($(objpfx)tst-gettext2.out): Likewise.
7318 ($(objpfx)tst-gettext4.out): Likewise.
7319 ($(objpfx)tst-gettext6.out): Likewise.
7320 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7321 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7322 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7323 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7324 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7325 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7326 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7327 ($(objpfx)wordexp-tst.out): Likewise.
7328 ($(objpfx)annexc.out): Likewise.
7329 ($(objpfx)tst-fnmatch-mem): Likewise.
7330 ($(objpfx)bug-regex2-mem): Likewise.
7331 ($(objpfx)bug-regex14-mem): Likewise.
7332 ($(objpfx)bug-regex21-mem): Likewise.
7333 ($(objpfx)bug-regex31-mem): Likewise.
7334 ($(objpfx)tst-vfork3-mem): Likewise.
7335 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7336 ($(objpfx)tst-pcre-mem): Likewise.
7337 ($(objpfx)tst-boost-mem): Likewise.
7338 ($(objpfx)tst-getconf.out): Likewise.
7339 ($(objpfx)bug-ga2-mem): Likewise.
7340 ($(objpfx)bug-glob2-mem): Likewise.
7341 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7342 ($(objpfx)mtrace-tst-leaks2): Likewise.
7343 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7344 ($(objpfx)tst-printf.out): Likewise.
7345 ($(objpfx)tst-setvbuf1.out): Likewise.
7346 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7347 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7348 ($(objpfx)tst-fmtmsg.out): Likewise.
7349 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7350 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7352 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7353 * bits/sigaction.h [__USE_MISC]: Likewise.
7354 * bits/waitstatus.h: Update #endif comments.
7355 * ctype/ctype.h: Likewise.
7356 * dirent/dirent.h: Likewise.
7357 [__USE_MISC]: Remove redundant conditionals.
7358 * grp/grp.h: Update #endif comments.
7359 [__USE_GNU]: Remove redundant conditionals.
7360 [__USE_MISC]: Likewise.
7361 * inet/netinet/in.h [__USE_GNU]: Likewise.
7362 * io/sys/stat.h [__USE_MISC]: Likewise.
7363 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7364 * libio/bits/stdio.h: Update #endif comments.
7365 [__USE_MISC]: Remove redundant conditionals.
7366 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7367 * libio/stdio.h: Update #endif comments.
7368 [__USE_MISC]: Remove redundant conditionals.
7369 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7370 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7371 * math/math.h: Update #else and #endif comments.
7372 [__USE_MISC]: Remove redundant conditionals.
7373 * misc/sys/uio.h: Update #endif comments.
7374 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7375 * posix/glob.h [__USE_MISC]: Likewise.
7376 * posix/sys/types.h: Update #endif comments.
7377 [__USE_MISC]: Remove redundant conditionals.
7378 * posix/sys/wait.h: Update #endif comments.
7379 [__USE_MISC]: Remove redundant conditionals.
7380 * posix/unistd.h: Update #endif comments.
7381 [__USE_MISC]: Remove redundant conditionals.
7382 * pwd/pwd.h [__USE_GNU]: Likewise.
7383 [__USE_MISC]: Likewise.
7384 * resolv/netdb.h [__USE_GNU]: Likewise.
7385 * signal/signal.h: Update #endif comments.
7386 [__USE_MISC]: Remove redundant conditionals.
7387 * stdlib/stdlib.h: Update #else and #endif comments.
7388 [__USE_MISC]: Remove redundant conditionals.
7389 [__USE_GNU]: Likewise.
7390 * string/bits/string2.h [__USE_MISC]: Likewise.
7391 * string/string.h: Update #endif comments.
7392 [__USE_MISC]: Remove redundant conditionals.
7393 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7395 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7396 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7397 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7399 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7401 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7403 [__USE_MISC]: Remove redundant conditionals.
7404 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7405 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7406 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7407 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7408 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7410 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7411 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7413 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7414 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7416 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7418 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7419 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7421 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7423 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7424 * sysdeps/x86/bits/string.h: Update #endif comments.
7425 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7427 * time/sys/time.h: Update #endif comments.
7428 * time/time.h: Likewise.
7429 [__USE_MISC]: Remove redundant conditionals.
7431 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7434 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7436 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7438 * Versions.def (librt): Add GLIBC_2.17.
7440 2014-02-21 Adam Conrad <adconrad@0c3.net>
7442 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7443 synonym for _SYS_AUXV_H to allow direct inclusion.
7444 * sysdeps/sparc/bits/hwcap.h: Likewise.
7445 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7446 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7447 * sysdeps/sparc/sysdep.h: Likewise.
7449 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7451 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7453 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7455 * benchtests/bench-strrchr.c: Print length instead of position.
7457 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7460 * sysdeps/unix/sysv/linux/kernel-features.h
7461 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7462 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7463 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7464 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7466 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7467 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7468 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7469 (__ASSUME_SENDMMSG): Define instead of using previous
7470 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7471 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7472 (__ASSUME_SENDMMSG_SYSCALL): Define.
7473 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7474 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7476 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7477 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7479 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7480 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7482 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7483 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7484 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7485 [__ASSUME_SENDMMSG]: Change conditionals to
7486 [__ASSUME_SENDMMSG_SOCKETCALL].
7487 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7488 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7490 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7491 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7493 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7494 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7495 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7496 [!__ASSUME_SENDMMSG]: Change conditional to
7497 [!__ASSUME_SENDMMSG_SOCKETCALL].
7498 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7499 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7503 * sysdeps/unix/sysv/linux/kernel-features.h
7504 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7505 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7506 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7507 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7508 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7509 [__i386__ || __sparc__]
7510 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7511 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7512 (__ASSUME_RECVMMSG): Define instead of using previous
7513 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7514 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7515 (__ASSUME_RECVMMSG_SYSCALL): Define.
7516 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7517 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7519 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7520 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7522 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7523 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7525 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7526 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7527 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7528 [__ASSUME_RECVMMSG]: Change condition to
7529 [__ASSUME_RECVMMSG_SOCKETCALL].
7530 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7531 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7533 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7534 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7535 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7537 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7538 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7539 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7540 [!__ASSUME_RECVMMSG]: Change condition to
7541 [!__ASSUME_RECVMMSG_SOCKETCALL].
7542 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7543 (__ASSUME_RECVMMSG_SYSCALL): Define.
7546 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7547 __powerpc__ || __s390__ || __sh__ || __sparc__]
7548 (__ASSUME_SOCKETCALL): Define.
7549 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7550 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7551 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7552 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7553 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7554 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7555 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7556 (__ASSUME_ACCEPT4): Define instead of using previous
7557 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7558 __powerpc__ || __sparc__ || __s390__)] condition.
7559 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7560 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7561 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7562 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7563 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7564 [!__ASSUME_ACCEPT4]: Change condition to
7565 [!__ASSUME_ACCEPT4_SOCKETCALL].
7566 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7567 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7568 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7569 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7570 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7571 __ASSUME_ACCEPT4_SYSCALL.
7572 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7573 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7574 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7575 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7576 __ASSUME_ACCEPT4_SYSCALL.
7577 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7578 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7579 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7580 [__ASSUME_ACCEPT4]: Change condition to
7581 [__ASSUME_ACCEPT4_SOCKETCALL].
7582 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7583 (__ASSUME_SOCKETCALL): Define.
7584 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7585 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7586 (__ASSUME_SOCKETCALL): Define.
7587 (__ASSUME_ACCEPT4): Remove.
7588 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7590 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7591 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7593 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7594 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7596 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7598 (HWCAP_ARM_LPAE): Likewise.
7599 (HWCAP_ARM_EVTSTRM): Likewise.
7600 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7601 Add vpfd32, lpae and evtstrm.
7602 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7605 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7607 * math/auto-libm-test-in: Add tests of clog10.
7608 * math/auto-libm-test-out: Regenerated.
7609 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7610 * sysdeps/i386/fpu/libm-test-ulps: Update.
7611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7613 2014-02-18 Andreas Schwab <schwab@suse.de>
7616 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7617 Store non-zero if the second buffer was newly allocated.
7618 (send_dg): Likewise.
7619 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7620 to send_vc and send_dg.
7621 (res_nsend): Pass NULL for ansp2_malloced.
7622 * resolv/res_query.c (__libc_res_nquery): Add parameter
7623 answerp2_malloced and pass it down to __libc_res_nsend.
7624 (res_nquery): Pass additional NULL to __libc_res_nquery.
7625 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7626 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7627 second answer buffer if answerp2_malloced was set.
7628 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7629 (__libc_res_nquerydomain): Add parameter
7630 answerp2_malloced and pass it down to __libc_res_nquery.
7631 (res_nquerydomain): Pass additional NULL to
7632 __libc_res_nquerydomain.
7633 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7634 additional NULL to __libc_res_nsend and __libc_res_nquery.
7635 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7636 additional NULL to __libc_res_nsearch.
7637 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7638 parameter of __libc_res_nsearch to check for separately allocated
7640 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7642 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7643 additional NULL to __libc_res_nquery.
7644 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7646 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7647 * include/resolv.h: Update prototypes of __libc_res_nquery,
7648 __libc_res_nsearch, __libc_res_nsend.
7650 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7652 * math/auto-libm-test-in: Add tests of fma.
7653 * math/auto-libm-test-out: Regenerated.
7654 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7655 (fma_towardzero_test_data): Likewise.
7656 (fma_downward_test_data): Likewise.
7657 (fma_upward_test_data): Likewise.
7658 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7660 (rounding_modes): Add values for new field.
7661 (func_calc_method): Add value mpfr_fff_f.
7662 (func_calc_desc): Add mpfr_fff_f union field.
7663 (test_function): Add field exact_args.
7664 (FUNC): Add macro argument EXACT_ARGS.
7665 (FUNC_mpfr_f_f): Update call to FUNC.
7666 (FUNC_mpfr_f_f): Likewise.
7667 (FUNC_mpfr_ff_f): Likewise.
7668 (FUNC_mpfr_if_f): Likewise.
7669 (FUNC_mpc_c_f): Likewise.
7670 (FUNC_mpc_c_c): Likewise.
7671 (test_functions): Add fma. Update calls to FUNC.
7672 (handle_input_arg): Add argument exact_args.
7673 (add_test): Update call to handle_input_arg.
7674 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7675 (output_for_one_input_case): Update call to calc_generic_results.
7676 Recalculate exact zero results in each rounding mode.
7678 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7679 non-negative before setting low bit.
7680 * math/auto-libm-test-in: Mark one asin test possibly having
7682 * math/auto-libm-test-out: Regenerated.
7683 * sysdeps/i386/fpu/libm-test-ulps: Update.
7684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7686 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7688 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7689 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7690 ports/sysdeps/unix/sysv/linux/microblaze.
7691 * README: Add missing listing for microblaze*-*-linux-gnu.
7693 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7695 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7696 * sysdeps/unix/sysv/linux/ia64: Move directory from
7697 ports/sysdeps/unix/sysv/linux/ia64.
7698 * README: Update listing for ia64-*-linux-gnu.
7700 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7701 Joseph Myers <joseph@codesourcery.com>
7703 * Makeconfig (test-name): New variable.
7704 (evaluate-test): Likewise.
7705 * Makerules (do-test-clean): Remove .test-result files.
7706 (common-mostlyclean): Likewise.
7707 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7708 * scripts/evaluate-test.sh: New file.
7710 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7712 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7713 separate $(objpfx)tst-fopenloc-cmp.out and
7714 $(objpfx)tst-fopenloc-mem.out targets.
7715 (tests): Update dependencies.
7716 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7717 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7718 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7719 (tst-rxspencer-no-utf8-ARGS): New variable.
7720 (tst-rxspencer-no-utf8-ENV): Likewise.
7721 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7722 instead of $(objpfx)tst-rxspencer-mem.
7723 ($(objpfx)tst-rxspencer-mem): Change target to
7724 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7725 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7726 * posix/tst-rxspencer-no-utf8.c: New file.
7728 * elf/Makefile ($(objpfx)order.out): Remove rule.
7729 [$(run-built-tests) = yes] (tests): Depend on
7730 $(objpfx)order-cmp.out.
7731 ($(objpfx)order-cmp.out): New rule.
7732 [$(run-built-tests) = yes] (tests): Depend on
7733 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7734 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7735 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7736 $(objpfx)tst-array5-static-cmp.out.
7737 ($(objpfx)tst-array1.out): Remove rule.
7738 ($(objpfx)tst-array1-cmp.out): New rule.
7739 ($(objpfx)tst-array1-static.out): Remove rule.
7740 ($(objpfx)tst-array1-static-cmp.out): New rule.
7741 ($(objpfx)tst-array2.out): Remove rule.
7742 ($(objpfx)tst-array2-cmp.out): New rule.
7743 ($(objpfx)tst-array3.out): Remove rule.
7744 ($(objpfx)tst-array3-cmp.out): New rule.
7745 ($(objpfx)tst-array4.out): Remove rule.
7746 ($(objpfx)tst-array4-cmp.out): New rule.
7747 ($(objpfx)tst-array5.out): Remove rule.
7748 ($(objpfx)tst-array5-cmp.out): New rule.
7749 ($(objpfx)tst-array5-static.out): Remove rule.
7750 ($(objpfx)tst-array5-static-cmp.out): New rule.
7751 [$(run-built-tests) = yes] (tests): Depend on
7752 $(objpfx)order2-cmp.out.
7753 ($(objpfx)order2.out): Remove rule.
7754 ($(objpfx)order2-cmp.out): New rule.
7755 ($(objpfx)tst-initorder.out): Remove rule.
7756 [$(run-built-tests) = yes] (tests): Depend on
7757 $(objpfx)tst-initorder-cmp.out.
7758 ($(objpfx)tst-initorder-cmp.out): New rule.
7759 ($(objpfx)tst-initorder2.out): Remove rule.
7760 [$(run-built-tests) = yes] (tests): Depend on
7761 $(objpfx)tst-initorder2-cmp.out.
7762 ($(objpfx)tst-initorder2-cmp.out): New rule.
7763 [$(run-built-tests) = yes] (tests): Depend on
7764 $(objpfx)tst-unused-dep-cmp.out.
7765 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7766 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7767 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7768 on $(objpfx)tst-setvbuf1-cmp.out.
7769 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7770 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7771 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7772 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7773 ($(objpfx)tst-svc.out): Remove rule.
7774 ($(objpfx)tst-svc-cmp.out): New rule.
7776 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7778 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7779 * ctype/ctype.h [__USE_MISC]: Likewise.
7780 * dirent/dirent.h [__USE_MISC]: Likewise.
7781 * grp/grp.h [__USE_MISC]: Likewise.
7782 * io/fcntl.h [__USE_MISC]: Likewise.
7783 * io/sys/stat.h [__USE_MISC]: Likewise.
7784 * libio/stdio.h [__USE_MISC]: Likewise.
7785 * posix/unistd.h [__USE_MISC]: Likewise.
7786 * pwd/pwd.h [__USE_MISC]: Likewise.
7787 * stdlib.h [__USE_MISC]: Likewise.
7788 * string/bits/string2.h [__USE_MISC]: Likewise.
7789 * string/string.h [__USE_MISC]: Likewise.
7790 * time/time.h [__USE_MISC]: Likewise.
7792 2014-02-13 Andreas Schwab <schwab@suse.de>
7795 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7796 second answer buffer if it was separately allocated.
7798 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7800 * sysdeps/mips/math-tests.h: Include <features.h>.
7801 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7802 (ROUNDING_TESTS_long_double): Do not define.
7803 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7804 (EXCEPTION_TESTS_long_double): Likewise.
7805 * sysdeps/mips/mips64/libm-test-ulps: Update.
7807 * include/features.h (__USE_BSD): Remove macro definitions.
7808 (__USE_SVID): Likewise.
7809 (_BSD_SOURCE): Likewise.
7810 (_SVID_SOURCE): Likewise.
7811 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7812 from definition of _DEFAULT_SOURCE.
7813 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7815 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7816 * bits/mman.h [__USE_BSD]: Likewise.
7817 * bits/termios.h [__USE_BSD]: Likewise.
7818 * bits/waitstatus.h [__USE_BSD]: Likewise.
7819 * ctype/ctype.h [__USE_SVID]: Likewise.
7820 * dirent/dirent.h [__USE_BSD]: Likewise.
7821 * grp/grp.h [__USE_SVID]: Likewise.
7822 [__USE_BSD]: Likewise.
7823 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7824 * io/fcntl.h [__USE_BSD]: Likewise.
7825 * io/ftw.h [__USE_BSD]: Likewise.
7826 * io/sys/stat.h [__USE_BSD]: Likewise.
7827 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7828 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7829 * libio/stdio.h [__USE_SVID]: Likewise.
7830 [__USE_BSD]: Likewise.
7831 * math/math.h [__USE_SVID]: Likewise.
7832 [__USE_BSD]: Likewise.
7833 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7834 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7835 * misc/search.h [__USE_SVID]: Likewise.
7836 * misc/sys/mman.h [__USE_BSD]: Likewise.
7837 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7838 * misc/sys/uio.h [__USE_BSD]: Likewise.
7839 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7840 * posix/glob.h [__USE_BSD]: Likewise.
7841 * posix/regex.h [__USE_BSD]: Likewise.
7842 * posix/sys/types.h [__USE_BSD]: Likewise.
7843 [__USE_SVID]: Likewise.
7844 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7845 * posix/sys/wait.h [__USE_BSD]: Likewise.
7846 [__USE_SVID]: Likewise.
7847 * posix/unistd.h [__USE_BSD]: Likewise.
7848 [__USE_SVID]: Likewise.
7849 * pwd/pwd.h [__USE_SVID]: Likewise.
7850 * resolv/netdb.h [__USE_BSD]: Likewise.
7851 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7852 * signal/signal.h [__USE_BSD]: Likewise.
7853 [__USE_SVID]: Likewise.
7854 * socket/sys/socket.h [__USE_BSD]: Likewise.
7855 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7856 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7857 [__USE_SVID]: Likewise.
7858 * string/bits/string2.h [__USE_BSD]: Likewise.
7859 [__USE_SVID]: Likewise.
7860 * string/bits/string3.h [__USE_BSD]: Likewise.
7861 * string/endian.h [__USE_BSD]: Likewise.
7862 * string/string.h [__USE_SVID]: Likewise.
7863 [__USE_BSD]: Likewise.
7864 * string/strings.h [__USE_BSD]: Likewise.
7865 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7866 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7867 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7868 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7869 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7870 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7872 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7874 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7875 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7877 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7878 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7880 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7882 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7883 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7884 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7886 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7888 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7889 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7890 * termios/termios.h [__USE_BSD]: Likewise.
7891 * time/sys/time.h [__USE_BSD]: Likewise.
7892 * time/time.h [__USE_BSD]: Likewise.
7893 [__USE_SVID]: Likewise.
7895 * Makefile (subdir_targets): Remove subdir_lint.out.
7897 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7898 (do-tst-printf): Likewise.
7899 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7900 $(objpfx)tst-printf.out.
7902 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7904 * Makerules (check-abi-%): Change target to
7905 $(objpfx)check-abi-%.out.
7906 (check-abi target): Update dependencies.
7907 (check-abi-pattern variable): Redirect output of diff to $@.
7908 (check-abi variable): Likewise.
7909 * elf/Makefile (check-abi): Update dependencies.
7911 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7913 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7914 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7916 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7917 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7918 value has largest subnormal exponent.
7919 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7920 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7921 * sysdeps/aarch64/soft-fp/sfp-machine.h
7922 (_FP_TININESS_AFTER_ROUNDING): New macro.
7923 * sysdeps/alpha/soft-fp/sfp-machine.h
7924 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7925 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7927 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7928 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7929 * sysdeps/mips/soft-fp/sfp-machine.h
7930 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7931 * sysdeps/powerpc/soft-fp/sfp-machine.h
7932 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7933 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7935 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7936 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7937 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7938 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7939 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7942 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7945 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7948 2014-02-12 Richard Henderson <rth@redhat.com>
7950 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7951 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7952 * sysdeps/unix/sysv/linux/alpha: Move directory from
7953 ports/sysdeps/unix/sysv/linux/alpha.
7954 * README: Update listing for alpha-*-linux-gnu.
7956 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7958 * include/features.h: Update comment documenting feature test
7960 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7962 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7963 (_SVID_SOURCE): Likewise.
7964 (_DEFAULT_SOURCE): Update description of default features.
7965 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7967 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7968 (S_ISVTX): Likewise.
7969 * manual/math.texi (Mathematical Constants): Likewise.
7970 * manual/signal.texi (Interrupted Primitives): Likewise.
7971 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7972 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7973 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7974 Don't refer to _SVID_SOURCE in warning text.
7976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7978 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7980 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7981 * sysdeps/mips/dl-lookup.c: Remove.
7982 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7984 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7987 * math/auto-libm-test-in: Add testcase for expl.
7988 * math/auto-libm-test-out: Regenerate.
7989 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7990 calculation of unsafe.
7991 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7993 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7995 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7996 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7997 ports/sysdeps/unix/sysv/linux/aarch64.
7998 * README: Update listing for aarch64*-*-linux-gnu.
8000 2014-02-11 Will Newton <will.newton@linaro.org>
8002 * manual/probes.texi (Mathematical Function Probes): Use
8003 "triggered" instead of "hit".
8005 * manual/probes.texi (Internal Probes): Add documentation
8006 of setjmp, longjmp and longjmp_target probes.
8008 * include/stap-probe.h: Add comment about probe argument
8011 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8012 definition. (tr_where, tr_freehook, tr_mallochook,
8013 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8015 2014-02-11 David S. Miller <davem@davemloft.net>
8017 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8018 processing int_tests.
8020 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8022 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8023 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8024 * sysdeps/unix/sysv/linux/mips: Move directory from
8025 ports/sysdeps/unix/sysv/linux/mips.
8026 * README: Update listing for mips-*-linux-gnu and
8029 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8031 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8032 * sysdeps/unix/sysv/linux/m68k: Move directory from
8033 ports/sysdeps/unix/sysv/linux/m68k.
8034 * README: Update listing for m68k-*-linux-gnu.
8036 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8038 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8039 * sysdeps/unix/sysv/linux/generic: Move directory from
8040 ports/sysdeps/unix/sysv/linux/generic.
8041 * sysdeps/unix/sysv/linux/tile: Move directory from
8042 ports/sysdeps/unix/sysv/linux/tile.
8043 * README: Update listing for tile*-*-linux-gnu.
8045 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8047 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8049 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8050 * catgets/open_catalog.c (__open_catalog): Likewise.
8051 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8052 * debug/confstr_chk.c: Likewise.
8053 * debug/fread_chk.c (__fread_chk): Likewise.
8054 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8055 * debug/getgroups_chk.c: Likewise.
8056 * debug/mbsnrtowcs_chk.c: Likewise.
8057 * debug/mbsrtowcs_chk.c: Likewise.
8058 * debug/mbstowcs_chk.c: Likewise.
8059 * debug/memcpy_chk.c: Likewise.
8060 * debug/memmove_chk.c: Likewise.
8061 * debug/mempcpy_chk.c: Likewise.
8062 * debug/memset_chk.c: Likewise.
8063 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8064 * debug/strcat_chk.c (__strcat_chk): Likewise.
8065 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8066 * debug/strncat_chk.c (__strncat_chk): Likewise.
8067 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8068 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8069 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8070 * debug/wcpncpy_chk.c: Likewise.
8071 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8072 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8073 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8074 * debug/wcsncpy_chk.c: Likewise.
8075 * debug/wcsnrtombs_chk.c: Likewise.
8076 * debug/wcsrtombs_chk.c: Likewise.
8077 * debug/wcstombs_chk.c: Likewise.
8078 * debug/wmemcpy_chk.c: Likewise.
8079 * debug/wmemmove_chk.c: Likewise.
8080 * debug/wmempcpy_chk.c: Likewise.
8081 * debug/wmemset_chk.c: Likewise.
8082 * dirent/scandirat.c (SCANDIRAT): Likewise.
8083 * dlfcn/dladdr1.c (dladdr1): Likewise.
8084 * dlfcn/dladdr.c (dladdr): Likewise.
8085 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8086 * dlfcn/dlerror.c (__dlerror): Likewise.
8087 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8088 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8089 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8090 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8091 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8092 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8093 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8094 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8096 * elf/dl-conflict.c: Likewise.
8097 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8098 * elf/dl-dst.h: Likewise.
8099 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8100 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8101 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8102 * elf/dl-init.c (call_init, _dl_init): Likewise.
8103 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8104 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8105 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8107 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8109 * elf/dl-minimal.c (__libc_memalign): Likewise.
8110 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8111 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8112 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8113 * elf/dl-sym.c (do_sym): Likewise.
8114 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8115 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8116 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8117 * elf/dl-writev.h (_dl_writev): Likewise.
8118 * elf/ldconfig.c (search_dir): Likewise.
8119 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8120 (dl_main): Likewise.
8121 * elf/setup-vdso.h (setup_vdso): Likewise.
8122 * grp/compat-initgroups.c (compat_call): Likewise.
8123 * grp/fgetgrent.c (fgetgrent): Likewise.
8124 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8125 * grp/putgrent.c (putgrent): Likewise.
8126 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8128 * hurd/hurdinit.c: Likewise.
8129 * iconvdata/8bit-gap.c (struct): Likewise.
8130 * iconvdata/ansi_x3.110.c : Likewise.
8131 * iconvdata/big5.c : Likewise.
8132 * iconvdata/big5hkscs.c : Likewise.
8133 * iconvdata/cp1255.c: Likewise.
8134 * iconvdata/cp1258.c : Likewise.
8135 * iconvdata/cp932.c : Likewise.
8136 * iconvdata/euc-cn.c: Likewise.
8137 * iconvdata/euc-jisx0213.c : Likewise.
8138 * iconvdata/euc-jp.c: Likewise.
8139 * iconvdata/euc-jp-ms.c : Likewise.
8140 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8141 * iconvdata/gb18030.c : Likewise.
8142 * iconvdata/gbbig5.c (const): Likewise.
8143 * iconvdata/gbgbk.c: Likewise.
8144 * iconvdata/gbk.c : Likewise.
8145 * iconvdata/ibm1364.c : Likewise.
8146 * iconvdata/ibm930.c : Likewise.
8147 * iconvdata/ibm932.c: Likewise.
8148 * iconvdata/ibm933.c : Likewise.
8149 * iconvdata/ibm935.c : Likewise.
8150 * iconvdata/ibm937.c : Likewise.
8151 * iconvdata/ibm939.c : Likewise.
8152 * iconvdata/ibm943.c: Likewise.
8153 * iconvdata/iso_11548-1.c: Likewise.
8154 * iconvdata/iso-2022-cn.c : Likewise.
8155 * iconvdata/iso-2022-cn-ext.c : Likewise.
8156 * iconvdata/iso-2022-jp-3.c: Likewise.
8157 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8158 * iconvdata/iso-2022-kr.c : Likewise.
8159 * iconvdata/iso646.c (gconv_end): Likewise.
8160 * iconvdata/iso_6937-2.c : Likewise.
8161 * iconvdata/iso_6937.c : Likewise.
8162 * iconvdata/iso8859-1.c: Likewise.
8163 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8164 * iconvdata/shift_jisx0213.c : Likewise.
8165 * iconvdata/sjis.c : Likewise.
8166 * iconvdata/t.61.c : Likewise.
8167 * iconvdata/tcvn5712-1.c : Likewise.
8168 * iconvdata/tscii.c: Likewise.
8169 * iconvdata/uhc.c : Likewise.
8170 * iconvdata/unicode.c (gconv_end): Likewise.
8171 * iconvdata/utf-16.c (gconv_end): Likewise.
8172 * iconvdata/utf-32.c (gconv_end): Likewise.
8173 * iconvdata/utf-7.c (base64): Likewise.
8174 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8175 * iconv/gconv_close.c (__gconv_close): Likewise.
8176 * iconv/gconv_open.c (__gconv_open): Likewise.
8177 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8178 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8179 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8180 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8181 (ucs4le_internal_loop_single): Likewise.
8182 * iconv/iconv.c (iconv): Likewise.
8183 * iconv/iconv_close.c: Likewise.
8184 * iconv/loop.c (SINGLE): Likewise.
8185 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8186 * include/atomic.h: Likewise.
8187 * inet/inet6_option.c (option_alloc): Likewise.
8188 * intl/bindtextdom.c (set_binding_values): Likewise.
8189 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8190 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8191 * intl/localealias.c (read_alias_file): Likewise.
8192 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8193 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8194 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8195 * libio/fmemopen.c (fmemopen): Likewise.
8196 * libio/iofgets.c (_IO_fgets): Likewise.
8197 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8198 * libio/iofgetws.c (fgetws): Likewise.
8199 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8200 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8201 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8202 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8203 * locale/findlocale.c (_nl_find_locale): Likewise.
8204 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8205 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8207 * locale/setlocale.c (setlocale): Likewise.
8208 * login/programs/pt_chown.c (main): Likewise.
8209 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8210 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8211 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8212 (mmap, mmap64, mremap, munmap): Likewise.
8213 * math/e_exp2l.c: Likewise.
8214 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8215 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8216 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8217 * math/s_catan.c (__catan): Likewise.
8218 * math/s_catanf.c (__catanf): Likewise.
8219 * math/s_catanh.c (__catanh): Likewise.
8220 * math/s_catanhf.c (__catanhf): Likewise.
8221 * math/s_catanhl.c (__catanhl): Likewise.
8222 * math/s_catanl.c (__catanl): Likewise.
8223 * math/s_ccosh.c (__ccosh): Likewise.
8224 * math/s_ccoshf.c (__ccoshf): Likewise.
8225 * math/s_ccoshl.c (__ccoshl): Likewise.
8226 * math/s_cexp.c (__cexp): Likewise.
8227 * math/s_cexpf.c (__cexpf): Likewise.
8228 * math/s_cexpl.c (__cexpl): Likewise.
8229 * math/s_clog10.c (__clog10): Likewise.
8230 * math/s_clog10f.c (__clog10f): Likewise.
8231 * math/s_clog10l.c (__clog10l): Likewise.
8232 * math/s_clog.c (__clog): Likewise.
8233 * math/s_clogf.c (__clogf): Likewise.
8234 * math/s_clogl.c (__clogl): Likewise.
8235 * math/s_csin.c (__csin): Likewise.
8236 * math/s_csinf.c (__csinf): Likewise.
8237 * math/s_csinh.c (__csinh): Likewise.
8238 * math/s_csinhf.c (__csinhf): Likewise.
8239 * math/s_csinhl.c (__csinhl): Likewise.
8240 * math/s_csinl.c (__csinl): Likewise.
8241 * math/s_csqrt.c (__csqrt): Likewise.
8242 * math/s_csqrtf.c (__csqrtf): Likewise.
8243 * math/s_csqrtl.c (__csqrtl): Likewise.
8244 * math/s_ctan.c (__ctan): Likewise.
8245 * math/s_ctanf.c (__ctanf): Likewise.
8246 * math/s_ctanh.c (__ctanh): Likewise.
8247 * math/s_ctanhf.c (__ctanhf): Likewise.
8248 * math/s_ctanhl.c (__ctanhl): Likewise.
8249 * math/s_ctanl.c (__ctanl): Likewise.
8250 * math/w_pow.c: Likewise.
8251 * math/w_powf.c: Likewise.
8252 * math/w_powl.c: Likewise.
8253 * math/w_scalb.c (sysv_scalb): Likewise.
8254 * math/w_scalbf.c (sysv_scalbf): Likewise.
8255 * math/w_scalbl.c (sysv_scalbl): Likewise.
8256 * misc/error.c (error_tail): Likewise.
8257 * misc/pselect.c (__pselect): Likewise.
8258 * nis/nis_callback.c (__nis_create_callback): Likewise.
8259 * nis/nis_call.c (__nisfind_server): Likewise.
8260 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8261 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8262 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8263 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8264 * nis/nis_lookup.c (nis_lookup): Likewise.
8265 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8266 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8267 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8268 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8269 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8270 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8271 * nis/nss_compat/compat-initgroups.c (add_group)
8272 (internal_getgrent_r): Likewise.
8273 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8274 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8275 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8276 (internal_getspnam_r): Likewise.
8277 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8278 (_nss_nis_getaliasbyname_r): Likewise.
8279 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8280 (_nss_nis_getntohost_r): Likewise.
8281 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8282 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8283 (_nss_nis_getgrgid_r): Likewise.
8284 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8285 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8286 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8287 (_nss_nis_gethostbyname4_r): Likewise.
8288 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8289 (initgroups_netid): Likewise.
8290 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8291 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8292 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8293 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8294 (_nss_nis_getprotobynumber_r): Likewise.
8295 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8296 (_nss_nis_getsecretkey): Likewise.
8297 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8298 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8299 (_nss_nis_getpwuid_r): Likewise.
8300 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8301 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8302 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8303 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8304 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8305 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8306 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8308 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8309 (_nss_nisplus_getntohost_r): Likewise.
8310 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8311 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8312 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8313 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8315 * nis/nss_nisplus/nisplus-initgroups.c
8316 (_nss_nisplus_initgroups_dyn): Likewise.
8317 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8318 (_nss_nisplus_getnetbyaddr_r): Likewise.
8319 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8320 (_nss_nisplus_getprotobynumber_r): Likewise.
8321 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8322 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8323 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8325 * nis/nss_nisplus/nisplus-service.c
8326 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8327 (_nss_nisplus_getservbyport_r): Likewise.
8328 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8329 (_nss_nisplus_getspnam_r): Likewise.
8330 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8332 * nscd/aicache.c (addhstaiX): Likewise.
8333 * nscd/cache.c (cache_search, prune_cache): Likewise.
8334 * nscd/connections.c (register_traced_file, send_ro_fd)
8335 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8336 (main_loop_epoll): Likewise.
8337 * nscd/grpcache.c (addgrbyX): Likewise.
8338 * nscd/hstcache.c (addhstbyX): Likewise.
8339 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8340 * nscd/mem.c (gc, mempool_alloc): Likewise.
8341 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8342 (addinnetgrX): Likewise.
8343 * nscd/nscd-client.h (__nscd_acquire_maplock)
8344 (__nscd_drop_map_ref): Likewise.
8345 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8346 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8347 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8349 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8350 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8351 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8352 (__nscd_get_map_ref): Likewise.
8353 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8354 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8356 * nscd/pwdcache.c (addpwbyX): Likewise.
8357 * nscd/selinux.c (preserve_capabilities): Likewise.
8358 * nscd/servicescache.c (addservbyX): Likewise.
8359 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8360 * posix/fnmatch.c (fnmatch): Likewise.
8361 * posix/getopt.c (_getopt_internal_r): Likewise.
8362 * posix/glob.c (glob, glob_in_dir): Likewise.
8363 * posix/wordexp.c (exec_comm_child): Likewise.
8364 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8365 (getanswer_r, gaih_getanswer_slice): Likewise.
8366 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8367 * resolv/res_init.c: Likewise.
8368 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8369 * resolv/res_query.c (__libc_res_nquery): Likewise.
8370 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8372 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8373 * stdio-common/perror.c (perror): Likewise.
8374 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8375 * stdio-common/tmpnam.c (tmpnam): Likewise.
8376 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8377 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8378 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8380 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8381 * stdlib/putenv.c (putenv): Likewise.
8382 * stdlib/setenv.c (__add_to_environ): Likewise.
8383 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8384 * stdlib/strtol_l.c (INTERNAL): Likewise.
8385 * string/memmem.c (memmem): Likewise.
8386 * string/strerror.c (strerror): Likewise.
8387 * string/strnlen.c (__strnlen): Likewise.
8388 * string/test-memmem.c (simple_memmem): Likewise.
8389 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8390 * sunrpc/pm_getport.c (__get_socket): Likewise.
8391 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8392 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8393 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8394 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8396 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8397 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8398 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8399 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8400 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8401 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8403 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8405 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8406 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8407 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8408 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8409 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8411 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8412 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8413 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8414 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8415 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8416 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8420 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8422 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8424 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8425 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8426 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8427 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8428 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8429 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8430 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8431 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8432 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8433 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8434 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8435 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8436 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8437 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8439 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8441 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8443 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8445 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8447 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8449 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8450 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8451 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8452 * sysdeps/posix/sleep.c: Likewise.
8453 * sysdeps/posix/tempname.c: Likewise.
8454 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8455 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8457 * sysdeps/powerpc/powerpc32/dl-machine.h
8458 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8459 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8460 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8461 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8462 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8464 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8465 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8466 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8468 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8469 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8470 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8471 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8472 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8473 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8474 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8475 (elf_machine_lazy_rel): Likewise.
8476 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8477 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8478 (elf_machine_lazy_rel): Likewise.
8479 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8480 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8481 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8482 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8483 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8484 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8485 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8486 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8488 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8489 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8490 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8491 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8492 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8493 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8494 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8495 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8496 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8497 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8498 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8500 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8501 (__posix_fallocate64_l64): Likewise.
8502 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8503 (posix_fallocate): Likewise.
8504 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8506 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8507 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8508 (getifaddrs_internal): Likewise.
8509 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8510 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8511 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8512 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8513 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8514 (__posix_fallocate64_l64): Likewise.
8515 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8517 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8518 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8519 (__get_clockfreq): Likewise.
8520 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8521 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8522 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8523 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8524 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8525 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8526 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8527 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8529 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8530 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8531 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8532 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8533 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8534 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8535 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8537 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8538 (posix_fallocate): Likewise.
8539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8540 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8541 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8542 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8543 (elf_machine_rela, elf_machine_rela_relative)
8544 (elf_machine_lazy_rel): Likewise.
8545 * time/asctime.c (asctime_internal): Likewise.
8546 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8547 * time/tzset.c (__tzset_parse_tz): Likewise.
8548 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8549 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8550 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8551 * wcsmbs/wcsmbsload.h: Likewise.
8554 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8556 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8557 (arena_get2): Remove THREAD_STATS conditionals.
8558 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8559 (__malloc_stats, int): Likewise.
8561 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8563 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8564 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8566 * manual/setjmp.texi: Fix typos/grammar errors.
8568 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8569 Only return early when n is <= 0. Delete unused return statement.
8571 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8572 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8573 * debug/tst-longjmp_chk3.c: New file.
8575 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8576 (test_main): Replace code with set_fortify_handler call.
8577 * debug/test-strcpy_chk.c: Likewise.
8578 * debug/tst-chk1.c: Likewise.
8579 * debug/tst-longjmp_chk.c: Likewise.
8580 * test-skeleton.c: Include fcntl.h & paths.h
8581 (set_fortify_handler): Define.
8583 * debug/tst-longjmp_chk.c: Add header comment and include
8585 (do_test): Mark static.
8586 (TEST_FUNCTION): Define.
8588 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8589 (IP_PMTUDISC_INTERFACE): Likewise.
8590 (IP_MULTICAST_IF): Likewise.
8591 (IP_MULTICAST_TTL): Likewise.
8592 (IP_MULTICAST_LOOP): Likewise.
8593 (IP_ADD_MEMBERSHIP): Likewise.
8594 (IP_DROP_MEMBERSHIP): Likewise.
8595 (IP_UNBLOCK_SOURCE): Likewise.
8596 (IP_BLOCK_SOURCE): Likewise.
8597 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8598 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8599 (IP_MSFILTER): Likewise.
8600 (MCAST_JOIN_GROUP): Likewise.
8601 (MCAST_BLOCK_SOURCE): Likewise.
8602 (MCAST_UNBLOCK_SOURCE): Likewise.
8603 (MCAST_LEAVE_GROUP): Likewise.
8604 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8605 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8606 (MCAST_MSFILTER): Likewise.
8607 (IP_MULTICAST_ALL): Likewise.
8608 (IP_UNICAST_IF): Likewise.
8610 * timezone/Makefile: Delete $(have-ksh) check.
8611 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8612 * timezone/tzselect.ksh: Add +x mode bits.
8614 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8615 (ANON_INODE_FS_MAGIC): Likewise.
8616 (BDEVFS_MAGIC): Likewise.
8617 (BINFMTFS_MAGIC): Likewise.
8618 (BTRFS_TEST_MAGIC): Likewise.
8619 (CRAMFS_MAGIC_WEND): Likewise.
8620 (DEBUGFS_MAGIC): Likewise.
8621 (ECRYPTFS_SUPER_MAGIC): Likewise.
8622 (EXT3_SUPER_MAGIC): Likewise.
8623 (EXT4_SUPER_MAGIC): Likewise.
8624 (FUTEXFS_SUPER_MAGIC): Likewise.
8625 (HOSTFS_SUPER_MAGIC): Likewise.
8626 (HUGETLBFS_MAGIC): Likewise.
8627 (MINIX3_SUPER_MAGIC): Likewise.
8628 (MTD_INODE_FS_MAGIC): Likewise.
8629 (NILFS_SUPER_MAGIC): Likewise.
8630 (OPENPROM_SUPER_MAGIC): Likewise.
8631 (PIPEFS_MAGIC): Likewise.
8632 (PSTOREFS_MAGIC): Likewise.
8633 (QNX6_SUPER_MAGIC): Likewise.
8634 (RAMFS_MAGIC): Likewise.
8635 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8636 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8637 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8638 (SECURITYFS_MAGIC): Likewise.
8639 (SELINUX_MAGIC): Likewise.
8640 (SMACK_MAGIC): Likewise.
8641 (SOCKFS_MAGIC): Likewise.
8642 (SQUASHFS_MAGIC): Likewise.
8643 (STACK_END_MAGIC): Likewise.
8644 (TMPFS_MAGIC): Likewise.
8645 (USBDEVICE_SUPER_MAGIC): Likewise.
8646 (V9FS_MAGIC): Likewise.
8647 (XENFS_SUPER_MAGIC): Likewise.
8648 (CRAMFS_MAGIC): Fix typo in comment.
8649 (EXT2_SUPER_MAGIC): Update comment.
8650 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8652 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8654 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8655 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8656 * sysdeps/unix/sysv/linux/arm: Move directory from
8657 ports/sysdeps/unix/sysv/linux/arm.
8658 * README: Update listing for arm-*-linux-gnueabi.
8660 * README: Remove mention of am33.
8662 2014-02-07 Roland McGrath <roland@hack.frob.com>
8664 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8665 than the comma operator, to avoid "rhs of comma has no effect"
8667 (__sigfillset, __sigandset, __sigorset): Likewise.
8668 * include/signal.h (__sigemptyset): Likewise.
8669 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8671 2014-02-07 Allan McRae <allan@archlinux.org>
8673 * version.h (RELEASE): Set to "development".
8674 (VERSION): Set to "2.19.90"
8675 * NEWS: Add 2.20 section.
8677 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8680 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8682 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8684 * manual/contrib.texi: Update entry for Carlos O'Donell,
8685 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8687 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8689 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8691 * sysdeps/unix/sysv/linux/kernel-features.h
8692 [__LINUX_KERNEL_VERSION >= 0x020621]
8693 (__ASSUME_PROC_PID_TASK_COMM): Define.
8695 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8698 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8699 conversion when destination buffer does not have enough space.
8700 * libio/tst-ftell-partial-wide.c: New test case.
8701 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8703 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8704 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8705 Leonard and Allan McRae.
8707 2014-02-04 David S. Miller <davem@davemloft.net>
8709 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8712 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8741 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8743 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8744 * shlib-versions: Likewise.
8746 2014-02-04 Roland McGrath <roland@hack.frob.com>
8747 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8749 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8750 (abilist-pattern): New variable, set to %-le.abilist.
8752 * Makerules (abilist-pattern): New variable.
8753 (vpath): Use $(abilist-pattern) in place of %.abilist.
8754 (check-abi-% pattern rule): Likewise.
8755 (check-abi, update-abi): Likewise.
8757 2014-02-04 Eric Wong <normalperson@yhbt.net>
8759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8761 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8763 * manual/startup.texi: Add next, previous, and top entries for
8764 the `Program Arguments' and `Environment Variables' nodes.
8766 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8768 * manual/macros.texi: Add comments before MTASC-safety macros.
8770 * manual/users.texi: Document MTASC-safety properties.
8772 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8773 (pthread_getspecific, pthread_setspecific): Format with
8774 @deftypefun, and add @safety note.
8775 * manual/signal.texi: Move comments that analyze the above
8776 functions to their home place.
8778 2014-02-03 Allan McRae <allan@archlinux.org>
8780 * po/sl.po: Update Slovenian translation from translation project.
8782 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8784 * manual/time.texi (timegm): Add missing blank after @c.
8785 Reported by Joseph Myers <joseph@codesourcery.com>.
8787 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8789 * manual/check-safety.sh: New.
8790 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8792 * manual/terminal.texi: Document MTASC-safety properties.
8794 * manual/filesys.texi: Document MTASC-safety properties.
8796 * manual/errno.texi: Document MTASC-safety properties.
8798 * manual/intro.texi: Document safety identifiers and
8801 * manual/string.texi (wcstok): Fix prototype.
8802 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8804 * manual/time.texi: Document MTASC-safety properties.
8806 * manual/string.texi: Document MTASC-safety properties.
8808 * manual/threads.texi: Document MTASC-safety properties.
8810 * manual/stdio.texi: Document MTASC-safety properties.
8812 * manual/syslog.texi: Document MTASC-safety properties.
8814 * manual/sysinfo.texi: Document MTASC-safety properties.
8816 * manual/startup.texi: Document MTASC-safety properties.
8818 * manual/socket.texi: Document MTASC-safety properties.
8820 * manual/signal.texi: Document MTASC-safety properties.
8822 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8824 * manual/setjmp.texi: Document MTASC-safety properties.
8826 * manual/search.texi: Document MTASC-safety properties.
8828 * manual/resource.texi: Document MTASC-safety properties.
8830 * manual/process.texi: Document MTASC-safety properties.
8832 * manual/platform.texi: Document MTASC-safety properties.
8834 * manual/pipe.texi: Document MTASC-safety properties.
8836 * manual/pattern.texi: Document MTASC-safety properties.
8838 * manual/message.texi: Document MTASC-safety properties.
8841 * manual/memory.texi: Document MTASC-safety properties.
8843 * manual/math.texi: Document MTASC-safety properties.
8845 * manual/locale.texi: Document MTASC-safety properties.
8847 * manual/llio.texi: Document MTASC-safety properties.
8849 * manual/libdl.texi: New.
8851 * manual/lang.texi: Document MTASC-safety properties.
8853 * manual/job.texi: Document MTASC-safety properties.
8855 * manual/getopt.texi: Document MTASC-safety properties.
8857 * manual/ctype.texi: Document MTASC-safety properties.
8859 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8862 * csu/libc-tls.c (static_map): Remove variable.
8863 (__libc_setup_tls): Use main executable's link map for TLS data.
8864 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8865 casing for LM_ID_BASE and GL(dl_nns).
8866 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8867 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8868 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8869 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8870 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8872 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8875 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8877 * manual/debug.texi: Document MTASC-safety properties.
8879 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8882 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8883 of __x86_64__ when disabling x87 inline functions.
8885 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8887 * manual/charset.texi: Document MTASC-safety properties.
8889 * manual/crypt.texi: Document MTASC-safety properties.
8891 * manual/conf.texi: Document MTASC-safety properties.
8893 * manual/arith.texi: Document MTASC-safety properties.
8895 * manual/argp.texi: Document MTASC-safety properties.
8897 * manual/macros.texi: Introduce macros to document multi
8898 thread, asynchronous signal and asynchronous cancellation
8900 * manual/intro.texi: Introduce the properties themselves.
8902 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8904 * sysdeps/sh/sh4/Makefile: New file.
8906 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8908 * math/gen-libm-test.pl ($srcdir): New variable.
8909 ($auto_input): Use it.
8911 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8914 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8915 access beyond array bounds when parsing netgroups file.
8917 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8918 the old buffer before realloc.
8920 2014-01-27 Allan McRae <allan@archlinux.org>
8922 * po/fr.po: Update French translation from translation project.
8924 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8926 * sysdeps/sh/libm-test-ulps: Regenerate.
8928 2014-01-24 David S. Miller <davem@davemloft.net>
8930 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8932 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8934 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8935 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8937 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8940 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8941 string pointers after reallocation.
8943 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8945 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8946 __SH4A__ instead of __SH_FPU_ANY__.
8948 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8950 * sysdeps/sh/fpu_control.h: New file.
8951 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8952 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8953 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8954 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8955 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8956 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8957 * sysdeps/sh/sys/ucontext.h: Remove.
8958 * sysdeps/sh/sys: Remove directory.
8960 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8962 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8963 s390/sys/ucontext.h.
8964 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8965 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8967 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8970 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8972 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8975 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8976 Adjust the vDSO correctly for internal calls.
8977 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8979 2014-01-20 Allan McRae <allan@archlinux.org>
8981 * po/ca.po: Update Catalan translation from translation project.
8983 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8985 * sysdeps/s390/sotruss-lib.c: New file.
8987 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8990 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8991 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8992 local calls issues by not having a PLT stub required for IFUNC calls.
8993 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8995 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8997 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8998 * math/test-fpucw-static.c: Likewise.
9000 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9003 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9005 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9007 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9008 implementation for powerpc.
9010 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9013 * sysdeps/posix/system.c (__libc_system): Do not enable
9014 asynchronous cancellation.
9016 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9019 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9020 handling only for numbers special also in the IEEE case.
9022 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9024 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9026 2014-01-11 Allan McRae <allan@archlinux.org>
9028 * po/bg.po: Update Bulgarian translation from translation project.
9030 * po/de.po: Update German translation from translation project.
9032 2014-01-10 Roland McGrath <roland@hack.frob.com>
9034 * sysdeps/generic/gcc-compat.h: New file.
9036 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9038 * benchtests/asin-inputs: Correct slow inputs.
9039 * benchtests/acos-inputs: Likewise.
9041 2014-01-10 Allan McRae <allan@archlinux.org>
9043 * po:sv.po: Update Swedish translation from translation project.
9045 * po/vi.po: Update Vietnamese translation from translation project.
9047 * po/eo.po: Update Esperanto translation from translation project.
9049 * po/cs.po: Update Czech translation from translation project.
9051 * po/nl.po: Update Dutch translation from translation project.
9053 * po/pl.po: Update Polish translation from translation project.
9055 * po/ru.po: Update Russian translation from translation project.
9057 * po/uk.po: Update Ukrainian translation from translation project.
9059 2014-01-08 Brooks Moses <bmoses@google.com>
9061 * elf/dl-load.c: Fix comment typo.
9063 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9065 * po/header.pot: Rename to...
9066 * po/pot.header: ... this.
9067 * po/Makefile: Use pot.header.
9069 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9070 Maxim Kuvyrkov <maxim@kugelworks.com>
9073 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9074 SRC and DEST against LEN.
9076 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9079 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9081 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9083 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9087 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9090 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9091 for large positive arguments.
9093 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9095 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9097 * math/auto-libm-test-in: Mark various tests with
9098 xfail-rounding:ldbl-128ibm.
9099 * math/auto-libm-test-out: Regenerated.
9102 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9103 Increase overflow threshold.
9105 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9108 * stdio-common/vfprintf.c: Check for integer overflow.
9110 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9112 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9113 the first argument and return value of __tls_get_addr_internal.
9115 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9117 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9118 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9120 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9122 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9123 * sysdeps/s390/rtld-global-offsets.sym: New file.
9124 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9126 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9127 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9128 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9130 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9131 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9137 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9138 halfs of GPRs for high_gprs contexts.
9139 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9140 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9142 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9144 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9146 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9147 for high GPRs (uc_high_gprs) and for future extensions
9149 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9150 for future extensions (__reserved).
9151 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9153 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9154 SC_HIGHGPRS offset definition.
9155 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9156 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9158 * Versions.def: Add GLIBC_2.19 for libpthread.
9159 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9160 siglongjmp for libpthread with GLIBC_2.19 symver.
9161 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9162 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9163 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9164 * sysdeps/s390/__longjmp.c: New file.
9165 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9166 * sysdeps/s390/longjmp.c: New file.
9167 * sysdeps/s390/setjmp.S: New file.
9168 * sysdeps/s390/sigjmp.S: New file.
9169 * sysdeps/s390/v1-longjmp.c: New file.
9170 * sysdeps/s390/v1-setjmp.h: New file.
9171 * sysdeps/s390/v1-sigjmp.c: New file.
9172 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9173 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9175 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9176 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9177 versioned symbols for ____longjmp_chk.
9178 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9188 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9189 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9190 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9191 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9192 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9193 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9194 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9195 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9196 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9197 * sysdeps/s390/rtld-__longjmp.c: New file.
9198 * sysdeps/s390/rtld-setjmp.S: New file.
9200 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9203 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9204 Return -__logl (x) for small positive arguments without evaluating
9207 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9209 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9211 (__ptrace_peeksiginfo_args): ... this.
9212 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9214 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9216 2014-01-06 Allan McRae <allan@archlinux.org>
9218 * inet/netinet/in.h: Fix typo in comment.
9220 2014-01-05 Andreas Jaeger <aj@suse.de>
9222 * sysdeps/i386/fpu/libm-test-ulps: Update.
9224 2014-01-05 Allan McRae <allan@archlinux.org>
9226 * po/libc.pot: Regenerated.
9228 * malloc/memusagestat.c: Fix gettext call formatting.
9230 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9232 * nscd/nscd.c: Improve usage() output.
9234 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9236 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9237 * sysdeps/unix/sysv/linux/configure: Regenerated.
9238 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9239 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9241 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9244 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9245 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9247 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9249 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9250 extra tokens at end of #undef directive.
9251 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9252 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9253 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9255 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9257 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9259 * math/auto-libm-test-in: Mark various tests with
9260 xfail-rounding:ldbl-128ibm.
9261 * math/auto-libm-test-out: Regenerated.
9263 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9266 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9267 numbers with subnormal high part when calculating exponent.
9270 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9274 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9276 (__ieee754_acoshl): Use __log1pl not __log1p.
9278 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9280 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9281 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9282 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9283 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9284 (reused_arena, arena_get2): Convert to GNU style.
9285 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9286 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9287 (memalign_check, __malloc_set_state): Likewise.
9288 * malloc/mallocbug.c (main): Likewise.
9289 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9290 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9291 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9292 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9293 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9294 (__posix_memalign, malloc_info): Likewise.
9295 * malloc/malloc.h: Likewise.
9296 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9297 (mallochook, memalignhook, reallochook, mabort): Likewise.
9298 * malloc/mcheck.h: Likewise.
9299 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9300 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9301 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9302 * malloc/morecore.c (__default_morecore): Likewise.
9303 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9304 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9305 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9306 (print_and_abort): Likewise.
9307 * malloc/obstack.h: Likewise.
9308 * malloc/set-freeres.c (__libc_freeres): Likewise.
9309 * malloc/tst-mallocstate.c (main): Likewise.
9310 * malloc/tst-mtrace.c (main): Likewise.
9311 * malloc/tst-realloc.c (do_test): Likewise.
9313 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9316 * nscd/netgroupcache.c (do_notfound): New function.
9317 (addgetnetgrentX): Use it.
9320 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9321 NSS_STATUS_NOTFOUND.
9323 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9325 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9328 2014-01-01 Allan McRae <allan@archlinux.org>
9330 * scripts/update-copyrights: Update configure input file suffix.
9332 * NEWS: Update copyright year.
9333 * catgets/gencat.c: Likewise.
9334 * csu/version.c: Likewise.
9335 * debug/catchsegv.sh: Likewise.
9336 * debug/pcprofiledump.c: Likewise.
9337 * debug/xtrace.sh: Likewise.
9338 * elf/ldconfig.c: Likewise.
9339 * elf/ldd.bash.in: Likewise.
9340 * elf/pldd.c: Likewise.
9341 * elf/sotruss.ksh: Likewise.
9342 * elf/sprof.c: Likewise.
9343 * iconv/iconv_prog.c: Likewise.
9344 * iconv/iconvconfig.c: Likewise.
9345 * locale/programs/locale.c: Likewise.
9346 * locale/programs/localedef.c: Likewise.
9347 * login/programs/pt_chown.c: Likewise.
9348 * malloc/memusage.sh: Likewise.
9349 * malloc/memusagestat.c: Likewise.
9350 * malloc/mtrace.pl: Likewise.
9351 * manual/libc.texinfo: Likewise.
9352 * nscd/nscd.c: Likewise.
9353 * nss/getent.c: Likewise.
9354 * nss/makedb.c: Likewise.
9355 * posix/getconf.c: Likewise.
9356 * scripts/test-installation.pl: Likewise.
9358 * All files with FSF copyright notices: Update copyright dates
9359 using scripts/update-copyrights.
9360 * intl/plural.c: Regenerated.
9361 * locale/programs/charmap-kw.h: Likewise.
9362 * locale/programs/locfile-kw.h: Likewise.
9364 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9366 * sysdeps/unix/sysv/linux/configure: Regenerated.
9367 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9368 the linux/fanotify.h header.
9369 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9370 HAVE_LINUX_FANOTIFY_H is defined.
9372 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9374 * benchtests/cos-inputs: New inputs.
9375 * benchtests/sin-inputs: Likewise.
9377 * benchtests/atan-inputs: New inputs. Fix name of multiple
9378 precision fallback inputs.
9380 * benchtests/atanh-inputs: New inputs.
9381 * benchtests/tanh-inputs: Likewise.
9383 * benchtests/acosh-inputs: New inputs.
9384 * benchtests/asinh-inputs: Likewise.
9386 * benchtests/cosh-inputs: New inputs.
9387 * benchtests/sinh-inputs: Likewise.
9389 * benchtests/acos-inputs: Add more inputs.
9390 * benchtests/asin-inputs: Likewise.
9392 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9395 * manual/arith.texi: Fix spelling.
9396 * manual/charset.texi: Likewise.
9397 * manual/errno.texi: Likewise.
9398 * manual/filesys.texi: Likewise.
9399 * manual/lang.texi: Likewise.
9400 * manual/llio.texi: Likewise.
9401 * manual/locale.texi: Likewise.
9402 * manual/message.texi: Likewise.
9403 * manual/resource.texi: Likewise.
9404 * manual/search.texi: Likewise.
9405 * manual/setjmp.texi: Likewise.
9406 * manual/stdio.texi: Likewise.
9407 * manual/string.texi: Likewise.
9408 * manual/sysinfo.texi: Likewise.
9409 * manual/time.texi: Likewise.
9411 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9413 * po/sl.po: New file.
9415 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9417 * .gitignore: Add core/.gdbinit/.gdb_history.
9419 2013-12-27 Allan McRae <allan@archlinux.org>
9422 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9423 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9425 2013-12-24 Brooks Moses <bmoses@google.com>
9427 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9428 all compilers that claim C++98 compliance, not just GCC.
9429 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9432 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9434 * NEWS: Restore accidentally deleted bug-fix entries.
9436 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9437 Ondřej Bílka <neleai@seznam.cz>
9440 * malloc/malloc.c (_int_free): Perform sanity check only if we
9443 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9446 * manual/stdio.texi (String Input Conversions): Clarify that character
9447 classes are not supported.
9449 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9453 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9456 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9457 Calculate results for small negative arguments directly rather
9458 than using reflection formula with special underflow handling.
9460 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9461 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9462 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9463 (fchflags): Likewise.
9465 (setlogin): Likewise.
9466 (sigaltstack): Likewise.
9469 (sigsetmask): Likewise.
9471 (waitpid): Likewise.
9472 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9473 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9475 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9476 * sysdeps/unix/bsd/Makefile: ... here.
9477 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9478 * sysdeps/unix/bsd/Versions: ... here.
9479 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9480 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9481 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9482 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9483 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9484 * sysdeps/unix/bsd/sigblock.c: ... here.
9485 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9486 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9487 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9488 * sysdeps/unix/bsd/sigvec.c: ... here.
9489 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9490 * sysdeps/unix/bsd/tcdrain.c: ... here.
9491 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9492 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9493 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9494 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9495 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9496 * sysdeps/unix/bsd/wait.c: ... here.
9497 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9498 * sysdeps/unix/bsd/wait3.c: ... here.
9499 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9500 * sysdeps/unix/bsd/waitpid.c: ... here.
9502 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9505 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9506 round-to-nearest for [!USE_AS_EXPM1L].
9507 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9508 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9509 more tests of exp and exp10. Expect some exp10 tests to miss
9510 exceptions or fail in directed rounding modes.
9511 * math/auto-libm-test-out: Regenerated.
9512 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9513 (exp10_test_tonearest): New function.
9514 (exp10_towardzero_test_data): New array.
9515 (exp10_test_towardzero): New function.
9516 (exp10_downward_test_data): New array.
9517 (exp10_test_downward): New function.
9518 (exp10_upward_test_data): New array.
9519 (exp10_test_upward): New function.
9520 (main): Call the new functions.
9521 * sysdeps/i386/fpu/libm-test-ulps: Update.
9522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9524 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9526 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9527 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9528 * math/auto-libm-test-out: Regenerated.
9529 * math/libm-test.inc (acosh_test_data): Add more tests.
9530 (atanh_test_data): Likewise.
9531 (ceil_test_data): Likewise.
9532 (copysign_test_data): Likewise.
9533 * sysdeps/i386/fpu/libm-test-ulps: Update.
9534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9536 * timezone/checktab.awk: Update from tzcode 2013i.
9537 * timezone/private.h: Likewise.
9538 * timezone/scheck.c: Likewise.
9539 * timezone/tzfile.h: Likewise.
9540 * timezone/tzselect.ksh: Likewise.
9541 * timezone/zdump.c: Likewise.
9542 * timezone/zic.c: Likewise.
9544 * math/auto-libm-test-in: Add tests of cpow.
9545 * math/auto-libm-test-out: Regenerated.
9546 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9547 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9549 (func_calc_desc): Add mpc_cc_c union field.
9550 (test_functions): Add cpow.
9551 (special_fill_2pi): New function.
9552 (special_real_inputs): Add 2pi.
9553 (calc_generic_results): Handle mpc_cc_c.
9554 * sysdeps/i386/fpu/libm-test-ulps: Update.
9555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9557 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9558 csqrt, ctan and ctanh.
9559 * math/auto-libm-test-out: Regenerated.
9560 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9561 (TEST_COND_x86): Likewise.
9562 (ccos_test_data): Use AUTO_TESTS_c_c.
9563 (ccosh_test_data): Likewise.
9564 (cexp_test_data): Likewise.
9565 (clog_test_data): Likewise.
9566 (csqrt_test_data): Likewise.
9567 (ctan_test_data): Likewise.
9568 (ctan_tonearest_test_data): Likewise.
9569 (ctan_towardzero_test_data): Likewise.
9570 (ctan_downward_test_data): Likewise.
9571 (ctan_upward_test_data): Likewise.
9572 (ctanh_test_data): Likewise.
9573 (ctanh_tonearest_test_data): Likewise.
9574 (ctanh_towardzero_test_data): Likewise.
9575 (ctanh_downward_test_data): Likewise.
9576 (ctanh_upward_test_data): Likewise.
9577 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9579 (func_calc_desc): Add mpc_c_c union field.
9580 (FUNC_mpc_c_c): New macro.
9581 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9582 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9584 (special_fill_min_subnorm_p120): New function.
9585 (special_real_inputs): Add min_subnorm_p120.
9586 (calc_generic_results): Handle mpc_c_c.
9587 * sysdeps/i386/fpu/libm-test-ulps: Update.
9588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9590 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9592 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9593 (do_sin_slow): New functions.
9594 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9595 (cslow2, csloww1, csloww2): Use the new functions.
9597 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9598 Use M to change sign of result instead of X. Assume X is
9600 (csloww1): Likewise.
9604 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9609 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9611 (sloww1): Don't adjust sign of DX.
9612 (csloww1): Likewise.
9613 (sloww2): Use X directly and don't adjust sign of DX.
9614 (csloww2): Likewise.
9616 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9618 * math/auto-libm-test-in: Add tests of cabs and carg.
9619 * math/auto-libm-test-out: Regenerated.
9620 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9621 (carg_test_data): Likewise.
9622 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9624 (func_calc_desc): Add mpc_c_f union field.
9625 (test_functions): Add cabs and carg.
9626 (calc_generic_results): Handle mpc_c_f.
9628 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9629 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9630 as a macro and a compat symbol.
9631 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9632 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9633 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9634 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9635 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9636 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9638 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9640 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9642 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9644 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9646 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9648 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9649 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9652 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9656 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9658 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9659 trailing whitespace removed.
9660 * scripts/config.guess: Update to version 2013-11-29.
9661 * scripts/config.sub: Update to version 2013-10-01.
9663 * math/auto-libm-test-in: Add tests of sincos.
9664 * math/auto-libm-test-out: Regenerated.
9665 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9666 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9668 (func_calc_desc): Add mpfr_f_11 union field.
9669 (test_functions): Add sincos.
9670 (calc_generic_results): Handle mpfr_f_11.
9671 * sysdeps/i386/fpu/libm-test-ulps: Update.
9672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9674 2013-12-19 Andreas Schwab <schwab@suse.de>
9676 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9678 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9679 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9680 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9682 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9684 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9685 * sysdeps/i386/fpu/libm-test-ulps: Update.
9686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9689 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9690 round-to-nearest mode when using frndint.
9691 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9692 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9693 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9695 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9697 * math/auto-libm-test-out: Regenerated.
9698 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9699 (TEST_COND_x86): Likewise.
9700 (expm1_tonearest_test_data): New array.
9701 (expm1_test_tonearest): New function.
9702 (expm1_towardzero_test_data): New array.
9703 (expm1_test_towardzero): New function.
9704 (expm1_downward_test_data): New array.
9705 (expm1_test_downward): New function.
9706 (expm1_upward_test_data): New array.
9707 (expm1_test_upward): New function.
9708 (main): Run the new test functions.
9709 * sysdeps/i386/fpu/libm-test-ulps: Update.
9710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9712 * include/features.h: Update comment documenting feature test
9713 macros. Mention _DEFAULT_SOURCE in comment.
9714 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9715 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9716 _BSD_SOURCE and _SVID_SOURCE.
9717 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9718 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9719 !_SVID_SOURCE]: Likewise.
9720 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9721 (__USE_POSIX_IMPLICITLY): Define.
9722 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9723 (_POSIX_SOURCE): Undefine and redefine.
9724 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9725 (_POSIX_C_SOURCE): Likewise.
9726 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9727 (Feature Test Macros): Update documentation of default features.
9729 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9731 * benchtests/Makefile: Add bench-strtok.
9732 * benchtests/bench-strtok.c: New file: strtok benchtest.
9734 2013-12-19 Allan McRae <allan@archlinux.org>
9736 * manual/install.texi: Suppress menu for plain text output.
9737 * INSTALL: Regenerated.
9739 2013-12-18 Brooks Moses <bmoses@google.com>
9742 * misc/getauxval.c: Include errno.h.
9743 (__getauxval): Set errno to ENOENT if the requested type is not
9745 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9746 don't declare with __attribute_const__.
9747 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9748 * manual/startup.texi: Document that getauxval sets errno.
9750 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9752 * math/auto-libm-test-in: Add tests of jn and yn.
9753 * math/auto-libm-test-out: Regenerated.
9754 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9755 (yn_test_data): Likewise.
9756 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9758 (func_calc_desc): Add mpfr_if_f union field.
9759 (FUNC_mpfr_if_f): New macro.
9760 (test_functions): Add jn and yn.
9761 (calc_generic_results): Assert type of second input for
9762 mpfr_ff_f. Handle mpfr_if_f.
9763 (output_for_one_input_case): Disable all checking for arguments
9764 fitting floating-point types in case of an integer argument.
9765 * sysdeps/i386/fpu/libm-test-ulps: Update.
9766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9769 Don't expect fegetround reference in libm.so.
9771 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9773 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9774 $(config-cflags-nofma).
9776 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9778 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9779 * math/auto-libm-test-out: Regenerated.
9782 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9783 to determine exponent and adjust argument to have exponent of -1.
9784 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9786 * math/auto-libm-test-out: Regenerated.
9787 * sysdeps/i386/fpu/libm-test-ulps: Update.
9788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9790 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9792 * manual/probes.texi: Remove cases when per-thread arenas are
9795 2013-12-18 Andreas Schwab <schwab@suse.de>
9797 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9798 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9799 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9800 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9801 * sysdeps/i386/i686/multiarch/Makefile: Update.
9802 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9804 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9806 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9807 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9809 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9812 Support TZ transition times < 00:00:00.
9813 This is needed for version-3 tz-format files; it supports time
9814 stamps past 2037 for America/Godthab (the only entry in the tz
9815 database for which this change is relevant).
9816 * manual/time.texi (TZ Variable): Document transition times
9817 from -167:59:59 through -00:00:01.
9818 * time/tzset.c (tz_rule): Time of day is now signed.
9819 (__tzset_parse_tz): Parse negative time of day.
9821 Document TZ transition times >= 25:00:00.
9822 * manual/time.texi (TZ Variable): Document transition times from
9823 25:00:00 through 167:59:59. These are already supported, and this
9824 support will help with version-3 tz-format files.
9826 * manual/time.texi (TZ Variable): Modernize North America example
9827 to reflect current (i.e., 2007-and-later) daylight saving rules.
9829 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9831 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9833 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9834 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9835 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9836 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9837 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9838 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9839 * sysdeps/unix/bsd/clock.c: Likewise.
9840 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9841 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9842 * sysdeps/unix/bsd/init-posix.c: Likewise.
9843 * sysdeps/unix/bsd/poll.c: Likewise.
9844 * sysdeps/unix/bsd/ptsname.c: Likewise.
9845 * sysdeps/unix/bsd/seekdir.c: Likewise.
9846 * sysdeps/unix/bsd/setegid.c: Likewise.
9847 * sysdeps/unix/bsd/seteuid.c: Likewise.
9848 * sysdeps/unix/bsd/setgid.c: Likewise.
9849 * sysdeps/unix/bsd/setrgid.c: Likewise.
9850 * sysdeps/unix/bsd/setruid.c: Likewise.
9851 * sysdeps/unix/bsd/setsid.c: Likewise.
9852 * sysdeps/unix/bsd/setuid.c: Likewise.
9853 * sysdeps/unix/bsd/sigaction.c: Likewise.
9854 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9855 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9856 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9857 * sysdeps/unix/bsd/telldir.c: Likewise.
9858 * sysdeps/unix/bsd/times.c: Likewise.
9859 * sysdeps/unix/bsd/usleep.c: Likewise.
9861 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9862 ($(objpfx)libbsd-compat.a): Remove rule.
9864 * include/features.h (__FAVOR_BSD): Do not define.
9865 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9866 features conflicting with POSIX.
9867 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9868 (_BSD_SOURCE): Remove description of not being a subset of other
9869 feature test macros.
9870 * manual/job.texi (getpgrp): Do not document BSD version.
9871 (getpgid): Do not document by reference to BSD getpgrp.
9872 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9873 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9874 * signal/signal.h [__FAVOR_BSD]: Likewise.
9875 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9876 instead of making contents conditional on [__FAVOR_BSD].
9877 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9879 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9883 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9886 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9887 values below 2**-450, not 2**-500.
9888 * math/auto-libm-test-in: Don't allow spurious underflow from
9890 * math/auto-libm-test-out: Regenerated.
9894 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9895 values of ha and hb and sort them after adjusting subnormal
9897 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9899 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9900 values of ea and eb and sort them after adjusting subnormal
9902 * math/auto-libm-test-in: Do not expect some hypot tests of
9903 subnormals to fail. Add more hypot tests.
9904 * math/auto-libm-test-out: Regenerated.
9906 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9909 * sysdeps/sh/s_fma.c: New file.
9910 * sysdeps/sh/s_fmaf.c: New file.
9911 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9913 * sysdeps/sh/Implies: Add sh/soft-fp.
9915 2013-12-16 Roland McGrath <roland@hack.frob.com>
9917 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9918 level of indirection to members `objname', `errstring', `malloced'.
9919 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9920 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9921 it as the __longjmp argument (just pass 1 instead).
9922 (_dl_catch_error): Initialize C with argument pointers and address of
9923 volatile local ERRCODE rather than copying values out of C at return.
9925 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9927 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9928 * math/auto-libm-test-out: Regenerated.
9929 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9930 (hypot_test_data): Likewise.
9931 (pow_test_data): Likewise.
9932 (pow_tonearest_test_data): Likewise.
9933 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9935 (func_calc_desc): Add mpfr_ff_f union field.
9936 (FUNC_mpfr_ff_f): New macro.
9937 (test_functions): Add atan2, hypot and pow.
9938 (special_fill_min): New function.
9939 (special_fill_minus_min): Likewise.
9940 (special_fill_min_subnorm): Likewise.
9941 (special_fill_minus_min_subnorm): Likewise.
9942 (special_real_inputs): Add min, -min, min_subnorm and
9944 (calc_generic_results): Handle mpfr_ff_f.
9945 * sysdeps/i386/fpu/libm-test-ulps: Update.
9946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9948 2013-12-16 Will Newton <will.newton@linaro.org>
9950 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9951 (Aligned Memory Blocks): Add documentation for aligned_alloc
9952 and suggest it as an alternative to posix_memalign.
9953 (Hooks for Malloc): Document __memalign_hook is also called
9954 for aligned_alloc. (Summary of Malloc): Add summary for
9955 aligned alloc. Document __memalign_hook is also called
9958 2013-12-16 Will Newton <will.newton@linaro.org>
9960 * manual/memory.texi (Malloc Examples): Clarify default
9961 alignment documentation. Suggest posix_memalign rather
9962 than memalign or valloc.
9963 (Aligned Memory Blocks): Remove suggestion to use memalign
9964 or valloc. Remove obsolete comment about BSD.
9965 Document memalign errno values and mark the function obsolete.
9966 Document posix_memalign returned error codes. Mark valloc
9967 as obsolete. (Hooks for Malloc): __memalign_hook is also
9968 called for posix_memalign and valloc.
9969 (Summary of Malloc): Add posix_memalign to function summary.
9970 __memalign_hook is also called for posix_memalign and valloc.
9972 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9974 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9978 (sloww): Use mynumber union. Expand ternary operator into
9980 (cslow): use mynumber union.
9982 2013-12-16 Allan McRae <allan@archlinux.org>
9984 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9985 * configure: Regenerated.
9987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9990 * configure.ac: Added --enable-maintainer-mode. Check for
9991 autoconf when enabled.
9992 * configure: Regenerated.
9994 * nscd/nscd.service: New file.
9995 * nscd/nscd.tmpfiles: New file.
9997 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10000 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10001 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10002 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10003 (strstr): Add __strstr_sse2_unaligned ifunc.
10004 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10005 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10006 (strcasestr): Remove __strcasestr_sse42 ifunc.
10007 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10011 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10013 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10014 * sysdeps/sh/bits/fenv.h: ... here.
10015 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10017 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10019 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10022 hypotf multiarch implementations.
10023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10024 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10025 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10026 multiarch hypot for PPC64.
10027 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10028 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10029 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10030 multiarch hypotf for PPC64.
10032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10033 modff multiarch implementations.
10034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10037 multiarch modf for PPC64.
10038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10041 multiarch modff for PPC64.
10043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10044 and logl multiarch implementations.
10045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10048 multiarch logb for PPC64.
10049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10052 multiarch logb for PPC64.
10053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10056 multiarch logb for PPC64.
10058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10059 isinff multiarch implementation.
10060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10064 multiarch isinf for PPC64.
10065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10068 multiarch isinff for PPC64.
10070 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10071 finitef multiarch implementation.
10072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10076 multiarch finite for PPC64.
10077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10080 multiarch finitef for PPC64.
10082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10083 lrint multiarch implementation.
10084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10088 multiarch llrint for PPC64.
10089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10090 multiarch lrint for PPC64.
10092 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10093 copysignf multiarch implementation.
10094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10099 multiarch copysign for PPC64.
10100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10101 multiarch copysignf for PPC64.
10103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10104 multiarch implementation.
10105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10113 multiarch llround for PPC64.
10114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10115 multiarch trunc for PPC64.
10116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10117 multiarch truncf for PPC64.
10119 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10120 multiarch implementation.
10121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10129 multiarch llround for PPC64.
10130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10131 multiarch round for PPC64.
10132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10133 multiarch roundf for PPC64.
10135 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10136 multiarch implementation.
10137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10145 multiarch llround for PPC64.
10146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10147 multiarch floor for PPC64.
10148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10149 multiarch floorf for PPC64.
10151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10152 multiarch implementation.
10153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10161 multiarch llround for PPC64.
10162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10163 multiarch ceil for PPC64.
10164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10165 multiarch ceilf for PPC64.
10167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10168 multiarch implementation.
10169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10176 multiarch llround for PPC64.
10177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10178 multiarch lround for PPC64.
10180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10181 multiarch implementation.
10182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10189 multiarch isnan for PPC64.
10190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10191 multiarch isnanf for PPC64.
10193 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10194 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10195 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10196 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10197 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10200 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10201 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10202 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10203 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10206 multiarch implementations.
10207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10208 (__libc_ifunc_impl_list): Likewise.
10209 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10210 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10211 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10212 multiarch stpcpy for PPC64.
10214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10215 multiarch implementations.
10216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10217 (__libc_ifunc_impl_list): Likewise.
10218 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10219 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10220 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10221 multiarch strcpy for PPC64.
10223 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10224 redefine function name.
10225 (_wordcopy_fwd_dest_aligned): Likewise.
10226 (_wordcopy_bwd_aligned): Likewise.
10227 (_wordcopy_bwd_dest_aligned): Likewise.
10228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10229 multiarch implementations.
10230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10231 (__libc_ifunc_impl_list): Likewise.
10232 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10233 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10234 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10235 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10236 multiarch wcscpy for PPC64.
10238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10239 multiarch implementations.
10240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10241 (__libc_ifunc_impl_list): Likewise.
10242 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10243 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10244 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10245 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10246 multiarch wcscpy for PPC64.
10248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10249 multiarch implementations.
10250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10251 (__libc_ifunc_impl_list): Likewise.
10252 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10253 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10254 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10255 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10256 multiarch wcsrchr for PPC64.
10258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10259 multiarch implementations.
10260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10261 (__libc_ifunc_impl_list): Likewise.
10262 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10263 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10264 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10265 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10266 multiarch wcschr for PPC64.
10268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10269 multiarch implementations.
10270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10271 (__libc_ifunc_impl_list): Likewise.
10272 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10273 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10274 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10275 multiarch strchrnul for PPC64.
10277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10280 (__libc_ifunc_impl_list): Likewise.
10281 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10282 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10283 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10284 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10290 (__libc_ifunc_impl_list): Likewise.
10291 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10292 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10293 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10294 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10298 multiarch implementations.
10299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10300 (__libc_ifunc_impl_list): Likewise.
10301 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10302 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10303 strncasecmp for PPC64.
10304 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10305 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10306 multiarch strncasecmp_l for PPC64.
10308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10309 multiarch implementations.
10310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10311 (__libc_ifunc_impl_list): Likewise.
10312 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10313 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10314 multiarch strcasecmp for PPC64.
10315 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10317 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10318 multiarch strcasecmp_l for PPC64.
10320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10323 (__libc_ifunc_impl_list): Likewise.
10324 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10325 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10326 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10332 (__libc_ifunc_impl_list): Likewise.
10333 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10334 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10335 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10341 (__libc_ifunc_impl_list): Likewise.
10342 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10343 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10344 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10345 rawmemrchr for PPC64.
10347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10350 (__libc_ifunc_impl_list): Likewise.
10351 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10352 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10353 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10359 (__libc_ifunc_impl_list): Likewise.
10360 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10361 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10362 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10368 (__libc_ifunc_impl_list): Likewise.
10369 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10370 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10371 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10374 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10375 avoid cretion of __bzero symbol.
10376 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10378 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10380 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10383 multiarch implementations.
10384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10385 (__libc_ifunc_impl_list): Likewise.
10386 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10387 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10388 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10389 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10391 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10392 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10393 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10394 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10395 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10397 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10399 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10403 (__libc_ifunc_impl_list): Likewise.
10404 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10405 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10406 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10407 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10411 multiarch for POWER/PPC64.
10412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10413 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10414 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10415 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10416 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10417 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10418 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10419 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10420 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10423 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10424 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10425 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10426 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10427 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10428 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10429 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10430 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10431 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10432 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10433 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10434 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10435 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10436 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10437 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10446 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10448 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10450 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10452 * benchtests/Makefile (bench): Add exp2 and log2.
10453 (LDLIBS-bench-exp2): Add -lm.
10454 (LDLIBS-bench-log2): Likewise.
10455 * benchtests/exp2-inputs: New inputs file.
10456 * benchtests/log2-inputs: New inputs file.
10457 * benchtests/log-inputs: Add new inputs.
10458 * benchtests/tan-inputs: Likewise.
10460 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10462 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10464 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10465 (csloww2): ... from here.
10467 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10468 instead of structures.
10469 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10470 (POLYNOMIAL): Likewise.
10471 (TAYLOR_SLOW): Likewise.
10477 (sloww1); Likewise.
10478 (sloww2): Likewise.
10479 (bsloww1): Likewise.
10480 (bsloww2): Likewise.
10481 (cslow2): Likewise.
10482 (csloww): Likewise.
10483 (csloww1): Likewise.
10484 (csloww2): Likewise.
10486 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10488 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10489 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10490 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10491 * malloc/hooks.c (realloc_check): Likewise.
10493 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10494 * malloc/arena.c: Remove PER_THREAD conditional.
10495 [!PER_THREAD]: Remove code.
10496 (ptmalloc_unlock_all2): Likewise.
10497 (ptmalloc_init): Likewise.
10498 (_int_new_arena): Likewise.
10499 (arena_get2): Likewise.
10500 * malloc/hooks.c (__malloc_get_state): Likewise.
10501 (__malloc_set_state): Likewise.
10502 * malloc/malloc.c: Likewise.
10503 (struct malloc_state): Likewise.
10504 (struct malloc_par): Likewise.
10505 (__libc_realloc): Likewise.
10506 (__libc_mallopt): Likewise.
10508 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10510 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10512 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10514 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10515 macro to a function. Check for zero perturb_byte.
10516 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10518 * malloc/malloc.c: (force_reg): Remove.
10519 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10520 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10521 force_reg by atomic_forced_read.
10522 * malloc/arena.c (ptmalloc_init): Likewise.
10523 * malloc/hooks.c (top_check): Likewise.
10525 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10529 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10533 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10535 * math/auto-libm-test-in: Add tests of lgamma.
10536 * math/auto-libm-test-out: Regenerated.
10537 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10538 (M_LOG_2_SQRT_PIl): Likewise.
10539 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10540 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10542 (func_calc_desc): Add mpfr_f_f1 union field.
10543 (ARGS1): New macro.
10551 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10552 (test_functions): Add lgamma.
10553 (calc_generic_results): Handle mpfr_f_f1.
10554 * sysdeps/i386/fpu/libm-test-ulps: Update.
10555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10557 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10559 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10560 __mpn_add_n for PowerPC64/POWER7.
10561 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10562 __mpn_sub_n for PowerPC64/POWER7.
10564 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10565 __mpn_addmul_1 for PowerPC64.
10566 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10567 __mpn_submul_1 for PowerPC64.
10568 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10570 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10573 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10576 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10578 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10580 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10582 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10583 add multiarch folders.
10584 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10585 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10586 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10587 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10588 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10589 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10590 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10591 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10592 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10593 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10594 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10603 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10609 multiarch __ieee754_hypot for PowerPC32.
10610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10615 multiarch __ieee754_hypotf for PowerPC32.
10617 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10618 long_double_symbol only if __logbl is defined.
10619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10620 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10622 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10624 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10625 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10626 path for implementation.
10627 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10628 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10630 logb, and logbl multiarch implementations for PowerPC32.
10631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10636 multiarch logb for PowerPC32.
10637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10642 multiarch logbf for PowerPC32.
10643 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10647 multiarch logbl implementation for PowerPC32.
10649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10650 and modff multiarch implementations.
10651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10656 multiarch modf for PowerPC32.
10657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10662 multiarch modff for PowerPC32.
10664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10665 and lrintf multiarch implementations.
10666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10671 multiarch lrint for PowerPC32.
10672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10673 file: multiarch lrintf for PowerPC32.
10675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10676 and lroundf multiarch implementations.
10677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10684 multiarch lround for PowerPC32.
10685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10686 file: multiarch lroundf for PowerPC32.
10688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10689 copysign and copysignf multiarch implementations.
10690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10695 file: multiarch copysign for PowerPC32.
10696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10697 file: multiarch copysignf for PowerPC32.
10699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10700 and truncf multiarch implementations.
10701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10706 multiarch trunc for PowerPC32.
10707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10712 multiarch truncf for PowerPC32.
10714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10715 and roundf multiarch implementations.
10716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10721 multiarch round for PowerPC32.
10722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10727 multiarch roundf for PowerPC32.
10729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10730 and floorf multiarch implementations.
10731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10736 multiarch floor for PowerPC32.
10737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10742 multiarch floorf for PowerPC32.
10744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10745 and ceilf multiarch implementations.
10746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10751 multiarch ceil for PowerPC32.
10752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10757 multiarch ceilf for PowerPC32.
10759 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10761 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10762 FINITEF is defined.
10763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10764 and finitef multiarch implementations.
10765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10770 multiarch finite for PowerPC32.
10771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10774 file: multiarch finitef for PowerPC32.
10776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10777 and isinff multiarch implementations.
10778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10783 multiarch isinf for PowerPC32.
10784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10787 multiarch isinff for PowerPC32.
10789 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10790 alias when __isnan is defined.
10791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10792 and isnanf multiarch implementations.
10793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10802 multiarch isnan for PowerPC32.
10803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10808 multiarch isnanf for PowerPC32.
10810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10811 and sqrtf multiarch implementations.
10812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10817 multiarch sqrt for PowerPC32.
10818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10823 multiarch sqrtf for PowerPC32.
10825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10826 and llroundf multiarch implementations.
10827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10834 file: multiarch llround for PowerPC32.
10835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10836 file: multiarch llroundf for PowerPC32.
10838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10839 multiarch PowerPC32 fpu implementations.
10840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10845 multiarch llrint for PowerPC32.
10846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10855 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10857 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10859 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10861 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10862 multiarch wordcopy for PPC32.
10863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10866 (__libc_ifunc_impl_list): Likewise.
10867 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10868 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10869 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10870 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10871 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10872 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10874 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10877 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10879 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10881 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10882 multiarch wcscpy for PPC32.
10883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10886 (__libc_ifunc_impl_list): Likewise.
10887 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10888 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10889 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10890 sysdeps/powerpc/power6/wcscpy.c.
10892 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10900 multiarch wcsrchr for PPC32.
10901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10904 (__libc_ifunc_impl_list): Likewise.
10905 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10906 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10907 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10908 sysdeps/powerpc/power6/wcsrchr.c.
10910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10914 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10916 multiarch wcschr for PPc32.
10917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10920 (__libc_ifunc_impl_list): Likewise.
10921 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10922 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10923 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10924 sysdeps/powerpc/power6/wcschr.c.
10926 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10927 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10929 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10930 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10931 file: multiarch strchr for PPC32.
10932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10935 (__libc_ifunc_impl_list): Likewise.
10937 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10939 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10941 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10943 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10944 multiarch strchrnul for PPC32.
10945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10948 (__libc_ifunc_impl_list): Likewise.
10950 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10952 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10953 multiarch strncasecmp for PPC32.
10954 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10956 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10957 multiarch strncasecmp_l for PPC32.
10958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10959 strncasecmp multiarch objects.
10960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10961 (__libc_ifunc_impl_list): Likewise.
10963 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10965 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10966 multiarch strncasecmp for PPC32.
10967 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10969 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10970 multiarch strcasecmp_l for PPC32.
10971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10974 (__libc_ifunc_impl_list): Likewise.
10976 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10978 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10980 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10981 multiarch strncmp for PPC32.
10982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10985 (__libc_ifunc_impl_list): Likewise.
10987 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10988 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10990 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10991 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10992 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10994 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10995 (__libc_ifunc_impl_list): Likewise.
10997 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10999 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11001 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11005 (__libc_ifunc_impl_list): Likewise.
11007 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11009 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11011 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11012 multiarch rawmemchr for PPC32.
11013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11016 (__libc_ifunc_impl_list): Likewise.
11018 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11020 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11022 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11023 file: memrchr multiarch for PPC32.
11024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11027 (__libc_ifunc_impl_list): Likewise.
11029 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11030 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11032 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11033 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11034 multiarch memchr for PPC32.
11035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11038 (__libc_ifunc_impl_list): Likewise.
11040 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11041 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11043 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11045 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11046 file: multiarch mempcpy for PPC32.
11047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11050 (__libc_ifunc_impl_list): Likewise.
11052 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11053 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11054 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11055 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11056 multiarch bzero for PPC32.
11057 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11059 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11061 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11062 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11063 file: multiarch memset for PPC32.
11064 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11066 memset multiarch objects.
11067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11068 (__libc_ifunc_impl_list): Likewise.
11070 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11072 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11073 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11075 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11079 (__libc_ifunc_impl_list): Likewise.
11081 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11082 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11083 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11085 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11087 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11090 multiarch memcpy for PPC32.
11091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11094 (__libc_ifunc_impl_list): Likewise.
11096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11097 support multiarch for POWER/PPC32.
11098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11100 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11102 Implies file to make multiarch folder appers before the fpu and
11103 default folder for power4 configuration.
11105 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11107 * scripts/bench.pl: Append volatile keyword to type.
11109 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11111 * sysdeps/sh/sotruss-lib.c: New file.
11112 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11114 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11118 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11121 * math/w_tgamma.c: Include <errno.h>.
11122 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11123 * math/w_tgammaf.c: Include <errno.h>.
11124 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11125 * math/w_tgammal.c: Include <errno.h>.
11126 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11127 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11128 underflow. Add more tgamma tests.
11129 * math/auto-libm-test-out: Regenerated.
11130 * sysdeps/i386/fpu/libm-test-ulps: Update.
11131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11133 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11134 sin, sinh, tan, tanh, tgamma, y0 and y1.
11135 * math/auto-libm-test-out: Regenerated.
11136 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11137 (TEST_COND_x86): Likewise.
11138 (M_E2l): Remove macro.
11140 (M_2_SQRT_PIl): Likewise.
11141 (M_SQRT_PIl): Likewise.
11142 (M_1_DIV_El): Likewise.
11143 (log_test_data): Use AUTO_TESTS_f_f.
11144 (log10_test_data): Likewise.
11145 (log1p_test_data): Likewise.
11146 (log2_test_data): Likewise.
11147 (sin_test_data): Likewise.
11148 (sin_tonearest_test_data): Likewise.
11149 (sin_towardzero_test_data): Likewise.
11150 (sin_downward_test_data): Likewise.
11151 (sin_upward_test_data): Likewise.
11152 (sinh_test_data): Likewise.
11153 (sinh_tonearest_test_data): Likewise.
11154 (sinh_towardzero_test_data): Likewise.
11155 (sinh_downward_test_data): Likewise.
11156 (sinh_upward_test_data): Likewise.
11157 (tan_test_data): Likewise.
11158 (tan_tonearest_test_data): Likewise.
11159 (tan_towardzero_test_data): Likewise.
11160 (tan_downward_test_data): Likewise.
11161 (tan_upward_test_data): Likewise.
11162 (tanh_test_data): Likewise.
11163 (tgamma_test_data): Likewise.
11164 (y0_test_data): Likewise.
11165 (y1_test_data): Likewise.
11166 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11167 (special_real_inputs): Add pi/4.
11168 * sysdeps/i386/fpu/libm-test-ulps: Update.
11169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11171 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11173 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11174 "longjmp_target" static probes.
11175 (__longjmp): Rename to __longjmp_symbol.
11176 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11177 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11178 on which longjmp to generate.
11179 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11180 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11182 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11183 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11184 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11185 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11186 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11187 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11189 __longjmp_symbol based on which __longjmp to generate.
11190 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11192 (setjmp): Rename to setjmp_symbol.
11193 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11194 (_setjmp): Rename to _setjmp_symbol.
11195 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11196 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11197 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11198 which setjmp to generate.
11199 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11200 "longjmp_target" static probes.
11202 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11204 * benchtests/README: Add note about output arguments.
11205 * benchtests/bench-sincos.c: Remove file.
11206 * benchtests/sincos-inputs: New file.
11207 * scripts/bench.pl: Identify output arguments and define
11208 static variables for them.
11210 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11213 * Makefile (INSTALL): Add install-plain.texi as the primary
11215 * manual/install-plain.texi: New file.
11216 * manual/install.texi: Include node directive only for
11217 non-plaintext output.
11219 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11221 * stdlib/longlong.h: Update from GCC.
11225 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11226 * math/w_j0f.c (y0f): Likewise.
11227 * math/w_j0l.c (__y0l): Likewise.
11228 * math/w_j1.c (y1): Likewise.
11229 * math/w_j1f.c (y1f): Likewise.
11230 * math/w_j1l.c (__y1l): Likewise
11231 * math/w_jn.c (yn): Likewise.
11232 * math/w_jnf.c (ynf): Likewise.
11233 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11234 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11235 value for Bessel function domain errors outside _SVID_ mode.
11236 Adjust sign of return value for yn (negative integer, 0).
11237 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11238 by zero in return for negative x and set sign appropriately for
11240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11241 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11242 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11243 expectations in error cases.
11244 (y1_test_data): Likewise.
11245 (yn_test_data): Likewise.
11246 * sysdeps/i386/fpu/libm-test-ulps: Update.
11247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11249 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11251 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11252 "64" to "64-v1". Add "64-v2".
11253 (abi-64-options): Rename to ...
11254 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11255 (abi-64-condition): Rename to ...
11256 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11257 (abi-64-ld-soname): Rename to ...
11258 (abi-64-v1-ld-soname): ... this.
11259 (abi-64-v2-options): Define.
11260 (abi-64-v2-condition): Likewise.
11261 (abi-64-v2-ld-soname): Likewise.
11262 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11263 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11268 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11269 Alan Modra <amodra@gmail.com>
11271 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11272 New versions for use with the ELFv2 ABI.
11273 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11274 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11276 (struct La_ppc64v2_retval): Likewise.
11277 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11278 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11279 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11280 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11281 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11282 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11283 Do not save or restore CR.
11284 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11285 (_dl_profile_resolve): Do no save or restore CR. Support extended
11286 return values for ELFv2 ABI. Fix location of FPR return registers.
11287 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11288 updated values for _CALL_ELF == 2.
11289 (La_regs, La_retval, int_retval): Likewise.
11291 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11293 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11294 (FRAME_MIN_SIZE_PARM): Likewise.
11295 (FRAME_BACKCHAIN): Likewise.
11296 (FRAME_CR_SAVE): Likewise.
11297 (FRAME_LR_SAVE): Likewise.
11298 (FRAME_TOC_SAVE): Likewise.
11299 (FRAME_PARM_SAVE): Likewise.
11300 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11301 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11302 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11303 (call_mcount_parm_offset): New macro.
11304 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11305 (PROF): Use symbolic stack frame offsets.
11306 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11307 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11308 Redefine in terms of FRAME_MIN_SIZE.
11309 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11310 (_dl_profile_resolve): Likewise. Update comment.
11311 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11312 symbols stack frame offsets.
11313 (__sigsetjmp): Likewise.
11314 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11315 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11316 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11317 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11320 (FRAME_BACKCHAIN): Remove.
11321 (FRAME_CR_SAVE): Likewise.
11322 (FRAME_LR_SAVE): Likewise.
11323 (FRAME_COMPILER_DW): Likewise.
11324 (FRAME_LINKER_DW): Likewise.
11325 (FRAME_TOC_SAVE): Likewise.
11326 (FRAME_PARM_SAVE): Likewise.
11327 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11328 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11329 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11331 (CHECK_SP): Use symbolic stack frame offsets.
11332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11333 zone" instead of caller's parameter save area for temp storage.
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11335 Likewise. Also, use symbolic stack frame offsets.
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11337 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11338 our own stack frame instead of the caller's.
11339 (__socket): Use symbolic stack frame offsets.
11341 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11342 Alan Modra <amodra@gmail.com>
11344 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11346 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11347 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11348 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11350 (elf_machine_fixup_plt): Call it.
11351 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11353 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11354 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11355 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11356 r2 before calling target.
11358 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11359 Alan Modra <amodra@gmail.com>
11361 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11362 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11363 versions of macros to support ELFv2 ABI.
11364 (LOCALENTRY): New macro.
11365 (ENTRY, EALIGN): Use it.
11366 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11367 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11368 fall through into ENTRY entry point.
11369 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11370 Only define if _CALL_ELF != 2.
11372 (elf_machine_matches_host): Verify ABI version matches.
11373 (RTLD_START): Use LOCALENTRY.
11374 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11375 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11376 (PLT_ENTRY_WORDS): New macro.
11377 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11378 (elf_machine_runtime_setup): Support ELFv2 ABI.
11379 (elf_machine_fixup_plt): Likewise.
11380 (elf_machine_plt_conflict): Likewise.
11381 (resolve_ifunc): Likewise.
11382 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11383 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11386 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11388 (makecontext): Support ELFv2 ABI.
11389 * elf/elf.h (EF_PPC64_ABI): Define.
11391 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11393 * sysdeps/powerpc/powerpc64/sysdep.h
11394 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11395 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11396 (ENTRY) [ASSEMBLER]: ... but instead here ...
11397 (EALIGN) [ASSEMBLER]: ... and here.
11398 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11399 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11400 (ENTRY_2) [!ASSEMBLER]: Use it.
11401 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11402 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11403 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11404 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11405 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11407 Use PPC64_LOAD_FUNCPTR.
11409 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11411 2013-12-04 Alan Modra <amodra@gmail.com>
11413 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11414 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11415 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11416 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11419 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11420 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11421 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11422 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11423 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11425 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11428 (__makecontext): Fix incorrect CFI when backtracing out of
11429 context created via makecontext.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11431 (__setcontext): Fix incorrect CFI during switch to new context.
11432 (__novec_setcontext): Likewise.
11434 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11437 * time/strptime_l.c (__strptime_internal): Allow modifiers
11439 * time/tst-strptime.c (day_tests): Add testcase.
11441 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11443 * scripts/bench.pl: Skip over blank lines.
11445 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11448 * manual/time.texi (Calendar Time): Clarify what timezone functions
11451 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11455 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11457 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11459 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11460 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11461 * debug/memset_chk.c (__memset_chk): Likewise.
11462 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11463 * debug/strncpy_chk.c: Likewise.
11465 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11469 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11470 (__ieee754_exp): For possibly underflowing results, check size of
11471 result and force underflow exception if required.
11472 * math/auto-libm-test-in: Add more tests of exp.
11473 * math/auto-libm-test-out: Regenerated.
11474 * sysdeps/i386/fpu/libm-test-ulps: Update.
11475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11478 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11479 * math/w_exp2f.c (__exp2f): Likewise.
11480 * math/w_exp2l.c (__exp2l): Likewise.
11481 * math/auto-libm-test-in: Do not allow missing errno on exp2
11483 * math/auto-libm-test-out: Regenerated.
11485 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11488 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11489 handle filename validation.
11490 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11493 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11496 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11497 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11498 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11500 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11501 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11502 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11503 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11504 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11505 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11506 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11507 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11508 Add more erfc tests.
11509 * math/auto-libm-test-out: Regenerated.
11510 * sysdeps/i386/fpu/libm-test-ulps: Update.
11511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11513 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11514 exp2, expm1, j0 and j1.
11515 * math/auto-libm-test-out: Regenerated.
11516 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11517 (erfc_test_data): Likewise.
11518 (exp_test_data): Likewise.
11519 (exp_tonearest_test_data): Likewise.
11520 (exp_towardzero_test_data): Likewise.
11521 (exp_downward_test_data): Likewise.
11522 (exp_upward_test_data): Likewise.
11523 (exp10_test_data): Likewise.
11524 (exp2_test_data): Likewise.
11525 (expm1_test_data): Likewise.
11526 (j0_test_data): Likewise.
11527 (j1_test_data): Likewise.
11528 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11529 (input_flag_type): Add flag_xfail_rounding.
11530 (input_flags): Add xfail-rounding.
11531 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11532 (output_for_one_input_case): Handle flag_xfail_rounding.
11533 * sysdeps/i386/fpu/libm-test-ulps: Update.
11534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11536 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11539 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11542 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11545 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11546 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11547 (STAP_PROBE0): New macro.
11548 (STAP_PROBE1): Likewise.
11549 (STAP_PROBE2): Likewise.
11550 (STAP_PROBE3): Likewise.
11551 (STAP_PROBE4): Likewise.
11553 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11555 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11557 2013-12-02 Steve Ellcey <sellcey@mips.com>
11559 * benchtests/Makefile (bench): Add sqrt.
11560 (LDLIBS-bench-sqrt): New.
11561 * benchtests/sqrt-input: New.
11563 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11565 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11566 (GAIH_EAI): Likewise.
11567 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11568 (gaih_inet): Likewise.
11569 (getaddrinfo): Don't use GAIH_EAI.
11571 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11572 (struct gaih): Remove definition.
11574 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11576 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11577 Use HERRNOP directly.
11579 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11583 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11585 * math/gen-auto-libm-tests.c (test_functions): Add more
11586 single-argument functions.
11587 (special_fill_pi_2): New function.
11588 (special_fill_minus_pi_2): Likewise.
11589 (special_fill_pi_6): Likewise.
11590 (special_fill_minus_pi_6): Likewise.
11591 (special_fill_pi_3): Likewise.
11592 (special_fill_2pi_3): Likewise.
11593 (special_fill_e): Likewise.
11594 (special_fill_1_e): Likewise.
11595 (special_fill_e_minus_1): Likewise.
11596 (special_real_inputs): Add more special inputs.
11597 (output_for_one_input_case): Do not require ERANGE on underflow to
11598 zero if round-to-nearest result does not underflow to zero, unless
11599 exact results required.
11600 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11601 atan, atanh, cbrt, cos and cosh.
11602 * math/auto-libm-test-out: Regenerated.
11603 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11604 (acos_tonearest_test_data): Likewise.
11605 (acos_towardzero_test_data): Likewise.
11606 (acos_downward_test_data): Likewise.
11607 (acos_upward_test_data): Likewise.
11608 (acosh_test_data): Likewise.
11609 (asin_test_data): Likewise.
11610 (asin_tonearest_test_data): Likewise.
11611 (asin_towardzero_test_data): Likewise.
11612 (asin_upward_test_data): Likewise.
11613 (asinh_test_data): Likewise.
11614 (atan_test_data): Likewise.
11615 (atanh_test_data): Likewise.
11616 (cbrt_test_data): Likewise.
11617 (cos_test_data): Likewise.
11618 (cos_tonearest_test_data): Likewise.
11619 (cos_towardzero_test_data): Likewise.
11620 (cos_downward_test_data): Likewise.
11621 (cos_upward_test_data): Likewise.
11622 (cosh_test_data): Likewise.
11623 (cosh_tonearest_test_data): Likewise.
11624 (cosh_towardzero_test_data): Likewise.
11625 (cosh_downward_test_data): Likewise.
11626 (cosh_upward_test_data): Likewise.
11627 * sysdeps/i386/fpu/libm-test-ulps: Update.
11628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11630 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11633 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11634 * math/w_exp10f.c (__exp10f): Likewise.
11635 * math/w_exp10l.c (__exp10l): Likewise.
11636 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11637 errno settings in existing tests.
11640 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11641 precision control set to double precision.
11642 * sysdeps/i386/fpu/w_sqrt.c: New file.
11643 * math/auto-libm-test-in: Add more tests.
11644 * math/auto-libm-test-out: Update.
11646 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11647 (sqrt_test_tonearest): New function.
11648 (sqrt_towardzero_test_data): New variable.
11649 (sqrt_test_towardzero): New function.
11650 (sqrt_downward_test_data): New variable.
11651 (sqrt_test_downward): New function.
11652 (sqrt_upward_test_data): New variable.
11653 (sqrt_test_upward): New function.
11654 (main): Call the new functions.
11656 * math/gen-auto-libm-tests.c: New file.
11657 * math/auto-libm-test-in: Likewise.
11658 * math/auto-libm-test-out: New generated file.
11659 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11661 (%beautify): Add generated representations of zero.
11662 (top level): Set $auto_input and call parse_auto_input.
11663 (beautify): Remove trailing "f" from hex float constants.
11664 (parse_args): Handle XFAIL_TEST.
11665 (convert_condition): New function.
11666 (or_value): Likewise.
11667 (or_cond_value): Likewise.
11668 (generate_testfile): Handle AUTO_TESTS_* lines.
11669 (parse_auto_input): New function.
11670 * math/libm-test.inc (XFAIL_TEST): New macro.
11671 (ERRNO_UNCHANGED): Update value.
11672 (ERRNO_EDOM): Likewise.
11673 (ERRNO_ERANGE): Likewise.
11674 (IGNORE_RESULT): Likewise.
11675 (TEST_COND_flt_32): New macro.
11676 (TEST_COND_dbl_64): Likewise.
11677 (TEST_COND_ldbl_96_intel): Likewise.
11678 (TEST_COND_ldbl_96_m68k): Likewise.
11679 (TEST_COND_ldbl_128): Likewise.
11680 (TEST_COND_ldbl_128ibm): Likewise.
11681 (TEST_COND_long32): Likewise.
11682 (TEST_COND_long64): Likewise.
11683 (TEST_COND_before_rounding): Likewise.
11684 (TEST_COND_after_rounding): Likewise.
11685 (enable_test): Handle XFAIL_TEST flag.
11686 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11687 with finite results.
11688 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11689 auto-libm-test-out.
11691 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11692 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11695 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11696 __tls_get_addr_internal instead of __tls_get_offset in order to
11697 avoid GOT pointer dependency. Make rtld export
11698 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11699 __tls_get_addr since we are a __tls_get_offset platform.
11700 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11701 GOT pointer being set up before.
11702 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11704 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11706 * manual/math.texi (Errors in Math Functions): Document accuracy
11710 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11711 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11712 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11714 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11716 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11717 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11718 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11722 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11723 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11724 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11727 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11728 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11729 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11730 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11731 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11733 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11735 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11737 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11738 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11739 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11740 atomic-feupdateenv and flt-rounds.
11741 * sysdeps/powerpc/nofpu/Versions (libc): Add
11742 __atomic_feholdexcept, __atomic_feclearexcept,
11743 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11744 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11745 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11746 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11747 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11752 * manual/arith.texi (FP Exceptions): Document that exceptions may
11753 not be raised when matherr is used.
11754 (Math Error Reporting): Document overflow in directed rounding
11755 modes. Document that errno may not be set when finite values are
11756 returned on overflow. Document intent to set errno on underflow
11757 only for underflow to zero.
11760 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11761 round-to-nearest then adjust result for other rounding modes.
11762 * include/fenv.h (fegetround): Use libm_hidden_proto.
11763 * math/fegetround.c (fegetround): Use libm_hidden_def.
11764 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11765 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11766 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11767 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11769 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11770 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11771 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11772 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11774 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11777 * nss/Versions (libnss_files): Add
11778 _nss_files_gethostbyname3_r.
11779 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11781 (HOST_DB_LOOKUP): Remove macro.
11782 (_nss_files_gethostbyname_r): Implement function without the
11783 HOST_DB_LOOKUP macro.
11784 (_nss_files_gethostbyname2_r): Likewise.
11786 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11788 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11790 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11792 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11793 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11796 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11798 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11799 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11800 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11801 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11802 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11803 __fe_nomask_env_priv and attribute_hidden.
11804 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11805 (libc_feupdateenv_test_ppc): Likewise.
11806 (libc_feresetround_ppc): Likewise.
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11808 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11809 compat_symbol macro.
11810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11811 (__fe_nomask_env): Likewise.
11812 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11814 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11816 * string/Makefile: Remove ifunc tests.
11817 * string/test-string.h: Define TEST_IFUNC.
11818 * string/test-bcopy-ifunc.c: Remove.
11819 * string/test-bzero-ifunc.c: Likewise.
11820 * string/test-memccpy-ifunc.c: Likewise.
11821 * string/test-memchr-ifunc.c: Likewise.
11822 * string/test-memcmp-ifunc.c: Likewise.
11823 * string/test-memcpy-ifunc.c: Likewise.
11824 * string/test-memmem-ifunc.c: Likewise.
11825 * string/test-memmove-ifunc.c: Likewise.
11826 * string/test-mempcpy-ifunc.c: Likewise.
11827 * string/test-memrchr-ifunc.c: Likewise.
11828 * string/test-memset-ifunc.c: Likewise.
11829 * string/test-rawmemchr-ifunc.c: Likewise.
11830 * string/test-stpcpy-ifunc.c: Likewise.
11831 * string/test-stpncpy-ifunc.c: Likewise.
11832 * string/test-strcasecmp-ifunc.c: Likewise.
11833 * string/test-strcasestr-ifunc.c: Likewise.
11834 * string/test-strcat-ifunc.c: Likewise.
11835 * string/test-strchr-ifunc.c: Likewise.
11836 * string/test-strchrnul-ifunc.c: Likewise.
11837 * string/test-strcmp-ifunc.c: Likewise.
11838 * string/test-strcpy-ifunc.c: Likewise.
11839 * string/test-strcspn-ifunc.c: Likewise.
11840 * string/test-strlen-ifunc.c: Likewise.
11841 * string/test-strncasecmp-ifunc.c: Likewise.
11842 * string/test-strncat-ifunc.c: Likewise.
11843 * string/test-strncmp-ifunc.c: Likewise.
11844 * string/test-strncpy-ifunc.c: Likewise.
11845 * string/test-strnlen-ifunc.c: Likewise.
11846 * string/test-strpbrk-ifunc.c: Likewise.
11847 * string/test-strrchr-ifunc.c: Likewise.
11848 * string/test-strspn-ifunc.c: Likewise.
11849 * string/test-strstr-ifunc.c: Likewise.
11851 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11853 * benchtests/Makefile: Remove ifunc tests.
11854 * benchtests/bench-string.h: Define TEST_IFUNC.
11855 * benchtests/bench-bcopy-ifunc.c: Remove.
11856 * benchtests/bench-bzero-ifunc.c: Likewise.
11857 * benchtests/bench-memccpy-ifunc.c: Likewise.
11858 * benchtests/bench-memchr-ifunc.c: Likewise.
11859 * benchtests/bench-memcmp-ifunc.c: Likewise.
11860 * benchtests/bench-memcpy-ifunc.c: Likewise.
11861 * benchtests/bench-memmem-ifunc.c: Likewise.
11862 * benchtests/bench-memmove-ifunc.c: Likewise.
11863 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11864 * benchtests/bench-memrchr-ifunc.c: Likewise.
11865 * benchtests/bench-memset-ifunc.c: Likewise.
11866 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11867 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11868 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11869 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11870 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11871 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11872 * benchtests/bench-strcat-ifunc.c: Likewise.
11873 * benchtests/bench-strchr-ifunc.c: Likewise.
11874 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11875 * benchtests/bench-strcmp-ifunc.c: Likewise.
11876 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11877 * benchtests/bench-strcpy-ifunc.c: Likewise.
11878 * benchtests/bench-strcspn-ifunc.c: Likewise.
11879 * benchtests/bench-strlen-ifunc.c: Likewise.
11880 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11881 * benchtests/bench-strncat-ifunc.c: Likewise.
11882 * benchtests/bench-strncmp-ifunc.c: Likewise.
11883 * benchtests/bench-strncpy-ifunc.c: Likewise.
11884 * benchtests/bench-strnlen-ifunc.c: Likewise.
11885 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11886 * benchtests/bench-strrchr-ifunc.c: Likewise.
11887 * benchtests/bench-strsep-ifunc.c: Likewise.
11888 * benchtests/bench-strspn-ifunc.c: Likewise.
11889 * benchtests/bench-strstr-ifunc.c: Likewise.
11891 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11893 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11895 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11897 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11898 * rt/aio.h: Likewise.
11899 * sysdeps/gnu/bits/utmp.h: Likewise.
11900 * sysdeps/gnu/bits/utmpx.h: Likewise.
11901 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11902 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11903 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11904 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11905 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11906 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11907 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11908 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11909 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11910 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11911 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11912 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11913 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11915 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11916 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11917 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11918 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11919 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11920 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11921 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11922 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11923 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11924 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11925 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11927 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11928 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11929 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11930 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11931 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11932 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11933 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11934 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11935 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11936 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11937 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11938 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11939 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11940 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11941 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11942 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11944 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11947 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11948 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11950 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11952 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11953 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11956 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11959 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11960 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11961 (__fesetround): Remove define.
11962 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11963 rounding and exceptions handling.
11964 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11965 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11966 (__fe_nomask_env): Likewise.
11967 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11968 __fegetround instead of fegetround.
11969 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11970 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11972 2013-11-21 Roland McGrath <roland@hack.frob.com>
11974 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11977 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11979 2013-11-21 Meador Inge <meadori@codesourcery.com>
11982 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11983 (encrypt_r): Likewise.
11984 * malloc/obstack.h (obstack_free): Likewise.
11985 * posix/unistd.h (encrypt): Likewise.
11987 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11989 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11990 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11991 DL_CALL_DT_FINI() that call the functions directly.
11992 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11993 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11994 * elf/dl-fini.c: Likewise.
11996 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11998 * malloc/hooks.c (memalign_check): Add alignment rounding.
11999 * malloc/malloc.c (_mid_memalign): New function.
12000 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12001 Implement by calling _mid_memalign.
12002 * manual/probes.texi (Memory Allocation Probes): Remove
12003 memory_valloc_retry and memory_pvalloc_retry.
12005 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12007 * locale/programs/locarchive.c (open_archive): Add const
12008 qualifier to ARCHIVEFNAME and copy default fname to
12012 * libio/tst-widetext.input: Rename Oriya to Odia.
12013 * locale/iso-639.def: Likewise.
12015 * manual/probes.texi (Mathematical Function Probes): Add
12016 documentation for sin, cos, asin and acos probes.
12017 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12018 (__sin32): Add slowasin probe.
12019 (__cos32): Add slowacos probe.
12020 (__mpsin): Add slowsin probe.
12021 (__mpcos): Add slowcos probe.
12023 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12026 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12027 thread-local __sim_exceptions_thread and global
12028 __sim_exceptions_global.
12029 (__sim_disabled_exceptions): Change to thread-local
12030 __sim_disabled_exceptions_thread and global
12031 __sim_disabled_exceptions_global.
12032 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12033 and global __sim_round_mode_global.
12034 (__simulate_exceptions): Use thread-local floating-point state and
12035 set global state from it as needed.
12036 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12037 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12038 __sim_round_mode_thread.
12039 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12040 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12041 and global __sim_exceptions_global.
12042 (__sim_disabled_exceptions): Change to thread-local
12043 __sim_disabled_exceptions_thread and global
12044 __sim_disabled_exceptions_global.
12045 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12046 and global __sim_round_mode_global.
12047 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12048 (SIM_SET_GLOBAL): Likewise.
12049 * sysdeps/powerpc/soft-fp/sfp-machine.h
12050 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12051 __sim_round_mode_thread.
12052 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12053 __sim_disabled_exceptions_thread.
12054 (__sim_exceptions): Change to __sim_exceptions_thread.
12055 (__sim_disabled_exceptions): Change to
12056 __sim_disabled_exceptions_thread.
12057 (__sim_round_mode): Change to __sim_round_mode_thread.
12058 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12059 thread-local floating-point state and set global state from it as
12061 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12062 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12063 (__sim_disabled_exceptions): Remove extern declaration.
12064 (feenableexcept): Use thread-local floating-point state and set
12065 global state from it as needed.
12066 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12067 extern declaration.
12068 (__sim_disabled_exceptions): Likewise.
12069 (__sim_round_mode): Likewise.
12070 (__fegetenv): Use thread-local floating-point state.
12071 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12072 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12073 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12074 floating-point state and set global state from it as needed.
12075 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12076 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12077 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12079 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12080 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12082 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12083 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12084 Use __sim_round_mode_thread.
12085 * math/test-fenv-tls.c: New file.
12086 * math/Makefile (tests): Add test-fenv-tls.
12087 ($(objpfx)test-fenv-tls): Depend on
12088 $(common-objpfx)nptl/libpthread.so.
12090 2013-11-19 Andreas Schwab <schwab@suse.de>
12092 * locale/programs/locale.c (show_info): Decode wordarray elements.
12093 * locale/categories.def (LC_MONETARY): Add element for
12094 _NL_MONETARY_CRNCYSTR.
12095 * locale/C-monetary.c (conversion_rate): New variable.
12096 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12099 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12101 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12102 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12104 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12106 * elf/Makefile (tst-auxv): New test.
12107 * elf/tst-auxv.c: New
12108 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12110 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12112 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12113 (hidden_proto): Caller changed.
12114 (hidden_tls_proto): New macro.
12115 (libc_hidden_tls_proto): Likewise.
12116 (rtld_hidden_tls_proto): Likewise.
12117 (libm_hidden_tls_proto): Likewise.
12118 (libresolv_hidden_tls_proto): Likewise.
12119 (librt_hidden_tls_proto): Likewise.
12120 (libdl_hidden_tls_proto): Likewise.
12121 (libnss_files_hidden_tls_proto): Likewise.
12122 (libnsl_hidden_tls_proto): Likewise.
12123 (libnss_nisplus_hidden_tls_proto): Likewise.
12124 (libutil_hidden_tls_proto): Likewise.
12126 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12129 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12130 (decompose_rpath): Defer expansion to fillin_rpath.
12131 (_dl_init_paths): Pass linkmap to fillin_rpath.
12133 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12135 * benchtests/Makefile: Add strsep.
12136 * benchtests/bench-strsep.c: New file: strsep benchtest.
12137 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12139 2013-11-18 Andreas Schwab <schwab@suse.de>
12141 * locale/programs/locale.c (show_info) [case byte]: Check for
12142 '\377' instead of '\177'.
12143 * locale/C-monetary.c (not_available): Always use "\377".
12144 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12145 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12146 detect unavailable sign_posn locale elements.
12147 * locale/localeconv.c (__localeconv): For grouping and
12148 mon_grouping handle "\177" and "\377" like no grouping.
12149 (INT_ELEM): New macro. Use it to set all numeric members.
12150 * locale/programs/ld-monetary.c (monetary_read)
12151 <tok_mon_grouping>: Normalize single -1 to the empty string.
12152 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12155 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12158 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12159 when we match (nil).
12160 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12162 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12164 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12165 (NO_TEST_INLINE): Update value.
12166 (ERRNO_UNCHANGED): Likewise.
12167 (ERRNO_EDOM): Likewise.
12168 (ERRNO_ERANGE): Likewise.
12169 (IGNORE_RESULT): Likewise.
12170 (check_float_internal): Check signs of NaN results if
12171 TEST_NAN_SIGN used.
12172 (check_complex): Pass TEST_NAN_SIGN flag through to second
12173 check_float_internal call.
12174 (copysign_test_data): Add tests with quiet NaNs as second
12175 argument. Use TEST_NAN_SIGN.
12176 (fabs_test_data): Add test of negative quiet NaN argument. Use
12178 (signbit_test_data): Add tests of quiet NaN argument.
12179 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12181 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12183 (parse_args): Handle function results specified as IGNORE.
12184 * math/libm-test.inc (IGNORE_RESULT): New macro.
12185 (check_float_internal): Do not check numerical result if flag
12187 (check_complex): Pass through IGNORE_RESULT to second
12188 check_float_internal call.
12189 (check_int): Do not check numerical result if flag IGNORE_RESULT
12191 (check_long): Likewise.
12192 (check_bool): Likewise.
12193 (check_longlong): Likewise.
12194 (lrint_test_data): Add tests of infinite and NaN arguments.
12195 (lrint_tonearest_test_data): Likewise.
12196 (lrint_towardzero_test_data): Likewise.
12197 (lrint_downward_test_data): Likewise.
12198 (lrint_upward_test_data): Likewise.
12199 (llrint_test_data): Likewise.
12200 (llrint_tonearest_test_data): Likewise.
12201 (llrint_towardzero_test_data): Likewise.
12202 (llrint_downward_test_data): Likewise.
12203 (llrint_upward_test_data): Likewise.
12204 (lround_test_data): Likewise.
12205 (llround_test_data): Likewise.
12207 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12208 (ERRNO_UNCHANGED): Update value.
12209 (ERRNO_EDOM): Likewise.
12210 (ERRNO_ERANGE): Likewise.
12211 (NO_TEST_INLINE_FLOAT): New macro.
12212 (NO_TEST_INLINE_DOUBLE): Likewise.
12213 (enable_test): New function.
12214 (RUN_TEST_f_f): Check enable_test before running test.
12215 (RUN_TEST_2_f): Likewise.
12216 (RUN_TEST_fff_f): Likewise.
12217 (RUN_TEST_c_f): Likewise.
12218 (RUN_TEST_f_f1): Likewise.
12219 (RUN_TEST_fF_f1): Likewise.
12220 (RUN_TEST_fI_f1): Likewise.
12221 (RUN_TEST_ffI_f1): Likewise.
12222 (RUN_TEST_c_c): Likewise.
12223 (RUN_TEST_cc_c): Likewise.
12224 (RUN_TEST_f_i): Likewise.
12225 (RUN_TEST_f_i_tg): Likewise.
12226 (RUN_TEST_ff_i_tg): Likewise.
12227 (RUN_TEST_f_b): Likewise.
12228 (RUN_TEST_f_b_tg): Likewise.
12229 (RUN_TEST_f_l): Likewise.
12230 (RUN_TEST_f_L): Likewise.
12231 (RUN_TEST_fFF_11): Likewise.
12232 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12234 (cosh_test_data): Likewise.
12235 (exp_test_data): Likewise.
12236 (expm1_test_data): Likewise.
12237 (hypot_test_data): Likewise.
12238 (pow_test_data): Likewise.
12239 (sinh_test_data): Likewise.
12240 (tanh_test_data): Likewise.
12241 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12244 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12245 tests with quiet NaN input and output.
12246 (acosh_test_data): Likewise.
12247 (asin_test_data): Likewise.
12248 (asinh_test_data): Likewise.
12249 (atan_test_data): Likewise.
12250 (atanh_test_data): Likewise.
12251 (atan2_test_data): Likewise.
12252 (cbrt_test_data): Likewise.
12253 (cos_test_data): Likewise.
12254 (cosh_test_data): Likewise.
12255 (erf_test_data): Likewise.
12256 (erfc_test_data): Likewise.
12257 (exp_test_data): Likewise.
12258 (exp10_test_data): Likewise.
12259 (exp2_test_data): Likewise.
12260 (expm1_test_data): Likewise.
12261 (hypot_test_data): Likewise.
12262 (j0_test_data): Likewise.
12263 (j1_test_data): Likewise.
12264 (jn_test_data): Likewise.
12265 (lgamma_test_data): Likewise.
12266 (log_test_data): Likewise.
12267 (log10_test_data): Likewise.
12268 (log1p_test_data): Likewise.
12269 (log2_test_data): Likewise.
12270 (pow_test_data): Likewise.
12271 (scalb_test_data): Likewise.
12272 (sin_test_data): Likewise.
12273 (sincos_test_data): Likewise.
12274 (sinh_test_data): Likewise.
12275 (tan_test_data): Likewise.
12276 (tanh_test_data): Likewise.
12277 (tgamma_test_data): Likewise.
12278 (y0_test_data): Likewise.
12279 (y1_test_data): Likewise.
12280 (yn_test_data): Likewise.
12283 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12284 argument being NaN and avoid computations with second argument in
12286 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12287 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12288 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12290 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12292 * locale/iso-639.def: Add Chitwani Tharu (the).
12294 2013-11-14 Andreas Schwab <schwab@suse.de>
12296 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12297 word instead of empty string.
12299 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12302 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12304 (__fe_nomask_env): Likewise.
12306 2013-11-13 Steve Ellcey <sellcey@mips.com>
12308 * benchtests/bench-timing.h: Include time.h.
12310 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12313 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12315 * sysdeps/unix/sysv/linux/configure: Regenerated.
12317 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12320 * stdlib/strtod_l.c (round_and_return): Do not consider
12321 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12322 exponent one less than half the least subnormal exponent.
12323 * stdlib/test-strtod-round-data: Add more tests.
12324 * stdlib/tst-strtod-round.c (tests): Regenerated.
12326 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12329 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12330 (__fe_mask_env): Likewise.
12331 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12332 libm_hidden_proto and add function prototype.
12333 (__fe_mask_env): Add function prototype.
12334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12335 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12337 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12339 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12341 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12343 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12344 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12346 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12348 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12349 of htab_find_slot().
12351 2013-11-11 David S. Miller <davem@davemloft.net>
12354 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12355 symbol in the non-vis3 case in static builds.
12356 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12357 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12358 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12359 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12361 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12364 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12367 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12369 * benchtests/Makefile: Add bench-strtod.
12370 * benchtests/bench-strtod.c: New file: strtod benchtest
12372 2013-11-11 Andreas Schwab <schwab@suse.de>
12375 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12376 terminating NUL in key length.
12378 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12380 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12381 Add artificial ODP entry for vDSO symbol for PPC64.
12382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12383 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12385 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12388 * nss/getent.c (services_keys): Recognize services starting with digit.
12390 2013-11-06 David S. Miller <davem@davemloft.net>
12393 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12394 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12396 2013-11-06 Will Newton <will.newton@linaro.org>
12398 * manual/memory.texi (Malloc Examples): Remove register
12399 keyword from examples.
12401 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12403 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12405 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12408 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12409 depending on [__GCC_IEC_559 > 0].
12410 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12411 depending on [__GCC_IEC_559_COMPLEX > 0].
12413 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12415 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12418 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12420 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12422 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12425 * malloc/malloc (malloc_info): Do not handle first bin as
12428 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12430 * locale/iso-639.def: Add Central Nahuatl (nhn).
12432 2013-11-01 Bruno Haible <bruno@clisp.org>
12435 * manual/math.texi (BSD Random): Specify range upper bound as
12438 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12440 * locale/iso-639.def: Add Meadow Mari (mhr).
12442 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12444 [BZ #14752], [BZ #15763]
12445 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12447 * rt/tst_shm.c: Add test for escaping directory.
12449 2013-10-31 Andreas Schwab <schwab@suse.de>
12452 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12453 followed by 'x' as part of digit sequence.
12454 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12456 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12459 * configure.ac: allow GNU Make 4.0 and greater.
12460 * configure: Regenerated.
12462 2013-10-30 Will Newton <will.newton@linaro.org>
12465 * malloc/hooks.c (memalign_check): Limit alignment to the
12466 maximum representable power of two.
12467 * malloc/malloc.c (__libc_memalign): Likewise.
12468 * malloc/tst-memalign.c (do_test): Add test for very
12469 large alignment values.
12470 * malloc/tst-posix_memalign.c (do_test): Likewise.
12472 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12475 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12476 (munmap_chunk): Likewise.
12477 (mremap_chunk): Likewise.
12479 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12482 * stdlib/div.c (div): Remove obsolete code.
12483 * stdlib/ldiv.c (ldiv): Likewise.
12484 * stdlib/lldiv.c (lldiv): Likewise.
12486 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12489 * nss/nss_files/files-XXX.c (get_contents_ret): New
12491 (get_contents): New function.
12492 (internal_getent): Use it. Expand size of LINEBUFLEN.
12494 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12496 * configure.in: Moved to ...
12497 * configure.ac: ... here. Change reference to configure.in
12499 * sysdeps/arm/preconfigure.ac: ... here.
12500 configure.in to configure.ac.
12501 * sysdeps/gnu/configure.in: Moved to ...
12502 * sysdeps/gnu/configure.ac: ... here.
12503 * sysdeps/i386/configure.in: Moved to ...
12504 * sysdeps/i386/configure.ac: ... here.
12505 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12506 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12507 * sysdeps/mach/configure.in: Moved to ...
12508 * sysdeps/mach/configure.ac: ... here.
12509 * sysdeps/mach/hurd/configure.in: Moved to ...
12510 * sysdeps/mach/hurd/configure.ac: ... here.
12511 * sysdeps/powerpc/configure.in: Moved to ...
12512 * sysdeps/powerpc/configure.ac: ... here.
12513 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12514 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12515 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12516 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12517 * sysdeps/s390/s390-32/configure.in: Moved to ...
12518 * sysdeps/s390/s390-32/configure.ac: ... here.
12519 * sysdeps/s390/s390-64/configure.in: Moved to ...
12520 * sysdeps/s390/s390-64/configure.ac: ... here.
12521 * sysdeps/sh/configure.in: Moved to ...
12522 * sysdeps/sh/configure.ac: ... here.
12523 * sysdeps/sparc/configure.in: Moved to ...
12524 * sysdeps/sparc/configure.ac: ... here.
12525 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12526 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12527 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12528 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12529 * sysdeps/x86_64/configure.in: Moved to ...
12530 * sysdeps/x86_64/configure.ac: ... here.
12531 * sysdeps/x86_64/preconfigure.in: Moved to ...
12532 * sysdeps/x86_64/preconfigure.ac: ... here.
12533 * aclocal.m4: Change reference to configure.in to configure.ac.
12534 * config.h.in: Likewise.
12535 * manual/install.texi: Likewise.
12536 * manual/maint.texi: Likewise.
12537 * Makefile: Likewise.
12538 * malloc/Makefile: Likewise.
12539 * nscd/Makefile: Likewise.
12540 * Makeconfig: Change reference to configure.in and
12541 preconfigure.in to configure.ac and preconfigure.ac
12543 * INSTALL: Regenerated.
12544 * configure: Likewise.
12545 * sysdeps/gnu/configure: Likewise.
12546 * sysdeps/i386/configure: Likewise.
12547 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12548 * sysdeps/mach/configure: Likewise.
12549 * sysdeps/mach/hurd/configure: Likewise.
12550 * sysdeps/powerpc/configure: Likewise.
12551 * sysdeps/powerpc/powerpc32/configure: Likewise.
12552 * sysdeps/powerpc/powerpc64/configure: Likewise.
12553 * sysdeps/s390/s390-32/configure: Likewise.
12554 * sysdeps/s390/s390-64/configure: Likewise.
12555 * sysdeps/sh/configure: Likewise.
12556 * sysdeps/sparc/configure: Likewise.
12557 * sysdeps/unix/sysv/linux/configure: Likewise.
12558 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12559 * sysdeps/x86_64/configure: Likewise.
12560 * sysdeps/x86_64/preconfigure: Likewise.
12562 2013-10-29 Andreas Schwab <schwab@suse.de>
12564 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12566 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12568 * benchtests/pow-inputs: Add new inputs.
12570 * benchtests/exp-inputs: Add new inputs.
12572 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12573 conditional check for return value.
12574 (__cos32): Likewise.
12576 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12578 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12579 to provide a boost for large inputs with word alignment.
12580 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12581 implementation based on optimized PPC64 strcpy.
12582 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12583 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12584 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12585 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12587 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12590 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12592 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12595 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12596 * time/tst-strptime.c (day_tests): Add testcase.
12598 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12601 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12603 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12606 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12607 MAP_FAILED on error.
12609 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12612 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12613 heap for large requests.
12615 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12618 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12619 result if the result has no associated interface.
12620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12621 interface for all 127.X.Y.Z addresses.
12623 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12625 * locale/iso-639.def: Add Ligurian (lij)
12627 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12630 * sunrpc/rpc_main.c: Document rpcgen -5.
12632 2013-10-19 Michael Stahl <mstahl@redhat.com>
12634 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12636 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12639 * posix/glob.c: Match only directories when trailing slash is present.
12640 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12641 (main): Add testcase.
12643 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12646 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12648 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12650 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12651 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12652 AUTH_DES and cindex for FIPS 140-2.
12653 (DES Encryption): Add cindex FIPS 46-3.
12655 * locale/locarchive.h (struct locarhandle): Add fname.
12656 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12657 if an optional argument was specified to --list-archive,
12659 * locale/programs/locarchive.c (show_archive_content): Take new
12660 argument fname and pass it via ah.fname to open_archive.
12661 * locale/programs/localedef.h: Update decl.
12662 (open_archive): If AH->fname is non-null, open that file
12663 rather than the default file name, and don't ignore ENOENT.
12664 (create_archive): Set AH.fname to NULL.
12665 (delete_locales_from_archive): Likewise.
12666 (add_locales_to_archive): Likewise.
12667 * locale/programs/locfile.c (write_all_categories): Likewise.
12669 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12670 Aldy Hernandez <aldyh@redhat.com>
12672 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12673 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12674 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12675 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12676 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12677 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12678 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12679 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12680 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12681 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12682 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12683 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12684 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12685 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12686 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12688 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12690 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12692 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12694 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12695 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12697 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12698 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12699 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12700 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12702 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12703 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12704 * sysdeps/powerpc/preconfigure: Likewise.
12705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12707 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12708 Replace contents of file by #include of <fenv_libc.h>.
12709 * sysdeps/powerpc/soft-fp/sfp-machine.h
12710 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12712 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12713 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12715 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12716 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12717 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12719 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12720 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12721 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12722 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12723 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12725 Allow copysignl PLT reference to be missing.
12727 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12728 Joseph Myers <joseph@codesourcery.com
12731 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12733 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12735 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12737 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12738 * elf/tst-tls1.c: Likewise.
12739 * elf/tst-tls10.h: Likewise.
12740 * elf/tst-tls14.c: Likewise.
12741 * elf/tst-tls2.c: Likewise.
12742 * elf/tst-tls3.c: Likewise.
12743 * elf/tst-tls4.c: Likewise.
12744 * elf/tst-tls5.c: Likewise.
12745 * elf/tst-tls6.c: Likewise.
12746 * elf/tst-tls7.c: Likewise.
12747 * elf/tst-tls8.c: Likewise.
12748 * elf/tst-tls9.c: Likewise.
12749 * elf/tst-tlsmod1.c: Likewise.
12750 * elf/tst-tlsmod13.c: Likewise.
12751 * elf/tst-tlsmod13a.c: Likewise.
12752 * elf/tst-tlsmod14a.c: Likewise.
12753 * elf/tst-tlsmod16a.c: Likewise.
12754 * elf/tst-tlsmod16b.c: Likewise.
12755 * elf/tst-tlsmod2.c: Likewise.
12756 * elf/tst-tlsmod3.c: Likewise.
12757 * elf/tst-tlsmod4.c: Likewise.
12758 * elf/tst-tlsmod5.c: Likewise.
12759 * elf/tst-tlsmod6.c: Likewise.
12761 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12764 * malloc/malloc.c: remove checks for statistics.
12766 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12769 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12770 * inet/tst-network.c: Add testcase.
12772 2013-10-17 Andreas Schwab <schwab@suse.de>
12775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12776 to determine canonical name.
12778 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12780 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12781 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12790 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12804 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12805 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12810 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12812 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12813 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12814 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12815 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12816 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12817 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12818 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12822 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12823 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12824 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12825 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12827 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12839 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12842 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12843 make result into a quiet NaN.
12845 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12847 * soft-fp/adddf3.c: Fix horizontal whitespace.
12848 * soft-fp/addsf3.c: Likewise.
12849 * soft-fp/addtf3.c: Likewise.
12850 * soft-fp/divdf3.c: Likewise.
12851 * soft-fp/divsf3.c: Likewise.
12852 * soft-fp/divtf3.c: Likewise.
12853 * soft-fp/double.h: Likewise.
12854 * soft-fp/eqdf2.c: Likewise.
12855 * soft-fp/eqsf2.c: Likewise.
12856 * soft-fp/eqtf2.c: Likewise.
12857 * soft-fp/extenddftf2.c: Likewise.
12858 * soft-fp/extended.h: Likewise.
12859 * soft-fp/extendsfdf2.c: Likewise.
12860 * soft-fp/extendsftf2.c: Likewise.
12861 * soft-fp/extendxftf2.c: Likewise.
12862 * soft-fp/fixdfdi.c: Likewise.
12863 * soft-fp/fixdfsi.c: Likewise.
12864 * soft-fp/fixdfti.c: Likewise.
12865 * soft-fp/fixsfdi.c: Likewise.
12866 * soft-fp/fixsfsi.c: Likewise.
12867 * soft-fp/fixsfti.c: Likewise.
12868 * soft-fp/fixtfdi.c: Likewise.
12869 * soft-fp/fixtfsi.c: Likewise.
12870 * soft-fp/fixtfti.c: Likewise.
12871 * soft-fp/fixunsdfdi.c: Likewise.
12872 * soft-fp/fixunsdfsi.c: Likewise.
12873 * soft-fp/fixunsdfti.c: Likewise.
12874 * soft-fp/fixunssfdi.c: Likewise.
12875 * soft-fp/fixunssfsi.c: Likewise.
12876 * soft-fp/fixunssfti.c: Likewise.
12877 * soft-fp/fixunstfdi.c: Likewise.
12878 * soft-fp/fixunstfsi.c: Likewise.
12879 * soft-fp/fixunstfti.c: Likewise.
12880 * soft-fp/floatdidf.c: Likewise.
12881 * soft-fp/floatdisf.c: Likewise.
12882 * soft-fp/floatditf.c: Likewise.
12883 * soft-fp/floatsidf.c: Likewise.
12884 * soft-fp/floatsisf.c: Likewise.
12885 * soft-fp/floatsitf.c: Likewise.
12886 * soft-fp/floattidf.c: Likewise.
12887 * soft-fp/floattisf.c: Likewise.
12888 * soft-fp/floattitf.c: Likewise.
12889 * soft-fp/floatundidf.c: Likewise.
12890 * soft-fp/floatundisf.c: Likewise.
12891 * soft-fp/floatunditf.c: Likewise.
12892 * soft-fp/floatunsidf.c: Likewise.
12893 * soft-fp/floatunsisf.c: Likewise.
12894 * soft-fp/floatunsitf.c: Likewise.
12895 * soft-fp/floatuntidf.c: Likewise.
12896 * soft-fp/floatuntisf.c: Likewise.
12897 * soft-fp/floatuntitf.c: Likewise.
12898 * soft-fp/fmadf4.c: Likewise.
12899 * soft-fp/fmasf4.c: Likewise.
12900 * soft-fp/fmatf4.c: Likewise.
12901 * soft-fp/gedf2.c: Likewise.
12902 * soft-fp/gesf2.c: Likewise.
12903 * soft-fp/getf2.c: Likewise.
12904 * soft-fp/ledf2.c: Likewise.
12905 * soft-fp/lesf2.c: Likewise.
12906 * soft-fp/letf2.c: Likewise.
12907 * soft-fp/muldf3.c: Likewise.
12908 * soft-fp/mulsf3.c: Likewise.
12909 * soft-fp/multf3.c: Likewise.
12910 * soft-fp/negdf2.c: Likewise.
12911 * soft-fp/negsf2.c: Likewise.
12912 * soft-fp/negtf2.c: Likewise.
12913 * soft-fp/op-1.h: Likewise.
12914 * soft-fp/op-2.h: Likewise.
12915 * soft-fp/op-4.h: Likewise.
12916 * soft-fp/op-8.h: Likewise.
12917 * soft-fp/op-common.h: Likewise.
12918 * soft-fp/quad.h: Likewise.
12919 * soft-fp/single.h: Likewise.
12920 * soft-fp/soft-fp.h: Likewise.
12921 * soft-fp/sqrtdf2.c: Likewise.
12922 * soft-fp/sqrtsf2.c: Likewise.
12923 * soft-fp/sqrttf2.c: Likewise.
12924 * soft-fp/subdf3.c: Likewise.
12925 * soft-fp/subsf3.c: Likewise.
12926 * soft-fp/subtf3.c: Likewise.
12927 * soft-fp/truncdfsf2.c: Likewise.
12928 * soft-fp/trunctfdf2.c: Likewise.
12929 * soft-fp/trunctfsf2.c: Likewise.
12930 * soft-fp/trunctfxf2.c: Likewise.
12931 * soft-fp/unorddf2.c: Likewise.
12932 * soft-fp/unordsf2.c: Likewise.
12933 * soft-fp/unordtf2.c: Likewise.
12935 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12937 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12938 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12940 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12942 * elf/dl-libc.c: Clear initfini list after freeing.
12944 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12946 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12947 * soft-fp/addsf3.c: Likewise.
12948 * soft-fp/addtf3.c: Likewise.
12949 * soft-fp/divdf3.c: Likewise.
12950 * soft-fp/divsf3.c: Likewise.
12951 * soft-fp/divtf3.c: Likewise.
12952 * soft-fp/double.h: Likewise.
12953 * soft-fp/eqdf2.c: Likewise.
12954 * soft-fp/eqsf2.c: Likewise.
12955 * soft-fp/eqtf2.c: Likewise.
12956 * soft-fp/extenddftf2.c: Likewise.
12957 * soft-fp/extended.h: Likewise.
12958 * soft-fp/extendsfdf2.c: Likewise.
12959 * soft-fp/extendsftf2.c: Likewise.
12960 * soft-fp/extendxftf2.c: Likewise.
12961 * soft-fp/fixdfdi.c: Likewise.
12962 * soft-fp/fixdfsi.c: Likewise.
12963 * soft-fp/fixdfti.c: Likewise.
12964 * soft-fp/fixsfdi.c: Likewise.
12965 * soft-fp/fixsfsi.c: Likewise.
12966 * soft-fp/fixsfti.c: Likewise.
12967 * soft-fp/fixtfdi.c: Likewise.
12968 * soft-fp/fixtfsi.c: Likewise.
12969 * soft-fp/fixtfti.c: Likewise.
12970 * soft-fp/fixunsdfdi.c: Likewise.
12971 * soft-fp/fixunsdfsi.c: Likewise.
12972 * soft-fp/fixunsdfti.c: Likewise.
12973 * soft-fp/fixunssfdi.c: Likewise.
12974 * soft-fp/fixunssfsi.c: Likewise.
12975 * soft-fp/fixunssfti.c: Likewise.
12976 * soft-fp/fixunstfdi.c: Likewise.
12977 * soft-fp/fixunstfsi.c: Likewise.
12978 * soft-fp/fixunstfti.c: Likewise.
12979 * soft-fp/floatdidf.c: Likewise.
12980 * soft-fp/floatdisf.c: Likewise.
12981 * soft-fp/floatditf.c: Likewise.
12982 * soft-fp/floatsidf.c: Likewise.
12983 * soft-fp/floatsisf.c: Likewise.
12984 * soft-fp/floatsitf.c: Likewise.
12985 * soft-fp/floattidf.c: Likewise.
12986 * soft-fp/floattisf.c: Likewise.
12987 * soft-fp/floattitf.c: Likewise.
12988 * soft-fp/floatundidf.c: Likewise.
12989 * soft-fp/floatundisf.c: Likewise.
12990 * soft-fp/floatunsidf.c: Likewise.
12991 * soft-fp/floatunsisf.c: Likewise.
12992 * soft-fp/floatuntidf.c: Likewise.
12993 * soft-fp/floatuntisf.c: Likewise.
12994 * soft-fp/floatuntitf.c: Likewise.
12995 * soft-fp/fmadf4.c: Likewise.
12996 * soft-fp/fmasf4.c: Likewise.
12997 * soft-fp/fmatf4.c: Likewise.
12998 * soft-fp/gedf2.c: Likewise.
12999 * soft-fp/gesf2.c: Likewise.
13000 * soft-fp/getf2.c: Likewise.
13001 * soft-fp/ledf2.c: Likewise.
13002 * soft-fp/lesf2.c: Likewise.
13003 * soft-fp/letf2.c: Likewise.
13004 * soft-fp/muldf3.c: Likewise.
13005 * soft-fp/mulsf3.c: Likewise.
13006 * soft-fp/multf3.c: Likewise.
13007 * soft-fp/negdf2.c: Likewise.
13008 * soft-fp/negsf2.c: Likewise.
13009 * soft-fp/negtf2.c: Likewise.
13010 * soft-fp/op-1.h: Likewise.
13011 * soft-fp/op-2.h: Likewise.
13012 * soft-fp/op-4.h: Likewise.
13013 * soft-fp/op-8.h: Likewise.
13014 * soft-fp/op-common.h: Likewise.
13015 * soft-fp/quad.h: Likewise.
13016 * soft-fp/single.h: Likewise.
13017 * soft-fp/soft-fp.h: Likewise.
13018 * soft-fp/sqrtdf2.c: Likewise.
13019 * soft-fp/sqrtsf2.c: Likewise.
13020 * soft-fp/sqrttf2.c: Likewise.
13021 * soft-fp/subdf3.c: Likewise.
13022 * soft-fp/subsf3.c: Likewise.
13023 * soft-fp/subtf3.c: Likewise.
13024 * soft-fp/truncdfsf2.c: Likewise.
13025 * soft-fp/trunctfdf2.c: Likewise.
13026 * soft-fp/trunctfsf2.c: Likewise.
13027 * soft-fp/trunctfxf2.c: Likewise.
13028 * soft-fp/unorddf2.c: Likewise.
13029 * soft-fp/unordsf2.c: Likewise.
13030 * soft-fp/unordtf2.c: Likewise.
13032 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13035 * misc/error.c (error_tail): Fix possible buffer overflow.
13037 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13040 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13043 2013-10-14 P. J. McDermott <pj@pehjota.net>
13046 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13047 testing pipefail option.
13049 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13051 * soft-fp/double.h: Indent preprocessor directives inside #if.
13052 * soft-fp/extended.h: Likewise.
13053 * soft-fp/op-2.h: Likewise.
13054 * soft-fp/op-4.h: Likewise.
13055 * soft-fp/op-common.h: Likewise.
13056 * soft-fp/quad.h: Likewise.
13057 * soft-fp/single.h: Likewise.
13058 * soft-fp/soft-fp.h: Likewise.
13060 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13062 * iconv/iconv_prog.c: Fix typos.
13063 * stdio-common/psiginfo-data.h: Likewise.
13065 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13068 * locale/setlocale.c: Fix typo.
13070 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13073 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13074 signaling NaN arguments.
13075 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13076 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13079 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13080 unordered operands.
13081 * soft-fp/gesf2.c (__gesf2): Likewise.
13082 * soft-fp/getf2.c (__getf2): Likewise.
13083 * soft-fp/ledf2.c (__ledf2): Likewise.
13084 * soft-fp/lesf2.c (__lesf2): Likewise.
13085 * soft-fp/letf2.c (__letf2): Likewise.
13087 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13088 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13089 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13090 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13091 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13092 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13093 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13094 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13095 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13096 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13097 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13098 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13099 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13100 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13101 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13102 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13103 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13104 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13105 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13106 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13107 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13108 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13109 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13110 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13111 * soft-fp/floattidf.c (__floattidf): Likewise.
13112 * soft-fp/floattisf.c (__floattisf): Likewise.
13113 * soft-fp/floattitf.c (__floattitf): Likewise.
13114 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13115 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13116 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13117 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13118 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13119 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13120 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13121 * soft-fp/gesf2.c (__gesf2): Likewise.
13122 * soft-fp/getf2.c (__getf2): Likewise.
13123 * soft-fp/ledf2.c (__ledf2): Likewise.
13124 * soft-fp/lesf2.c (__lesf2): Likewise.
13125 * soft-fp/letf2.c (__letf2): Likewise.
13127 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13128 Undefine and redefine.
13129 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13130 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13131 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13132 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13133 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13134 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13135 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13136 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13137 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13138 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13139 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13140 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13141 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13142 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13143 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13146 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13147 without decrementing exponent if mantissa >= that for the
13148 denominator, not >.
13149 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13150 denominator, not >. Decrement exponent in < case instead of
13151 incrementing in >= case.
13152 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13153 without decrementing exponent if mantissa >= that for the
13154 denominator, not >.
13156 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13157 computing saturated result for unsigned overflow.
13159 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13160 Jeff Law <law@redhat.com>
13162 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13163 (atan2Mp): Add systemtap probe marker.
13164 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13165 (__ieee754_log): Add systemtap probe marker.
13166 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13167 (atanMp): Add systemtap probe marker.
13168 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13169 (tanMp): Add systemtap probe marker.
13170 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13171 (__slowexp): Add systemtap probe marker.
13172 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13173 (__slowpow): Add systemtap probe marker.
13174 * manual/probes.texi: Document probes.
13176 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13179 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13181 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13183 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13184 written to buffer but not flushed.
13185 * libio/iofwrite_u.c: Likewise.
13186 * libio/iopadn.c: Return bytes returned even if EOF was
13188 * libio/iowpadn.c: Likewise.
13189 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13190 if _IO_padn does not write the whole buffer.
13191 [!COMPILE_WPRINTF] (PAD): Likewise.
13193 2013-10-10 David S. Miller <davem@davemloft.net>
13195 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13198 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13200 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13201 instead of FSF address.
13202 * soft-fp/fixdfti.c: Likewise.
13203 * soft-fp/fixsfti.c: Likewise.
13204 * soft-fp/fixtfti.c: Likewise.
13205 * soft-fp/fixunsdfti.c: Likewise.
13206 * soft-fp/fixunssfti.c: Likewise.
13207 * soft-fp/fixunstfti.c: Likewise.
13208 * soft-fp/floattidf.c: Likewise.
13209 * soft-fp/floattisf.c: Likewise.
13210 * soft-fp/floattitf.c: Likewise.
13211 * soft-fp/floatuntidf.c: Likewise.
13212 * soft-fp/floatuntisf.c: Likewise.
13213 * soft-fp/floatuntitf.c: Likewise.
13214 * soft-fp/trunctfxf2.c: Likewise.
13216 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13217 * soft-fp/fixdfti.c: Likewise.
13218 * soft-fp/fixsfti.c: Likewise.
13219 * soft-fp/fixtfti.c: Likewise.
13220 * soft-fp/fixunsdfti.c: Likewise.
13221 * soft-fp/fixunssfti.c: Likewise.
13222 * soft-fp/fixunstfti.c: Likewise.
13223 * soft-fp/floattidf.c: Likewise.
13224 * soft-fp/floattisf.c: Likewise.
13225 * soft-fp/floattitf.c: Likewise.
13226 * soft-fp/floatuntidf.c: Likewise.
13227 * soft-fp/floatuntisf.c: Likewise.
13228 * soft-fp/floatuntitf.c: Likewise.
13229 * soft-fp/trunctfxf2.c: Likewise.
13231 2013-10-10 David S. Miller <davem@davemloft.net>
13233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13235 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13237 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13238 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13239 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13240 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13241 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13242 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13243 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13246 for NaNs before doing comparisons on argument.
13247 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13250 2013-10-10 Will Newton <will.newton@linaro.org>
13252 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13253 passed to _int_memalign does not overflow.
13255 2013-10-10 Torvald Riegel <triegel@redhat.com>
13257 * scripts/bench.pl: Add include-sources directive.
13258 * benchtests/README: Update documentation.
13260 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13262 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13263 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13264 instead of FP_INIT_ROUNDMODE.
13265 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13266 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13269 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13270 copy class of input value.
13271 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13272 not handle exceptions.
13273 * soft-fp/negsf2.c (__negsf2): Likewise.
13274 * soft-fp/negtf2.c (__negtf2): Likewise.
13275 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13277 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13279 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13280 semicolon. From Linux kernel.
13282 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13284 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13286 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13289 * manual/socket.texi: Added statement about buffer
13290 for gethostbyname2_r.
13292 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13294 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13295 Use .p2align directive instead, throughout.
13296 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13297 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13298 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13299 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13300 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13301 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13302 * sysdeps/x86_64/strchr.S: Likewise.
13303 * sysdeps/x86_64/strrchr.S: Likewise.
13305 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13307 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13309 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13311 * sysdeps/generic/math_private.h (__mpsin1): Remove
13313 (__mpcos1): Likewise.
13314 (__mpsin): New argument __range_reduce.
13315 (__mpcos): Likewise.
13316 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13317 (slow): Use __mpsin and __mpcos.
13321 (sloww1): Likewise.
13322 (sloww2): Likewise.
13323 (bsloww): Likewise.
13324 (bsloww1): Likewise.
13325 (bsloww2): Likewise.
13326 (cslow2): Likewise.
13327 (csloww): Likewise.
13328 (csloww1): Likewise.
13329 (csloww2): Likewise.
13330 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13331 range_reduce. Merge in __mpsin1.
13332 (__mpcos): Likewise.
13333 (__mpsin1): Remove.
13334 (__mpcos1): Likewise.
13336 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13338 * locale/loadlocale.c (_nl_intern_locale_data): Use
13340 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13341 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13342 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13343 obstack data is appropriately aligned.
13344 (obstack_int32_grow_fast): Likewise.
13345 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13346 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13347 (add_locale_uint32_array): Likewise.
13349 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13351 * benchtests/Makefile: Remove ARGLIST and RET variables.
13352 ($(objpfx)bench-%.c): Pass only function name to the script.
13353 * benchtests/README: Update documentation.
13354 * benchtests/acos-inputs: Add new directives.
13355 * benchtests/acosh-inputs: Likewise.
13356 * benchtests/asin-inputs: Likewise.
13357 * benchtests/asinh-inputs: Likewise.
13358 * benchtests/atan-inputs: Likewise.
13359 * benchtests/atanh-inputs: Likewise.
13360 * benchtests/cos-inputs: Likewise.
13361 * benchtests/cosh-inputs: Likewise.
13362 * benchtests/exp-inputs: Likewise.
13363 * benchtests/log-inputs: Likewise.
13364 * benchtests/pow-inputs: Likewise.
13365 * benchtests/rint-inputs: Likewise.
13366 * benchtests/sin-inputs: Likewise.
13367 * benchtests/sinh-inputs: Likewise.
13368 * benchtests/tan-inputs: Likewise.
13369 * benchtests/tanh-inputs: Likewise.
13370 * scripts/bench.pl: Add support for new directives.
13372 2013-10-07 Alan Modra <amodra@gmail.com>
13374 * README: Fix careless merge.
13376 2013-10-05 Alan Modra <amodra@gmail.com>
13378 * NEWS: Mention powerpc64le support and bugs fixed.
13379 * README: Both big-endian and little-endian powerpc64 supported.
13381 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13383 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13384 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13385 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13386 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13388 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13390 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13393 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13395 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13396 Move -mhard-float appending from
13397 ports/sysdeps/powerpc/powerpc32/Makefile.
13398 [$(with-fp) = yes] (ASFLAGS): Likewise.
13399 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13400 * sysdeps/powerpc/nofpu: Move directory from
13401 ports/sysdeps/powerpc/nofpu.
13402 * sysdeps/powerpc/soft-fp: Move directory from
13403 ports/sysdeps/powerpc/soft-fp.
13404 * sysdeps/powerpc/powerpc32/405: Move directory from
13405 ports/sysdeps/powerpc/powerpc32/405.
13406 * sysdeps/powerpc/powerpc32/440: Move directory from
13407 ports/sysdeps/powerpc/powerpc32/440.
13408 * sysdeps/powerpc/powerpc32/464: Move directory from
13409 ports/sysdeps/powerpc/powerpc32/464.
13410 * sysdeps/powerpc/powerpc32/476: Move directory from
13411 ports/sysdeps/powerpc/powerpc32/476.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13413 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13415 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13417 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13419 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13421 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13422 * README: Update for powerpc-*-linux-gnu software floating point
13425 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13426 case to powerpc/powerpc32*.
13427 * sysdeps/unix/sysv/linux/configure: Regenerated.
13429 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13430 (_FPU_MASK_OM): Define as 0x04.
13431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13439 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13442 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13445 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13446 and setcontext_e500.
13448 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13450 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13452 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13454 * manual/threads.texi (Default Thread Attributes): Fix typo.
13456 2013-10-04 Will Newton <will.newton@linaro.org>
13458 * malloc/Makefile: Add tst-memalign.
13459 * malloc/tst-memalign.c: New file.
13461 * malloc/tst-posix_memalign.c: Add comments.
13462 (do_test): Add comments and call free on all potentially
13463 allocated pointers. Add space after cast.
13465 * malloc/tst-pvalloc.c: Add comments.
13466 (do_test): Add comments and call free on all potentially
13467 allocated pointers. Remove duplicate check for NULL pointer.
13468 Add space after cast.
13470 * malloc/tst-valloc.c: Add comments.
13471 (do_test): Add comments and call free on all potentially
13472 allocated pointers. Remove duplicate check for NULL pointer.
13473 Add space after cast.
13475 2013-10-04 Alan Modra <amodra@gmail.com>
13477 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13478 Use stdint types in rather than __attribute__((mode())).
13479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13481 2013-10-04 Alan Modra <amodra@gmail.com>
13483 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13484 Correct handling of unaligned relocs for little-endian.
13485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13487 2013-10-04 Alan Modra <amodra@gmail.com>
13489 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13490 * configure: Regenerate.
13491 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13492 * shlib-versions: Likewise.
13494 2013-10-04 Alan Modra <amodra@gmail.com>
13496 * string/tester.c (test_memrchr): Increment reported test cycle.
13498 2013-10-04 Alan Modra <amodra@gmail.com>
13500 * string/test-memcpy.c (do_one_test): When reporting errors, print
13501 string address and don't overrun end of string.
13503 2013-10-04 Alan Modra <amodra@gmail.com>
13505 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13506 insrdi. Make better use of reg selection to speed exit slightly.
13507 Schedule entry path a little better. Remove useless "are we done"
13508 checks on entry to main loop. Handle wrapping around zero address.
13509 Correct main loop count. Handle single left-over word from main
13510 loop inline rather than by using loop_small. Remove extra word
13511 case in loop_small caused by wrong loop count. Add little-endian
13513 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13514 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13516 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13517 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13518 support. Avoid rlwimi.
13519 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13521 2013-10-04 Alan Modra <amodra@gmail.com>
13523 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13524 insrdi. Formatting.
13525 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13526 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13527 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13528 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13529 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13530 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13532 2013-10-04 Alan Modra <amodra@gmail.com>
13534 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13535 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13536 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13537 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13538 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13539 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13540 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13541 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13542 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13543 use of regs. Use power7 mtocrf. Tidy function tails.
13545 2013-10-04 Alan Modra <amodra@gmail.com>
13547 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13548 Formatting. Consistently use rXXX register defines or rN defines.
13549 Use early exit labels that avoid restoring unused non-volatile regs.
13550 Make cr field use more consistent with rWORDn compares. Rename
13551 regs used as shift registers for unaligned loop, using rN defines
13552 for short lifetime/multiple use regs.
13553 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13554 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13555 addi 1,1,64 to pop stack frame. Simplify return value code.
13556 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13558 2013-10-04 Alan Modra <amodra@gmail.com>
13560 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13561 support. Correct typos, formatting. Optimize tail. Use insrdi
13562 rather than rlwimi.
13563 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13564 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13565 little-endian support. Correct typos.
13566 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13567 rather than rlwimi.
13568 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13569 in loop and entry code to keep "and." results.
13570 (strchr): Add little-endian support. Comment. Move cntlzd
13572 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13574 2013-10-04 Alan Modra <amodra@gmail.com>
13576 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13577 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13578 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13579 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13581 2013-10-04 Alan Modra <amodra@gmail.com>
13583 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13584 (rTMP): Define as r11.
13585 (strcmp): Add little-endian support. Optimise tail.
13586 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13587 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13588 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13589 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13590 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13592 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13594 2013-10-04 Alan Modra <amodra@gmail.com>
13596 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13597 little-endian support. Remove unnecessary "are we done" tests.
13598 Handle "s" wrapping around zero and extremely large "size".
13599 Correct main loop count. Handle single left-over word from main
13600 loop inline rather than by using small_loop. Correct comments.
13601 Delete "zero" tail, use "end_max" instead.
13602 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13604 2013-10-04 Alan Modra <amodra@gmail.com>
13606 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13607 support. Don't branch over align.
13608 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13609 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13610 support. Rearrange tmp reg use to suit. Comment.
13611 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13613 2013-10-04 Alan Modra <amodra@gmail.com>
13615 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13617 2013-10-04 Alan Modra <amodra@gmail.com>
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13620 conditional form of branch and link when obtaining pc.
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13623 2013-10-04 Alan Modra <amodra@gmail.com>
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13630 2013-10-04 Alan Modra <amodra@gmail.com>
13632 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13633 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13634 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13635 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13636 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13637 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13638 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13639 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13640 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13641 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13643 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13644 Alistair Popple <alistair@ozlabs.au.ibm.com>
13645 Alan Modra <amodra@gmail.com>
13648 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13649 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13650 _dl_hwcap access for little-endian.
13651 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13652 destroy vmx regs when saving unaligned.
13653 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13654 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13655 destroy vmx regs when saving unaligned.
13657 2013-10-04 Alan Modra <amodra@gmail.com>
13659 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13660 Don't use a union to pack hi/low value.
13662 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13664 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13666 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13667 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13668 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13669 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13670 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13672 2013-10-04 Alan Modra <amodra@gmail.com>
13674 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13675 constants to usual value for .cst8 section, and remove redundant
13677 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13678 constant for 0x1p52. Load little-endian words of double from
13679 correct stack offsets.
13681 2013-10-04 Alan Modra <amodra@gmail.com>
13683 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13684 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13685 words of double from correct stack offsets.
13686 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13687 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13688 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13689 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13690 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13691 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13692 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13693 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13694 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13695 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13696 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13697 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13698 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13699 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13700 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13701 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13702 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13704 2013-10-04 Alan Modra <amodra@gmail.com>
13706 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13707 64-bit int/double union.
13708 (_FPU_SETCW): Likewise.
13709 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13710 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13712 2013-10-04 Alan Modra <amodra@gmail.com>
13714 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13715 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13717 2013-10-04 Alan Modra <amodra@gmail.com>
13719 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13720 use vector int constants.
13721 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13723 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13725 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13726 array with long long.
13727 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13728 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13729 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13730 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13731 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13732 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13733 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13734 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13735 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13736 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13737 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13738 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13739 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13741 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13743 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13744 (__signbit): Likewise. Correct for little-endian.
13745 (__signbitl): Call __signbit.
13746 (lrint): Correct for little-endian.
13747 (lrintf): Call lrint.
13749 2013-10-04 Alan Modra <amodra@gmail.com>
13751 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13752 union 32-bit int array member with 64-bit int array.
13753 (t515, tm256): Double rather than long double.
13754 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13756 2013-10-04 Alan Modra <amodra@gmail.com>
13758 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13760 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13761 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13762 version of math_ldbl.h.
13764 2013-10-04 Alan Modra <amodra@gmail.com>
13766 [BZ #15734], [BZ #15735]
13767 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13768 all uses of ieee875 long double macros and unions. Simplify test
13769 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13770 ldbl_extract_mantissa value for ix,iy exponents. Properly
13771 normalize after ldbl_extract_mantissa, and don't add hidden bit
13772 already handled. Don't treat low word of ieee854 mantissa like
13773 low word of IBM long double and mask off bit when testing for
13775 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13776 all uses of ieee875 long double macros and unions. Simplify tests
13777 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13778 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13779 two1022, instead use their values. Recognise that tests for large
13780 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13781 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13782 Rewrite all uses of ieee875 long double macros and unions. Simplify
13783 test for 0.0L and nan. Correct negation.
13784 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13785 ieee875 long double macros and unions. Correct output for large
13786 magnitude x. Correct absolute value calculation.
13787 (__erfcl): Likewise.
13788 * math/libm-test.inc: Add tests for errors discovered in IBM long
13789 double versions of fmodl, remainderl, erfl and erfcl.
13791 2013-10-04 Alan Modra <amodra@gmail.com>
13793 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13794 all uses of ieee854 long double macros and unions. Simplify tests
13795 for long doubles that are fully specified by the high double.
13796 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13798 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13799 Remove dead code too.
13800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13801 (__ieee754_ynl): Likewise.
13802 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13803 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13804 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13805 Remove dead code too.
13806 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13807 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13808 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13809 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13811 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13813 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13814 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13816 Comment on variable precision.
13817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13820 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13821 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13824 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13826 2013-10-04 Alan Modra <amodra@gmail.com>
13828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13829 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13830 all uses of ieee854 long double macros and unions.
13831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13833 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13834 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13835 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13836 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13838 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13839 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13842 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13843 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13844 Simplify sign and nan test too.
13845 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13846 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13847 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13848 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13850 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13851 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13854 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13855 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13856 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13857 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13860 2013-10-04 Alan Modra <amodra@gmail.com>
13862 * stdio-common/printf_size.c (__printf_size): Don't use
13863 union ieee854_long_double in fpnum union.
13864 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13865 signbit macro to retrieve sign from long double.
13866 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13867 retrieve sign from long double.
13868 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13869 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13870 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13871 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13872 * math/test-misc.c (main): Don't use union ieee854_long_double.
13874 2013-10-04 Alan Modra <amodra@gmail.com>
13877 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13878 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13879 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13880 calculation. Remove unnecessary test for denormal exponent.
13881 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13882 Correct handling of denormals. Avoid undefined shift behaviour.
13883 Correct normalisation of low mantissa when low double is denormal.
13884 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13885 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13886 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13887 Correct normalisation of low mantissa. Test for overflow of high
13888 mantissa and normalise.
13889 (ldbl_nearbyint): Use more readable constant for two52.
13890 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13891 (__mpn_construct_long_double): Fix test for overflow of high
13892 mantissa and correct normalisation. Avoid undefined shift.
13894 2013-10-04 Alan Modra <amodra@gmail.com>
13896 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13897 (union ibm_extended_long_double): Define as an array of ieee754_double.
13898 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13899 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13900 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13901 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13905 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13910 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13912 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13913 page size instead of calling getpagesize.
13915 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13916 (LOCFILE_ALIGN_MASK): Likewise.
13917 (LOCFILE_ALIGN_UP): Likewise.
13918 (LOCFILE_ALIGNED_P): Likewise.
13919 * locale/programs/ld-collate.c (collate_output): Use the new
13920 macros instead of __alignof__ (int32_t).
13921 * locale/weight.h (findidx): Likewise.
13923 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13926 * manual/string.texi: Fix strncat and wcsncat.
13928 2013-10-03 Brooks Moses <bmoses@google.com>
13931 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13932 * Makerules: ...here, and adjust associated comments.
13934 2013-10-02 Will Newton <will.newton@linaro.org>
13936 * malloc/Makefile: Add tst-pvalloc.
13937 * malloc/tst-pvalloc.c: New file.
13939 2013-10-02 Will Newton <will.newton@linaro.org>
13941 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13942 improve test coverage.
13944 2013-10-02 Will Newton <will.newton@linaro.org>
13946 * malloc/Makefile: Add tst-posix_memalign.
13947 * malloc/tst-posix_memalign.c: New file.
13949 2013-10-01 Eric Blake <eblake@redhat.com>
13951 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13952 Use __THROWNL rather than __THROW on static functions.
13954 2013-09-30 Petr Machata <pmachata@redhat.com>
13956 * elf/elf.h (R_AARCH64_ABS16): New macro.
13957 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13958 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13959 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13960 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13961 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13962 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13963 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13964 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13965 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13966 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13967 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13968 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13969 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13970 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13971 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13972 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13973 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13974 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13975 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13976 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13977 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13978 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13979 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13980 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13981 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13982 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13983 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13984 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13985 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13986 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13987 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13988 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13989 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13990 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13991 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13992 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13993 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13994 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13995 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13996 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13997 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13998 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13999 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14000 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14001 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14002 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14003 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14004 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14005 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14006 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14007 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14008 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14009 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14010 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14011 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14012 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14013 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14014 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14015 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14016 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14017 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14018 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14019 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14020 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14021 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14022 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14023 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14024 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14025 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14026 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14027 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14028 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14029 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14030 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14031 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14032 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14033 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14034 (R_AARCH64_TLSDESC_LDR): Likewise.
14035 (R_AARCH64_TLSDESC_ADD): Likewise.
14036 (R_AARCH64_TLSDESC_CALL): Likewise.
14038 2013-09-30 Andreas Schwab <schwab@suse.de>
14041 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14042 the nss database lookup.
14043 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14046 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14048 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14050 2013-09-28 P. J. McDermott <pj@pehjota.net>
14052 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14053 ${Bash-specific parameter/pattern/string} parameter expansion.
14054 * sysdeps/unix/make-syscalls.sh: Likewise.
14056 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14058 * sysdeps/sh/stackguard-macros.h: New file.
14060 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14063 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14064 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14065 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14066 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14067 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14069 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14071 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14072 Fix thread ID register.
14074 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14076 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14077 [POSIX || UNIX98]: Require rather than permitting all symbols from
14079 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14080 element of struct sched_param.
14081 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14082 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14083 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14084 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14087 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14089 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14090 argument calculation.
14092 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14094 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14096 [POSIX] (pthread_attr_t): Do not require type.
14097 [POSIX] (pthread_cond_t): Likewise.
14098 [POSIX] (pthread_condattr_t): Likewise.
14099 [POSIX] (pthread_key_t): Likewise.
14100 [POSIX] (pthread_mutex_t): Likewise.
14101 [POSIX] (pthread_mutexattr_t): Likewise.
14102 [POSIX] (pthread_once_t): Likewise.
14103 [POSIX] (pthread_t): Likewise.
14104 [POSIX-based standards] (pthread_atfork): Expect function.
14106 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14107 Richard Sandiford <richard@codesourcery.com>
14109 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14110 (swap_endianness_p): New extern variable.
14111 (set_big_endian): New inline function.
14112 (maybe_swap_uint32): Likewise.
14113 (maybe_swap_uint32_array): Likewise.
14114 (maybe_swap_uint32_obstack): Likewise.
14115 * locale/programs/locfile.c: Include <stdbool.h>.
14116 (swap_endianness_p): New variable.
14117 (add_locale_uint32): Call maybe_swap_uint32.
14118 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14119 (write_locale_data): Call maybe_swap_uint32_array.
14120 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14122 (obstack_int32_grow_fast): Likewise.
14123 (output_weightwc): Call maybe_swap_uint32_obstack.
14124 (collate_output): Likewise.
14125 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14126 (OPT_LITTLE_ENDIAN): Likewise.
14127 (options): Add --little-endian and --big-endian options.
14128 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14129 * locale/programs/locarchive.c: Include "locfile.h".
14133 (create_archive): Use the new macros to access fields of
14134 structures directly mapped from or written to locale archives.
14135 (oldlocrecentcmp): Likewise.
14136 (enlarge_archive): Likewise.
14137 (insert_name): Likewise.
14138 (add_alias): Likewise.
14139 (add_locale): Likewise.
14140 (delete_locales_from_archive): Likewise.
14141 (show_archive_content): Likewise.
14142 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14145 2013-09-24 Roland McGrath <roland@hack.frob.com>
14147 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14148 http://www.gnu.org/doc/freemanuals.texi.
14149 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14151 2013-09-24 Will Newton <will.newton@linaro.org>
14153 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14156 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14158 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14161 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14163 * manual/threads.texi (POSIX Threads): Fix a typo.
14165 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14168 * string/tst-strcoll-overflow.c: New test case.
14169 * string/Makefile (xtests): Add tst-strcoll-overflow.
14170 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14171 cache if string sizes may cause integer overflow.
14174 * string/strcoll_l.c (coll_seq): New members rule, idx,
14175 save_idx and back_us.
14176 (get_next_seq_nocache): New function.
14177 (do_compare_nocache): New function.
14178 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14181 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14184 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14185 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14186 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14189 * elf/Makefile (tests): Add tst-ptrguard1.
14190 (tests-static): Add tst-ptrguard1-static.
14191 (tst-ptrguard1-ARGS): Define.
14192 (tst-ptrguard1-static-ARGS): Define.
14193 * elf/tst-ptrguard1.c: New file.
14194 * elf/tst-ptrguard1-static.c: New file.
14195 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14196 * sysdeps/i386/stackguard-macros.h: Likewise.
14197 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14198 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14199 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14200 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14201 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14202 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14204 2013-09-23 Hector Marco <hecmargi@upv.es>
14205 Ismael Ripoll <iripoll@disca.upv.es>
14206 Carlos O'Donell <carlos@redhat.com>
14209 * sysdeps/generic/stackguard-macros.h: Define
14210 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14211 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14212 Define __pointer_chk_guard_local.
14213 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14214 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14216 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14219 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14221 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14223 * include/string.h (__ffs): Declare as hidden.
14224 * string/ffs.c (__ffs): Define as hidden.
14225 * sysdeps/i386/ffs.c (__ffs): Likewise.
14226 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14227 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14228 * sysdeps/s390/ffs.c (__ffs): Likewise.
14229 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14231 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14233 * NEWS: Mention malloc probes.
14235 * malloc/arena.c (new_heap): New memory_heap_new probe.
14236 (grow_heap): New memory_heap_more probe.
14237 (shrink_heap): New memory_heap_less probe.
14238 (heap_trim): New memory_heap_free probe.
14239 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14240 (systrim): New memory_sbrk_less probe.
14241 * manual/probes.texi: Document them.
14243 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14244 * manual/probes.texi: Document it.
14246 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14247 (__libc_realloc): Add memory_realloc_retry probe.
14248 (__libc_memalign): Add memory_memalign_retry probe.
14249 (__libc_valloc): Add memory_valloc_retry probe.
14250 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14251 (__libc_calloc): Add memory_calloc_retry probe.
14252 * manual/probes.texi: Document them.
14254 * malloc/arena.c (get_free_list): Add probe
14255 memory_arena_reuse_free_list.
14256 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14257 and memory_arena_reuse.
14258 (arena_get2) [!PER_THREAD]: Likewise.
14259 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14260 memory_arena_reuse_realloc.
14261 * manual/probes.texi: Document them.
14263 * malloc/malloc.c (__libc_free): Add
14264 memory_mallopt_free_dyn_thresholds probe.
14265 (__libc_mallopt): Add multiple memory_mallopt probes.
14266 * manual/probes.texi: Document them.
14268 * malloc/malloc.c: Include stap-probe.h.
14269 (__libc_mallopt): Add memory_mallopt probe.
14270 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14271 * manual/probes.texi: New.
14272 * manual/Makefile (chapters): Add probes.
14273 * manual/threads.texi: Set next node.
14275 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14277 [BZ #15963, #13985]
14278 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14279 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14280 Add `Chinese' to `nan' entry name.
14282 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14284 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14285 (POLYNOMIAL): Likewise.
14286 (TAYLOR_SINCOS): Likewise.
14287 (TAYLOR_SLOW): Likewise.
14288 (__sin): Use TAYLOR_SINCOS.
14290 (slow): Use TAYLOR_SLOW.
14292 (bsloww): Likewise.
14293 (csloww): Likewise.
14295 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14297 * stdlib/strtod_l.c: Fix buffer overrun.
14299 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14301 * benchtests/Makefile (bench): Add sincos.
14302 * benchtests/bench-sincos.c: New file.
14304 * math/libm-test.inc (cos_test_data): New test inputs.
14305 (sin_test_data): Likewise.
14307 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14313 (sloww1): Likewise.
14314 (sloww2): Likewise.
14315 (bsloww1): Likewise.
14316 (bsloww2): Likewise.
14317 (cslow2): Likewise.
14318 (csloww1): Likewise.
14319 (csloww2): Likewise.
14321 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14326 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14330 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14332 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14333 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14334 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14335 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14336 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14337 * elf/cache.c (print_entry): Handle the new cache flags.
14339 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14340 Aldy Hernandez <aldyh@redhat.com>
14342 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14343 Change condition to [_SOFT_FLOAT].
14344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14353 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14356 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14359 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14362 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14364 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14365 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14366 (__longjmp): Use LOAD_GP to load saved GPRs.
14367 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14368 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14369 (__sigsetjmp): Use SAVE_GP to save GPRs.
14371 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14372 Do not append -msoft-float.
14373 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14375 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14377 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14379 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14382 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14383 (_FPU_GETCW): Use initial "__" on variable and field names but not
14384 on macro parameter name.
14385 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14386 parentheses around reference to macro parameter.
14388 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14390 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14392 (ctype_startup): Use uint32_t in cast and sizeof for
14395 2013-09-11 Jia Liu <proljc@gmail.com>
14397 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14399 [__FreeBSD__]: Likewise.
14401 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14404 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14405 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14406 (strchr): Remove __strchr_sse42 ifunc selection.
14407 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14408 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14410 2013-09-11 Will Newton <will.newton@linaro.org>
14412 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14413 parameter to RES. Remove hardcoded 1000 value.
14414 * benchtests/bench-skeleton.c (main): Pass RES parameter
14415 to TIMING_INIT and multiply result by 1000.
14417 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14421 2013-09-11 Andreas Schwab <schwab@suse.de>
14423 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14425 (O_TMPFILE) [__USE_GNU]: Define.
14426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14429 2013-09-11 Will Newton <will.newton@linaro.org>
14432 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14435 2013-09-11 Will Newton <will.newton@linaro.org>
14438 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14441 2013-09-11 Will Newton <will.newton@linaro.org>
14444 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14447 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14449 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14450 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14451 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14452 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14453 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14455 2013-09-10 Allan McRae <allan@archlinux.org>
14458 * manual/arith.texi (Parsing of Floats): Clarify
14462 * manual/install.texi (Running make install): Mention
14464 * INSTALL: Regenerated.
14466 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14468 * csu/init-first.c (_init): Remove the !SHARED condition around
14469 FPU control word initialization.
14470 * elf/dl-support.c (_dl_fpu_control): New variable.
14471 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14472 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14473 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14474 * math/test-fpucw-static.c: New file.
14475 * math/test-fpucw-ieee.c: New file.
14476 * math/test-fpucw-ieee-static.c: New file.
14477 * math/Makefile (tests): Add `test-fpucw-ieee' and
14479 (tests-static): New variable.
14480 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14482 [($(build-shared),yes)]
14483 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14485 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14488 2013-09-09 Allan McRae <allan@archlinux.org>
14491 * manual/string.texi (Collation Functions): Fix typo in
14493 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14496 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14499 * libio/memstream.c (open_memstream): Fix memory leak.
14500 * libio/wmemstream.c (open_wmemstream): Likewise.
14503 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14505 2013-09-09 Will Newton <will.newton@linaro.org>
14507 * malloc/Makefile: Add tst-realloc to tests.
14508 * malloc/tst-realloc.c: New file.
14510 2013-09-09 Allan McRae <allan@archlinux.org>
14513 * COPYING: Update from GNU website to fix FSF address.
14514 * COPYING.LIB: Likewise.
14516 2013-09-06 David S. Miller <davem@davemloft.net>
14518 * po/zh_TW.po: Update Chinese (traditional) translation from
14519 translation project.
14521 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14522 Joseph Myers <joseph@codesourcery.com>
14524 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14526 (obstack_chunk_alloc): New macro.
14527 (obstack_chunk_free): Likewise.
14528 (record_offset): New function.
14529 (init_locale_data): Likewise.
14530 (align_locale_data): Likewise.
14531 (add_locale_empty): Likewise.
14532 (add_locale_raw_data): Likewise.
14533 (add_locale_raw_obstack): Likewise.
14534 (add_locale_string): Likewise.
14535 (add_locale_wstring): Likewise.
14536 (add_locale_uint32): Likewise.
14537 (add_locale_uint32_array): Likewise.
14538 (add_locale_char): Likewise.
14539 (start_locale_structure): Likewise.
14540 (end_locale_structure): Likewise.
14541 (start_locale_prelude): Likewise.
14542 (end_locale_prelude): Likewise.
14543 (write_locale_data): Take locale_file structure rather than an
14545 * locale/programs/locfile.h: Include "obstack.h".
14546 (struct locale_file): Change to store locale file contents instead
14548 (init_locale_data): New prototype.
14549 (align_locale_data): Likewise.
14550 (add_locale_empty): Likewise.
14551 (add_locale_raw_data): Likewise.
14552 (add_locale_raw_obstack): Likewise.
14553 (add_locale_string): Likewise.
14554 (add_locale_wstring): Likewise.
14555 (add_locale_uint32): Likewise.
14556 (add_locale_uint32_array): Likewise.
14557 (add_locale_char): Likewise.
14558 (start_locale_structure): Likewise.
14559 (end_locale_structure): Likewise.
14560 (start_locale_prelude): Likewise.
14561 (end_locale_prelude): Likewise.
14562 (write_locale_data): Update prototype.
14563 * locale/programs/3level.h (struct TABLE): Remove result field.
14564 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14565 Use new locale_file interface.
14566 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14567 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14568 * locale/programs/ld-address.c (address_output): Use new
14569 locale_file interface.
14570 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14572 (collate_finish): Don't call collseq_table_finalize.
14573 (collate_output): Use new locale_file interface.
14574 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14576 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14577 (TABLE): Move defines earlier in file.
14578 (ELEMENT): Likewise.
14579 (DEFAULT): Likewise.
14580 (wctrans_table_add): Move macro and inline function earlier in
14582 (struct wctype_table): Move type earlier in file.
14583 (add_locale_wctype_table): New static prototype.
14584 (struct locale_ctype_t): Use logical types instead of struct iovec
14585 pointers for members.
14586 (ctype_output): Use new locale_file interface.
14587 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14588 new locale_file interface.
14589 (allocate_arrays): Update for use of new locale_file interface.
14590 * locale/programs/ld-identification.c (identification_output): Use
14591 new locale_file interface.
14592 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14593 * locale/programs/ld-messages.c (messages_output): Likewise.
14594 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14595 * locale/programs/ld-name.c (name_output): Likewise.
14596 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14597 * locale/programs/ld-paper.c (paper_output): Likewise.
14598 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14599 * locale/programs/ld-time.c (time_output): Likewise.
14601 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14603 * benchtests/Makefile: Add memrchr benchmark.
14604 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14605 benchmark as memrchr.
14606 * benchtests/bench-memrchr-ifunc.c: New file.
14607 * benchtests/bench-memrchr.c: New file.
14609 2013-09-06 Will Newton <will.newton@linaro.org>
14611 * benchtests/Makefile (string-bench): Add memcpy.
14613 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14614 Cong Wang <amwang@redhat.com>
14617 * sysdeps/unix/sysv/linux/bits/in.h
14618 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14619 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14620 before __USE_KERNEL_IPV6_DEFS uses.
14621 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14623 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14624 sockaddr_in6, or ipv6_mreq.
14626 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14628 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14629 memory access for final bytes in some large inputs.
14630 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14632 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14634 * string/test-memrchr.c: New file.
14635 * string/test-memrchr-ifunc.c: New file.
14636 * string/Makefile: Add new memrchr testcase.
14638 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14640 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14641 fanotify_init returns EPERM.
14643 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14645 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14647 (top level): Treat second token from macro or constant entries for
14648 allowed headers as allowed.
14649 * include/complex.h: Condition internal declarations on
14651 * include/fenv.h: Condition include of <stdbool.h> and internal
14652 declarations on [!_ISOMAC].
14654 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14657 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14659 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14661 * configure.in (--enable-versioning): Remove configure option.
14662 (libc_cv_asm_symver_directive): Remove configure test.
14663 (libc_cv_ld_version_script_option): Likewise.
14664 (VERSIONING): Remove variable and AC_SUBST.
14665 (DO_VERSIONING): Remove AC_DEFINE.
14666 * configure: Regenerated.
14667 * config.h.in (DO_VERSIONING): Remove macro.
14668 * Makerules [$(versioning) = yes]: Change conditionals to
14669 [$(build-shared) = yes].
14670 * config.make.in (versioning): Remove variable.
14671 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14672 [$(build-shared) = yes].
14673 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14674 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14675 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14676 [$(build-shared) = yes].
14677 * extra-lib.mk [$(versioning) = yes]: Likewise.
14678 * hurd/Makefile [$(versioning) = yes]: Likewise.
14679 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14681 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14683 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14684 [SHARED && !NO_HIDDEN].
14685 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14687 [SHARED && DO_VERSIONING]: Likewise..
14688 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14689 [$(build-shared) = yes].
14690 * manual/install.texi (--disable-versioning): Remove
14692 * INSTALL: Regenerated.
14693 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14695 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14696 [$(build-shared) = yes].
14697 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14698 * sysdeps/i386/i686/multiarch/strstr-c.c
14699 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14700 [SHARED && !NO_HIDDEN].
14701 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14702 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14703 * sysdeps/powerpc/powerpc32/dl-machine.c
14704 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14705 * sysdeps/powerpc/powerpc32/sysdep.h
14706 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14707 to [SHARED && PIC && !NO_HIDDEN].
14708 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14709 conditional to [SHARED].
14711 2013-09-04 Will Newton <will.newton@linaro.org>
14713 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14714 * benchtests/bench-string.h: Include bench-timing.h instead
14715 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14716 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14717 call to HP_TIMING_DIFF_INIT.
14718 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14719 instead of hp-timing.h macros.
14720 * benchtests/bench-memchr.c: Likewise.
14721 * benchtests/bench-memcmp.c: Likewise.
14722 * benchtests/bench-memcpy.c: Likewise.
14723 * benchtests/bench-memmem.c: Likewise.
14724 * benchtests/bench-memmove.c: Likewise.
14725 * benchtests/bench-memset.c: Likewise.
14726 * benchtests/bench-rawmemchr.c: Likewise.
14727 * benchtests/bench-strcasecmp.c: Likewise.
14728 * benchtests/bench-strcasestr.c: Likewise.
14729 * benchtests/bench-strcat.c: Likewise.
14730 * benchtests/bench-strchr.c: Likewise.
14731 * benchtests/bench-strcmp.c: Likewise.
14732 * benchtests/bench-strcpy.c: Likewise.
14733 * benchtests/bench-strcpy_chk.c: Likewise.
14734 * benchtests/bench-strlen.c: Likewise.
14735 * benchtests/bench-strncasecmp.c: Likewise.
14736 * benchtests/bench-strncat.c: Likewise.
14737 * benchtests/bench-strncmp.c: Likewise.
14738 * benchtests/bench-strncpy.c: Likewise.
14739 * benchtests/bench-strnlen.c: Likewise.
14740 * benchtests/bench-strpbrk.c: Likewise.
14741 * benchtests/bench-strrchr.c: Likewise.
14742 * benchtests/bench-strspn.c: Likewise.
14743 * benchtests/bench-strstr.c: Likewise.
14745 2013-09-04 Will Newton <will.newton@linaro.org>
14747 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14749 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14752 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14753 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14754 * math/libm-test.inc (lgamma_test_data): Add more tests.
14755 * sysdeps/i386/fpu/libm-test-ulps: Update.
14756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14758 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14760 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14764 Add strcmp-sse2-unaligned
14765 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14767 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14769 * Versions.def (libc): Add GLIBC_2.19.
14771 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14773 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14774 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14776 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14779 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14780 intermediate calculations in recurrence.
14781 (__ieee754_ynf): Likewise.
14782 * math/libm-test.inc (jn_test_data): Do not allow spurious
14783 underflow exception. Add more tests.
14784 (yn_test_data): Add more tests.
14785 * sysdeps/i386/fpu/libm-test-ulps: Update.
14786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14788 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14790 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14792 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14794 * csu/init-first.c: Fix then/than typos.
14795 * locale/programs/ld-collate.c: Likewise.
14796 * locale/programs/linereader.h: Likewise.
14797 * manual/charset.texi: Likewise.
14798 * manual/filesys.texi: Likewise.
14799 * manual/stdio.texi: Likewise.
14800 * manual/string.texi: Likewise.
14801 * stdlib/fmtmsg.c: Likewise.
14802 * sysdeps/i386/stpncpy.S: Likewise.
14803 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14804 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14805 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14806 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14808 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14810 * elf/dl-open.c: Fix typos.
14811 * iconvdata/gbbig5.c: Likewise.
14812 * iconvdata/iso-2022-jp.c: Likewise.
14813 * iconv/gconv_int.h: Likewise.
14814 * iconv/loop.c: Likewise.
14815 * nis/rpcsvc/nis.h: Likewise.
14816 * resolv/ns_name.c: Likewise.
14817 * stdio-common/vfscanf.c: Likewise.
14818 * streams/stropts.h: Likewise.
14819 * sunrpc/rpc_thread.c: Likewise.
14820 * sysdeps/i386/strpbrk.S: Likewise.
14821 * sysdeps/ieee754/k_standard.c: Likewise.
14822 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14824 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14825 * sysdeps/mach/hurd/profil.c: Likewise.
14826 * sysdeps/s390/dl-procinfo.h: Likewise.
14827 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14828 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14829 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14830 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14831 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14833 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14835 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14838 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14840 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14841 aix specific files.
14842 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14843 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14844 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14845 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14846 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14847 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14848 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14849 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14851 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14852 Roland McGrath <roland@hack.frob.com>
14854 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14855 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14857 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14859 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14860 __executable_start symbol instead of _start.
14862 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14864 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14865 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14867 * sysdeps/gnu/ldsodefs.h: ... this new file.
14869 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14870 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14871 instead of ELFOSABI_LINUX.
14873 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14874 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14875 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14876 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14878 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14879 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14882 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14883 (ibm_extended_long_double): Add ieee_nan member.
14884 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14885 (do_test): New function.
14887 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14889 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14890 functions, renamed from truncdfsf_test, trunctfsf_test,
14892 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14894 (do_test): Run all these.
14896 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14898 * argp/argp-help.c: Fix typos.
14899 * argp/argp-parse.c: Likewise.
14900 * debug/backtracesyms.c: Likewise.
14901 * elf/elf.h: Likewise.
14902 * malloc/malloc.c: Likewise.
14903 * nis/nis_print.c: Likewise.
14904 * resolv/res_comp.c: Likewise.
14905 * stdlib/stdlib.h: Likewise.
14906 * sunrpc/clnt_tcp.c: Likewise.
14907 * sunrpc/clnt_udp.c: Likewise.
14908 * sunrpc/clnt_unix.c: Likewise.
14909 * sysdeps/unix/bsd/ptsname.c: Likewise.
14910 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14911 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14918 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14920 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14922 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14925 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14928 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14929 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14930 ($(objpfx)bug-dl-leaf): New rule.
14931 ($(objpfx)bug-dl-leaf.so): Likewise.
14932 ($(objpfx)bug-dl-leaf.out): Likewise.
14933 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14934 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14935 * dlfcn/bug-dl-leaf.c: New test.
14936 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14937 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14938 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14939 (dlclose): Likewise.
14940 (dlmopen): Likewise.
14942 2013-08-27 Roland McGrath <roland@hack.frob.com>
14944 * include/netdb.h [!_ISOMAC]:
14945 Don't include <tls.h>.
14946 (h_errno, __libc_h_errno): Move declaration and macros out of
14949 * include/resolv.h [_RESOLV_H_]:
14950 Don't include <tls.h>.
14951 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14952 * resolv/res_libc.c: Don't include <tls.h>.
14953 (_res): Use __attribute__ ((nocommon)) in place of
14954 __attribute__ ((section (".bss"))).
14956 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14957 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14959 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14961 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14962 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14964 * resolv/res_mkquery.c: Include <sys/time.h>.
14966 * inet/ifreq.c: Moved to ...
14967 * sysdeps/unix/ifreq.c: ... here.
14968 * inet/ifreq.c: New file, true stub version.
14970 * socket/sa_len.c: New file.
14971 * socket/Makefile (aux): Add it.
14972 * sysdeps/unix/sysv/linux/Makefile
14973 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14974 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14975 and #include <socket/sa_len.c>.
14976 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14977 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14979 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14980 * bits/socket.h: ... here.
14982 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14983 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14984 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14986 2013-08-27 Andreas Schwab <schwab@suse.de>
14989 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14990 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14991 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14992 * string/test-strcasecmp.c (test_main): Run tests in several
14994 * string/test-strncasecmp.c (test_main): Likewise.
14996 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14997 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14998 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14999 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15000 (__strncasecmp_ssse3) [PIC]: Likewise.
15002 2013-08-26 Roland McGrath <roland@hack.frob.com>
15004 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15006 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15007 instead of explicitly declaring xdecrypt.
15008 * nis/nss_nis/nis-publickey.c: Likewise.
15010 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15013 * nscd/aicache.c: Include res_hconf.h.
15014 (addhstaiX): Initialize res_hconf.
15016 2013-08-26 Andreas Schwab <schwab@suse.de>
15018 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15019 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15021 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15023 * nscd/aicache.c (addhstaiX): Fix indentation.
15025 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15027 * configure.ac: Quote $build_pt_chown test.
15028 * configure: Regenerated.
15030 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15033 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15034 * math/s_cexpf.c (__cexpf): Likewise.
15035 * math/s_cexpl.c (__cexpl): Likewise.
15036 * math/libm-test.inc (cexp_test_data): Correct expected return
15037 value for NaN + i0. Add another test.
15039 2013-08-22 David S. Miller <davem@davemloft.net>
15041 * po/ca.po: Update Catalan translation from translation project.
15042 * po/uk.po: Add Ukrainian translations from translation project.
15044 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15047 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15048 is infinite, not alongside NaN test.
15049 * math/s_fdimf.c (__fdimf): Likewise.
15050 * math/s_fdiml.c (__fdiml): Likewise.
15051 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15052 errno is unchanged.
15054 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15056 * argp/argp-help.c: Fix typos.
15057 * crypt/speeds.c: Likewise.
15058 * csu/check_fds.c: Likewise.
15059 * elf/dl-load.c: Likewise.
15060 * elf/dl-open.c: Likewise.
15061 * elf/reldep3.c: Likewise.
15062 * elf/reldep.c: Likewise.
15063 * elf/sprof.c: Likewise.
15064 * iconv/iconv_charmap.c: Likewise.
15065 * iconv/skeleton.c: Likewise.
15066 * iconv/strtab.c: Likewise.
15067 * io/lockf64.c: Likewise.
15068 * libio/libioP.h: Likewise.
15069 * resolv/gai_notify.c: Likewise.
15070 * resolv/ns_name.c: Likewise.
15071 * resolv/ns_samedomain.c: Likewise.
15072 * resolv/res_send.c: Likewise.
15073 * stdlib/random.c: Likewise.
15074 * sunrpc/rpc/xdr.h: Likewise.
15075 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15076 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15077 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15078 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15079 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15080 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15081 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15082 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15083 * sysdeps/mach/hurd/check_fds.c: Likewise.
15084 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15085 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15086 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15087 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15088 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15089 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15090 * sysdeps/pthread/aio_notify.c: Likewise.
15091 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15092 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15093 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15094 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15095 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15097 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15099 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15100 version if bit_Slow_SSE4_2 is set.
15101 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15102 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15104 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15107 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15108 trampoline stack frame information.
15109 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15110 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15111 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15112 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15113 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15114 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15115 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15116 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15118 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15119 interrupting a syscall and set with option SA_SIGINFO.
15121 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15124 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15125 argument is infinite.
15126 * math/s_cprojf.c (__cprojf): Likewise.
15127 * math/s_cprojl.c (__cprojl): Likewise.
15128 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15129 * math/libm-test.inc (cproj_test_data): Add more tests.
15131 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15133 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15134 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15135 size. Use __ffs to determine corresponding shift.
15137 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15138 Roland McGrath <roland@hack.frob.com>
15140 * Makefile (INSTALL): Remove trailing blank lines from output of
15143 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15145 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15146 Align 32 bit compat elf_greg to 8 bytes.
15148 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15150 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15152 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15154 * string/strcoll_l.c (coll_seq): New structure.
15155 (get_next_seq_cached): New function.
15156 (get_next_seq): New function.
15157 (do_compare): New function.
15158 (STRCOLL): Use GNU style definition. Simplify implementation
15159 by using get_next_seq, get_next_seq_cached and do_compare.
15161 2013-08-16 Florian Weimer <fweimer@redhat.com>
15165 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15167 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15169 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15170 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15171 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15173 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15174 GETDENTS_64BIT_ALIGNED.
15175 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15176 * manual/filesys.texi (Reading/Closing Directory): Document
15177 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15179 * manual/conf.texi (Limits for Files): Add portability note to
15180 NAME_MAX, PATH_MAX.
15181 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15183 2013-08-13 Andreas Schwab <schwab@suse.de>
15186 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15188 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15189 LDBL_MAX_EXP >= 16384]: Add tests for it.
15191 2013-08-12 David S. Miller <davem@davemloft.net>
15193 * version.h (RELEASE): Set to "development".
15194 (VERSION): Set to "2.18.90".
15195 * NEWS: Add 2.19 section.
15197 2013-08-03 David S. Miller <davem@davemloft.net>
15199 * po/ko.po: Update Korean translation from translation project.
15201 2013-08-01 David S. Miller <davem@davemloft.net>
15203 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15204 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15207 2013-07-30 David S. Miller <davem@davemloft.net>
15209 * po/fr.po: Update French translation from translation project.
15211 2013-07-28 David S. Miller <davem@davemloft.net>
15213 * po/cs.po: Update Czech translation from translation project.
15215 * po/sv.po: Update Swedish translation from translation project.
15217 2013-07-27 David S. Miller <davem@davemloft.net>
15219 * po/eo.po: Update Esperanto translation from translation project.
15221 * po/vi.po: Update Vietnamese translation from translation project.
15223 * po/de.po: Update German translation from translation project.
15225 2013-07-26 David S. Miller <davem@davemloft.net>
15227 * po/bg.po: Update Bulgarian translation from translation project.
15229 * po/nl.po: Update Dutch translation from translation project.
15230 * po/pl.po: Update Polish translation from translation project.
15231 * po/ru.po: Update Russian translation from translation project.
15233 2013-07-24 David S. Miller <davem@davemloft.net>
15235 * po/libc.pot: Update.
15237 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15239 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15240 variable page size.
15241 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15242 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15243 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15245 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15247 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15249 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15250 Andreas Schwab <schwab@suse.de>
15251 Roland McGrath <roland@hack.frob.com>
15252 Joseph Myers <joseph@codesourcery.com>
15253 Carlos O'Donell <carlos@redhat.com>
15256 * config.h.in: Define HAVE_PT_CHOWN.
15257 * config.make.in (build-pt-chown): New variable.
15258 * configure.in (--enable-pt_chown): New configure option.
15259 * configure: Regenerate.
15260 * login/Makefile: Include Makeconfig. Build pt_chown only if
15261 build-pt-chown is enabled.
15262 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15263 pt_chown to fix pty ownership.
15264 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15266 * manual/install.texi (Configuring and compiling): Mention
15267 --enable-pt_chown. Add @findex for grantpt.
15268 * INSTALL: Regenerate.
15270 2013-07-20 David S. Miller <davem@davemloft.net>
15272 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15273 difference between 32-bit and 64-bit.
15275 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15278 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15279 Avoid system header dependency with -ffreestanding.
15280 ($(objpfx)bits/syscall%d): Likewise.
15282 2013-07-13 David S. Miller <davem@davemloft.net>
15284 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15285 underflows from atanl/atan2l due to bug 15319.
15286 (casinh_test_data): Likewise.
15288 2013-07-07 David S. Miller <davem@davemloft.net>
15290 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15292 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15294 * sysdeps/i386/fpu/libm-test-ulps: Update.
15295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15297 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15299 * configure.in (--enable-lock-elision): Fix message text.
15300 * INSTALL: Regenerate.
15301 * configure: Regenerate.
15303 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15307 2013-07-03 Andreas Jaeger <aj@suse.de>
15309 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15311 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15312 (ptrace_peeksiginfo_args): Add.
15313 (__ptrace_peeksiginfo_flags): Add.
15314 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15315 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15316 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15318 2013-07-03 Allan McRae <allan@archlinux.org>
15320 * sysdeps/i386/fpu/libm-test-ulps: Update.
15322 2013-07-02 David S. Miller <davem@davemloft.net>
15324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15326 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15330 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15332 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15335 2013-07-02 Andi Kleen <ak@linux.intel.com>
15337 * config.h.in (ENABLE_LOCK_ELISION): Add.
15338 * configure.in (--enable-lock-elision): Add option.
15339 * manual/install.texi: Document --enable lock elision.
15340 * configure: Regenerate
15341 * INSTALL: Regenerate.
15343 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15345 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15346 SSE4.2 strcasecmp for libc.a.
15347 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15349 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15352 * soft-fp/op-common.h (_FP_FMA): New macro.
15353 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15354 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15355 (_FP_MUL_MEAT_1_imm): ... here.
15356 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15357 (_FP_MUL_MEAT_1_wide): ... here.
15358 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15359 (_FP_MUL_MEAT_1_hard): ... here.
15360 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15361 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15362 (_FP_MUL_MEAT_2_wide): ... here.
15363 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15364 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15365 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15366 (_FP_MUL_MEAT_2_gmp): ... here.
15367 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15368 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15369 (_FP_MUL_MEAT_4_wide): ... here.
15370 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15371 (_FP_MUL_MEAT_4_gmp): ... here.
15372 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15373 (_FP_WFRACBITS_DW_S): Likewise.
15374 (_FP_WFRACXBITS_DW_S): Likewise.
15375 (_FP_HIGHBIT_DW_S): Likewise.
15376 (FP_FMA_S): Likewise.
15377 (_FP_FRAC_HIGH_DW_S): Likewise.
15378 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15379 (_FP_WFRACBITS_DW_D): Likewise.
15380 (_FP_WFRACXBITS_DW_D): Likewise.
15381 (_FP_HIGHBIT_DW_D): Likewise.
15382 (FP_FMA_D): Likewise.
15383 (_FP_FRAC_HIGH_DW_D): Likewise.
15384 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15385 (_FP_WFRACBITS_DW_E): Likewise.
15386 (_FP_WFRACXBITS_DW_E): Likewise.
15387 (_FP_HIGHBIT_DW_E): Likewise.
15388 (FP_FMA_E): Likewise.
15389 (_FP_FRAC_HIGH_DW_E): Likewise.
15390 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15391 (_FP_WFRACBITS_DW_Q): Likewise.
15392 (_FP_WFRACXBITS_DW_Q): Likewise.
15393 (_FP_HIGHBIT_DW_Q): Likewise.
15394 (FP_FMA_Q): Likewise.
15395 (_FP_FRAC_HIGH_DW_Q): Likewise.
15396 * soft-fp/fmasf4.c: New file.
15397 * soft-fp/fmadf4.c: Likewise.
15398 * soft-fp/fmatf4.c: Likewise.
15400 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15403 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15405 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15407 (index_Slow_SSE4_2): Likewise.
15408 (index_Prefer_PMINUB_for_stringop): Likewise.
15409 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15410 bit_Slow_SSE4_2 is set.
15411 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15412 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15414 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15416 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15417 rtld_global._dl_hwcap2.
15418 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15420 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15421 POWER8 feature descriptions defined in _dl_hwcap2.
15422 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15423 string handling for POWER8 feature bits.
15424 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15425 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15426 _dl_powerpc_cap_flags.
15427 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15428 * sysdeps/powerpc/rtld-global-offsets.sym
15429 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15430 _dl_hwcap2 in the rtld_global_ro structure.
15432 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15434 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15435 hardware capabilities in support of AT_HWCAP2.
15436 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15437 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15439 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15440 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15441 explicitly the unknown a_type display mechanism is used.
15442 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15443 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15445 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15446 to macro prototype for AT_HWCAP2 support.
15447 * sysdeps/i386/dl-procinfo.h: Likewise.
15448 * sysdeps/s390/dl-procinfo.h: Likewise.
15449 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15450 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15451 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15452 return -1 for unknown a_type display fallback.
15453 * sysdeps/sparc/dl-procinfo.h: Likewise.
15454 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15455 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15457 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15459 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15460 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15462 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15465 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15466 mprotect making __stack_prot writable.
15468 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15469 Joseph Myers <joseph@codesourcery.com>
15471 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15472 as being properly aligned.
15474 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15476 * dlfcn/modstatic5.c: New file.
15477 * dlfcn/tststatic5.c: New file.
15478 * dlfcn/Makefile (tests): Add tststatic5.
15479 (tests-static): Likewise.
15480 (modules-names): Add modstatic5.
15481 (tststatic5-ENV): New variable.
15482 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15485 * elf/dl-support.c (_dl_main_map): New variable.
15486 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15487 (_dl_nns, _dl_load_adds): Set to 1.
15488 (_dl_initial_searchlist): Refer to _dl_main_map.
15489 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15490 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15491 call to _dl_get_origin.
15492 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15494 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15495 * dlfcn/modstatic3.c: New file.
15496 * dlfcn/tststatic3.c: New file.
15497 * dlfcn/tststatic4.c: New file.
15498 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15499 (tests-static): Likewise.
15500 (modules-names): Add modstatic3.
15501 (tststatic3-ENV, tststatic4-ENV): New variables.
15502 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15503 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15505 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15507 * configure.in (CC): Require GCC version 4.4 or later.
15508 * configure: Regenerated.
15509 * manual/install.texi (Tools for Compilation): Update GCC version
15511 * INSTALL: Regenerated.
15513 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15516 * string/test-memcmp.c (check2): New.
15517 (main): Call check2.
15519 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15521 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15524 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15526 (dl_open_worker) [!SHARED]: ... here.
15528 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15530 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15532 2013-06-25 Richard Henderson <rth@redhat.com>
15534 * locale/programs/locarchive.c: Include <libc-internal.h>
15536 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15538 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15539 trailing whitespace removed.
15541 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15544 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15545 * locale/programs/locarchive.c: Include libc-mmap.h.
15546 (prepare_address_space): Take two new outputs (the mmap base and len).
15547 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15549 (create_archive): Declare new mmap base and len values for
15550 prepare_address_space, and store the result in ah.
15551 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15552 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15553 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15554 Declare new mmap base and len values for
15555 prepare_address_space, and store the result in new_ah.
15556 (open_archive): Declare new mmap base and len values for
15557 prepare_address_space, and store the result in ah.
15558 (close_archive): If ah->mmap_base is not NULL, use that and
15559 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15560 * sysdeps/generic/libc-mmap.h: New file.
15562 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15564 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15565 (ALIGN_UP): Likewise.
15566 (PTR_ALIGN_DOWN): Likewise.
15567 (PTR_ALIGN_UP): Likewise.
15569 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15571 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15572 entry mapped to PPC_PLATFORM_POWER8.
15573 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15575 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15576 (_dl_string_platform): Add case for exporting platform position for
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15579 search path to sysdeps/powerpc/powerpc32/power8 directory.
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15581 search path to sysdeps/powerpc/powerpc64/power8 directory.
15582 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15583 power7 directories.
15584 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15585 power7 directories.
15587 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15589 * INSTALL: Regenerate.
15591 * nscd/connections.c (nscd_init): Fix comment.
15593 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15595 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15598 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15599 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15601 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15603 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15605 (DL_DST_REQ_STATIC): Remove macro.
15607 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15610 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15611 with a shift of 0 bits.
15613 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15615 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15618 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15621 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15623 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15625 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15626 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15627 accepts -fno-tree-loop-distribute-patterns.
15628 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15629 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15631 * string/memset.c (memset): Likewise.
15632 * string/test-memmove.c (simple_memmove): Disable loop transformation
15634 * string/test-memset.c (simple_memset): Likewise.
15635 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15636 * benchtests/bench-memset.c (simple_memset): Likewise.
15637 * configure: Regenerated.
15639 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15641 * math/test-misc.c (main): Ignore fesetround failure when failures
15642 of subsequent rounding tests would be ignored.
15645 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15646 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15647 * math/fegetenv.c (__fegetenv): Return 0.
15648 * math/fegetexcept.c (fegetexcept): Return 0.
15649 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15651 * math/feholdexcpt.c (feholdexcept): Return 0.
15652 * math/fesetenv.c (__fesetenv): Return 0.
15653 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15654 argument FE_TONEAREST.
15655 * math/feupdateenv.c (__feupdateenv): Return 0.
15656 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15658 2013-06-18 Roland McGrath <roland@hack.frob.com>
15660 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15661 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15662 ($(objpfx)rtld-%.os rules): Use them.
15664 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15666 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15669 2013-06-17 Roland McGrath <roland@hack.frob.com>
15671 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15672 length of target pattern, then descending length of dependency pattern.
15673 * configure.in (AWK): Require gawk 3.1.2 or newer.
15674 * manual/install.texi (Tools for Compilation): Say that we do.
15675 * configure: Regenerated.
15677 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15678 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15679 * scripts/sysd-rules.awk: ... this new script.
15680 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15681 than a glob-style pattern.
15683 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15685 * math/test-misc.c (main): Do not treat incorrectly rounded
15686 conversions as failure unless ROUNDING_TESTS passes.
15688 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15691 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15692 restore exception state around main square root computation, then
15693 check for inexactness explicitly.
15695 * math/libm-test.inc (fma_test_data): Add another test.
15697 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15699 * manual/threads.texi (Non-POSIX Extensions): New document
15700 node. Document pthread_getattr_default_np and
15701 pthread_setattr_default_np.
15703 * Versions.def (libpthread): Add GLIBC_2.18.
15704 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15713 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15724 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15727 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15729 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15730 H.J. Lu <hjl.tools@gmail.com>
15733 * sysdeps/x86_64/rtld-memset.c: Remove file.
15734 * sysdeps/x86_64/rtld-memset.S: New file.
15736 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15738 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15739 (test_in_one_mode): Take arguments for whether the rounding mode
15740 is supported for each floating-point type.
15741 (do_test): Pass new arguments to test_in_one_mode using
15744 2013-06-13 Roland McGrath <roland@hack.frob.com>
15746 * posix/tst-waitid.c (do_test): Distinguish different instances of
15747 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15748 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15749 before entering the kernel for waitpid.
15751 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15753 * NEWS: Fix note on clock function precision. Text by Roland
15756 2013-06-13 Roland McGrath <roland@hack.frob.com>
15758 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15759 it into place only when and if the sanity check passes.
15761 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15763 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15764 output for whether conversion result is exact. Take argument
15765 indicating whether type is IBM long double.
15766 (round_for_all): Change need_exact field to ibm_ld.
15767 * stdlib/tst-strtod-round.c (struct exactness): New type.
15768 (struct test): Change bool ld_ok field to struct exactness exact.
15769 (TEST): Update all definitions for change to field.
15770 (tests): Regenerate array contents.
15771 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15772 field value. Check for IBM long double here.
15773 (do_test): Update calls to test_in_one_mode.
15775 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15778 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15779 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15781 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15784 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15785 generated by the compiler on loop optimizations.
15786 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15787 general definitions.
15789 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15791 * math/bug-nextafter.c: Include <math-tests.h>.
15792 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15794 * math/bug-nexttoward.c: Include <math-tests.h>.
15795 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15797 * math/test-misc.c: Include <math-tests.h>.
15798 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15801 2013-06-12 Andreas Jaeger <aj@suse.de>
15803 * po/ia.po: Update Interlingua translation from translation
15806 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15808 * include/fenv.h: Include stdbool.h.
15809 (struct rm_ctx): New structure.
15810 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15812 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15813 (SET_RESTORE_ROUNDF): Likewise.
15814 (SET_RESTORE_ROUNDL): Likewise.
15815 (SET_RESTORE_ROUND_NOEX): Likewise.
15816 (SET_RESTORE_ROUND_NOEXF): Likewise.
15817 (SET_RESTORE_ROUND_NOEXL): Likewise.
15818 (SET_RESTORE_ROUND_53BIT): Likewise.
15819 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15820 (libc_feresetround_noexf_ctx): Likewise.
15821 (libc_feresetround_noexl_ctx): Likewise.
15822 (libc_feholdsetround_53bit_ctx): Likewise.
15823 (libc_feresetround_53bit_ctx): Likewise.
15824 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15825 (libc_feholdexcept_setround_sse_ctx): New function.
15826 (libc_fesetenv_sse_ctx): Likewise.
15827 (libc_feupdateenv_sse_ctx): Likewise.
15828 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15829 (libc_feholdexcept_setround_387_ctx): Likewise.
15830 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15831 (libc_feholdsetround_387_prec_ctx): Likewise.
15832 (libc_feholdsetround_387_ctx): Likewise.
15833 (libc_feholdsetround_387_53bit_ctx): Likewise.
15834 (libc_feholdsetround_sse_ctx): Likewise.
15835 (libc_feresetround_sse_ctx): Likewise.
15836 (libc_feresetround_387_ctx): Likewise.
15837 (libc_feupdateenv_387_ctx): Likewise.
15838 (libc_feholdexcept_setroundf_ctx): Define macro.
15839 (libc_fesetenvf_ctx): Likewise.
15840 (libc_feupdateenvf_ctx): Likewise.
15841 (libc_feholdsetroundf_ctx): Likewise.
15842 (libc_feresetroundf_ctx): Likewise.
15843 (libc_feholdexcept_setround_ctx): Likewise.
15844 (libc_fesetenv_ctx): Likewise.
15845 (libc_feupdateenv_ctx): Likewise.
15846 (libc_feholdsetround_ctx): Likewise.
15847 (libc_feresetround_ctx): Likewise.
15848 (libc_feholdexcept_setroundl_ctx): Likewise.
15849 (libc_feupdateenvl_ctx): Likewise.
15850 (libc_feholdsetroundl_ctx): Likewise.
15851 (libc_feresetroundl_ctx): Likewise.
15852 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15853 (libc_feresetround_53bit_ctx): Likewise.
15855 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15857 * locale/iso-639.def: Convert to UTF-8.
15859 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15861 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15862 (EXCEPTION_TESTS_double): Likewise.
15863 (EXCEPTION_TESTS_long_double): Likewise.
15864 (EXCEPTION_TESTS): Likewise.
15865 * math/libm-test.inc (test_exceptions): Only test exceptions if
15866 EXCEPTION_TESTS (FLOAT).
15868 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15870 * benchtests/Makefile (string-bench): Add strcpy_chk and
15872 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15873 * benchtests/bench-stpcpy_chk.c: New file.
15874 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15875 * benchtests/bench-strcpy_chk.c: New file.
15876 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15878 (do_test): Likewise.
15880 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15882 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15883 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15884 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15885 with tabs where appropriate.
15886 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15888 [PPC_PLATFORM_PPC440]: Likewise.
15889 [PPC_PLATFORM_PPC464]: Likewise.
15890 [PPC_PLATFORM_PPC476]: Likewise.
15891 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15892 ppc464, and ppc476 platform strings merging from ports/
15895 2013-06-11 Andreas Schwab <schwab@suse.de>
15898 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15899 (from_ucs4_idx): Regenerate.
15900 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15901 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15902 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15903 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15904 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15905 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15906 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15907 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15908 from FROM_LOOP and TO_LOOP specific macros.
15909 (BODY): Handle combining characters.
15910 * iconvdata/BIG5HKSCS.irreversible: Update.
15911 * iconvdata/BIG5HKSCS.precomposed: New file.
15912 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15914 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15916 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15918 * include/sys/time.h: Fix indentation and add copyright header.
15920 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15921 (do_test): Likewise.
15922 * string/test-memchr.c (do_one_test): Likewise.
15923 (do_test): Likewise.
15924 * string/test-memcmp.c (do_one_test): Likewise.
15925 (do_test): Likewise.
15926 * string/test-memcpy.c (do_one_test): Likewise.
15927 (do_test): Likewise.
15928 * string/test-memmem.c (do_one_test): Likewise.
15929 (do_test): Likewise.
15930 (do_random_tests): Likewise.
15931 * string/test-memmove.c (do_one_test): Likewise.
15932 (do_test): Likewise.
15933 * string/test-memset.c (do_one_test): Likewise.
15934 (do_test): Likewise.
15935 * string/test-rawmemchr.c (do_one_test): Likewise.
15936 (do_test): Likewise.
15937 * string/test-strcasecmp.c (do_one_test): Likewise.
15938 (do_test): Likewise.
15939 * string/test-strcasestr.c (do_one_test): Likewise.
15940 (do_test): Likewise.
15941 * string/test-strcat.c (do_one_test): Likewise.
15942 (do_test): Likewise.
15943 * string/test-strchr.c (do_one_test): Likewise.
15944 (do_test): Likewise.
15945 * string/test-strcmp.c (do_one_test): Likewise.
15946 (do_test): Likewise.
15947 * string/test-strcpy.c (do_one_test): Likewise.
15948 (do_test): Likewise.
15949 * string/test-string.h: Likewise.
15950 (test_init): Likewise.
15951 * string/test-strlen.c (do_one_test): Likewise.
15952 (do_test): Likewise.
15953 * string/test-strncasecmp.c (do_one_test): Likewise.
15954 (do_test): Likewise.
15955 * string/test-strncat.c (do_one_test): Likewise.
15956 (do_test): Likewise.
15957 * string/test-strncmp.c (do_one_test): Likewise.
15958 (do_test_limit): Likewise.
15959 (do_test): Likewise.
15960 * string/test-strncpy.c (do_one_test): Likewise.
15961 (do_test): Likewise.
15962 * string/test-strnlen.c (do_one_test): Likewise.
15963 (do_test): Likewise.
15964 * string/test-strpbrk.c (do_one_test): Likewise.
15965 (do_test): Likewise.
15966 * string/test-strrchr.c (do_one_test): Likewise.
15967 (do_test): Likewise.
15968 * string/test-strspn.c (do_one_test): Likewise.
15969 (do_test): Likewise.
15970 * string/test-strstr.c (do_one_test): Likewise.
15971 (do_test): Likewise.
15973 * benchtests/Makefile (string-bench): Add string benchmarks.
15974 * benchtests/bench-bcopy-ifunc.c: New file.
15975 * benchtests/bench-bcopy.c: New file.
15976 * benchtests/bench-bzero-ifunc.c: New file.
15977 * benchtests/bench-bzero.c: New file.
15978 * benchtests/bench-memccpy-ifunc.c: New file.
15979 * benchtests/bench-memccpy.c: New file.
15980 * benchtests/bench-memchr-ifunc.c: New file.
15981 * benchtests/bench-memchr.c: New file.
15982 * benchtests/bench-memcmp-ifunc.c: New file.
15983 * benchtests/bench-memcmp.c: New file.
15984 * benchtests/bench-memmem-ifunc.c: New file.
15985 * benchtests/bench-memmem.c: New file.
15986 * benchtests/bench-memmove-ifunc.c: New file.
15987 * benchtests/bench-memmove.c: New file.
15988 * benchtests/bench-mempcpy-ifunc.c: New file.
15989 * benchtests/bench-mempcpy.c: New file.
15990 * benchtests/bench-memset-ifunc.c: New file.
15991 * benchtests/bench-memset.c: New file.
15992 * benchtests/bench-rawmemchr-ifunc.c: New file.
15993 * benchtests/bench-rawmemchr.c: New file.
15994 * benchtests/bench-stpcpy-ifunc.c: New file.
15995 * benchtests/bench-stpcpy.c: New file.
15996 * benchtests/bench-stpncpy-ifunc.c: New file.
15997 * benchtests/bench-stpncpy.c: New file.
15998 * benchtests/bench-strcasecmp-ifunc.c: New file.
15999 * benchtests/bench-strcasecmp.c: New file.
16000 * benchtests/bench-strcasestr-ifunc.c: New file.
16001 * benchtests/bench-strcasestr.c: New file.
16002 * benchtests/bench-strcat-ifunc.c: New file.
16003 * benchtests/bench-strcat.c: New file.
16004 * benchtests/bench-strchr-ifunc.c: New file.
16005 * benchtests/bench-strchr.c: New file.
16006 * benchtests/bench-strchrnul-ifunc.c: New file.
16007 * benchtests/bench-strchrnul.c: New file.
16008 * benchtests/bench-strcmp-ifunc.c: New file.
16009 * benchtests/bench-strcmp.c: New file.
16010 * benchtests/bench-strcpy-ifunc.c: New file.
16011 * benchtests/bench-strcpy.c: New file.
16012 * benchtests/bench-strcspn-ifunc.c: New file.
16013 * benchtests/bench-strcspn.c: New file.
16014 * benchtests/bench-strlen-ifunc.c: New file.
16015 * benchtests/bench-strlen.c: New file.
16016 * benchtests/bench-strncasecmp-ifunc.c: New file.
16017 * benchtests/bench-strncasecmp.c: New file.
16018 * benchtests/bench-strncat-ifunc.c: New file.
16019 * benchtests/bench-strncat.c: New file.
16020 * benchtests/bench-strncmp-ifunc.c: New file.
16021 * benchtests/bench-strncmp.c: New file.
16022 * benchtests/bench-strncpy-ifunc.c: New file.
16023 * benchtests/bench-strncpy.c: New file.
16024 * benchtests/bench-strnlen-ifunc.c: New file.
16025 * benchtests/bench-strnlen.c: New file.
16026 * benchtests/bench-strpbrk-ifunc.c: New file.
16027 * benchtests/bench-strpbrk.c: New file.
16028 * benchtests/bench-strrchr-ifunc.c: New file.
16029 * benchtests/bench-strrchr.c: New file.
16030 * benchtests/bench-strspn-ifunc.c: New file.
16031 * benchtests/bench-strspn.c: New file.
16032 * benchtests/bench-strstr-ifunc.c: New file.
16033 * benchtests/bench-strstr.c: New file.
16035 * benchtests/Makefile: Disable parallel execution of targets.
16036 (string-bench): Add memcpy.
16037 (benchset): New variable to store a list of benchmark sets.
16038 (bench-func): Renamed from bench.
16039 (bench-set): New target.
16040 (bench): Depend on bench-func and bench-set.
16041 * benchtests/README: Add section on benchmark sets.
16042 * benchtests/bench-memcpy-ifunc.c: New file.
16043 * benchtests/bench-memcpy.c: New file.
16044 * benchtests/bench-string.h: New file.
16046 2013-06-11 Andreas Schwab <schwab@suse.de>
16049 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16050 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16051 values in the triple.
16052 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16053 terminator in the group key.
16055 2013-06-11 Andreas Jaeger <aj@suse.de>
16057 * po/zh_TW.po: Update Chinese (traditional) translation from
16058 translation project.
16060 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16062 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16063 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16064 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16065 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16066 (clock_getcpuclockid): Likewise.
16067 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16068 Add weak_alias and libc_hidden_def.
16069 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16070 * rt/clock_gettime.c (clock_gettime): Rename to
16071 __clock_gettime. Add weak_alias and libc_hidden_def.
16072 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16073 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16074 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16075 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16076 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16078 * rt/clock_settime.c (clock_settime): Rename to
16079 __clock_settime. Add weak_alias and libc_hidden_def.
16080 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16082 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16084 * mach/err_boot.sub: Remove trailing whitespace.
16085 * mach/err_ipc.sub: Likewise.
16086 * mach/err_mach.sub: Likewise.
16088 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16089 (ROUNDING_TESTS_double): Likewise.
16090 (ROUNDING_TESTS_long_double): Likewise.
16091 (ROUNDING_TESTS): Likewise.
16092 * math/libm-test.inc: Include <math-tests.h>.
16093 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16094 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16095 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16096 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16098 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16100 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16103 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16105 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16106 otherwise empty TRANS lines.
16107 * sysdeps/gnu/errlist.c: Regenerated.
16109 * catgets/gencat.c (error_print): Use (void) in function
16111 * crypt/crypt_util.c (__init_des): Likewise.
16112 * crypt/speeds.c (Stop): Likewise.
16114 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16115 * inet/ruserpass.c (token): Likewise.
16116 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16117 * intl/localealias.c (extend_alias_table): Likewise.
16118 * intl/plural-exp.c (init_germanic_plural): Likewise.
16119 * libio/fcloseall.c (__fcloseall): Likewise.
16120 * libio/genops.c (_IO_flush_all): Likewise.
16121 (_IO_flush_all_linebuffered): Likewise.
16122 (_IO_cleanup): Likewise.
16123 (_IO_iter_begin): Likewise.
16124 (_IO_iter_end): Likewise.
16125 (_IO_list_lock): Likewise.
16126 (_IO_list_unlock): Likewise.
16127 (_IO_list_resetlock): Likewise.
16128 * libio/getchar.c (getchar): Likewise.
16129 * libio/getchar_u.c (getchar_unlocked): Likewise.
16130 * libio/getwchar.c (getwchar): Likewise.
16131 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16132 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16133 * login/getpt.c (__getpt): Likewise.
16134 * login/tst-utmp.c (main): Likewise.
16135 * malloc/hooks.c (__malloc_check_init): Likewise.
16136 * malloc/malloc.c (__malloc_stats): Likewise.
16137 * malloc/mtrace.c (tr_break): Likewise.
16138 (mtrace): Likewise.
16139 (muntrace): Likewise.
16140 * misc/fstab.c (endfsent): Likewise.
16141 * misc/getclktck.c (__getclktck): Likewise.
16142 * misc/getdtsz.c (__getdtablesize): Likewise.
16143 * misc/gethostid.c (gethostid): Likewise.
16144 * misc/getpagesize.c (__getpagesize): Likewise.
16145 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16146 (__get_nprocs): Likewise.
16147 (__get_phys_pages): Likewise.
16148 (__get_avphys_pages): Likewise.
16149 * misc/getttyent.c (getttyent): Likewise.
16150 (setttyent): Likewise.
16151 (endttyent): Likewise.
16152 * misc/getusershell.c (getusershell): Likewise.
16153 (endusershell): Likewise.
16154 (setusershell): Likewise.
16155 (initshells): Likewise.
16156 * misc/hsearch.c (__hdestroy): Likewise.
16157 * misc/sync.c (sync): Likewise.
16158 * misc/syslog.c (closelog_internal): Likewise.
16159 (closelog): Likewise.
16160 * misc/ttyslot.c (ttyslot): Likewise.
16161 * misc/vhangup.c (vhangup): Likewise.
16162 * posix/fork.c (__fork): Likewise.
16163 * posix/getegid.c (__getegid): Likewise.
16164 * posix/geteuid.c (__geteuid): Likewise.
16165 * posix/getgid.c (__getgid): Likewise.
16166 * posix/getpid.c (__getpid): Likewise.
16167 * posix/getppid.c (__getppid): Likewise.
16168 * posix/getuid.c (__getuid): Likewise.
16169 * posix/pause.c (pause): Likewise.
16170 * posix/setpgrp.c (setpgrp): Likewise.
16171 * posix/setsid.c (__setsid): Likewise.
16172 * posix/test-vfork.c (noop): Likewise.
16173 * resolv/gethnamaddr.c (_endhtent): Likewise.
16174 (_gethtent): Likewise.
16175 (ht_endhostent): Likewise.
16176 (gethostent): Likewise.
16177 (dns_service): Likewise.
16178 * stdlib/drand48.c (drand48): Likewise.
16179 * stdlib/lrand48.c (lrand48): Likewise.
16180 * stdlib/mrand48.c (mrand48): Likewise.
16181 * stdlib/rand.c (rand): Likewise.
16182 * stdlib/random.c (__random): Likewise.
16183 * stdlib/setenv.c (clearenv): Likewise.
16184 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16185 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16186 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16187 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16188 (__get_nprocs): Likewise.
16189 (__get_phys_pages): Likewise.
16190 (__get_avphys_pages): Likewise.
16191 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16192 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16193 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16194 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16195 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16196 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16197 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16198 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16199 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16200 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16201 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16202 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16203 * sysdeps/posix/clock.c (clock): Likewise.
16204 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16205 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16206 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16207 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16208 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16209 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16210 (__get_nprocs_conf): Likewise.
16211 (__get_phys_pages): Likewise.
16212 (__get_avphys_pages): Likewise.
16213 * time/clock.c (clock): Likewise.
16214 * time/tzset.c (__tzname_max): Likewise.
16216 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16218 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16219 (__bswap_32): Do not use "register".
16220 * crypt/crypt.c (_ufc_doit_r): Likewise.
16221 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16222 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16223 * gmon/gmon.c (__monstartup): Likewise.
16224 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16225 * hurd/hurdmalloc.c (more_memory): Likewise.
16226 (malloc): Likewise.
16228 (realloc): Likewise.
16229 (malloc_fork_prepare): Likewise.
16230 (malloc_fork_parent): Likewise.
16231 (malloc_fork_child): Likewise.
16232 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16233 (_svcauth_des): Likewise.
16234 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16235 * inet/inet_net.c (inet_network): Likewise.
16236 * inet/inet_netof.c (inet_netof): Likewise.
16237 * inet/rcmd.c (__validuser2_sa): Likewise.
16238 * io/fts.c (fts_open): Likewise.
16239 (fts_load): Likewise.
16240 (fts_close): Likewise.
16241 (fts_read): Likewise.
16242 (fts_children): Likewise.
16243 (fts_build): Likewise.
16244 (fts_stat): Likewise.
16245 (fts_sort): Likewise.
16246 (fts_alloc): Likewise.
16247 (fts_lfree): Likewise.
16248 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16249 (_IO_file_xsgetn): Likewise.
16250 (_IO_file_xsgetn_mmap): Likewise.
16251 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16252 (_IO_cookie_write): Likewise.
16253 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16254 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16255 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16256 * malloc/obstack.c (_obstack_begin): Likewise.
16257 (_obstack_begin_1): Likewise.
16258 (_obstack_newchunk): Likewise.
16259 (_obstack_allocated_p): Likewise.
16260 (obstack_free): Likewise.
16261 (_obstack_memory_used): Likewise.
16262 * misc/getttyent.c (getttynam): Likewise.
16263 (getttyent): Likewise.
16266 * misc/getusershell.c (initshells): Likewise.
16267 * misc/syslog.c (__vsyslog_chk): Likewise.
16268 * misc/ttyslot.c (ttyslot): Likewise.
16269 * nis/nis_hash.c (__nis_hash): Likewise.
16270 * posix/fnmatch_loop.c (FCT): Likewise.
16271 * posix/getconf.c (print_all): Likewise.
16273 * posix/getopt.c (exchange): Likewise.
16274 * posix/glob.c (globfree): Likewise.
16275 (prefix_array): Likewise.
16276 (__glob_pattern_type): Likewise.
16277 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16278 (NS_GET32): Likewise.
16279 (NS_PUT16): Likewise.
16280 (NS_PUT32): Likewise.
16281 * resolv/gethnamaddr.c (getanswer): Likewise.
16282 (gethostbyname2): Likewise.
16283 (gethostbyaddr): Likewise.
16284 (_gethtent): Likewise.
16285 (_gethtbyname2): Likewise.
16286 (_gethtbyaddr): Likewise.
16287 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16288 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16289 * resolv/res_init.c (__res_vinit): Likewise.
16290 (net_mask): Likewise.
16291 * resolv/res_mkquery.c (outchar): Likewise.
16293 * stdio-common/printf_fp.c (outchar): Likewise.
16295 * stdio-common/printf_fphex.c (outchar): Likewise.
16297 * stdio-common/printf_size.c (outchar): Likewise.
16299 * stdio-common/test_rdwr.c (main): Likewise.
16300 * stdio-common/tfformat.c (matches): Likewise.
16301 * stdio-common/vfprintf.c (outchar): Likewise.
16302 (printf_unknown): Likewise.
16303 (buffered_vfprintf): Likewise.
16304 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16305 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16306 (ReadFile): Likewise.
16307 * stdlib/qsort.c (SWAP): Likewise.
16308 (_quicksort): Likewise.
16309 * stdlib/setenv.c (__add_to_environ): Likewise.
16310 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16311 * stdlib/strtol_l.c (__strtol_l): Likewise.
16312 * stdlib/tst-strtod.c (main): Likewise.
16313 * stdlib/tst-strtol.c (main): Likewise.
16314 * stdlib/tst-strtoll.c (main): Likewise.
16315 * string/bits/string2.h (__strcmp_cc): Likewise.
16316 (__strcmp_cg): Likewise.
16317 (__strcspn_c1): Likewise.
16318 (__strcspn_c2): Likewise.
16319 (__strcspn_c3): Likewise.
16320 (__strspn_c1): Likewise.
16321 (__strspn_c2): Likewise.
16322 (__strspn_c3): Likewise.
16323 (__strsep_1c): Likewise.
16324 (__strsep_2c): Likewise.
16325 (__strsep_3c): Likewise.
16326 * string/memccpy.c (__memccpy): Likewise.
16327 * string/stpcpy.c (__stpcpy): Likewise.
16328 * string/strcmp.c (strcmp): Likewise.
16329 * string/strrchr.c (strrchr): Likewise.
16330 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16332 * sysdeps/mach/hurd/getcwd.c
16333 (_hurd_canonicalize_directory_name_internal): Likewise.
16334 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16335 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16336 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16337 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16338 Likewise, in both definitions.
16339 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16341 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16342 64] (__bswap_64): Likewise.
16343 * time/test_time.c (main): Likewise.
16344 * time/tzfile.c (__tzfile_read): Likewise.
16345 (__tzfile_compute): Likewise.
16346 * time/tzset.c (__tzset_parse_tz): Likewise.
16347 (tzset_internal): Likewise.
16348 (compute_change): Likewise.
16349 * wcsmbs/wcscat.c (__wcscat): Likewise.
16350 * wcsmbs/wcschr.c (wcschr): Likewise.
16351 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16352 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16353 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16354 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16355 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16356 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16357 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16358 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16359 * wcsmbs/wmemset.c (wmemset): Likewise.
16361 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16363 * scripts/config.guess: Update to version 2013-05-16.
16364 * scripts/config.sub: Update to version 2013-04-24.
16365 * scripts/install-sh: Update to version 2011-11-20.07.
16366 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16367 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16369 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16371 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16372 * elf/sln.c: Likewise.
16373 * hurd/hurd/ioctl.h: Likewise.
16374 * hurd/hurdmalloc.c: Likewise.
16375 * hurd/xattr.c: Likewise.
16376 * include/shlib-compat.h: Likewise.
16377 * inet/ruserpass.c: Likewise.
16378 * libio/iofgets_u.c: Likewise.
16379 * libio/iofgetws_u.c: Likewise.
16380 * locale/programs/ld-identification.c: Likewise.
16381 * locale/programs/ld-time.c: Likewise.
16382 * mach/msg-destroy.c: Likewise.
16383 * nss/nss_files/files-netgrp.c: Likewise.
16384 * resolv/res_data.c: Likewise.
16385 * soft-fp/op-1.h: Likewise.
16386 * soft-fp/op-2.h: Likewise.
16387 * soft-fp/op-4.h: Likewise.
16388 * soft-fp/op-common.h: Likewise.
16389 * stdio-common/printf_fphex.c: Likewise.
16390 * stdlib/strtod_l.c: Likewise.
16391 * sunrpc/rpc/clnt.h: Likewise.
16392 * sysdeps/generic/framestate.c: Likewise.
16393 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16394 * sysdeps/i386/bsd-setjmp.S: Likewise.
16395 * sysdeps/i386/__longjmp.S: Likewise.
16396 * sysdeps/i386/setjmp.S: Likewise.
16397 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16398 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16399 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16400 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16401 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16403 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16404 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16405 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16406 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16407 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16408 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16409 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16410 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16411 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16412 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16413 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16414 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16415 * sysdeps/ieee754/support.c: Likewise.
16416 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16417 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16418 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16419 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16420 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16421 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16422 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16423 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16424 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16425 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16426 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16427 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16428 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16429 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16430 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16431 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16432 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16435 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16437 * posix/transbug.c: Remove executable mode.
16439 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16441 * crypt/speeds.c: Remove trailing whitespace.
16442 * dlfcn/default.c: Likewise.
16443 * elf/ifuncdep2.c: Likewise.
16444 * elf/ifuncmain1.c: Likewise.
16445 * elf/ifuncmain1vis.c: Likewise.
16446 * elf/testobj.h: Likewise.
16447 * elf/tst-stackguard1.c: Likewise.
16448 * gmon/sys/gmon.h: Likewise.
16449 * hurd/hurdmsg.c: Likewise.
16450 * hurd/new-fd.c: Likewise.
16451 * hurd/ports-get.c: Likewise.
16452 * iconvdata/ibm1008_420.c: Likewise.
16453 * inet/tst-getni1.c: Likewise.
16454 * inet/tst-getni2.c: Likewise.
16455 * libio/ioungetc.c: Likewise.
16456 * libio/wfiledoalloc.c: Likewise.
16457 * manual/libm-err-tab.pl: Likewise.
16458 * math/w_dremf.c: Likewise.
16459 * misc/ftruncate.c: Likewise.
16460 * posix/bug-glob2.c: Likewise.
16461 * posix/tst-pcre.c: Likewise.
16462 * posix/wait4.c: Likewise.
16463 * resolv/README: Likewise.
16464 * resolv/res_debug.h: Likewise.
16465 * resolv/tst-inet_ntop.c: Likewise.
16466 * setjmp/bug269-setjmp.c: Likewise.
16467 * soft-fp/extended.h: Likewise.
16468 * soft-fp/op-1.h: Likewise.
16469 * soft-fp/op-2.h: Likewise.
16470 * soft-fp/op-4.h: Likewise.
16471 * soft-fp/op-8.h: Likewise.
16472 * soft-fp/testit.c: Likewise.
16473 * stdio-common/bug16.c: Likewise.
16474 * stdlib/random.c: Likewise.
16475 * sunrpc/rpcsvc/rquota.x: Likewise.
16476 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16477 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16478 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16479 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16480 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16481 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16482 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16483 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16484 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16485 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16486 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16487 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16488 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16489 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16490 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16491 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16492 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16493 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16494 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16495 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16496 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16497 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16498 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16499 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16500 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16501 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16502 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16503 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16504 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16505 * sysdeps/ieee754/s_lib_version.c: Likewise.
16506 * sysdeps/mach/hurd/check_fds.c: Likewise.
16507 * sysdeps/mach/hurd/getsockname.c: Likewise.
16508 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16509 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16510 * sysdeps/powerpc/bits/link.h: Likewise.
16511 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16512 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16513 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16514 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16515 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16516 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16517 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16518 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16519 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16520 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16521 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16522 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16523 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16524 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16525 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16526 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16527 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16528 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16529 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16530 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16531 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16532 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16533 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16534 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16535 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16536 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16537 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16538 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16539 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16540 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16541 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16542 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16543 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16544 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16545 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16546 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16547 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16548 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16549 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16550 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16551 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16552 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16553 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16554 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16555 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16556 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16557 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16558 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16559 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16560 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16561 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16562 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16563 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16564 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16565 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16566 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16567 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16568 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16570 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16571 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16572 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16573 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16574 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16575 * sysdeps/powerpc/sysdep.h: Likewise.
16576 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16577 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16578 * sysdeps/sh/dl-trampoline.S: Likewise.
16579 * sysdeps/sh/memset.S: Likewise.
16580 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16581 * sysdeps/sh/strlen.S: Likewise.
16582 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16583 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16584 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16585 * sysdeps/sparc/sparc32/rem.S: Likewise.
16586 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16587 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16588 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16589 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16590 * sysdeps/sparc/sparc32/urem.S: Likewise.
16591 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16592 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16593 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16594 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16595 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16596 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16597 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16598 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16599 * sysdeps/unix/bsd/times.c: Likewise.
16600 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16601 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16605 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16606 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16607 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16608 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16609 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16610 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16611 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16612 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16613 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16614 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16615 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16616 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16617 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16618 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16619 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16620 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16621 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16622 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16623 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16624 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16625 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16626 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16627 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16628 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16629 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16630 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16631 * sysdeps/x86_64/strcspn.S: Likewise.
16633 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16635 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16636 generated file. Regenerate properly from gen-translit.pl.
16637 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16638 locale/C-translit.h.
16640 2013-06-05 Andreas Schwab <schwab@suse.de>
16643 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16644 week as 6 instead of -1.
16645 * time/tst-strptime.c (day_tests): Add test case.
16647 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16649 * sysdeps/generic/math_private.h
16650 (libc_feholdexcept_setround_53bit): Replace with
16651 libc_feholdsetround_53bit.
16652 (libc_feupdateenv_53bit): Replace with
16653 libc_feresetround_53bit.
16654 (SET_RESTORE_ROUND_53BIT): Adjust.
16656 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16658 * string/test-strchrnul.c: Add copyright header.
16660 * posix/tst-getaddrinfo4.c: Increase test timeout.
16662 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16665 * math/libm-test.inc (MAX_EXP): Remove
16667 (ulp): Use MIN_EXP - MANT_DIG.
16668 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16670 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16672 * po/be.po: Revert last change.
16673 * po/zh_CN.po: Likewise.
16674 * po/header.pot: Likewise.
16676 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16678 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16679 link-libc-deps to empty as target-specific variable.
16680 * Makerules (link-libc-args): New variable.
16681 (libc-for-link): Likewise.
16682 (link-libc-deps): Likewise.
16683 (lib%.so): Depend on $(link-libc-deps). Link with
16685 (build-module): Link with $(link-libc-args).
16686 (build-module-asneeded): Likewise.
16687 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16689 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16690 target-specific variable.
16691 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16692 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16693 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16695 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16697 ($(objpfx)libpcprofile.so): Likewise.
16698 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16700 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16701 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16702 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16704 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16705 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16706 * login/Makefile ($(objpfx)libutil.so): Likewise.
16707 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16708 * math/Makefile ($(objpfx)libm.so): Likewise.
16709 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16710 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16711 variable instead of depending directly on libc.
16712 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16713 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16715 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16717 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16718 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16719 ($(objpfx)libanl.so): Likewise.
16720 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16722 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16724 * sysdeps/i386/fpu/Makefile: Remove file.
16725 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16726 ($(objpfx)libm.so): Remove dependency on ld.so.
16728 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16731 * nis/yp_xdr.c (XDRMAXNAME): Define.
16732 (XDRMAXRECORD): Define.
16733 (xdr_domainname): Use XDRMAXNAME.
16734 (xdr_mapname): Likewise.
16735 (xdr_peername): Likewise.
16736 (xdr_keydat): Use XDRMAXRECORD.
16737 (xdr_valdat): Likewise.
16739 2013-05-30 Jeff Law <law@redhat.com>
16742 * manual/errno.texi (ESTALE): Update to account for more than
16743 just NFS file systems.
16744 * sysdeps/gnu/errlist.c: Regenerated.
16746 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16749 * elf/Makefile (tests): Add tst-null-argv.
16750 (modules-names): Add tst-null-argv-lib.
16751 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16752 (tst-null-argv-ENV): Set environment for tst-null-argv.
16753 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16754 (RTLD_PROGNAME): New macro.
16755 * elf/tst-null-argv.c: New test case.
16756 * elf/tst-null-argv-lib.c: Library for test case.
16757 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16758 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16759 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16760 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16761 * elf/dl-init.c (call_init): Likewise.
16762 (_dl_init): Likewise.
16763 * elf/dl-load.c (print_search_path): Likewise.
16764 (_dl_map_object): Likewise.
16765 * elf/dl-lookup.c (do_lookup_x): Likewise.
16766 (add_dependency): Likewise.
16767 (_dl_lookup_symbol_x): Likewise.
16768 (_dl_debug_bindings): Likewise.
16769 * elf/dl-open.c (_dl_show_scope): Likewise.
16770 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16771 * elf/dl-version.c (match_symbol): Likewise.
16772 (_dl_check_map_versions): Likewise.
16773 * elf/rtld.c (dl_main): Likewise.
16774 (print_unresolved): Use RTLD_PROGNAME.
16775 (print_missing_version): Likewise.
16776 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16777 (elf_machine_rela): Likewise.
16778 * sysdeps/powerpc/powerpc32/dl-machine.c
16779 (__process_machine_rela): Likewise.
16780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16782 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16784 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16786 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16793 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16795 * po/be.po: Add descriptive title.
16796 * po/zh_CN.po: Likewise.
16797 * po/header.pot: Likewise.
16799 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16801 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16803 (enlarge_archive): Likewise.
16805 2013-05-28 Ben North <ben@redfrontdoor.org>
16807 * manual/arith.texi (frexp): It is the magnitude of the return
16808 value which lies in [0.5, 1), not the return value itself.
16810 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16814 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16816 * stdio-common/bug26.c (main): Correct fscanf template.
16818 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16819 declare _dl_skip_args.
16821 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16824 * manual/platform.texi: Add missing @end deftypefun.
16826 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16829 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16830 bit of mantissa of 2^16382.
16831 * math/libm-test.inc (hypot_test_data): Add more tests.
16833 * math/libm-test.inc: Add drem and pow10 to list of tested
16835 (pow10_test): New function.
16836 (drem_test): Likewise.
16837 (drem_test_tonearest): Likewise.
16838 (drem_test_towardzero): Likewise.
16839 (drem_test_downward): Likewise.
16840 (drem_test_upward): Likewise.
16841 (main): Call the new functions.
16843 * math/libm-test.inc (finite_test_data): Remove.
16844 (finite_test): Run tests from isfinite_test_data.
16845 (gamma_test_data): Remove.
16846 (gamma_test): Run tests from lgamma_test_data.
16847 * sysdeps/i386/fpu/libm-test-ulps: Update.
16848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16850 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16852 * manual/platform.texi: Add PowerPC PPR function set documentation.
16853 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16856 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16858 * math/libm-test.inc (MAX_EXP): Define.
16860 (ulp): New function.
16861 (check_float_internal): Use ULPDIFF.
16862 (cpow_test): Disable failing test.
16863 (check_ulp): Test ulp() implemetnation.
16864 (main): Call check_ulp before starting tests.
16866 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16868 * math/gen-libm-test.pl (generate_testfile): Do not handle
16869 START_DATA and END_DATA.
16870 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16872 (acos_tonearest_test_data): Likewise.
16873 (acos_towardzero_test_data): Likewise.
16874 (acos_downward_test_data): Likewise.
16875 (acos_upward_test_data): Likewise.
16876 (acosh_test_data): Likewise.
16877 (asin_test_data): Likewise.
16878 (asin_tonearest_test_data): Likewise.
16879 (asin_towardzero_test_data): Likewise.
16880 (asin_downward_test_data): Likewise.
16881 (asin_upward_test_data): Likewise.
16882 (asinh_test_data): Likewise.
16883 (atan_test_data): Likewise.
16884 (atanh_test_data): Likewise.
16885 (atan2_test_data): Likewise.
16886 (cabs_test_data): Likewise.
16887 (cacos_test_data): Likewise.
16888 (cacosh_test_data): Likewise.
16889 (carg_test_data): Likewise.
16890 (casin_test_data): Likewise.
16891 (casinh_test_data): Likewise.
16892 (catan_test_data): Likewise.
16893 (catanh_test_data): Likewise.
16894 (cbrt_test_data): Likewise.
16895 (ccos_test_data): Likewise.
16896 (ccosh_test_data): Likewise.
16897 (ceil_test_data): Likewise.
16898 (cexp_test_data): Likewise.
16899 (cimag_test_data): Likewise.
16900 (clog_test_data): Likewise.
16901 (clog10_test_data): Likewise.
16902 (conj_test_data): Likewise.
16903 (copysign_test_data): Likewise.
16904 (cos_test_data): Likewise.
16905 (cos_tonearest_test_data): Likewise.
16906 (cos_towardzero_test_data): Likewise.
16907 (cos_downward_test_data): Likewise.
16908 (cos_upward_test_data): Likewise.
16909 (cosh_test_data): Likewise.
16910 (cosh_tonearest_test_data): Likewise.
16911 (cosh_towardzero_test_data): Likewise.
16912 (cosh_downward_test_data): Likewise.
16913 (cosh_upward_test_data): Likewise.
16914 (cpow_test_data): Likewise.
16915 (cproj_test_data): Likewise.
16916 (creal_test_data): Likewise.
16917 (csin_test_data): Likewise.
16918 (csinh_test_data): Likewise.
16919 (csqrt_test_data): Likewise.
16920 (ctan_test_data): Likewise.
16921 (ctan_tonearest_test_data): Likewise.
16922 (ctan_towardzero_test_data): Likewise.
16923 (ctan_downward_test_data): Likewise.
16924 (ctan_upward_test_data): Likewise.
16925 (ctanh_test_data): Likewise.
16926 (ctanh_tonearest_test_data): Likewise.
16927 (ctanh_towardzero_test_data): Likewise.
16928 (ctanh_downward_test_data): Likewise.
16929 (ctanh_upward_test_data): Likewise.
16930 (erf_test_data): Likewise.
16931 (erfc_test_data): Likewise.
16932 (exp_test_data): Likewise.
16933 (exp_tonearest_test_data): Likewise.
16934 (exp_towardzero_test_data): Likewise.
16935 (exp_downward_test_data): Likewise.
16936 (exp_upward_test_data): Likewise.
16937 (exp10_test_data): Likewise.
16938 (exp2_test_data): Likewise.
16939 (expm1_test_data): Likewise.
16940 (fabs_test_data): Likewise.
16941 (fdim_test_data): Likewise.
16942 (finite_test_data): Likewise.
16943 (floor_test_data): Likewise.
16944 (fma_test_data): Likewise.
16945 (fma_towardzero_test_data): Likewise.
16946 (fma_downward_test_data): Likewise.
16947 (fma_upward_test_data): Likewise.
16948 (fmax_test_data): Likewise.
16949 (fmin_test_data): Likewise.
16950 (fmod_test_data): Likewise.
16951 (fpclassify_test_data): Likewise.
16952 (frexp_test_data): Likewise.
16953 (gamma_test_data): Likewise.
16954 (hypot_test_data): Likewise.
16955 (ilogb_test_data): Likewise.
16956 (isfinite_test_data): Likewise.
16957 (isgreater_test_data): Likewise.
16958 (isgreaterequal_test_data): Likewise.
16959 (isinf_test_data): Likewise.
16960 (isless_test_data): Likewise.
16961 (islessequal_test_data): Likewise.
16962 (islessgreater_test_data): Likewise.
16963 (isnan_test_data): Likewise.
16964 (isnormal_test_data): Likewise.
16965 (issignaling_test_data): Likewise.
16966 (isunordered_test_data): Likewise.
16967 (j0_test_data): Likewise.
16968 (j1_test_data): Likewise.
16969 (jn_test_data): Likewise.
16970 (ldexp_test_data): Likewise.
16971 (lgamma_test_data): Likewise.
16972 (lrint_test_data): Likewise.
16973 (lrint_tonearest_test_data): Likewise.
16974 (lrint_towardzero_test_data): Likewise.
16975 (lrint_downward_test_data): Likewise.
16976 (lrint_upward_test_data): Likewise.
16977 (llrint_test_data): Likewise.
16978 (llrint_tonearest_test_data): Likewise.
16979 (llrint_towardzero_test_data): Likewise.
16980 (llrint_downward_test_data): Likewise.
16981 (llrint_upward_test_data): Likewise.
16982 (log_test_data): Likewise.
16983 (log10_test_data): Likewise.
16984 (log1p_test_data): Likewise.
16985 (log2_test_data): Likewise.
16986 (logb_test_data): Likewise.
16987 (logb_downward_test_data): Likewise.
16988 (lround_test_data): Likewise.
16989 (llround_test_data): Likewise.
16990 (modf_test_data): Likewise.
16991 (nearbyint_test_data): Likewise.
16992 (nextafter_test_data): Likewise.
16993 (nexttoward_test_data): Likewise.
16994 (pow_test_data): Likewise.
16995 (pow_tonearest_test_data): Likewise.
16996 (pow_towardzero_test_data): Likewise.
16997 (pow_downward_test_data): Likewise.
16998 (pow_upward_test_data): Likewise.
16999 (remainder_test_data): Likewise.
17000 (remainder_tonearest_test_data): Likewise.
17001 (remainder_towardzero_test_data): Likewise.
17002 (remainder_downward_test_data): Likewise.
17003 (remainder_upward_test_data): Likewise.
17004 (remquo_test_data): Likewise.
17005 (rint_test_data): Likewise.
17006 (rint_tonearest_test_data): Likewise.
17007 (rint_towardzero_test_data): Likewise.
17008 (rint_downward_test_data): Likewise.
17009 (rint_upward_test_data): Likewise.
17010 (round_test_data): Likewise.
17011 (scalb_test_data): Likewise.
17012 (scalbn_test_data): Likewise.
17013 (scalbln_test_data): Likewise.
17014 (signbit_test_data): Likewise.
17015 (sin_test_data): Likewise.
17016 (sin_tonearest_test_data): Likewise.
17017 (sin_towardzero_test_data): Likewise.
17018 (sin_downward_test_data): Likewise.
17019 (sin_upward_test_data): Likewise.
17020 (sincos_test_data): Likewise.
17021 (sinh_test_data): Likewise.
17022 (sinh_tonearest_test_data): Likewise.
17023 (sinh_towardzero_test_data): Likewise.
17024 (sinh_downward_test_data): Likewise.
17025 (sinh_upward_test_data): Likewise.
17026 (sqrt_test_data): Likewise.
17027 (tan_test_data): Likewise.
17028 (tan_tonearest_test_data): Likewise.
17029 (tan_towardzero_test_data): Likewise.
17030 (tan_downward_test_data): Likewise.
17031 (tan_upward_test_data): Likewise.
17032 (tanh_test_data): Likewise.
17033 (tgamma_test_data): Likewise.
17034 (trunc_test_data): Likewise.
17035 (y0_test_data): Likewise.
17036 (y1_test_data): Likewise.
17037 (yn_test_data): Likewise.
17038 (significand_test_data): Likewise.
17040 * math/gen-libm-test.pl (@functions): Remove variable.
17041 (generate_testfile): Don't handle START and END lines.
17042 * math/libm-test.inc (START): New macro.
17044 (END_COMPLEX): Likewise.
17045 (acos_test): Use END macro without arguments.
17046 (acos_test_tonearest): Likewise.
17047 (acos_test_towardzero): Likewise.
17048 (acos_test_downward): Likewise.
17049 (acos_test_upward): Likewise.
17050 (acosh_test): Likewise.
17051 (asin_test): Likewise.
17052 (asin_test_tonearest): Likewise.
17053 (asin_test_towardzero): Likewise.
17054 (asin_test_downward): Likewise.
17055 (asin_test_upward): Likewise.
17056 (asinh_test): Likewise.
17057 (atan_test): Likewise.
17058 (atanh_test): Likewise.
17059 (atan2_test): Likewise.
17060 (cabs_test): Likewise.
17061 (cacos_test): Use END_COMPLEX macro without arguments.
17062 (cacosh_test): Likewise.
17063 (carg_test): Use END macro without arguments.
17064 (casin_test): Use END_COMPLEX macro without arguments.
17065 (casinh_test): Likewise.
17066 (catan_test): Likewise.
17067 (catanh_test): Likewise.
17068 (cbrt_test): Use END macro without arguments.
17069 (ccos_test): Use END_COMPLEX macro without arguments.
17070 (ccosh_test): Likewise.
17071 (ceil_test): Use END macro without arguments.
17072 (cexp_test): Use END_COMPLEX macro without arguments.
17073 (cimag_test): Use END macro without arguments.
17074 (clog_test): Use END_COMPLEX macro without arguments.
17075 (clog10_test): Likewise.
17076 (conj_test): Likewise.
17077 (copysign_test): Use END macro without arguments.
17078 (cos_test): Likewise.
17079 (cos_test_tonearest): Likewise.
17080 (cos_test_towardzero): Likewise.
17081 (cos_test_downward): Likewise.
17082 (cos_test_upward): Likewise.
17083 (cosh_test): Likewise.
17084 (cosh_test_tonearest): Likewise.
17085 (cosh_test_towardzero): Likewise.
17086 (cosh_test_downward): Likewise.
17087 (cosh_test_upward): Likewise.
17088 (cpow_test): Use END_COMPLEX macro without arguments.
17089 (cproj_test): Likewise.
17090 (creal_test): Use END macro without arguments.
17091 (csin_test): Use END_COMPLEX macro without arguments.
17092 (csinh_test): Likewise.
17093 (csqrt_test): Likewise.
17094 (ctan_test): Likewise.
17095 (ctan_test_tonearest): Likewise.
17096 (ctan_test_towardzero): Likewise.
17097 (ctan_test_downward): Likewise.
17098 (ctan_test_upward): Likewise.
17099 (ctanh_test): Likewise.
17100 (ctanh_test_tonearest): Likewise.
17101 (ctanh_test_towardzero): Likewise.
17102 (ctanh_test_downward): Likewise.
17103 (ctanh_test_upward): Likewise.
17104 (erf_test): Use END macro without arguments.
17105 (erfc_test): Likewise.
17106 (exp_test): Likewise.
17107 (exp_test_tonearest): Likewise.
17108 (exp_test_towardzero): Likewise.
17109 (exp_test_downward): Likewise.
17110 (exp_test_upward): Likewise.
17111 (exp10_test): Likewise.
17112 (exp2_test): Likewise.
17113 (expm1_test): Likewise.
17114 (fabs_test): Likewise.
17115 (fdim_test): Likewise.
17116 (finite_test): Likewise.
17117 (floor_test): Likewise.
17118 (fma_test): Likewise.
17119 (fma_test_towardzero): Likewise.
17120 (fma_test_downward): Likewise.
17121 (fma_test_upward): Likewise.
17122 (fmax_test): Likewise.
17123 (fmin_test): Likewise.
17124 (fmod_test): Likewise.
17125 (fpclassify_test): Likewise.
17126 (frexp_test): Likewise.
17127 (gamma_test): Likewise.
17128 (hypot_test): Likewise.
17129 (ilogb_test): Likewise.
17130 (isfinite_test): Likewise.
17131 (isgreater_test): Likewise.
17132 (isgreaterequal_test): Likewise.
17133 (isinf_test): Likewise.
17134 (isless_test): Likewise.
17135 (islessequal_test): Likewise.
17136 (islessgreater_test): Likewise.
17137 (isnan_test): Likewise.
17138 (isnormal_test): Likewise.
17139 (issignaling_test): Likewise.
17140 (isunordered_test): Likewise.
17141 (j0_test): Likewise.
17142 (j1_test): Likewise.
17143 (jn_test): Likewise.
17144 (ldexp_test): Likewise.
17145 (lgamma_test): Likewise.
17146 (lrint_test): Likewise.
17147 (lrint_test_tonearest): Likewise.
17148 (lrint_test_towardzero): Likewise.
17149 (lrint_test_downward): Likewise.
17150 (lrint_test_upward): Likewise.
17151 (llrint_test): Likewise.
17152 (llrint_test_tonearest): Likewise.
17153 (llrint_test_towardzero): Likewise.
17154 (llrint_test_downward): Likewise.
17155 (llrint_test_upward): Likewise.
17156 (log_test): Likewise.
17157 (log10_test): Likewise.
17158 (log1p_test): Likewise.
17159 (log2_test): Likewise.
17160 (logb_test): Likewise.
17161 (logb_test_downward): Likewise.
17162 (lround_test): Likewise.
17163 (llround_test): Likewise.
17164 (modf_test): Likewise.
17165 (nearbyint_test): Likewise.
17166 (nextafter_test): Likewise.
17167 (nexttoward_test): Likewise.
17168 (pow_test): Likewise.
17169 (pow_test_tonearest): Likewise.
17170 (pow_test_towardzero): Likewise.
17171 (pow_test_downward): Likewise.
17172 (pow_test_upward): Likewise.
17173 (remainder_test): Likewise.
17174 (remainder_test_tonearest): Likewise.
17175 (remainder_test_towardzero): Likewise.
17176 (remainder_test_downward): Likewise.
17177 (remainder_test_upward): Likewise.
17178 (remquo_test): Likewise.
17179 (rint_test): Likewise.
17180 (rint_test_tonearest): Likewise.
17181 (rint_test_towardzero): Likewise.
17182 (rint_test_downward): Likewise.
17183 (rint_test_upward): Likewise.
17184 (round_test): Likewise.
17185 (scalb_test): Likewise.
17186 (scalbn_test): Likewise.
17187 (scalbln_test): Likewise.
17188 (signbit_test): Likewise.
17189 (sin_test): Likewise.
17190 (sin_test_tonearest): Likewise.
17191 (sin_test_towardzero): Likewise.
17192 (sin_test_downward): Likewise.
17193 (sin_test_upward): Likewise.
17194 (sincos_test): Likewise.
17195 (sinh_test): Likewise.
17196 (sinh_test_tonearest): Likewise.
17197 (sinh_test_towardzero): Likewise.
17198 (sinh_test_downward): Likewise.
17199 (sinh_test_upward): Likewise.
17200 (sqrt_test): Likewise.
17201 (tan_test): Likewise.
17202 (tan_test_tonearest): Likewise.
17203 (tan_test_towardzero): Likewise.
17204 (tan_test_downward): Likewise.
17205 (tan_test_upward): Likewise.
17206 (tanh_test): Likewise.
17207 (tgamma_test): Likewise.
17208 (trunc_test): Likewise.
17209 (y0_test): Likewise.
17210 (y1_test): Likewise.
17211 (yn_test): Likewise.
17212 (significand_test): Likewise.
17214 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17217 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17219 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17222 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17223 __ppc_mdoio and __ppc_mdoom.
17224 * manual/platform.texi: Document new functions __ppc_yield,
17225 __ppc_mdoio and __ppc_mdoom.
17227 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17229 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17230 (main): Mention "tls" pseudo-hwcap is legacy.
17231 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17233 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17235 * math/gen-libm-test.pl (parse_args): Output only string of
17236 arguments as text for test name, not full call or descriptions of
17237 tests for extra outputs.
17238 (generate_testfile): Do not pass function name to parse_args.
17239 Generate this_func variable from START.
17240 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17242 (struct test_ff_f_data): Likewise.
17243 (test_ff_f_data_nexttoward): Likewise.
17244 (struct test_fi_f_data): Likewise.
17245 (struct test_fl_f_data): Likewise.
17246 (struct test_if_f_data): Likewise.
17247 (struct test_fff_f_data): Likewise.
17248 (struct test_c_f_data): Likewise.
17249 (struct test_f_f1_data): Likewise. Remove field extra_name.
17250 (struct test_fF_f1_data): Likewise.
17251 (struct test_ffI_f1_data): Likewise.
17252 (struct test_c_c_data): Rename test_name field to arg_str.
17253 (struct test_cc_c_data): Likewise.
17254 (struct test_f_i_data): Likewise.
17255 (struct test_ff_i_data): Likewise.
17256 (struct test_f_l_data): Likewise.
17257 (struct test_f_L_data): Likewise.
17258 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17260 (COMMON_TEST_SETUP): New macro.
17261 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17262 (COMMON_TEST_CLEANUP): Likewise.
17263 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17264 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17266 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17267 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17269 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17270 (RUN_TEST_fff_f): Take argument string. Call new setup and
17272 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17273 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17275 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17276 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17278 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17279 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17281 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17282 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17284 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17285 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17287 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17288 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17290 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17291 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17293 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17294 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17296 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17297 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17299 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17300 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17302 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17303 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17305 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17306 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17308 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17309 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17311 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17312 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17314 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17315 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17317 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17319 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17321 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17322 to _sifields.sigfault.
17323 (si_addr_lsb): Define new macro.
17324 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17325 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17326 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17328 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17331 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17333 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17335 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17336 loading the domain.
17338 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17340 * math/gen-libm-test.pl (parse_args): Do not include expected
17341 result in test name.
17342 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17343 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17344 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17345 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17346 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17349 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17351 * benchtests/Makefile: Sort function entries.
17353 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17354 tanh, asinh, acosh, atanh.
17355 * benchtests/acos-inputs: New file.
17356 * benchtests/acosh-inputs: New file.
17357 * benchtests/asin-inputs: New file.
17358 * benchtests/asinh-inputs: New file.
17359 * benchtests/atanh-inputs: New file.
17360 * benchtests/cosh-inputs: New file.
17361 * benchtests/log-inputs: New file.
17362 * benchtests/sinh-inputs: New file.
17363 * benchtests/tanh-inputs: New file.
17365 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17368 * posix/tst-getaddrinfo4.c: New test.
17369 * posix/Makefile (tests): Add it.
17371 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17374 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17375 when no services were used.
17376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17377 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17379 2013-05-21 Andreas Schwab <schwab@suse.de>
17382 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17383 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17385 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17386 redundant variable declarations and reallocation of buffer when
17387 parsing as IPv6 address. Always set NSS status when called from
17388 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17389 buffer too small. Correct computation of needed size.
17390 * nss/Makefile (tests): Add test-digits-dots.
17391 * nss/test-digits-dots.c: New test.
17393 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17395 * benchtests/Makefile: Remove instructions for adding
17397 * benchtests/README: New file to explain how to execute and
17398 enhance the benchmark tests.
17400 2013-05-21 Andreas Schwab <schwab@suse.de>
17403 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17404 * setjmp/tst-sigsetjmp.c: New test.
17406 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17408 * sysdeps/x86_64/memset.S (memset): New implementation.
17409 (__bzero): Likewise.
17410 (__memset_tail): New function.
17412 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17414 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17415 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17416 __memcpy_sse2_unaligned ifunc selection.
17417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17418 Add memcpy-sse2-unaligned.S.
17419 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17420 Add: __memcpy_sse2_unaligned.
17422 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17425 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17426 math_force_eval before restoring floating-point envrionment.
17427 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17428 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17430 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17432 (__nearbyintl): Use math_force_eval before restoring
17433 floating-point environment.
17434 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17436 * math/gen-libm-test.pl (special_functions): Remove.
17437 (parse_args): Don't handle TEST_extra. Handle functions with no
17439 * math/libm-test.inc (struct test_sincos_data): Replace with
17440 struct test_fFF_11_data.
17441 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17442 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17443 (sincos_test_data): Change element type to struct
17444 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17445 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17446 RUN_TEST_LOOP_sincos.
17447 * math/README.libm-test: Don't mention special handling of
17448 individual functions.
17449 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17450 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17451 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17452 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17453 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17456 * math/gen-libm-test.pl (get_variable): Remove function.
17457 (parse_args): Don't show pointer parameters to call in test
17458 names. Use "extra output N" in test names for extra outputs
17459 rather than naming variables.
17461 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17464 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17465 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17466 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17468 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17470 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17473 * math/gen-libm-test.pl (@tests): Remove variable.
17474 ($count): Likewise.
17475 (new_test): Remove function.
17476 (show_exceptions): New function.
17477 (special_functions): Use show_exceptions instead of new_test.
17478 (parse_args): Likewise.
17479 (generate_testfile): Pass only function name in generated call to
17480 print_max_error or print_complex_max_error.
17481 (get_ulps): Do not handle complex tests specially.
17482 (output_test): Rename to ...
17483 (get_all_ulps_for_test): ... this. Return a string rather than
17484 printing to a file. Require ulps to be present.
17485 (output_ulps): Generate arrays rather than #defines.
17486 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17487 (struct ulp_data): New type.
17488 (BUILD_COMPLEX_ULP): Remove macro.
17489 (compare_ulp_data): New function.
17490 (find_ulps): Likewise.
17491 (find_test_ulps): Likewise.
17492 (find_function_ulps): Likewise.
17493 (find_complex_function_ulps): Likewise.
17494 (print_max_error): Determine allowed ulps using
17495 find_function_ulps.
17496 (print_complex_max_error): Determine allowed ulps using
17497 find_complex_function_ulps.
17498 (check_float_internal): Determine max ulps using find_test_ulps.
17499 (check_float): Do not take max_ulp parameter. Update call to
17500 check_float_internal.
17501 (check_complex): Likewise.
17502 (check_int): Do not take max_ulp parameter.
17503 (check_long): Likewise.
17504 (check_bool): Likewise.
17505 (check_longlong): Likewise.
17506 (struct test_f_f_data): Remove max_ulp field.
17507 (struct test_ff_f_data): Likewise.
17508 (struct test_ff_f_data_nexttoward): Likewise.
17509 (struct test_fi_f_data): Likewise.
17510 (struct test_fl_f_data): Likewise.
17511 (struct test_if_f_data): Likewise.
17512 (struct test_fff_f_data): Likewise.
17513 (struct test_c_f_data): Likewise.
17514 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17515 (struct test_fF_f1_data): Likewise.
17516 (struct test_ffI_f1_data): Likewise.
17517 (struct test_c_c_data): Remove max_ulp field.
17518 (struct test_cc_c_data): Likewise.
17519 (struct test_f_i_data): Likewise.
17520 (struct test_ff_i_data): Likewise.
17521 (struct test_f_l_data): Likewise.
17522 (struct test_f_L_data): Likewise.
17523 (struct test_sincos_data): Likewise.
17524 (RUN_TEST_f_f): Do not handle ulps.
17525 (RUN_TEST_LOOP_f_f): Likewise.
17526 (RUN_TEST_2_f): Likewise.
17527 (RUN_TEST_LOOP_2_f): Likewise.
17528 (RUN_TEST_fff_f): Likewise.
17529 (RUN_TEST_LOOP_fff_f): Likewise.
17530 (RUN_TEST_c_f): Likewise.
17531 (RUN_TEST_LOOP_c_f): Likewise.
17532 (RUN_TEST_f_f1): Likewise.
17533 (RUN_TEST_LOOP_f_f1): Likewise.
17534 (RUN_TEST_fF_f1): Likewise.
17535 (RUN_TEST_LOOP_fF_f1): Likewise.
17536 (RUN_TEST_fI_f1): Likewise.
17537 (RUN_TEST_LOOP_fI_f1): Likewise.
17538 (RUN_TEST_ffI_f1): Likewise.
17539 (RUN_TEST_LOOP_ffI_f1): Likewise.
17540 (RUN_TEST_c_c): Likewise.
17541 (RUN_TEST_LOOP_c_c): Likewise.
17542 (RUN_TEST_cc_c): Likewise.
17543 (RUN_TEST_LOOP_cc_c): Likewise.
17544 (RUN_TEST_f_i): Likewise.
17545 (RUN_TEST_LOOP_f_i): Likewise.
17546 (RUN_TEST_f_i_tg): Likewise.
17547 (RUN_TEST_LOOP_f_i_tg): Likewise.
17548 (RUN_TEST_ff_i_tg): Likewise.
17549 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17550 (RUN_TEST_f_b): Likewise.
17551 (RUN_TEST_LOOP_f_b): Likewise.
17552 (RUN_TEST_f_b_tg): Likewise.
17553 (RUN_TEST_LOOP_f_b_tg): Likewise.
17554 (RUN_TEST_f_l): Likewise.
17555 (RUN_TEST_LOOP_f_l): Likewise.
17556 (RUN_TEST_f_L): Likewise.
17557 (RUN_TEST_LOOP_f_L): Likewise.
17558 (RUN_TEST_sincos): Likewise.
17559 (RUN_TEST_LOOP_sincos): Likewise.
17561 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17565 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17566 main case of finite arguments, set rounding mode to FE_TONEAREST
17567 and discard exceptions.
17568 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17570 (remainder_tonearest_test_data): New variable.
17571 (remainder_test_tonearest): New function.
17572 (remainder_towardzero_test_data): New variable.
17573 (remainder_test_towardzero): New function.
17574 (remainder_downward_test_data): New variable.
17575 (remainder_test_downward): New function.
17576 (remainder_upward_test_data): New variable.
17577 (remainder_test_upward): New function.
17578 (main): Call the new test functions.
17580 * math/libm-test.inc (struct test_f_f1_data): Remove field
17582 (struct test_fF_f1_data): Likewise.
17583 (struct test_ffI_f1_data): Likewise.
17584 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17585 based on value of EXTRA_EXPECTED.
17586 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17587 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17588 EXTRA_VAR based on value of EXTRA_EXPECTED.
17589 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17590 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17591 EXTRA_VAR based on value of EXTRA_EXPECTED.
17592 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17593 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17594 EXTRA_VAR based on value of EXTRA_EXPECTED.
17595 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17596 * math/gen-libm-test.pl (parse_args): Don't output initializers
17597 for extra output values.
17599 * math/libm-test.inc (check_int): Expect result to be exactly
17600 equal to expected value and do not handle ulps.
17601 (check_long): Likewise.
17602 (check_longlong): Likewise.
17604 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17606 (cimag_test_data): Likewise.
17607 (conj_test_data): Likewise.
17608 (copysign_test_data): Likewise.
17609 (cproj_test_data): Likewise.
17610 (creal_test_data): Likewise.
17611 (fabs_test_data): Likewise.
17612 (fdim_test_data): Likewise.
17613 (finite_test_data): Likewise.
17614 (floor_test_data): Likewise.
17615 (fmax_test_data): Likewise.
17616 (fmin_test_data): Likewise.
17617 (fmod_test_data): Likewise.
17618 (fpclassify_test_data): Likewise.
17619 (frexp_test_data): Likewise.
17620 (ilogb_test_data): Likewise.
17621 (isfinite_test_data): Likewise.
17622 (isgreater_test_data): Likewise.
17623 (isgreaterequal_test_data): Likewise.
17624 (isinf_test_data): Likewise.
17625 (isless_test_data): Likewise.
17626 (islessequal_test_data): Likewise.
17627 (islessgreater_test_data): Likewise.
17628 (isnan_test_data): Likewise.
17629 (isnormal_test_data): Likewise.
17630 (issignaling_test_data): Likewise.
17631 (isunordered_test_data): Likewise.
17632 (ldexp_test_data): Likewise.
17633 (lrint_test_data): Likewise.
17634 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17635 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17636 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17637 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17638 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17639 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17641 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17642 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17643 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17644 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17646 (lrint_downward_test_data): Test for "inexact" exceptions.
17647 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17648 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17649 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17651 (lrint_upward_test_data): Test for "inexact" exceptions.
17652 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17654 (llrint_test_data): Test for "inexact" exceptions.
17655 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17656 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17657 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17658 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17659 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17660 (llrint_downward_test_data): Test for "inexact" exceptions.
17661 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17662 (llrint_upward_test_data): Test for "inexact" exceptions.
17663 (logb_test_data): Likewise.
17664 (logb_downward_test_data): Likewise.
17665 (nextafter_test_data): Likewise.
17666 (nexttoward_test_data): Likewise.
17667 (remainder_test_data): Likewise.
17668 (remquo_test_data): Likewise.
17669 (scalbn_test_data): Likewise.
17670 (scalbln_test_data): Likewise.
17671 (signbit_test_data): Likewise.
17672 (sqrt_test_data): Likewise.
17673 (significand_test_data): Likewise.
17675 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17678 * benchtests/bench-modf.c (struct args): Mark arg0 as
17680 * scripts/bench.pl: Mark members of struct args as volatile.
17682 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17685 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17686 negative infinity on POWER6 or lower.
17687 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17689 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17692 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17693 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17694 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17695 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17696 (_FP_SETQNAN): New macro.
17697 (_FP_SETQNAN_SEMIRAW): Likewise.
17698 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17699 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17700 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17701 (FP_EXTEND): Use _FP_FRAC_SNANP.
17702 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17703 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17705 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17707 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17710 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17712 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17713 with DIVIDE_BY_ZERO_EXCEPTION.
17714 (gamma_test_data): Likewise.
17715 (lgamma_test_data): Likewise.
17716 (log_test_data): Likewise.
17717 (log10_test_data): Likewise.
17718 (log2_test_data): Likewise.
17719 (tgamma_test_data): Likewise.
17721 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17722 (acos_test_tonearest): Likewise.
17723 (acos_test_towardzero): Likewise.
17724 (acos_test_downward): Likewise.
17725 (acos_test_upward): Likewise.
17726 (acosh_test): Likewise.
17727 (asin_test): Likewise.
17728 (asin_test_tonearest): Likewise.
17729 (asin_test_towardzero): Likewise.
17730 (asin_test_downward): Likewise.
17731 (asin_test_upward): Likewise.
17732 (asinh_test): Likewise.
17733 (atan_test): Likewise.
17734 (atanh_test): Likewise.
17735 (atan2_test): Likewise.
17736 (cabs_test): Likewise.
17737 (cacos_test): Likewise.
17738 (cacosh_test): Likewise.
17739 (casin_test): Likewise.
17740 (casinh_test): Likewise.
17741 (catan_test): Likewise.
17742 (catanh_test): Likewise.
17743 (cbrt_test): Likewise.
17744 (ccos_test): Likewise.
17745 (ccosh_test): Likewise.
17746 (cexp_test): Likewise.
17747 (clog_test): Likewise.
17748 (clog10_test): Likewise.
17749 (cos_test): Likewise.
17750 (cos_test_tonearest): Likewise.
17751 (cos_test_towardzero): Likewise.
17752 (cos_test_downward): Likewise.
17753 (cos_test_upward): Likewise.
17754 (cosh_test): Likewise.
17755 (cosh_test_tonearest): Likewise.
17756 (cosh_test_towardzero): Likewise.
17757 (cosh_test_downward): Likewise.
17758 (cosh_test_upward): Likewise.
17759 (cpow_test): Likewise.
17760 (csin_test): Likewise.
17761 (csinh_test): Likewise.
17762 (csqrt_test): Likewise.
17763 (ctan_test): Likewise.
17764 (ctan_test_tonearest): Likewise.
17765 (ctan_test_towardzero): Likewise.
17766 (ctan_test_downward): Likewise.
17767 (ctan_test_upward): Likewise.
17768 (ctanh_test): Likewise.
17769 (ctanh_test_tonearest): Likewise.
17770 (ctanh_test_towardzero): Likewise.
17771 (ctanh_test_downward): Likewise.
17772 (ctanh_test_upward): Likewise.
17773 (erf_test): Likewise.
17774 (erfc_test): Likewise.
17775 (exp_test): Likewise.
17776 (exp_test_tonearest): Likewise.
17777 (exp_test_towardzero): Likewise.
17778 (exp_test_downward): Likewise.
17779 (exp_test_upward): Likewise.
17780 (exp10_test): Likewise.
17781 (exp2_test): Likewise.
17782 (expm1_test): Likewise.
17783 (fmod_test): Likewise.
17784 (gamma_test): Likewise.
17785 (hypot_test): Likewise.
17786 (j0_test): Likewise.
17787 (j1_test): Likewise.
17788 (jn_test): Likewise.
17789 (lgamma_test): Likewise.
17790 (log_test): Likewise.
17791 (log10_test): Likewise.
17792 (log1p_test): Likewise.
17793 (log2_test): Likewise.
17794 (logb_test_downward): Likewise.
17795 (pow_test): Likewise.
17796 (pow_test_tonearest): Likewise.
17797 (pow_test_towardzero): Likewise.
17798 (pow_test_downward): Likewise.
17799 (pow_test_upward): Likewise.
17800 (remainder_test): Likewise.
17801 (remquo_test): Likewise.
17802 (sin_test): Likewise.
17803 (sin_test_tonearest): Likewise.
17804 (sin_test_towardzero): Likewise.
17805 (sin_test_downward): Likewise.
17806 (sin_test_upward): Likewise.
17807 (sincos_test): Likewise.
17808 (sinh_test): Likewise.
17809 (sinh_test_tonearest): Likewise.
17810 (sinh_test_towardzero): Likewise.
17811 (sinh_test_downward): Likewise.
17812 (sinh_test_upward): Likewise.
17813 (sqrt_test): Likewise.
17814 (tan_test): Likewise.
17815 (tan_test_tonearest): Likewise.
17816 (tan_test_towardzero): Likewise.
17817 (tan_test_downward): Likewise.
17818 (tan_test_upward): Likewise.
17819 (tanh_test): Likewise.
17820 (tgamma_test): Likewise.
17821 (y0_test): Likewise.
17822 (y1_test): Likewise.
17823 (yn_test): Likewise.
17825 * math/gen-libm-test.pl (adjust_arg): Remove function.
17826 (special_function): Remove argument $in_func. Only handle
17827 generating output for tables of tests, not inside functions.
17828 (parse_args): Likewise.
17829 (generate_testfile): Remove variable $in_func. Update call to
17831 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17832 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17833 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17834 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17835 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17836 (MAX_VALUE_INIT): Rename macro to max_value.
17837 (MIN_VALUE_INIT): Rename macro to min_value.
17838 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17839 (plus_zero): Remove variable.
17840 (minus_zero): Likewise.
17841 (plus_infty): Likewise.
17842 (minus_infty): Likewise.
17843 (qnan_value): Likewise.
17844 (max_value): Likewise.
17845 (min_value): Likewise.
17846 (min_subnorm_value): Likewise.
17848 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17850 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17851 uint64_t or uint32_t usage.
17852 * crypt/sha256-block.c: Likewise.
17853 * crypt/sha256-crypt.c: Likewise.
17854 * crypt/sha256.c: Likewise.
17855 * crypt/sha512-block.c: Likewise.
17856 * crypt/sha512-crypt.c: Likewise.
17857 * crypt/sha512.c: Likewise.
17858 * debug/backtrace-tst.c: Likewise.
17859 * debug/pcprofiledump.c: Likewise.
17860 * elf/cache.c: Likewise.
17861 * elf/dl-cache.c: Likewise.
17862 * elf/dl-misc.c: Likewise.
17863 * elf/dl-profile.c: Likewise.
17864 * elf/dl-support.c: Likewise.
17865 * elf/ldconfig.c: Likewise.
17866 * elf/sprof.c: Likewise.
17867 * iconv/dummy-repertoire.c: Likewise.
17868 * iconv/iconv_charmap.c: Likewise.
17869 * iconv/skeleton.c: Likewise.
17870 * iconvdata/8bit-generic.c: Likewise.
17871 * iconvdata/cp737.h: Likewise.
17872 * iconvdata/cp775.h: Likewise.
17873 * iconvdata/ibm1008.h: Likewise.
17874 * iconvdata/ibm1025.h: Likewise.
17875 * iconvdata/ibm1046.h: Likewise.
17876 * iconvdata/ibm1097.h: Likewise.
17877 * iconvdata/ibm1112.h: Likewise.
17878 * iconvdata/ibm1122.h: Likewise.
17879 * iconvdata/ibm1123.h: Likewise.
17880 * iconvdata/ibm1124.h: Likewise.
17881 * iconvdata/ibm1129.h: Likewise.
17882 * iconvdata/ibm1130.h: Likewise.
17883 * iconvdata/ibm1132.h: Likewise.
17884 * iconvdata/ibm1133.h: Likewise.
17885 * iconvdata/ibm1137.h: Likewise.
17886 * iconvdata/ibm1140.h: Likewise.
17887 * iconvdata/ibm1141.h: Likewise.
17888 * iconvdata/ibm1142.h: Likewise.
17889 * iconvdata/ibm1143.h: Likewise.
17890 * iconvdata/ibm1144.h: Likewise.
17891 * iconvdata/ibm1145.h: Likewise.
17892 * iconvdata/ibm1146.h: Likewise.
17893 * iconvdata/ibm1147.h: Likewise.
17894 * iconvdata/ibm1148.h: Likewise.
17895 * iconvdata/ibm1149.h: Likewise.
17896 * iconvdata/ibm1153.h: Likewise.
17897 * iconvdata/ibm1154.h: Likewise.
17898 * iconvdata/ibm1155.h: Likewise.
17899 * iconvdata/ibm1156.h: Likewise.
17900 * iconvdata/ibm1157.h: Likewise.
17901 * iconvdata/ibm1158.h: Likewise.
17902 * iconvdata/ibm1160.h: Likewise.
17903 * iconvdata/ibm1161.h: Likewise.
17904 * iconvdata/ibm1162.h: Likewise.
17905 * iconvdata/ibm1163.h: Likewise.
17906 * iconvdata/ibm1164.h: Likewise.
17907 * iconvdata/ibm1166.h: Likewise.
17908 * iconvdata/ibm1167.h: Likewise.
17909 * iconvdata/ibm12712.h: Likewise.
17910 * iconvdata/ibm1390.h: Likewise.
17911 * iconvdata/ibm1399.h: Likewise.
17912 * iconvdata/ibm16804.h: Likewise.
17913 * iconvdata/ibm4517.h: Likewise.
17914 * iconvdata/ibm4899.h: Likewise.
17915 * iconvdata/ibm4909.h: Likewise.
17916 * iconvdata/ibm4971.h: Likewise.
17917 * iconvdata/ibm5347.h: Likewise.
17918 * iconvdata/ibm803.h: Likewise.
17919 * iconvdata/ibm856.h: Likewise.
17920 * iconvdata/ibm901.h: Likewise.
17921 * iconvdata/ibm902.h: Likewise.
17922 * iconvdata/ibm9030.h: Likewise.
17923 * iconvdata/ibm9066.h: Likewise.
17924 * iconvdata/ibm921.h: Likewise.
17925 * iconvdata/ibm922.h: Likewise.
17926 * iconvdata/ibm9448.h: Likewise.
17927 * iconvdata/isiri-3342.h: Likewise.
17928 * iconvdata/jis0201.h: Likewise.
17929 * include/link.h: Likewise.
17930 * include/netdb.h: Likewise.
17931 * inet/check_native.c: Likewise.
17932 * inet/check_pf.c: Likewise.
17933 * inet/getipv4sourcefilter.c: Likewise.
17934 * inet/getnameinfo.c: Likewise.
17935 * inet/getsourcefilter.c: Likewise.
17936 * inet/htonl.c: Likewise.
17937 * inet/setipv4sourcefilter.c: Likewise.
17938 * inet/setsourcefilter.c: Likewise.
17939 * inet/test-inet6_opt.c: Likewise.
17940 * inet/tst-network.c: Likewise.
17941 * locale/C-collate.c: Likewise.
17942 * locale/C-ctype.c: Likewise.
17943 * locale/C-time.c: Likewise.
17944 * locale/C-translit.h: Likewise.
17945 * locale/loadarchive.c: Likewise.
17946 * locale/programs/3level.h: Likewise.
17947 * locale/programs/charmap.c: Likewise.
17948 * locale/programs/charmap.h: Likewise.
17949 * locale/programs/ld-address.c: Likewise.
17950 * locale/programs/ld-collate.c: Likewise.
17951 * locale/programs/ld-ctype.c: Likewise.
17952 * locale/programs/ld-identification.c: Likewise.
17953 * locale/programs/ld-measurement.c: Likewise.
17954 * locale/programs/ld-messages.c: Likewise.
17955 * locale/programs/ld-monetary.c: Likewise.
17956 * locale/programs/ld-name.c: Likewise.
17957 * locale/programs/ld-numeric.c: Likewise.
17958 * locale/programs/ld-paper.c: Likewise.
17959 * locale/programs/ld-telephone.c: Likewise.
17960 * locale/programs/ld-time.c: Likewise.
17961 * locale/programs/linereader.c: Likewise.
17962 * locale/programs/locale.c: Likewise.
17963 * locale/programs/locarchive.c: Likewise.
17964 * locale/programs/locfile.h: Likewise.
17965 * locale/programs/repertoire.c: Likewise.
17966 * locale/programs/simple-hash.c: Likewise.
17967 * locale/programs/simple-hash.h: Likewise.
17968 * malloc/memusage.c: Likewise.
17969 * malloc/memusagestat.c: Likewise.
17970 * nis/nis_defaults.c: Likewise.
17971 * nis/nis_hash.c: Likewise.
17972 * nis/nis_print.c: Likewise.
17973 * nis/nis_xdr.c: Likewise.
17974 * nscd/connections.c: Likewise.
17975 * nscd/hstcache.c: Likewise.
17976 * nscd/nscd_gethst_r.c: Likewise.
17977 * nscd/nscd_getserv_r.c: Likewise.
17978 * nscd/nscd_helper.c: Likewise.
17979 * nscd/servicescache.c: Likewise.
17980 * nss/makedb.c: Likewise.
17981 * nss/nss_db/db-XXX.c: Likewise.
17982 * nss/nss_db/db-initgroups.c: Likewise.
17983 * nss/nss_db/db-netgrp.c: Likewise.
17984 * nss/nss_files/files-network.c: Likewise.
17985 * nss/nss_files/files-parse.c: Likewise.
17986 * posix/bug-regex5.c: Likewise.
17987 * posix/fnmatch_loop.c: Likewise.
17988 * posix/regcomp.c: Likewise.
17989 * posix/regexec.c: Likewise.
17990 * posix/tst-rfc3484-2.c: Likewise.
17991 * posix/tst-rfc3484-3.c: Likewise.
17992 * posix/tst-rfc3484.c: Likewise.
17993 * resolv/nss_dns/dns-canon.c: Likewise.
17994 * resolv/nss_dns/dns-network.c: Likewise.
17995 * resolv/res_init.c: Likewise.
17996 * resolv/res_mkquery.c: Likewise.
17997 * resolv/tst-aton.c: Likewise.
17998 * stdlib/cxa_atexit.c: Likewise.
17999 * stdlib/cxa_finalize.c: Likewise.
18000 * stdlib/gen-fpioconst.c: Likewise.
18001 * stdlib/strtol_l.c: Likewise.
18002 * string/tst-endian.c: Likewise.
18003 * sunrpc/auth_des.c: Likewise.
18004 * sunrpc/clnt_udp.c: Likewise.
18005 * sunrpc/rtime.c: Likewise.
18006 * sunrpc/svcauth_des.c: Likewise.
18007 * sunrpc/xdr.c: Likewise.
18008 * sunrpc/xdr_intXX_t.c: Likewise.
18009 * sunrpc/xdr_rec.c: Likewise.
18010 * sysdeps/generic/ldconfig.h: Likewise.
18011 * sysdeps/generic/ldsodefs.h: Likewise.
18012 * sysdeps/generic/memusage.h: Likewise.
18013 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18022 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18023 * sysdeps/posix/getaddrinfo.c: Likewise.
18024 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18025 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18026 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18027 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18028 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18029 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18030 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18031 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18032 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18033 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18034 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18035 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18036 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18037 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18038 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18039 * sysdeps/x86_64/dl-tls.h: Likewise.
18040 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18041 * time/alt_digit.c: Likewise.
18042 * time/era.c: Likewise.
18043 * wcsmbs/tst-c16c32-1.c: Likewise.
18045 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18047 * math/libm-test.inc (struct test_sincos_data): New type.
18048 (RUN_TEST_LOOP_sincos): New macro.
18049 (sincos_test_data): New variable.
18050 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18052 2013-05-16 Richard Henderson <rth@redhat.com>
18054 * math/atest-exp2.c (LIMB64): New macro.
18055 (CONSTSZ): New macro.
18056 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18058 (print_mpn_fp): ... to function scope.
18059 (read_mpn_hex): Remove.
18060 (get_log2): Remove.
18061 (exp2_mpn): Use mp_log2.
18062 (main): Use mp_exp1.
18064 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18066 * math/libm-test.inc: Remove comment about not testing "inexact"
18068 (INEXACT_EXCEPTION): New macro.
18069 (NO_INEXACT_EXCEPTION): Likewise.
18070 (INVALID_EXCEPTION_OK): Update value.
18071 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18072 (OVERFLOW_EXCEPTION_OK): Likewise.
18073 (UNDERFLOW_EXCEPTION_OK): Likewise.
18074 (IGNORE_ZERO_INF_SIGN): Likewise.
18075 (ERRNO_UNCHANGED): Likewise.
18076 (ERRNO_EDOM): Likewise.
18077 (ERRNO_ERANGE): Likewise.
18078 (test_exceptions): Handle testing "inexact" exceptions.
18079 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18080 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18081 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18082 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18084 (rint_towardzero_test_data): Likewise.
18085 (rint_downward_test_data): Likewise.
18086 (rint_upward_test_data): Likewise.
18088 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18089 with OVERFLOW_EXCEPTION.
18090 (exp10_test_data): Likewise.
18091 (exp2_test_data): Likewise.
18092 (expm1_test_data): Likewise.
18093 (lgamma_test_data): Likewise.
18094 (pow_test_data): Likewise.
18095 (tgamma_test_data): Likewise.
18096 (yn_test_data): Remove duplicate test of overflow.
18098 * math/libm-test.inc (struct test_cc_c_data): New type.
18099 (RUN_TEST_LOOP_cc_c): New macro.
18100 (cpow_test_data): New variable.
18101 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18103 * math/libm-test.inc (struct test_f_L_data): New type.
18104 (RUN_TEST_LOOP_f_L): New macro.
18105 (llrint_test_data): New variable.
18106 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18107 (llrint_tonearest_test_data): New variable.
18108 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18109 (llrint_towardzero_test_data): New variable.
18110 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18111 (llrint_downward_test_data): New variable.
18112 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18113 (llrint_upward_test_data): New variable.
18114 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18115 (llround_test_data): New variable.
18116 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18118 2013-05-13 Peter Collingbourne <pcc@google.com>
18120 * math/atest-exp2.c (get_log2): Remove const attribute.
18122 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18124 * math/libm-test.inc (struct test_f_l_data): New type.
18125 (RUN_TEST_LOOP_f_l): New macro.
18126 (lrint_test_data): New variable.
18127 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18128 (lrint_tonearest_test_data): New variable.
18129 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18130 (lrint_towardzero_test_data): New variable.
18131 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18132 (lrint_downward_test_data): New variable.
18133 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18134 (lrint_upward_test_data): New variable.
18135 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18136 (lround_test_data): New variable.
18137 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18139 2013-05-15 Peter Collingbourne <pcc@google.com>
18141 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18142 (EXTRACT_WORDS64) Use where appropriate.
18143 (INSERT_WORDS64) Likewise.
18145 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18146 constraints with x constraints.
18147 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18149 * malloc/obstack.c (_obstack_compat): Add initializer.
18151 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18153 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18154 si_trapno and add si_addr_lsb to _sifields.sigfault.
18155 (si_trapno): Remove macro.
18156 (si_addr_lsb): Define new macro.
18157 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18159 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18161 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18162 instead of TEST_f_l.
18163 (llrint_test_tonearest): Likewise.
18164 (llrint_test_towardzero): Likewise.
18165 (llrint_test_downward): Likewise.
18166 (llrint_test_upward): Likewise.
18167 (llround_test): Likewise.
18169 * math/libm-test.inc (struct test_f_i_data): Add comment.
18170 (RUN_TEST_LOOP_f_b): New macro.
18171 (RUN_TEST_LOOP_f_b_tg): Likewise.
18172 (finite_test_data): New variable.
18173 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18174 (isfinite_test_data): New variable.
18175 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18176 (isinf_test_data): New variable.
18177 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18178 (isnan_test_data): New variable.
18179 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18180 (isnormal_test_data): New variable.
18181 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18182 (issignaling_test_data): New variable.
18183 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18184 (signbit_test_data): New variable.
18185 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18187 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18188 with INVALID_EXCEPTION.
18189 (acosh_test_data): Likewise.
18190 (asin_test_data): Likewise.
18191 (atanh_test_data): Likewise.
18192 (fmod_test_data): Likewise.
18193 (log_test_data): Likewise.
18194 (log10_test_data): Likewise.
18195 (log2_test_data): Likewise.
18196 (pow_test_data): Likewise.
18197 (sqrt_test_data): Likewise.
18198 (y0_test_data): Likewise.
18199 (y1_test_data): Likewise.
18200 (yn_test_data): Likewise.
18202 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18205 * math/libm-test.inc (struct test_ff_i_data): New type.
18206 (RUN_TEST_LOOP_ff_i_tg): New macro.
18207 (isgreater_test_data): New variable.
18208 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18209 (isgreaterequal_test_data): New variable.
18210 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18211 (isless_test_data): New variable.
18212 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18213 (islessequal_test_data): New variable.
18214 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18215 (islessgreater_test_data): New variable.
18216 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18217 (isunordered_test_data): New variable.
18218 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18220 2013-05-14 David S. Miller <davem@davemloft.net>
18222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18224 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18226 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18228 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18230 (struct test_f_i_data): Change type of max_ulp to int.
18232 * math/libm-test.inc (test_ffI_f1_data): New type.
18233 (RUN_TEST_LOOP_ffI_f1): New macro.
18234 (remquo_test_data): New variable.
18235 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18237 * setjmp/tst-setjmp-fp.c: New file.
18238 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18239 (link-libm): New variable.
18240 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18242 * math/libm-test.inc (struct test_f_i_data): New type.
18243 (RUN_TEST_LOOP_f_i): New macro.
18244 (RUN_TEST_LOOP_f_i_tg): Likewise.
18245 (fpclassify_test_data): New variable.
18246 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18247 (ilogb_test_data): New variable.
18248 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18250 * math/libm-test.inc (scalbln_test): Correct function name in END
18253 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18254 (RUN_TEST_LOOP_fI_f1): New macro.
18255 (frexp_test_data): New variable.
18256 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18258 * math/libm-test.inc (struct test_fF_f1_data): New type.
18259 (RUN_TEST_LOOP_fF_f1): New macro.
18260 (modf_test_data): New variable.
18261 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18263 * math/libm-test.inc (struct test_f_f1_data): New type.
18264 (RUN_TEST_LOOP_f_f1): New macro.
18265 (gamma_test_data): New variable.
18266 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18267 (lgamma_test_data): New variable.
18268 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18270 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18272 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18273 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18274 (main): Comment "tls" pseudo-hwcap.
18276 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18278 * math/libm-test.inc (struct test_fl_f_data): New type.
18279 (RUN_TEST_LOOP_fl_f): New variable.
18280 (scalbln_test_data): New variable.
18281 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18283 * math/libm-test.inc (struct test_fi_f_data): New type.
18284 (RUN_TEST_LOOP_fi_f): New macro.
18285 (ldexp_test_data): New variable.
18286 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18287 (scalbn_test_data): New variable.
18288 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18290 * math/libm-test.inc (struct test_c_f_data): New type.
18291 (RUN_TEST_LOOP_c_f): New macro.
18292 (cabs_test_data): New variable.
18293 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18294 (carg_test_data): New variable.
18295 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18296 (cimag_test_data): New variable.
18297 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18298 (creal_test_data): New variable.
18299 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18301 * math/libm-test.inc (struct test_if_f_data): New type.
18302 (RUN_TEST_LOOP_if_f): New macro.
18303 (jn_test_data): New variable.
18304 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18305 (yn_test_data): New variable.
18306 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18308 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18310 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18312 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18313 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18315 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18317 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18318 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18319 (bench-deps): Add bench-timing.h.
18320 * benchtests-bench-skeleton.c: Include bench-timing.h.
18321 (main): Use TIMING_* macros instead of clock_gettime.
18322 * benchtests/bench-timing.h: New file.
18325 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18326 Renamed from _LIB_VERSION.
18327 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18329 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18331 * math/libm-test.inc (struct test_fff_f_data): New type.
18332 (RUN_TEST_LOOP_fff_f): New macro.
18333 (fma_test_data): New variable.
18334 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18335 (fma_towardzero_test_data): New variable.
18336 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18337 (fma_downward_test_data): New variable.
18338 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18339 (fma_upward_test_data): New variable.
18340 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18342 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18343 (struct test_c_c_data): New type.
18344 (RUN_TEST_LOOP_c_c): New macro.
18345 (cacos_test_data): New variable.
18346 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18347 (cacosh_test_data): New variable.
18348 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18349 (casin_test_data): New variable.
18350 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18351 (casinh_test_data): New variable.
18352 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18353 (catan_test_data): New variable.
18354 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18355 (catanh_test_data): New variable.
18356 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18357 (ccos_test_data): New variable.
18358 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18359 (ccosh_test_data): New variable.
18360 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18361 (cexp_test_data): New variable.
18362 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18363 (clog_test_data): New variable.
18364 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18365 (clog10_test_data): New variable.
18366 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18367 (conj_test_data): New variable.
18368 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18369 (cproj_test_data): New variable.
18370 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18371 (csin_test_data): New variable.
18372 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18373 (csinh_test_data): New variable.
18374 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18375 (csqrt_test_data): New variable.
18376 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18377 (ctan_test_data): New variable.
18378 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18379 (ctan_tonearest_test_data): New variable.
18380 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18381 (ctan_towardzero_test_data): New variable.
18382 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18383 (ctan_downward_test_data): New variable.
18384 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18385 (ctan_upward_test_data): New variable.
18386 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18387 (ctanh_test_data): New variable.
18388 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18389 (ctanh_tonearest_test_data): New variable.
18390 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18391 (ctanh_towardzero_test_data): New variable.
18392 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18393 (ctanh_downward_test_data): New variable.
18394 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18395 (ctanh_upward_test_data): New variable.
18396 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18397 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18400 * math/libm-test.inc (struct test_ff_f_data): New type.
18401 (struct test_ff_f_data_nexttoward): Likewise.
18402 (RUN_TEST_LOOP_2_f): New macro.
18403 (RUN_TEST_LOOP_ff_f): Likewise.
18404 (atan2_test_data): New variable.
18405 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18406 (copysign_test_data): New variable.
18407 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18408 (fdim_test_data): New variable.
18409 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18410 (fmax_test_data): New variable.
18411 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18412 (fmin_test_data): New variable.
18413 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18414 (fmod_test_data): New variable.
18415 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18416 (hypot_test_data): New variable.
18417 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18418 (nextafter_test_data): New variable.
18419 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18420 (nexttoward_test_data): New variable.
18421 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18422 (pow_test_data): New variable.
18423 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18424 (pow_tonearest_test_data): New variable.
18425 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18426 (pow_towardzero_test_data): New variable.
18427 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18428 (pow_downward_test_data): New variable.
18429 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18430 (pow_upward_test_data): New variable.
18431 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18432 (remainder_test_data): New variable.
18433 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18434 (scalb_test_data): New variable.
18435 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18436 * sysdeps/i386/fpu/libm-test-ulps: Update.
18438 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18440 * math/libm-test.inc (fma_test): Use max_value instead of local
18442 (nextafter_test): Likewise.
18444 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18445 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18446 (acos_downward_test_data): New variable.
18447 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18448 (acos_upward_test_data): New variable.
18449 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18450 (acosh_test_data): New variable.
18451 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18452 (asin_test_data): New variable.
18453 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18454 (asin_tonearest_test_data): New variable.
18455 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18456 (asin_towardzero_test_data): New variable.
18457 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18458 (asin_downward_test_data): New variable.
18459 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18460 (asin_upward_test_data): New variable.
18461 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18462 (asinh_test_data): New variable.
18463 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18464 (atan_test_data): New variable.
18465 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18466 (atanh_test_data): New variable.
18467 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18468 (cbrt_test_data): New variable.
18469 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18470 (ceil_test_data): New variable.
18471 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18472 (cos_test_data): New variable.
18473 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18474 (cos_tonearest_test_data): New variable.
18475 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18476 (cos_towardzero_test_data): New variable.
18477 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18478 (cos_downward_test_data): New variable.
18479 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18480 (cos_upward_test_data): New variable.
18481 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18482 (cosh_test_data): New variable.
18483 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18484 (cosh_tonearest_test_data): New variable.
18485 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18486 (cosh_towardzero_test_data): New variable.
18487 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18488 (cosh_downward_test_data): New variable.
18489 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18490 (cosh_upward_test_data): New variable.
18491 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18492 (erf_test_data): New variable.
18493 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18494 (erfc_test_data): New variable.
18495 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18496 (exp_test_data): New variable.
18497 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18498 (exp_tonearest_test_data): New variable.
18499 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18500 (exp_towardzero_test_data): New variable.
18501 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18502 (exp_downward_test_data): New variable.
18503 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18504 (exp_upward_test_data): New variable.
18505 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18506 (exp10_test_data): New variable.
18507 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18508 (exp2_test_data): New variable.
18509 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18510 (expm1_test_data): New variable.
18511 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18512 (fabs_test_data): New variable.
18513 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18514 (floor_test_data): New variable.
18515 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18516 (j0_test_data): New variable.
18517 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18518 (j1_test_data): New variable.
18519 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18520 (log_test_data): New variable.
18521 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18522 (log10_test_data): New variable.
18523 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18524 (log1p_test_data): New variable.
18525 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18526 (log2_test_data): New variable.
18527 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18528 (logb_test_data): New variable.
18529 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18530 (logb_downward_test_data): New variable.
18531 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18532 (nearbyint_test_data): New variable.
18533 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18534 (rint_test_data): New variable.
18535 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18536 (rint_tonearest_test_data): New variable.
18537 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18538 (rint_towardzero_test_data): New variable.
18539 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18540 (rint_downward_test_data): New variable.
18541 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18542 (rint_upward_test_data): New variable.
18543 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18544 (round_test_data): New variable.
18545 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18546 (sin_test_data): New variable.
18547 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18548 (sin_tonearest_test_data): New variable.
18549 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18550 (sin_towardzero_test_data): New variable.
18551 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18552 (sin_downward_test_data): New variable.
18553 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18554 (sin_upward_test_data): New variable.
18555 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18556 (sinh_test_data): New variable.
18557 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18558 (sinh_tonearest_test_data): New variable.
18559 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18560 (sinh_towardzero_test_data): New variable.
18561 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18562 (sinh_downward_test_data): New variable.
18563 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18564 (sinh_upward_test_data): New variable.
18565 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18566 (sqrt_test_data): New variable.
18567 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18568 (tan_test_data): New variable.
18569 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18570 (tan_tonearest_test_data): New variable.
18571 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18572 (tan_towardzero_test_data): New variable.
18573 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18574 (tan_downward_test_data): New variable.
18575 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18576 (tan_upward_test_data): New variable.
18577 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18578 (tanh_test_data): New variable.
18579 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18580 (tgamma_test_data): New variable.
18581 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18582 (trunc_test_data): New variable.
18583 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18584 (y0_test_data): New variable.
18585 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18586 (y1_test_data): New variable.
18587 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18588 (significand_test_data): New variable.
18589 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18591 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18594 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18596 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18598 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18600 2013-05-10 Andreas Jaeger <aj@suse.de>
18603 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18604 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18606 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18608 * math/gen-libm-test.pl (adjust_arg): New function.
18609 (special_functions): Handle generating output in both functions
18611 (parse_args): Likewise.
18612 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18613 $in_func argument to parse_args.
18614 * math/libm-test.inc (struct test_f_f_data): New type.
18615 (IF_ROUND_INIT_): New macro.
18616 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18617 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18618 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18619 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18620 (ROUND_RESTORE_): Likewise.
18621 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18622 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18623 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18624 (ROUND_RESTORE_FE_UPWARD): Likewise.
18625 (RUN_TEST_LOOP_f_f): New macro.
18626 (acos_test_data): New variable.
18627 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18628 (acos_tonearest_test_data): New variable.
18629 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18631 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18633 * benchtests/bench-skeleton.c (startup): Fix coding style.
18635 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18638 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18639 negative infinity argument.
18640 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18641 negative infinity argument.
18642 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18643 negative infinity argument.
18644 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18647 2013-05-10 Florian Weimer <fweimer@redhat.com>
18649 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18650 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18651 * iconv/iconv_prog.c (main): Likewise.
18652 * locale/programs/charmap-dir.c (charmap_readdir)
18653 (fopen_uncompressed): Likewise.
18654 * locale/programs/locfile.c (siblings_uncached)
18655 (write_locale_data): Use lstat64 instead of lstat.
18656 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18659 2013-05-10 Andreas Jaeger <aj@suse.de>
18662 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18664 Include <locale.h>.
18666 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18668 * elf/dl-close.c (_dl_close_worker): Add comments.
18670 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18673 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18675 (__ieee754_rem_pio2l): Update comments.
18678 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18680 (__ieee754_rem_pio2l): Update comments.
18682 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18683 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18685 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18688 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18689 (M_PI_34_LOG10El): Likewise.
18690 (M_PI2_LOG10El): Likewise.
18691 (M_PI4_LOG10El): Likewise.
18692 (M_PI_LOG10El): Likewise.
18694 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18698 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18700 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18701 (MINUS_ZERO_INIT): Likewise.
18702 (PLUS_INFTY_INIT): Likewise.
18703 (MINUS_INFTY_INIT): Likewise.
18704 (QNAN_VALUE_INIT): Likewise.
18705 (MAX_VALUE_INIT): Likewise.
18706 (MIN_VALUE_INIT): Likewise.
18707 (MIN_SUBNORM_VALUE_INIT): Likewise.
18708 (plus_zero): Initialize with PLUS_ZERO_INIT.
18709 (minus_zero): Initialize with MINUS_ZERO_INIT.
18710 (plus_infty): Initialize with PLUS_INFTY_INIT.
18711 (minus_infty): Initialize with MINUS_INFTY_INIT.
18712 (qnan_value): Initialize with QNAN_VALUE_INIT.
18713 (max_value): Initialize with MAX_VALUE_INIT.
18714 (min_value): Initialize with MIN_VALUE_INIT.
18715 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18717 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18718 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18719 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18720 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18722 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18723 (RUN_TEST_2_f): Likewise.
18724 (RUN_TEST_ff_f): Likewise.
18725 (RUN_TEST_fi_f): Likewise.
18726 (RUN_TEST_fl_f): Likewise.
18727 (RUN_TEST_fff_f): Likewise.
18728 (RUN_TEST_c_f): Likewise.
18729 (RUN_TEST_f_f1): Likewise.
18730 (RUN_TEST_fF_f1): Likewise.
18731 (RUN_TEST_fI_f1): Likewise.
18732 (RUN_TEST_ffI_f1): Likewise.
18733 (RUN_TEST_c_c): Likewise.
18734 (RUN_TEST_cc_c): Likewise.
18735 (RUN_TEST_f_i): Likewise.
18736 (RUN_TEST_f_i_tg): Likewise.
18737 (RUN_TEST_ff_i_tg): Likewise.
18738 (RUN_TEST_f_b): Likewise.
18739 (RUN_TEST_f_b_tg): Likewise.
18740 (RUN_TEST_f_l): Likewise.
18741 (RUN_TEST_f_L): Likewise.
18742 (RUN_TEST_sincos): Likewise.
18743 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18744 whether to show exceptions. Do not include ");\n" in return
18746 (special_functions): Output call to RUN_TEST_sincos instead of
18747 check_float calls. Update calls to new_test.
18748 (parse_args): Output call to single RUN_TEST_* macro instead of
18749 check_* calls and other assignments. Update calls to new_test.
18755 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18756 input to result for tgamma overflow.
18757 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18758 (gamma_coeff): New variable.
18759 (NCOEFF): New macro.
18760 (gamma_positive): New function.
18761 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18762 underflow here. Use gamma_positive instead of exp (lgamma) for
18764 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18765 (gamma_coeff): New variable.
18766 (NCOEFF): New macro.
18767 (gammaf_positive): New function.
18768 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18769 underflow here. Use gamma_positive instead of exp (lgamma) for
18771 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18772 (gamma_coeff): New variable.
18773 (NCOEFF): New macro.
18774 (gammal_positive): New function.
18775 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18776 underflow here. Use gamma_positive instead of exp (lgamma) for
18778 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18779 (gamma_coeff): New variable.
18780 (NCOEFF): New macro.
18781 (gammal_positive): New function.
18782 (__ieee754_gammal_r): Handle positive infinity, overflow and
18783 underflow here. Handle NaN the same as positive infinity. Remove
18784 check x < 0xffffffff for negative integers. Use gamma_positive
18785 instead of exp (lgamma) for other arguments.
18786 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18787 (gamma_coeff): New variable.
18788 (NCOEFF): New macro.
18789 (gammal_positive): New function.
18790 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18791 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18795 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18796 * sysdeps/generic/math_private.h (__gamma_productf): New
18798 (__gamma_product): Likewise.
18799 (__gamma_productl): Likewise.
18800 * math/Makefile (libm-calls): Add gamma_product.
18801 * math/libm-test.inc (tgamma_test): Add more tests.
18802 * sysdeps/i386/fpu/libm-test-ulps: Update.
18803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18805 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18807 * benchtests/bench-skeleton.c (main): Preheat CPU.
18809 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18811 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18813 2013-05-07 Roland McGrath <roland@hack.frob.com>
18815 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18816 and _dl_skip_args_internal.
18818 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18820 * manual/message.texi (Message Translation): Talk about users.
18821 Message to key mapping impacts design.
18823 2013-05-06 Roland McGrath <roland@hack.frob.com>
18825 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18827 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18829 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18830 * sysdeps/wordsize-64/glob64.c: ... here.
18832 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18833 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18836 * debug/getlogin_r_chk.c: Moved to ...
18837 * login/getlogin_r_chk.c: ... here.
18838 * debug/Makefile (routines): Move getlogin_r_chk to ...
18839 * login/Makefile (routines): ... here.
18840 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18841 * login/Versions (libc: GLIBC_2.4): ... here.
18843 * io/poll.c (__poll): Renamed from poll.
18844 Add libc_hidden_def.
18845 (poll): Define as weak alias.
18847 * debug/ptsname_r_chk.c: Moved to ...
18848 * login/ptsname_r_chk.c: ... here.
18849 * debug/Makefile (routines): Move ptsname_r_chk to ...
18850 * login/Makefile (routines): ... here.
18851 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18852 * login/Versions (libc: GLIBC_2.4): ... here.
18854 * posix/getlogin.c: Moved to ...
18855 * login/getlogin.c: ... here.
18856 * posix/getlogin_r.c: Moved to ...
18857 * login/getlogin_r.c: ... here.
18858 * posix/getlogin_r.c: Moved to ...
18859 * login/getlogin_r.c: ... here.
18860 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18861 * login/Makefile (routines): ... here.
18862 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18863 * login/Versions (libc: GLIBC_2.0): ... here.
18865 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18866 (setrlimit): Define as weak alias.
18868 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18869 Call __ names for open, ftruncate, and close.
18870 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18871 (truncate): Define as weak alias.
18873 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18875 * math/gen-libm-test.pl (parse_args): Initialize x before each
18876 test of frexp, modf and remquo.
18878 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18879 test signgam value.
18881 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18885 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18887 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18889 2013-05-06 Roland McGrath <roland@hack.frob.com>
18891 * elf/dl-writev.h: New file.
18892 * elf/dl-misc.c: Include it.
18893 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18894 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18896 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18898 * math/libm-test.inc (noXFails): Remove variable.
18899 (noXPasses): Likewise.
18900 (BUILD_COMPLEX_INT): Remove macro.
18901 (print_screen): Remove xfail argument.
18902 (print_screen_max_error): Likewise.
18903 (update_stats): Likewise.
18904 (print_max_error): Likewise. Update calls to other affected
18906 (print_complex_max_error): Likewise.
18907 (test_single_exception): Update calls to print_screen.
18908 (test_single_errno): Likewise.
18909 (check_float_internal): Remove xfail argument. Update calls to
18910 other affected functions.
18911 (check_float): Likewise.
18912 (check_complex): Likewise.
18913 (check_int): Likewise.
18914 (check_long): Likewise.
18915 (check_bool): Likewise.
18916 (check_longlong): Likewise.
18917 (main): Don't print noXFails and noXPasses.
18918 * math/gen-libm-test.pl (top level): Don't mention expected
18919 failure handling in comment.
18920 (new_test): Don't handle expected failures.
18921 (parse_args): Don't mention expected failure handling in comment.
18922 (generate_testfile): Don't handle expected failures.
18923 (parse_ulps): Likewise.
18924 (print_ulps_file): Likewise.
18925 (get_failure): Remove function.
18926 (output_test): Don't handle expected failures.
18927 * make/README.libm-test: Don't mention expected failure handling.
18929 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18930 (minus_zero): Likewise.
18931 (plus_infty): Likewise.
18932 (minus_infty): Likewise.
18933 (qnan_value): Likewise.
18934 (max_value): Likewise.
18935 (min_value): Likewise.
18936 (min_subnorm_value): Likewise.
18937 (initialize): Do not initialize those variables dynamically.
18939 2013-05-03 Roland McGrath <roland@hack.frob.com>
18941 * io/open.c (__open_2): Moved to ...
18942 * io/open_2.c: ... this new file.
18943 * io/open64.c (__open64_2): Moved to ...
18944 * io/open64_2.c: ... this new file.
18945 * io/openat.c (__openat_2): Moved to ...
18946 * io/openat_2.c: ... this new file.
18947 * io/openat64.c (__openat64_2): Moved to ...
18948 * io/openat64_2.c: ... this new file.
18949 * io/Makefile (routines): Add them.
18950 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18951 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18952 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18953 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18954 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18955 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18956 (__openat64): Add hidden_ver.
18957 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18958 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18960 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18961 Separately conditionalize setting of GLRO(dl_sysinfo) so
18962 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18963 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18965 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18967 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18968 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18970 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18971 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18972 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18973 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18974 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18976 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18978 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18979 test signgam value.
18981 * math/libm-test.inc (hypot_test): Do not use
18982 IGNORE_ZERO_INF_SIGN.
18984 2013-05-03 Andreas Jaeger <aj@suse.de>
18986 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18988 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18989 (PF_MAX): Adjust for VSOCK change.
18991 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18995 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18998 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18999 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19000 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19002 2013-05-02 David S. Miller <davem@davemloft.net>
19004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19006 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19008 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19010 2013-05-01 Roland McGrath <roland@hack.frob.com>
19012 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19014 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19017 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19018 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19019 Use __attribute__ ((__gnu_inline__)).
19020 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19021 Don't use __attribute__ ((__gnu_inline__)).
19023 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19026 * math/s_catan.c (__catan): Handle small real or imaginary part of
19027 input specially to avoid spurious underflow.
19028 * math/s_catanf.c (__catanf): Likewise.
19029 * math/s_catanh.c (__catanh): Likewise.
19030 * math/s_catanhf.c (__catanhf): Likewise.
19031 * math/s_catanhl.c (__catanhl): Likewise.
19032 * math/s_catanl.c (__catanl): Likewise.
19033 * math/libm-test.inc (catan_test): Add more tests.
19034 (catanh_test): Likewise.
19035 * sysdeps/i386/fpu/libm-test-ulps: Update.
19036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19038 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19042 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19045 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19046 accurately for denominator in atan2.
19047 * math/s_catanf.c (__catanf): Likewise.
19048 * math/s_catanh.c (__catanh): Likewise.
19049 * math/s_catanhf.c (__catanhf): Likewise.
19050 * math/s_catanhl.c (__catanhl): Likewise.
19051 * math/s_catanl.c (__catanl): Likewise.
19052 * math/libm-test.inc (catan_test): Add more tests.
19053 (catanh_test): Likewise.
19054 * sysdeps/i386/fpu/libm-test-ulps: Update.
19055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19057 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19059 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19061 * benchtests/Makefile (bench): Remove slow benchmarks.
19062 * benchtests/atan-inputs: Add slow benchmark inputs.
19063 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19064 (BENCH_FUNC): Accept variant offset.
19066 * benchtests/bench-skeleton.c (main): Run benchmark for each
19068 * benchtests/cos-inputs: Add slow benchmark inputs.
19069 * benchtests/exp-inputs: Likewise.
19070 * benchtests/pow-inputs: Likewise.
19071 * benchtests/sin-inputs: Likewise.
19072 * benchtests/slowatan-inputs: Remove.
19073 * benchtests/slowatan.c: Remove.
19074 * benchtests/slowcos-inputs: Remove.
19075 * benchtests/slowcos.c: Remove.
19076 * benchtests/slowexp-inputs: Remove.
19077 * benchtests/slowexp.c: Remove.
19078 * benchtests/slowpow-inputs: Remove.
19079 * benchtests/slowpow.c: Remove.
19080 * benchtests/slowsin-inputs: Remove.
19081 * benchtests/slowsin.c: Remove.
19082 * benchtests/slowtan-inputs: Remove.
19083 * benchtests/slowtan.c: Remove.
19084 * benchtests/tan-inputs: Add slow benchmark inputs.
19085 * scripts/bench.pl: Parse comments and directives.
19087 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19089 ($(objpfx)bench-%.c): Remove *-ITER.
19090 * benchtests/bench-modf.c: Remove definition of ITER.
19091 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19092 (main): Loop for DURATION seconds instead of fixed number of
19094 * scripts/bench.pl: Don't expect iterations in parameters.
19096 2013-04-29 Roland McGrath <roland@hack.frob.com>
19098 * io/fchdir.c (__fchdir): Renamed from fchdir.
19099 (fchdir): Define as weak alias.
19101 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19103 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19104 (ERRNO_EDOM): Likewise.
19105 (ERRNO_ERANGE): Likewise.
19106 (noErrnoTests): New variable.
19107 (init_max_error): Set errno to 0.
19108 (test_single_errno): New function.
19109 (test_errno): Likewise.
19110 (check_float_internal): Call test_errno. Set errno to 0.
19111 (check_complex): Refer to errno tests in comment.
19112 (check_int): Call test_errno. Set errno to 0.
19113 (check_long): Likewise.
19114 (check_bool): Likewise.
19115 (check_longlong): Likewise.
19116 (cos_test): Use ERRNO_* flags for errno tests instead of
19118 (expm1_test): Likewise.
19119 (fmod_test): Likewise.
19120 (ilogb_test): Likewise.
19121 (lgamma_test): Likewise.
19122 (pow_test): Likewise.
19123 (remainder_test): Likewise.
19124 (sin_test): Likewise.
19125 (tan_test): Likewise.
19126 (yn_test): Likewise.
19127 (initialize): Set errno to 0.
19128 (main): Print number of errno tests.
19129 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19131 2013-04-29 Andreas Jaeger <aj@suse.de>
19134 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19138 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19139 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19143 * stdlib/random.c (__initstate): Return NULL if
19147 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19148 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19151 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19155 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19157 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19158 of individual tests.
19159 (casin_test): Likewise.
19160 (casinh_test): Likewise.
19162 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19165 * math/s_catan.c (__catan): Handle arguments with large real or
19166 imaginary part separately without squaring.
19167 * math/s_catanf.c (__catanf): Likewise.
19168 * math/s_catanh.c (__catanh): Likewise.
19169 * math/s_catanhf.c (__catanhf): Likewise.
19170 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19172 (__catanhl): Handle arguments with large real or imaginary part
19173 separately without squaring.
19174 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19176 (__catanl): Handle arguments with large real or imaginary part
19177 separately without squaring.
19178 * math/libm-test.inc (catan_test): Add more tests.
19179 (catanh_test): Likewise.
19180 * sysdeps/i386/fpu/libm-test-ulps: Update.
19181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19183 2013-04-27 Andreas Jaeger <aj@suse.de>
19186 * stdlib/stdlib.h: Update guards for qecvt.
19187 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19190 2013-04-27 Allan McRae <allan@archlinux.org>
19192 * sysdeps/i386/fpu/libm-test-ulps: Update.
19194 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19197 * math/s_catan.c: Include <float.h>.
19198 (__catan): Ensure underflow exception occurs for underflowed
19200 * math/s_catanf.c: Include <float.h>.
19201 (__catanf): Ensure underflow exception occurs for underflowed
19203 * math/s_catanh.c: Include <float.h>.
19204 (__catanh): Ensure underflow exception occurs for underflowed
19206 * math/s_catanhf.c: Include <float.h>.
19207 (__catanhf): Ensure underflow exception occurs for underflowed
19209 * math/s_catanhl.c: Include <float.h>.
19210 (__catanhl): Ensure underflow exception occurs for underflowed
19212 * math/s_catanl.c: Include <float.h>.
19213 (__catanl): Ensure underflow exception occurs for underflowed
19215 * math/libm-test.inc (catan_test): Add more tests.
19216 (catanh_test): Likewise.
19219 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19220 underflowed result.
19221 * math/s_ccoshf.c (__ccoshf): Likewise.
19222 * math/s_ccoshl.c (__ccoshl): Likewise.
19223 * math/s_csin.c (__csin): Likewise.
19224 * math/s_csinf.c (__csinf): Likewise.
19225 * math/s_csinh.c (__csinh): Likewise.
19226 * math/s_csinhf.c (__csinhf): Likewise.
19227 * math/s_csinhl.c (__csinhl): Likewise.
19228 * math/s_csinl.c (__csinl): Likewise.
19229 * math/libm-test.inc (ccos_test): Add more tests.
19230 (ccosh_test): Likewise.
19231 (csin_test): Likewise.
19232 (csinh_test): Likewise.
19234 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19236 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19237 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19238 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19239 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19240 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19241 powerpc/power5+/fpu folders.
19242 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19245 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19249 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19251 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19252 additions to variable.
19253 [$(config-machine) = x86_64] (modules-names): Likewise.
19254 ($(objpfx)tst-audit3): Remove dependency.
19255 ($(objpfx)tst-audit3.out): Likewise.
19256 ($(objpfx)tst-audit4): Likewise.
19257 ($(objpfx)tst-audit4.out): Likewise.
19258 ($(objpfx)tst-audit5): Likewise.
19259 ($(objpfx)tst-audit5.out): Likewise.
19260 ($(objpfx)tst-audit6): Likewise.
19261 ($(objpfx)tst-audit6.out): Likewise.
19262 ($(objpfx)tst-audit7): Likewise.
19263 ($(objpfx)tst-audit7.out): Likewise.
19264 (tst-audit3-ENV): Remove variable.
19265 (tst-audit4-ENV): Likewise.
19266 (tst-audit5-ENV): Likewise.
19267 (tst-audit6-ENV): Likewise.
19268 (tst-audit7-ENV): Likewise.
19269 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19270 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19271 addition to variable.
19272 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19273 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19274 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19275 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19276 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19277 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19278 tst-audit3, tst-audit4 and tst-audit5.
19279 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19280 tst-audit6 and tst-audit7.
19281 [$(subdir) = elf] (modules-names): Add audit modules for those
19283 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19284 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19285 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19286 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19287 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19288 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19289 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19290 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19291 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19292 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19293 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19294 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19295 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19296 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19297 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19298 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19300 [$(subdir) = elf && $(config-cflags-avx) = yes]
19301 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19302 [$(subdir) = elf && $(config-cflags-avx) = yes]
19303 (CFLAGS-tst-auditmod4a.c): Likewise.
19304 [$(subdir) = elf && $(config-cflags-avx) = yes]
19305 (CFLAGS-tst-auditmod4b.c): Likewise.
19306 [$(subdir) = elf && $(config-cflags-avx) = yes]
19307 (CFLAGS-tst-auditmod6b.c): Likewise.
19308 [$(subdir) = elf && $(config-cflags-avx) = yes]
19309 (CFLAGS-tst-auditmod6c.c): Likewise.
19310 [$(subdir) = elf && $(config-cflags-avx) = yes]
19311 (CFLAGS-tst-auditmod7b.c): Likewise.
19312 * elf/tst-audit3.c: Move to ...
19313 * sysdeps/x86_64/tst-audit3.c: ... here.
19314 * elf/tst-audit4.c: Move to ...
19315 * sysdeps/x86_64/tst-audit4.c: ... here.
19316 * elf/tst-audit5.c: Move to ...
19317 * sysdeps/x86_64/tst-audit5.c: ... here.
19318 * elf/tst-audit6.c: Move to ...
19319 * sysdeps/x86_64/tst-audit6.c: ... here.
19320 * elf/tst-audit7.c: Move to ...
19321 * sysdeps/x86_64/tst-audit7.c: ... here.
19322 * elf/tst-auditmod3a.c: Move to ...
19323 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19324 * elf/tst-auditmod3b.c: Move to ...
19325 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19326 * elf/tst-auditmod4a.c: Move to ...
19327 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19328 * elf/tst-auditmod4b.c: Move to ...
19329 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19330 * elf/tst-auditmod5a.c: Move to ...
19331 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19332 * elf/tst-auditmod5b.c: Move to ...
19333 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19334 * elf/tst-auditmod6a.c: Move to ...
19335 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19336 * elf/tst-auditmod6b.c: Move to ...
19337 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19338 * elf/tst-auditmod6c.c: Move to ...
19339 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19340 * elf/tst-auditmod7a.c: Move to ...
19341 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19342 * elf/tst-auditmod7b.c: Move to ...
19343 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19345 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19348 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19349 define unconditionally.
19350 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19351 define unconditionally.
19352 (INT8_C, INT16_C, etc.): Likewise.
19354 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19356 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19357 __ehdr_start with hidden visibility.
19359 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19361 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19363 * math/libm-test.inc (cos_test): Use accurate hex constants.
19364 (sincost_test): Likewise.
19366 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19368 * math/libm-test.inc (catan_test): Add more tests.
19369 (catanh_test): Likewise.
19371 * math/s_catanf.c (__catanf): Use suffixed floating-point
19373 * math/s_catanhf.c (__catanhf): Likewise.
19374 * math/s_catanhl.c (__catanhl): Likewise.
19375 * math/s_catanl.c (__catanl): Likewise.
19378 * math/s_catan.c (__catan): Calculate imaginary part of result
19379 with log1p not log unless computing log of number close to 0.
19380 * math/s_catanf.c (__catanf): Likewise.
19381 * math/s_catanl.c (__catanl): Likewise.
19382 * math/s_catanh.c (__catanh): Calculate real part of result with
19383 log1p not log unless computing log of number close to 0.
19384 * math/s_catanhf.c (__catanhf): Likewise.
19385 * math/s_catanhl.c (__catanhl): Likewise.
19386 * math/libm-test.inc (catan_test): Add more tests.
19387 (catanh_test): Likewise.
19388 * sysdeps/i386/fpu/libm-test-ulps: Update.
19389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19391 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19393 * benchtests/Makefile: Mention files in which fast and slow
19394 paths of math functions are implemented.
19396 2013-04-23 Roland McGrath <roland@hack.frob.com>
19398 * sysdeps/posix/timespec_get.c: New file.
19400 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19402 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19404 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19406 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19407 powerpc/power5/fpu folders.
19408 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19409 * benchtests/Makefile: Add modf testcase.
19410 * benchtests/bench-modf.c: New file: Benchmark test for mo
19412 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19415 * time/Makefile (tests): Add tst-strptime-whitespace.
19416 * time/strptime_l.c (get_number): Use ISSPACE.
19417 (__strptime_internal): Likewise.
19418 * time/tst-strptime-whitespace.c: New test case.
19420 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19422 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19424 (_nss_files_init): Set it here.
19426 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19428 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19429 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19432 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19434 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19436 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19438 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19441 2013-04-21 David S. Miller <davem@davemloft.net>
19443 * po/ru.po: Update Russion translation from translation project.
19445 2013-04-17 Adam Conrad <adconrad@0c3.net>
19447 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19450 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19452 * configure.in: Remove i386 configure warning. Remove i386 case.
19453 * configure: Regenerate.
19454 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19455 Add example to error message.
19456 * sysdeps/i386/configure: Regenerate.
19458 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19460 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19462 * benchtests/cos-inputs: New file.
19463 * benchtests/slowcos-inputs: New file.
19464 * benchtests/slowcos.c: New file.
19465 * benchtests/slowtan-inputs: New file.
19466 * benchtests/slowtan.c: New file.
19467 * benchtests/tan-inputs: New file.
19469 2013-04-16 Roland McGrath <roland@hack.frob.com>
19471 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19474 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19476 * benchtests/Makefile: Include cppflags-iterator.mk to add
19477 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19479 * Makefile.in (bench-clean): New target.
19480 * benchtests/Makefile (bench-clean): Likewise.
19482 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19484 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19486 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19488 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19490 2013-04-15 Andreas Schwab <schwab@suse.de>
19492 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19493 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19494 * nscd/pwdcache.c (cache_addpw): Likewise.
19495 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19498 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19500 * benchtests/Makefile (bench): Write all output to
19501 bench-out.tmp together.
19503 2013-04-15 Andreas Schwab <schwab@suse.de>
19505 * nscd/nscd.c (main): Don't fork again after closing files.
19507 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19509 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19511 * benchtests/Rules (bench-deps): Collect dependencies into a
19512 single variable. Add Makefile to dependencies.
19513 ($(objpfx)bench-%.c): Depend on bench-deps.
19515 2013-04-12 Roland McGrath <roland@hack.frob.com>
19516 Xavier Roche <roche+kml2@exalead.com>
19519 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19520 just that it's a file descriptor.
19521 * manual/llio.texi (Synchronizing AIO Operations): Update description
19522 for EBADF error from aio_fsync.
19524 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19526 * Rules (bench): Move target definition...
19527 * benchtests/Makefile: ... here.
19529 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19531 * math/libm-test.inc (cos_test): Fix PI/2 test.
19532 (sincos_test): Likewise.
19533 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19534 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19536 2013-04-11 Andreas Schwab <schwab@suse.de>
19539 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19540 accept exponent character only when digits were seen.
19541 * stdio-common/Makefile (tests): Add bug26.
19542 * stdio-common/bug26.c: New file.
19545 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19548 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19550 * Makeconfig (rtld-prefix): Define built linker prefix.
19551 * Rules (run-bench): Use it.
19552 * math/Makefile (run-regen-ulps): Likewise.
19554 * Rules (bench): Remove eval.
19556 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19557 Roland McGrath <roland@hack.frob.com>
19558 Ondrej Bilka <neleai@seznam.cz>
19561 * time/getdate.c: Include ctype.h and alloca.h.
19562 (__getdate_r): Trim leading and trailing spaces of input.
19563 * time/tst-getdate.c (tests): Add tests with leading and
19566 2013-04-08 Roland McGrath <roland@hack.frob.com>
19569 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19570 when computing value.
19572 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19574 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19575 Use testrun.sh to run libm tests.
19578 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19580 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19583 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19585 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19587 * Makefile.in (regen-ulps): New target.
19588 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19589 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19590 [ifneq (no,$(PERL)] (regen-ulps): New target.
19591 [ifeq (no,$(PERL)] (regen-ulps): New target.
19592 * math/libm-test.inc (ulps_file_name): Define.
19593 (output_dir): New variable.
19594 (options): Add "output-dir" option.
19595 (parse_opt): Handle 'o' case.
19596 (main): If output_dir is non-NULL use it as a prefix
19598 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19600 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19602 [BZ #10060, #10062]
19603 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19604 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19605 fail configure if __sync_val_compare_and_swap is not inlined.
19606 * sysdeps/i386/configure: Regenerate.
19607 * configure.in: Build for i686 when configured for i386.
19608 * configure: Regenerate.
19609 * README: Remove i386 reference.
19611 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19613 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19614 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19616 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19618 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19619 (lmsnanval): New variables.
19620 (F): Add conversion tests.
19621 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19622 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19624 * stdio-common/tstdiomisc.c (F): Properly collect individual
19627 [BZ #14686, #15336]
19628 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19629 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19630 Instead, use input NaN values or generate a qNaN by arithmetic
19631 operation. Also fix bugs to comply with the standard.
19632 * math/libm-test.inc (remainder_test): Add more tests.
19634 [BZ #15335, #15342]
19635 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19636 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19637 input NaN values or generate a qNaN by arithmetic operation.
19639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19642 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19645 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19648 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19649 underflowed result.
19650 * math/s_cexpf.c (__cexpf): Likewise.
19651 * math/s_cexpl.c (__cexpl): Likewise.
19652 * math/libm-test.inc (cexp_test): Add more tests.
19654 2013-04-03 Andreas Schwab <schwab@suse.de>
19657 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19658 order arrays from heap if bigger than alloca cutoff.
19660 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19662 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19663 (SNAN_TESTS_double): Refer to GCC PR56831.
19664 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19667 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19669 * Rules (bench): Move bench.out after the run is complete.
19671 * Rules (bench): Echo currently running benchmark.
19673 * benchtests/Makefile (bench): Add atan and slowatan.
19674 * benchtests/atan-inputs: New file.
19675 * benchtests/slowatan-inputs: New file.
19676 * benchtests/slowatan.c: New file.
19678 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19679 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19683 * sysdeps/unix/sysv/linux/kernel-features.h
19684 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19685 __ASSUME_XFS_RESTRICTED_CHOWN.
19686 * sysdeps/unix/sysv/linux/pathconf.c
19687 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19688 Save and restore errno.
19690 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19693 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19694 arguments using __kernel_casinh.
19695 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19696 arguments using __kernel_casinhf.
19697 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19698 arguments using __kernel_casinhl.
19699 * math/libm-test.inc (cacosh_test): Add more tests.
19700 * sysdeps/i386/fpu/libm-test-ulps: Update.
19701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19703 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19705 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19708 * bench/Makefile (bench): Add sin and slowsin.
19709 * benchtests/sin-inputs: New file.
19710 * benchtests/slowsin-inputs: New file.
19711 * benchtests/slowsin.c: New file.
19713 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19714 (bench): Add slowexp and slowpow.
19715 (exp-ITER): Increase iterations.
19716 (pow-ITER): Likewise.
19717 * benchtests/exp-inputs: Change input.
19718 * benchtests/pow-inputs: Likewise.
19719 * benchtests/slowexp-inputs: New file.
19720 * benchtests/slowexp.c: New file.
19721 * benchtests/slowpow-inputs: New file.
19722 * benchtests/slowpow.c: New file.
19724 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19726 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19728 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19729 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19730 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19731 * benchtests/Makefile: Add rint benchtest.
19732 * benchtests/rint-inputs: Input for rint benchtest.
19734 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19736 * Versions.def (libm): Add GLIBC_2.18.
19737 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19738 hidden libm prototypes.
19739 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19740 * math/Makefile (libm-calls): Add s_issignaling.
19741 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19742 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19743 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19745 * math/math.h [__USE_GNU] (issignaling): New macro.
19746 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19747 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19748 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19749 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19750 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19751 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19752 * manual/arith.texi (issignaling): New section.
19753 * manual/libm-err-tab.pl (@all_functions): Update comment.
19754 * math/gen-libm-test.pl (parse_args): Apply special handling for
19756 * math/libm-test.inc (print_float, issignaling_test): New
19758 (check_float_internal): Add issignaling checks.
19759 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19760 default definition.
19761 * sysdeps/powerpc/math-tests.h: New file.
19762 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19764 * math/test-snan.c (TEST_FUNC): Likewise.
19766 2013-03-30 David S. Miller <davem@davemloft.net>
19768 * po/de.po: Update from translation team.
19770 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19773 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19774 imaginary part less than 1.0 and real part less than 0.5
19776 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19777 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19778 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19779 (cacos_test): Add more tests.
19780 (casin_test): Likewise.
19781 (casinh_test): Likewise.
19782 * sysdeps/i386/fpu/libm-test-ulps: Update.
19783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19785 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19787 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19788 ONE with its value.
19790 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19791 (__pow_mp): Replace ONE and MONE with their values.
19792 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19793 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19794 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19795 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19796 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19797 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19799 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19801 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19802 (__pow_mp): Replace ZERO and MZERO with their values.
19803 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19805 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19807 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19808 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19811 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19813 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19815 2013-03-28 Roland McGrath <roland@hack.frob.com>
19817 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19818 Declare with __attribute__ ((weak)).
19819 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19820 Call __call_tls_dtors only if it's not NULL.
19822 2013-03-28 Roland McGrath <roland@hack.frob.com>
19824 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19825 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19826 magic __ehdr_start linker symbol if it's defined.
19827 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19828 them up here if it was already done.
19830 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19831 (_dl_aux_init): Use const in cast when setting it.
19832 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19833 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19834 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19836 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19838 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19839 * csu/libc-tls.c: Nor here.
19840 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19842 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19843 (__libc_message): Never call vsyslog.
19845 2013-03-28 Alan Modra <amodra@gmail.com>
19847 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19849 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19852 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19855 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19859 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19862 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19863 Don't add gid passed as argument.
19865 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19867 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19870 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19871 imaginary part between 1.0 and 1.5 and real part less than 0.5
19873 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19874 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19875 * math/libm-test.inc (cacos_test): Add more tests.
19876 (casin_test): Likewise.
19877 (casinh_test): Likewise.
19878 * sysdeps/i386/fpu/libm-test-ulps: Update.
19879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19881 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19883 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19886 (denorm): Likewise.
19887 (__dbl_mp): Likewise.
19888 (add_magnitudes): Likewise.
19889 (sub_magnitudes): Likewise.
19897 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19899 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19900 (__dubcos): Likewise.
19901 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19902 (__ieee754_acos): Likewise.
19903 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19904 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19905 (__exp1): Likewise.
19906 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19907 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19909 (my_log2): Likewise.
19910 (checkint): Likewise.
19911 * sysdeps/ieee754/dbl-64/e_remainder.c
19912 (__ieee754_remainder): Likewise.
19913 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19914 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19915 (bsloww): Likewise.
19916 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19918 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19919 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19920 MANTISSA_STORE_T to store computations on mantissa. Use
19921 macros for rounding and division.
19922 (denorm): Likewise.
19923 (__dbl_mp): Likewise.
19924 (add_magnitudes): Likewise.
19925 (sub_magnitudes): Likewise.
19928 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19929 powers of two in terms of TWOPOW macro.
19930 (mp_no): Make type of mantissa as MANTISSA_T.
19931 [!RADIXI]: Define RADIXI.
19932 [!TWO52]: Define TWO52.
19933 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19935 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19937 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19938 llroundl symbol when building for PPC32.
19940 2013-03-24 Mark H Weaver <mhw@netris.org>
19942 * manual/arith.texi (Normalization Functions): Fix prototypes for
19943 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19945 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19948 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19949 high value to check if expl overflow.
19950 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19951 to check for underflow and overflow.
19952 * math/libm-test.inc: Add exp test.
19954 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19957 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19960 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19962 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19965 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19967 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19968 wrap blocks consisting of several statements.
19970 * sysdeps/generic/math-tests.h: New file.
19971 * sysdeps/i386/fpu/math-tests.h: Likewise.
19972 * math/test-snan.c: Include it.
19973 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19975 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19978 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19979 (__ieee754_j0l): Do not improve calculations using cos of twice
19980 input for inputs above LDBL_MAX / 2.0L.
19981 (__ieee754_y0l): Likewise.
19982 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19983 (__ieee754_j1l): Do not improve calculations using cos of twice
19984 input for inputs above LDBL_MAX / 2.0L.
19985 (__ieee754_y1l): Likewise.
19986 * math/libm-test.inc (j0_test): Add another test.
19987 (j1_test): Likewise.
19988 (y0_test): Likewise.
19989 (y1_test): Likewise.
19990 * sysdeps/i386/fpu/libm-test-ulps: Update.
19992 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19994 * Rules ($(objpfx)bench-%.c): Include code from a C source
19997 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20000 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20001 imaginary part 1.0 and real part less than 0.5 specially.
20002 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20003 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20004 * math/libm-test.inc (cacos_test): Add more tests.
20005 (casin_test): Likewise.
20006 (casinh_test): Likewise.
20007 * sysdeps/i386/fpu/libm-test-ulps: Update.
20008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20010 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20012 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20013 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20015 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20017 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20018 * config.make.in (config-cflags-sse4): Remove variable.
20019 (config-cflags-avx): Likewise.
20020 (config-cflags-sse2avx): Likewise.
20021 (config-cflags-novzeroupper): Likewise.
20022 (config-asflags-i686): Likewise.
20023 (have-mfma4): Likewise.
20024 (have-as-vis3): Likewise.
20026 * configure.in (MIG): Do not AC_SUBST.
20027 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20028 (libc_cv_cc_sse4): Do not AC_SUBST.
20029 (libc_cv_cc_avx): Likewise.
20030 (libc_cv_cc_sse2avx): Likewise.
20031 (libc_cv_cc_novzeroupper): Likewise.
20032 (libc_cv_cc_fma4): Likewise.
20033 (libc_cv_as_i686): Likewise.
20034 (libc_cv_sparc_as_vis3): Likewise.
20035 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20037 (config-asflags-i686): Likewise.
20038 (config-cflags-avx): Likewise.
20039 (config-cflags-sse2avx): Likewise.
20040 (have-mfma4): Likewise.
20041 (config-cflags-novzeroupper): Likewise.
20042 * sysdeps/mach/configure.in (MIG): Likewise.
20043 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20044 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20046 (config-cflags-avx): Likewise.
20047 (config-cflags-sse2avx): Likewise.
20048 (have-mfma4): Likewise.
20049 (config-cflags-novzeroupper): Likewise.
20050 * configure: Regenerated.
20051 * sysdeps/i386/configure: Likewise.
20052 * sysdeps/mach/configure: Likewise.
20053 * sysdeps/sparc/configure: Likewise.
20054 * sysdeps/x86_64/configure: Likewise.
20056 2013-03-20 Roland McGrath <roland@hack.frob.com>
20059 * locale/programs/localedef.c (options): Put N_ translation marker
20060 on argument names, not just descriptions.
20062 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20064 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20066 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20069 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20071 2013-03-19 Roland McGrath <roland@hack.frob.com>
20073 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20074 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20075 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20076 [!BEFORE_ABORT] (before_abort): New function.
20077 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20078 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20079 (writev_for_fatal): New function.
20080 (WRITEV_FOR_FATAL): New macro; call that.
20081 (backtrace_and_maps): New function.
20082 (BEFORE_ABORT): New macro; call that.
20083 (struct str_list): Type removed.
20084 (__libc_message, __libc_fatal): Functions removed.
20085 Include <sysdeps/posix/libc_fatal.c> instead.
20087 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20089 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20091 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20094 2013-03-19 Andreas Schwab <schwab@suse.de>
20096 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20097 * sysdeps/gnu/configure: Regenerate.
20099 * configure.in: Substitute libc_cv_rtlddir.
20100 * configure: Regenerate.
20101 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20102 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20103 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20104 * elf/Makefile (install-others, CFLAGS-interp.c)
20105 (ldso_install, common-ldd-rewrite): Likewise.
20106 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20107 $(inst_slibdir)/$(rtld-installed-name).
20108 * scripts/rellns-sh: Add -p option.
20109 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20112 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20114 * manual/nptl.texi: Renamed to ...
20115 * manual/threads.texi: ... this.
20116 * manual/Makefile (chapters): Update.
20118 2013-03-18 Roland McGrath <roland@hack.frob.com>
20121 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20122 on argument names, not just descriptions.
20123 * malloc/memusagestat.c (options): Likewise.
20124 * nss/getent.c (options): Likewise.
20126 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20129 * iconv/iconv_prog.c (options): Put N_ translation marker
20130 on argument names, not just descriptions.
20131 * iconv/iconvconfig.c (options): Likewise.
20133 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20135 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20136 implementation which is faster on all x86_64 architectures.
20137 Tested on AMD, Intel Nehalem, SNB, IVB.
20138 * sysdeps/x86_64/strnlen.S: Likewise.
20140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20141 Remove all multiarch strlen and strnlen versions.
20142 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20143 Remove strlen and strnlen related parts.
20145 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20146 Inline strlen part.
20147 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20149 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20150 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20151 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20152 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20153 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20154 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20156 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20158 * manual/memory.texi (Malloc Tunable Parameters):
20159 Sort parameters alphabetically. Add comments for missing entries.
20161 2013-03-17 David S. Miller <davem@davemloft.net>
20163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20165 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20168 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20169 for arguments at most half maximum finite value.
20170 * math/libm-test.inc (j0_test): Add more tests.
20171 (j1_test): Likewise.
20172 (y0_test): Likewise.
20173 (y1_test): Likewise.
20174 * sysdeps/i386/fpu/libm-test-ulps: Update.
20175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20178 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20179 1 / x and functions P and Q for arguments above 0x1p256L.
20180 (__ieee754_y0l): Likewise.
20181 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20182 (__ieee754_y1l): Likewise.
20183 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20184 (j1_test): Likewise.
20185 (y0_test): Likewise.
20186 (y1_test): Likewise.
20188 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20190 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20193 2013-03-15 Roland McGrath <roland@hack.frob.com>
20195 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20196 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20197 zero since it's initialized to EXEC_PAGESIZE.
20199 * sysdeps/unix/sysv/linux/ldsodefs.h
20200 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20201 * sysdeps/generic/ldsodefs.h: ... here.
20203 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20205 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20207 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20209 * math/test-snan.c: Renamed from
20210 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20211 * math/Makefile (tests): Add test-snan.
20212 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20215 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20216 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20218 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20219 __builtin_nan family of functions.
20220 * math/libm-test.inc (initialize): Initialize qnan_value with
20221 __builtin_nan family of functions.
20222 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20224 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20226 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20227 storage class. Initialize qNaN_var and sNaN_var with
20228 __builtin_nan and __builtin_nans families of functions,
20231 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20232 (sqrt_test): Remove duplicate test with qNaN input.
20233 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20234 (round_test, signbit_test, significand_test): Note missing +/-Inf
20235 as well as qNaN tests.
20237 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20238 qNaN_var. Fix a few strings, too.
20239 * math/libm-test.inc (nan_value): Rename to qnan_value.
20240 * math/gen-libm-test.pl (%beautify): Adjust to that.
20241 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20242 * math/test-misc.c (main): Likewise.
20243 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20244 to __qnan_bytes, and __qnan_union, respectively.
20245 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20247 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20248 and lqnanval, respectively.
20249 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20250 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20251 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20252 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20254 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20255 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20258 * math/test-misc.c (main): Fix copy'n'pastos.
20259 * misc/tst-efgcvt.c (special): Likewise.
20261 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20262 Remove declarations.
20264 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20266 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20267 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20268 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20269 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20271 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20273 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20274 macro to return vdso values correctly in IFUNC implementations.
20275 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20276 Optimization by using IFUNC.
20278 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20279 Richard Henderson <rth@redhat.com>
20280 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20282 * Makefile.in (bench): New target.
20283 * NEWS: Mention the benchmark framework.
20284 * Rules (bench): Likewise.
20285 (binaries-bench): Generate binaries for functions to
20287 * benchtests/Makefile: New makefile for benchmark tests.
20288 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20290 * benchtests/exp-inputs: New input file for EXP function.
20291 * benchtests/pow-inputs: New input file for POW function.
20292 * scripts/bench.pl: New script to generate source files for
20293 benchmark programs.
20295 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20297 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20298 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20299 computations on mantissa. Use macros for rounding and
20301 (denorm): Likewise.
20302 (__dbl_mp): Likewise.
20303 (add_magnitudes): Likewise.
20304 (sub_magnitudes): Likewise.
20307 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20308 powers of two in terms of TWOPOW macro.
20309 (mp_no): Make type of mantissa as MANTISSA_T.
20310 [!RADIXI]: Define RADIXI.
20311 [!TWO52]: Define TWO52.
20312 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20314 * manual/nptl.texi (cindex): Modify threads to pthreads.
20316 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20318 * sysdeps/x86_64/preconfigure: Regenerated.
20320 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20323 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20325 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20326 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20328 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20329 * math/libm-test.inc (j0_test): Do not allow one spurious
20330 underflow exception.
20331 (y1_test): Likewise.
20333 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20335 * manual/Makefile (chapters): Add nptl.
20336 * manual/debug.texi (Debugging Support): Add link to Threads
20338 * manual/nptl.texi: New file.
20340 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20342 2013-03-14 Petr Baudis <pasky@ucw.cz>
20344 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20345 for non-NULL pointer before the memory validity test. Pointed
20346 out by Holger Brunck <holger.brunck@keymile.com>.
20348 2013-03-13 Andreas Schwab <schwab@suse.de>
20350 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20353 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20355 * timezone/zic.c: Update from tzcode 2013b.
20357 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20359 * manual/install.texi (Configuring and compiling):
20360 Mention i686 and i586.
20361 * INSTALL: Regenerate.
20363 2013-03-12 Roland McGrath <roland@hack.frob.com>
20365 * sysdeps/init_array/elf-init.c: New file.
20367 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20368 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20370 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20371 __gmon_start__ as global, but as static with a .preinit_array pointer.
20372 * sysdeps/init_array/gmon-start.c: New file. Use that.
20373 * sysdeps/init_array/crti.S: New file, empty except for comments.
20374 * sysdeps/init_array/crtn.S: Likewise.
20376 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20378 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20381 Remove Prefer_SSE_for_memop.
20382 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20383 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20384 HAS_PREFER_SSE_FOR_MEMOP.
20385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20388 Remove bzero, memset ifunc support.
20389 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20390 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20391 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20392 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20394 2013-03-11 Andreas Schwab <schwab@suse.de>
20397 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20400 (GLIBC_2.16): Remove pthread_atfork.
20402 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20404 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20405 (ptestcases.h): Likewise.
20407 2013-03-08 Roland McGrath <roland@hack.frob.com>
20409 * Makeconfig ($(common-objpfx)config.status): Depend on
20410 sysdeps/*/preconfigure{,.in} too.
20412 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20414 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20415 (__free_hook): Use void * instead of __malloc_ptr_t.
20416 (__malloc_hook): Likewise.
20417 (__realloc_hook): Likewise.
20418 (__memalign_hook): Likewise.
20419 (__after_morecore_hook): Likewise.
20420 * malloc/arena.c (save_malloc_hook): Likewise.
20421 (save_free_hook): Likewise.
20422 * malloc/hooks.c (malloc_hook_ini): Likewise.
20423 (realloc_hook_ini): Likewise.
20424 (memalign_hook_ini): Likewise.
20425 * malloc/malloc.c (malloc_hook_ini): Likewise.
20426 (realloc_hook_ini): Likewise.
20427 (memalign_hook_ini): Likewise.
20428 (__free_hook): Likewise.
20429 (__malloc_hook): Likewise.
20430 (__realloc_hook): Likewise.
20431 (__memalign_hook): Likewise.
20432 (__libc_malloc): Likewise.
20433 (__libc_free): Likewise.
20434 (__libc_realloc): Likewise.
20435 (__libc_memalign): Likewise.
20436 (__libc_valloc): Likewise.
20437 (__libc_pvalloc): Likewise.
20438 (__libc_calloc): Likewise.
20439 (__posix_memalign): Likewise.
20440 * malloc/morecore.c (__sbrk): Likewise.
20441 (__default_morecore): Likewise.
20443 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20445 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20446 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20447 __malloc_ptrdiff_t.
20449 * malloc/malloc.h (__malloc_size_t): Remove macro.
20450 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20452 (old_memalign_hook): Likewise.
20453 (old_realloc_hook): Likewise.
20454 (struct hdr): Likewise.
20456 (mallochook): Likewise.
20457 (memalignhook): Likewise.
20458 (reallochook): Likewise.
20459 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20460 (tr_old_realloc_hook): Likewise.
20461 (tr_old_memalign_hook): Likewise.
20462 (tr_mallochook): Likewise.
20463 (tr_reallochook): Likewise.
20464 (tr_memalignhook): Likewise.
20466 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20468 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20469 default_ldbl_pack and using as default implementation.
20470 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20472 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20473 redundant definition.
20474 (ldbl_insert_mantissa): Likewise.
20475 (ldbl_canonicalize): Likewise.
20476 (ldbl_nearbyint): Likewise.
20477 (ldbl_pack): Rename to ldbl_pack_ppc.
20478 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20479 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20480 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20482 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20485 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20486 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20487 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20489 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20490 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20491 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20493 2013-03-07 Andreas Jaeger <aj@suse.de>
20495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20498 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20500 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20501 Include mpa.h and declare __MPEXP.
20502 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20503 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20504 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20505 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20506 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20507 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20508 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20510 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20511 (__slowpow): Use long double EXPL and LOGL functions to
20513 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20514 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20515 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20516 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20517 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20518 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20521 intermediate variable to calculate exponent.
20523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20527 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20528 [!NO__SQR]: Define __sqr.
20529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20530 and NO__SQR. Remove all code except __mul and __sqr. Include
20531 sysdeps/ieee754/dbl-64/mpa.c.
20532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20535 * posix/Makefile (tests): Add tst-pathconf.
20536 * posix/tst-pathconf.c: New test case.
20537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20539 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20541 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20543 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20545 2013-03-06 Andreas Jaeger <aj@suse.de>
20547 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20548 definition via __MAP_ANONYMOUS.
20550 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20551 it's not part of Linux headers.
20553 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20554 (MAP_HUGE_MASK): Define.
20556 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20558 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20559 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20561 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20562 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20564 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20565 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20567 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20569 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20570 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20571 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20572 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20573 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20574 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20576 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20579 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20580 Handle f2fs and efivarfs.
20582 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20585 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20586 (EFIVARFS_MAGIC): Add.
20587 (F2FS_LINK_MAX): Add.
20589 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20591 * stdio-common/vfprintf.c: Replace __builtin_expect with
20594 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20597 * sysdeps/generic/bp-sym.h: Remove file.
20598 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20599 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20600 <bp-sym.h> and <bp-asm.h>.
20601 (__longjmp): Don't use BP_SYM.
20602 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20604 (memcpy): Don't use BP_SYM.
20605 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20606 <bp-sym.h> and <bp-asm.h>.
20607 (memcpy): Don't use BP_SYM.
20608 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20610 (memcpy): Don't use BP_SYM.
20611 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20613 (memset): Don't use BP_SYM.
20614 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20615 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20616 (__bzero): Don't use BP_SYM.
20617 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20618 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20619 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20620 <bp-sym.h> and <bp-asm.h>.
20621 (memcmp): Don't use BP_SYM. Remove comment about bounded
20623 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20624 <bp-sym.h> and <bp-asm.h>.
20625 (memcpy): Don't use BP_SYM.
20626 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20627 <bp-sym.h> and <bp-asm.h>.
20628 (memset): Don't use BP_SYM.
20629 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20630 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20631 (__bzero): Don't use BP_SYM.
20632 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20633 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20634 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20635 <bp-sym.h> and <bp-asm.h>.
20636 (strncmp): Don't use BP_SYM. Remove comment about bounded
20638 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20639 <bp-sym.h> and <bp-asm.h>.
20640 (memcpy): Don't use BP_SYM.
20641 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20642 <bp-sym.h> and <bp-asm.h>.
20643 (memset): Don't use BP_SYM.
20644 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20645 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20646 (__bzero): Don't use BP_SYM.
20647 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20648 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20649 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20650 <bp-sym.h> and <bp-asm.h>.
20651 (__memchr): Don't use BP_SYM.
20652 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20653 <bp-sym.h> and <bp-asm.h>.
20654 (memcmp): Don't use BP_SYM. Remove comment about bounded
20656 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20657 <bp-sym.h> and <bp-asm.h>.
20658 (memcpy): Don't use BP_SYM.
20659 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20660 <bp-sym.h> and <bp-asm.h>.
20661 (__mempcpy): Don't use BP_SYM.
20662 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20663 <bp-sym.h> and <bp-asm.h>.
20664 (__memrchr): Don't use BP_SYM.
20665 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20666 <bp-sym.h> and <bp-asm.h>.
20667 (memset): Don't use BP_SYM.
20668 (__bzero): Likewise.
20669 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20670 <bp-sym.h> and <bp-asm.h>.
20671 (__rawmemchr): Don't use BP_SYM.
20672 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20673 <bp-sym.h> and <bp-asm.h>.
20674 (__STRCMP): Don't use BP_SYM.
20675 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20676 <bp-sym.h> and <bp-asm.h>.
20677 (strchr): Don't use BP_SYM.
20678 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20679 <bp-sym.h> and <bp-asm.h>.
20680 (__strchrnul): Don't use BP_SYM.
20681 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20682 <bp-sym.h> and <bp-asm.h>.
20683 (strlen): Don't use BP_SYM.
20684 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20685 <bp-sym.h> and <bp-asm.h>.
20686 (strncmp): Don't use BP_SYM. Remove comment about bounded
20688 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20689 <bp-sym.h> and <bp-asm.h>.
20690 (__strnlen): Don't use BP_SYM.
20691 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20692 <bp-sym.h> and <bp-asm.h>.
20693 (__GI__setjmp): Don't use BP_SYM.
20694 (_setjmp): Likewise.
20695 (__sigsetjmp): Likewise.
20696 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20697 (L(start_addresses)): Don't use BP_SYM.
20698 (_start): Likewise.
20699 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20701 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20702 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20703 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20704 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20705 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20707 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20708 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20709 about bounded pointers.
20710 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20711 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20712 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20714 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20715 about bounded pointers. Remove GKM FIXME comments.
20716 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20717 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20719 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20720 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20721 Remove GKM FIXME comments.
20722 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20723 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20724 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20726 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20727 about bounded pointers. Remove GKM FIXME comment.
20728 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20730 (strncmp): Don't use BP_SYM. Remove comment about bounded
20732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20733 <bp-sym.h> and <bp-asm.h>.
20734 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20736 <bp-sym.h> and <bp-asm.h>.
20737 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20740 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20742 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20745 2013-03-05 David S. Miller <davem@davemloft.net>
20747 * po/es.po: Update from translation team.
20749 2013-03-05 Andreas Jaeger <aj@suse.de>
20751 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20752 <bits/mman-linux.h>.
20753 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20755 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20756 <bits/mman-linux.h> to end of file.
20757 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20759 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20760 <bits/mman-linux.h> to end of file.
20761 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20763 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20764 <bits/mman-linux.h> to end of file.
20766 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20767 (MCL_CURRENT, MCL_FUTURE): Define here.
20769 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20772 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20774 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20776 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20778 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20779 fourth parameter needed for rt_sigprocmask syscall.
20780 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20781 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20782 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20783 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20784 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20785 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20787 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20790 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20791 comment about bounded pointers.
20792 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20793 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20795 2013-03-04 Andreas Jaeger <aj@suse.de>
20797 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20798 common definitions.
20800 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20801 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20802 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20803 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20804 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20805 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20807 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20810 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20811 __ieee754_sqrl instead of __sqrl.
20813 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20815 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20816 * sysdeps/powerpc/fpu_control.h: ... here.
20817 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20818 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20819 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20820 * sysdeps/powerpc/bits/mathinline.h: ... here.
20822 2013-03-01 Roland McGrath <roland@hack.frob.com>
20824 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20825 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20826 to just [NEED_DL_SYSINFO_DSO].
20827 * elf/dl-support.c: Likewise.
20828 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20829 * elf/rtld.c (dl_main): Likewise.
20830 * elf/setup-vdso.h (setup_vdso): Likewise.
20831 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20832 * sysdeps/unix/sysv/linux/dl-sysdep.c
20833 (_dl_discover_osversion): Likewise.
20835 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20837 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20838 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20840 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20842 * NEWS: Mention libm performance improvements and non-x86 PI
20845 * csu/libc-start.c (__pthread_initialize_minimal): Change
20846 function arguments.
20847 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20849 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20852 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20853 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20854 <bp-sym.h> and <bp-asm.h>.
20855 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20856 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20858 (memcpy): Don't use BP_SYM.
20859 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20861 (__mpn_add_n): Don't use BP_SYM.
20862 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20863 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20865 (__mpn_addmul_1): Don't use BP_SYM.
20866 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20867 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20869 (_setjmp): Don't use BP_SYM.
20870 (__novmx_setjmp): Likewise.
20871 (__GI__setjmp): Likewise.
20872 (__vmx_setjmp): Likewise.
20873 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20875 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20876 (__bzero): Don't use BP_SYM.
20877 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20878 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20879 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20880 <bp-sym.h> and <bp-asm.h>.
20881 (memcpy): Don't use BP_SYM.
20882 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20883 <bp-sym.h> and <bp-asm.h>.
20884 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20885 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20886 <bp-sym.h> and <bp-asm.h>.
20887 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20888 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20890 (__mpn_lshift): Don't use BP_SYM.
20891 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20892 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20894 (memset): Don't use BP_SYM.
20895 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20896 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20897 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20899 (__mpn_mul_1): Don't use BP_SYM.
20900 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20901 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20902 <bp-sym.h> and <bp-asm.h>.
20903 (memcmp): Don't use BP_SYM.
20904 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20905 <bp-sym.h> and <bp-asm.h>.
20906 (memcpy): Don't use BP_SYM.
20907 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20908 <bp-sym.h> and <bp-asm.h>.
20909 (memset): Don't use BP_SYM.
20910 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20911 <bp-sym.h> and <bp-asm.h>.
20912 (strncmp): Don't use BP_SYM.
20913 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20914 <bp-sym.h> and <bp-asm.h>.
20915 (memcpy): Don't use BP_SYM.
20916 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20917 <bp-sym.h> and <bp-asm.h>.
20918 (memset): Don't use BP_SYM.
20919 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20920 <bp-sym.h> and <bp-asm.h>.
20921 (__memchr): Don't use BP_SYM.
20922 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20923 <bp-sym.h> and <bp-asm.h>.
20924 (memcmp): Don't use BP_SYM.
20925 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20926 <bp-sym.h> and <bp-asm.h>.
20927 (memcpy): Don't use BP_SYM.
20928 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20929 <bp-sym.h> and <bp-asm.h>.
20930 (__mempcpy): Don't use BP_SYM.
20931 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20932 <bp-sym.h> and <bp-asm.h>.
20933 (__memrchr): Don't use BP_SYM.
20934 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20935 <bp-sym.h> and <bp-asm.h>.
20936 (memset): Don't use BP_SYM.
20937 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20938 <bp-sym.h> and <bp-asm.h>.
20939 (__rawmemchr): Don't use BP_SYM.
20940 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20941 <bp-sym.h> and <bp-asm.h>.
20942 (__STRCMP): Don't use BP_SYM.
20943 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20944 <bp-sym.h> and <bp-asm.h>.
20945 (strchr): Don't use BP_SYM.
20946 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20947 <bp-sym.h> and <bp-asm.h>.
20948 (__strchrnul): Don't use BP_SYM.
20949 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20950 <bp-sym.h> and <bp-asm.h>.
20951 (strlen): Don't use BP_SYM.
20952 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20953 <bp-sym.h> and <bp-asm.h>.
20954 (strncmp): Don't use BP_SYM.
20955 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20956 <bp-sym.h> and <bp-asm.h>.
20957 (__strnlen): Don't use BP_SYM.
20958 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20960 (__mpn_rshift): Don't use BP_SYM.
20961 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20962 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20963 <bp-sym.h> and <bp-asm.h>.
20964 (__sigsetjmp): Don't use BP_SYM.
20965 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20966 (L(start_addresses)): Don't use BP_SYM.
20967 (_start): Likewise.
20968 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20970 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20971 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20972 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20973 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20975 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20976 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20977 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20978 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20980 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20982 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20983 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20985 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20987 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20988 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20989 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20991 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20993 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20995 (strncmp): Don't use BP_SYM,
20996 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20998 (__mpn_sub_n): Don't use BP_SYM.
20999 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21000 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21002 (__mpn_submul_1): Don't use BP_SYM.
21003 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21005 <bp-sym.h> and <bp-asm.h>.
21006 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21008 <bp-sym.h> and <bp-asm.h>.
21009 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21012 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21015 Use ZK to minimize writes to Z.
21016 (sub_magnitudes): Simplify code a bit.
21017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21018 Use ZK to minimize writes to Z.
21019 (sub_magnitudes): Simplify code a bit.
21021 2013-02-27 Roland McGrath <roland@hack.frob.com>
21023 * csu/gmon-start.c: Add special exception to license text.
21025 2013-02-27 Richard Henderson <rth@redhat.com>
21027 * scripts/config.guess: Update from config.git.
21028 * scripts/config.sub: Likewise.
21030 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21032 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21034 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21036 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21038 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21040 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21042 2013-02-26 Roland McGrath <roland@hack.frob.com>
21044 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21045 [$(build-shared = yes].
21047 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21049 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21050 (__mul): Reduce iterations for calculating mantissa.
21052 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21054 (__mpranred): Likewise.
21057 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21058 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21060 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21062 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21063 Define __attribute__.
21065 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21067 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21069 * posix/regex_internal.h (__attribute): Remove.
21070 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21071 (re_string_context_at): Likewise.
21072 (bitset_not): Use __attribute__ and mark function as possibly
21074 (bitset_merge): Likewise.
21075 (bitset_mask): Likewise.
21076 (re_string_char_size_at): Likewise.
21077 (re_string_wchar_at): Likewise.
21078 (re_string_elem_size_at): Likewise.
21080 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21082 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21086 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21090 (denorm): Likewise.
21091 (__dbl_mp): Likewise.
21092 (add_magnitudes): Likewise.
21093 (sub_magnitudes): Likewise.
21097 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21100 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21103 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21107 up changes with default code.
21108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21111 2013-02-24 Allan McRae <allan@archlinux.org>
21113 * manual/socket.texi (The Internet Namespace): Order menu items
21114 to match that in the file.
21116 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21117 node listing of the info page menu.
21119 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21122 * sysdeps/i386/bp-asm.h: Remove file.
21123 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21124 (PARMS): Do not use macros from bp-asm.h.
21128 (__mpn_add_n): Do not use BP_SYM
21129 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21131 (PARMS): Do not use macros from bp-asm.h.
21134 (__mpn_addmul_1): Do not use BP_SYM
21135 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21137 (PARMS): Do not use macros from bp-asm.h.
21138 (SIGMSK): Likewise.
21139 (_setjmp): Likewise. Do not use BP_SYM.
21140 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21142 (PARMS): Do not use macros from bp-asm.h.
21143 (SIGMSK): Likewise.
21144 (setjmp): Likewise. Do not use BP_SYM.
21145 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21147 (PARMS): Do not use macros from bp-asm.h.
21148 (__frexp): Do not use BP_SYM.
21150 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21152 (PARMS): Do not use macros from bp-asm.h.
21153 (__frexpf): Do not use BP_SYM.
21154 (frexpf): Likewise.
21155 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21157 (PARMS): Do not use macros from bp-asm.h.
21158 (__frexpl): Do not use BP_SYM.
21159 (frexpl): Likewise.
21160 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21162 (PARMS): Do not use macros from bp-asm.h.
21163 (__remquo): Do not use BP_SYM.
21164 (remquo): Likewise.
21165 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21167 (PARMS): Do not use macros from bp-asm.h.
21168 (__remquof): Do not use BP_SYM.
21169 (remquof): Likewise.
21170 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21172 (PARMS): Do not use macros from bp-asm.h.
21173 (__remquol): Do not use BP_SYM.
21174 (remquol): Likewise.
21175 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21177 (PARMS): Do not use macros from bp-asm.h.
21180 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21181 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21183 (PARMS): Do not use macros from bp-asm.h.
21184 (strlen): Do not use BP_SYM.
21185 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21187 (PARMS): Do not use macros from bp-asm.h.
21191 (__mpn_add_n): Do not use BP_SYM.
21192 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21194 (PARMS): Do not use macros from bp-asm.h.
21197 (__mpn_addmul_1): Do not use BP_SYM.
21198 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21201 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21203 (PARMS): Do not use macros from bp-asm.h.
21206 (__mpn_lshift): Do not use BP_SYM.
21207 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21209 (PARMS): Do not use macros from bp-asm.h.
21213 (memcpy): Likewise. Do not use BP_SYM.
21214 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21215 libc_hidden_def and weak_alias.
21216 (mempcpy): Do not use BP_SYM in weak_alias.
21217 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21219 (PARMS): Do not use macros from bp-asm.h.
21222 [!BZERO_P] (CHR): Likewise.
21223 (memset): Likewise. Do not use BP_SYM.
21224 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21226 (PARMS): Do not use macros from bp-asm.h.
21229 (__mpn_mul_1): Do not use BP_SYM.
21230 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21232 (PARMS): Do not use macros from bp-asm.h.
21235 (__mpn_rshift): Do not use BP_SYM.
21236 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21238 (PARMS): Do not use macros from bp-asm.h.
21241 (strchr): Likewise. Do not use BP_SYM.
21242 (index): Do not use BP_SYM in weak_alias.
21243 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21245 (PARMS): Do not use macros from bp-asm.h.
21248 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21249 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21251 (PARMS): Do not use macros from bp-asm.h.
21252 (strlen): Do not use BP_SYM.
21253 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21255 (PARMS): Do not use macros from bp-asm.h.
21259 (__mpn_sub_n): Do not use BP_SYM.
21260 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21262 (PARMS): Do not use macros from bp-asm.h.
21265 (__mpn_submul_1): Do not use BP_SYM.
21266 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21268 (PARMS): Do not use macros from bp-asm.h.
21272 (__mpn_add_n): Do not use BP_SYM.
21273 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21276 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21278 (PARMS): Do not use macros from bp-asm.h.
21281 (memcmp): Do not use BP_SYM.
21282 (bcmp): Do not use BP_SYM in weak_alias.
21283 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21285 (PARMS): Do not use macros from bp-asm.h.
21289 (memcpy): Likewise. Do not use BP_SYM.
21290 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21292 (PARMS): Do not use macros from bp-asm.h.
21296 (memmove): Likewise. Do not use BP_SYM.
21297 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21299 (PARMS): Do not use macros from bp-asm.h.
21303 (__mempcpy): Likewise. Do not use BP_SYM.
21304 (mempcpy): Do not use BP_SYM in weak_alias.
21305 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21307 (PARMS): Do not use macros from bp-asm.h.
21310 [!BZERO_P] (CHR): Likewise.
21311 (memset): Likewise. Do not use BP_SYM.
21312 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21314 (PARMS): Do not use macros from bp-asm.h.
21316 (strcmp): Do not use BP_SYM.
21317 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21319 (PARMS): Do not use macros from bp-asm.h.
21322 [USE_AS_STRTOK_R] (SAVE): Likewise.
21323 (FUNCTION): Likewise. Do not use BP_SYM.
21324 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21326 (strtok_r): Likewise.
21327 (__GI___strtok_r): Likewise.
21328 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21329 (PARMS): Do not use macros from bp-asm.h.
21332 (__mpn_lshift): Do not use BP_SYM.
21333 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21334 (PARMS): Do not use macros from bp-asm.h.
21337 (__memchr): Do not use BP_SYM.
21338 (memchr): Do not use BP_SYM in weak_alias.
21339 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21340 (PARMS): Do not use macros from bp-asm.h.
21343 (memcmp): Do not use BP_SYM.
21344 (bcmp): Do not use BP_SYM in weak_alias.
21345 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21346 (PARMS): Do not use macros from bp-asm.h.
21349 (__mpn_mul_1): Do not use BP_SYM.
21350 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21352 (PARMS): Do not use macros from bp-asm.h.
21355 (__rawmemchr): Do not use BP_SYM.
21356 (rawmemchr): Do not use BP_SYM in weak_alias.
21357 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21358 (PARMS): Do not use macros from bp-asm.h.
21361 (__mpn_rshift): Do not use BP_SYM.
21362 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21363 (PARMS): Do not use macros from bp-asm.h.
21364 (SIGMSK): Likewise.
21365 (__sigsetjmp): Likewise. Do not use BP_SYM.
21366 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21367 (_start): Do not use BP_SYM.
21368 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21369 (PARMS): Do not use macros from bp-asm.h.
21372 (__stpcpy): Likewise. Do not use BP_SYM.
21373 (stpcpy): Do not use BP_SYM in weak_alias.
21374 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21376 (PARMS): Do not use macros from bp-asm.h.
21380 (__stpncpy): Likewise. Do not use BP_SYM.
21381 (stpncpy): Do not use BP_SYM in weak_alias.
21382 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21383 (PARMS): Do not use macros from bp-asm.h.
21386 (strchr): Likewise. Do not use BP_SYM.
21387 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21389 (PARMS): Do not use macros from bp-asm.h.
21392 (__strchrnul): Likewise. Do not use BP_SYM.
21393 (strchrnul): Do not use BP_SYM in weak_alias.
21394 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21396 (PARMS): Do not use macros from bp-asm.h.
21398 (strcspn): Do not use BP_SYM.
21399 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21401 (PARMS): Do not use macros from bp-asm.h.
21404 (strpbrk): Likewise. Do not use BP_SYM.
21405 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21407 (PARMS): Do not use macros from bp-asm.h.
21410 (strrchr): Likewise. Do not use BP_SYM.
21411 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21412 (PARMS): Do not use macros from bp-asm.h.
21414 (strspn): Do not use BP_SYM.
21415 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21416 (PARMS): Do not use macros from bp-asm.h.
21420 (FUNCTION): Likewise. Do not use BP_SYM.
21421 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21423 (strtok_r): Likewise.
21424 (__GI___strtok_r): Likewise.
21425 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21426 (PARMS): Do not use macros from bp-asm.h.
21430 (__mpn_sub_n): Do not use BP_SYM.
21431 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21433 (PARMS): Do not use macros from bp-asm.h.
21436 (__mpn_submul_1): Do not use BP_SYM.
21437 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21439 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21441 (PARMS): Do not use macros from bp-asm.h.
21446 (__clone): Do not use BP_SYM.
21447 (clone): Do not use BP_SYM in weak_alias.
21448 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21450 (PARMS): Do not use macros from bp-asm.h.
21452 (__mmap64): Do not use BP_SYM.
21453 (mmap64): Do not use BP_SYM in weak_alias.
21454 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21455 <bp-sym.h> and <bp-asm.h>.
21456 (PARMS): Do not use macros from bp-asm.h.
21457 (__posix_fadvise64_l64): Do not use BP_SYM.
21458 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21459 (PARMS): Do not use macros from bp-asm.h.
21461 (semtimedop): Do not use BP_SYM.
21462 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21465 2013-02-21 Allan McRae <allan@archlinux.org>
21467 * manual/message.texi (Charset conversion in gettext):
21468 Move @end statement to beginning of line.
21470 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21477 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21478 (denorm): Likewise.
21479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21482 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21484 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21485 tail-call to the resolved function if pltexit isn't needed.
21487 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21490 or Y being zero as being unlikely.
21491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21494 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21496 * manual/nss.texi (System Databases and Name Service Switch):
21497 Remove frobnicate @pxref.
21499 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21501 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21502 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21504 2013-02-20 Petr Machata <pmachata@redhat.com>
21506 * elf/elf.h (R_ARM_TARGET1): New macro.
21507 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21508 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21509 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21510 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21511 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21512 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21513 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21514 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21515 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21516 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21517 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21518 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21519 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21520 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21521 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21522 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21523 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21524 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21525 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21526 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21527 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21528 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21529 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21530 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21531 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21532 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21533 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21534 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21535 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21536 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21537 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21538 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21539 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21540 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21541 (R_ARM_THM_GOT_BREL12): Likewise.
21542 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21543 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21544 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21545 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21546 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21547 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21548 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21549 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21550 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21552 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21554 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21555 __attribute_used__ to __attribute__ ((unused)).
21557 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21559 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21562 comment formatting.
21563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21565 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21568 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21570 (ENTER): Remove both macro definitions.
21572 (CHECK_BOUNDS_LOW): Likewise.
21573 (CHECK_BOUNDS_HIGH): Likewise.
21574 (CHECK_BOUNDS_BOTH): Likewise.
21575 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21576 (RETURN_BOUNDED_POINTER): Likewise.
21577 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21578 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21579 (POP_ERRNO_LOCATION_RETURN): Likewise.
21580 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21581 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21582 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21584 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21585 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21586 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21587 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21588 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21589 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21590 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21591 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21592 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21593 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21594 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21595 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21596 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21597 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21599 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21600 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21602 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21603 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21604 * sysdeps/i386/i586/memset.S (memset): Likewise.
21605 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21606 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21607 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21609 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21610 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21611 Change uses of L(2) to L(out).
21612 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21613 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21614 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21615 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21616 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21618 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21619 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21621 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21622 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21623 (RETURN): Do not use macro LEAVE.
21624 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21625 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21626 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21627 * sysdeps/i386/i686/memset.S (memset): Likewise.
21628 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21629 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21630 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21631 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21633 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21634 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21635 L(1_2) and L(1_3) into L(1).
21636 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21637 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21638 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21639 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21640 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21641 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21642 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21643 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21644 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21646 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21647 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21648 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21649 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21650 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21651 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21652 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21653 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21654 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21655 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21656 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21657 * sysdeps/i386/strspn.S (strspn): Likewise.
21658 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21660 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21661 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21662 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21663 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21664 L(1_3) into L(1_1).
21665 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21666 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21667 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21669 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21671 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21673 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21676 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21678 * math/atest-exp.c (exp_mpn): Remove ROUND.
21679 * math/atest-exp2.c (exp_mpn): Likewise.
21680 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21682 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21683 * stdlib/tst-tls-atexit-lib.c: Likewise.
21684 * stdlib/tst-tls-atexit.c: Likewise.
21686 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21688 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21689 and __attribute_alloc_size__.
21691 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21693 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21694 __attribute_alloc_size__.
21695 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21696 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21698 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21700 * include/programs/xmalloc.h: New file.
21701 * catgets/gencat.c: Include it.
21702 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21703 * elf/pldd.c: Likewise.
21704 * iconv/iconv_charmap.c: Likewise.
21705 * iconv/iconvconfig.c: Likewise.
21706 * iconv/strtab.c: Likewise.
21707 * locale/programs/locale.c: Likewise.
21708 * locale/programs/localedef.h: Likewise.
21709 * locale/programs/simple-hash.c: Likewise.
21710 * nscd/nscd.h: Likewise.
21711 * nss/makedb.c: Likewise.
21712 * sysdeps/generic/ldconfig.h: Likewise.
21714 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21716 * Versions.def: Add GLIBC_2.18.
21717 * include/link.h (struct link_map): New member l_tls_dtor_count.
21718 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21719 (__call_tls_dtors): Likewise.
21720 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21721 __cxa_thread_atexit_impl.
21722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21738 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21739 (tests): Add test case tst-tls-atexit.
21740 (modules-names): Add shared library for tst-tls-atexit.
21741 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21742 (GLIBC_PRIVATE): Add __call_tls_dtors.
21743 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21745 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21746 * stdlib/tst-tls-atexit.c: New test case.
21747 * stdlib/tst-tls-atexit-lib.c: New test case.
21749 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21751 * elf/Versions (ld): Add _dl_find_dso_for_object.
21752 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21753 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21754 (dl_open_worker): Use _dl_find_dso_for_object.
21755 * elf/dl-sym.c (do_sym): Likewise.
21756 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21758 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21760 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21761 Syntactic changes only.
21762 (_dl_runtime_profile): Do a tail-call to the resolved function.
21764 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21767 * sysdeps/x86_64/bp-asm.h: Remove file.
21768 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21769 <bp-sym.h> and <bp-asm.h>.
21770 (__clone): Do not use BP_SYM.
21771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21772 <bp-sym.h> and <bp-asm.h>.
21773 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21774 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21776 (_setjmp): Do not use BP_SYM.
21777 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21779 (setjmp): Do not use BP_SYM.
21780 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21782 (mempcpy): Do not use BP_SYM in weak_alias.
21783 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21785 (strchr): Do not use BP_SYM.
21786 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21788 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21789 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21790 (_start): Do not use BP_SYM.
21791 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21793 (strcat): Do not use BP_SYM.
21794 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21796 (STRCMP): Do not use BP_SYM.
21797 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21799 (STRCPY): Do not use BP_SYM.
21800 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21802 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21804 (FUNCTION): Do not use BP_SYM.
21805 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21807 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21809 2013-02-17 Andreas Jaeger <aj@suse.de>
21811 * time/Versions: Sort entries.
21812 * string/Versions: Likewise.
21813 * resolv/Versions: Likewise.
21814 * posix/Versions: Likewise.
21815 * iconv/Versions: Likewise.
21816 * elf/Versions: Likewise.
21817 * wcsmbs/Versions: Likewise.
21819 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21821 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21822 loop termination condition.
21824 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21825 variable to calculate EZ.
21828 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21829 the lower precision input.
21831 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21834 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21835 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21836 (run-via-rtld-prefix): Do not handle %-bp tests.
21837 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21838 (all-object-suffixes): Remove .ob.
21839 (bppfx): Remove variable.
21840 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21841 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21842 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21843 [$(build-bounded) = yes] (libtype.ob): Likewise.
21844 * Makerules (elide-routines.ob): Remove variable.
21845 (do-tests-clean): Do not handle *-bp.out.
21846 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21847 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21848 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21849 (tests): Do not include $(tests-bp.out).
21850 (xtests): Do not include $(xtests-bp.out).
21851 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21852 [$(build-bounded) = yes] ($(addprefix
21853 $(objpfx),$(binaries-bounded))): Remove rule.
21854 ($(objpfx)%-bp.out): Remove rule.
21855 * config.make.in (build-bounded): Remove variable.
21856 * crypt/Makefile [$(build-bounded) = yes]
21857 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21858 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21859 append to variable.
21860 [$(build-bounded) = yes] (install-lib): Likewise.
21861 [$(build-bounded) = yes] (generated): Likewise.
21862 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21864 * intl/Makefile [$(build-bounded) = yes]
21865 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21866 * math/Makefile [$(build-bounded) = yes]
21867 ($(tests:%=$(objpfx)%-bp): Likewise.
21868 * misc/Makefile [$(build-bounded) = yes]
21869 ($(objpfx)tst-tsearch-bp): Likewise.
21870 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21871 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21873 * string/Makefile (o-objects.ob): Remove variable.
21874 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21875 (CFLAGS-.ob): Remove variable.
21876 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21877 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21878 both definitions of variable.
21879 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21880 (ASFLAGS-.ob): Remove variable.
21882 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21885 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21886 Remove __BOUNDED_POINTERS__ from condition.
21887 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21888 * string/bits/string2.h [!__NO_STRING_INLINES &&
21889 !__BOUNDED_POINTERS__]: Likewise.
21890 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21892 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21893 Remove conditional code.
21894 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21895 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21896 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21900 * csu/libc-start.c: Do not include <bp-sym.h>.
21901 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21902 * elf/dl-open.c: Do not include <bp-sym.h>.
21903 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21904 * math/fegetenv.c: Do not include <bp-sym.h>.
21905 (fegetenv): Do not use BP_SYM in versioned symbols.
21906 * nptl/sysdeps/pthread/bits/libc-lockP.h
21907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21910 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21912 (__pthread_mutex_destroy): Likewise.
21913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21914 (__pthread_mutex_lock): Likewise.
21915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21916 (__pthread_mutex_trylock): Likewise.
21917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21918 (__pthread_mutex_unlock): Likewise.
21919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21920 (__pthread_mutexattr_init): Likewise.
21921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21922 (__pthread_mutexattr_destroy): Likewise.
21923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21924 (__pthread_mutexattr_settype): Likewise.
21925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21926 (__pthread_rwlock_init): Likewise.
21927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21928 (__pthread_rwlock_destroy): Likewise.
21929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21930 (__pthread_rwlock_rdlock): Likewise.
21931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21932 (__pthread_rwlock_tryrdlock): Likewise.
21933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21934 (__pthread_rwlock_wrlock): Likewise.
21935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21936 (__pthread_rwlock_trywrlock): Likewise.
21937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21938 (__pthread_rwlock_unlock): Likewise.
21939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21940 (__pthread_key_create): Likewise.
21941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21942 (__pthread_setspecific): Likewise.
21943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21944 (__pthread_getspecific): Likewise.
21945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21948 (_pthread_cleanup_push_defer): Likewise.
21949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21950 (_pthread_cleanup_pop_restore): Likewise.
21951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21952 (pthread_setcancelstate): Likewise.
21953 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21955 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21956 (memchr): Do not use BP_SYM in weak_alias.
21957 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21958 (fegetenv): Do not use BP_SYM in versioned symbols.
21959 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21960 (fesetenv): Do not use BP_SYM in versioned symbols.
21961 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21962 (feupdateenv): Do not use BP_SYM in versioned symbols.
21963 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21964 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21965 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21966 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21967 (open64): Do not use BP_SYM in weak_alias.
21968 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21969 (fegetenv): Do not use BP_SYM in versioned symbols.
21970 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21971 (fesetenv): Do not use BP_SYM in versioned symbols.
21972 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21973 (feupdateenv): Do not use BP_SYM in versioned symbols.
21974 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21975 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21976 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21977 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21978 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21979 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21980 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21982 (__libc_start_main): Do not use BP_SYM.
21984 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21987 redundant return line.
21989 (denorm): Likewise.
21990 (dbl_mp): Likewise.
21991 (sub_magnitudes): Likewise.
21997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21999 (denorm): Likewise.
22000 (dbl_mp): Likewise.
22001 (sub_magnitudes): Likewise.
22008 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22010 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22011 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22014 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22015 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22017 of __mul for squares.
22018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22022 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22025 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22028 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22030 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22031 prototype or function definition. Rename ubp_* variables and
22032 parameters. Remove argv definitions conditional on
22033 [__BOUNDED_POINTERS__].
22034 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22035 * elf/dl-runtime.c (_dl_fixup): Likewise.
22036 * include/set-hooks.h (RUN_HOOK): Likewise.
22037 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22039 * string/strcpy.c (strcpy): Do not use __unbounded.
22040 * sysdeps/generic/frame.h (struct layout): Likewise.
22041 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22042 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22043 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22044 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22045 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22046 (__backtrace): Likewise.
22047 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22049 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22050 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22051 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22053 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22054 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22055 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22056 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22057 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22058 Do not use __unbounded.
22059 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22060 Rename __unboundedrlimits parameter to rlimits in prototype.
22061 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22062 Do not use __unbounded.
22063 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22064 not use __ptrvalue.
22065 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22066 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22067 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22068 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22069 __ptrvalue or __unbounded.
22070 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22071 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22073 (__new_msgctl): Do not use __ptrvalue.
22074 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22076 (__libc_msgrcv): Do not use __ptrvalue.
22077 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22078 startup_info): Do not use __unbounded.
22079 (__libc_start_main): Likewise. Rename ubp_* variables and
22080 parameters. Remove argv definitions conditional on
22081 [__BOUNDED_POINTERS__].
22082 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22084 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22086 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22088 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22090 (__new_shmctl): Do not use __ptrvalue.
22091 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22092 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22094 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22095 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22096 (__libc_sigaction): Likewise.
22097 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22098 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22100 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22102 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22104 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22106 * string/mempcpy.c: Implement by calling memcpy.
22108 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22115 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22116 values in the mantissa.
22118 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22119 minimize writes to Z.
22120 (sub_magnitudes): Simplify code a bit.
22122 2013-02-12 Roland McGrath <roland@hack.frob.com>
22124 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22125 from the message. The linker prefixes all warnings with that already.
22127 2013-02-12 Andreas Schwab <schwab@suse.de>
22130 * posix/regexec.c (extend_buffers): Add parameter min_len.
22131 (check_matching): Pass minimum needed length.
22132 (clean_state_log_if_needed): Likewise.
22133 (get_subexp): Likewise.
22134 * posix/Makefile (tests): Add bug-regex34.
22135 (bug-regex34-ENV): Define.
22136 * posix/bug-regex34.c: New file.
22139 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22140 elements compare against the byte sequence of it, not its name.
22141 * posix/Makefile (tests): Add bug-regex35.
22142 (bug-regex35-ENV): Define.
22143 * posix/bug-regex35.c: New file.
22145 2013-02-11 Tom de Vries <tom@codesourcery.com>
22147 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22149 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22150 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22151 (CHECK_EOL): Add undef.
22153 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22155 * bits/stdlib-bsearch.h: New file.
22156 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22157 * stdlib/stdlib.h: Likewise.
22159 2013-02-11 Roland McGrath <roland@hack.frob.com>
22161 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22162 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22164 * manual/search.texi (Array Search Function): Add missing const in
22166 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22167 declaration to use rlim_t.
22168 (Basic Scheduling Functions): Remove erroneous const from
22169 sched_getparam prototype. Remove erroneous * from
22170 sched_get_priority_max and sched_get_priority_min prototypes.
22171 (Resource Usage): Fix summary @comment on vtimes to refer to
22172 sys/vtimes.h rather than vtimes.h.
22173 Add missing *s in vtimes prototype.
22174 (Limits on Resources): Fix ulimit prototype to return long int.
22175 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22176 prototypes to use long int rather than double.
22177 (BSD Random): Fix initstate and setstate to use char *, not void *.
22178 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22179 prototype to make second argument 'struct aiocb64 *const[]'.
22180 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22181 (Status of AIO Operations): Remove erroneous const in aio_return and
22182 aio_return64 prototypes.
22183 (Synchronizing I/O): Fix sync prototype to return void.
22184 * manual/startup.texi (Suboptions): Remove an erroneous const in
22185 getsubopt prototype.
22186 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22187 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22188 use size_t rather than int.
22189 (Scanning All Users): Likewise for getpwent_r.
22190 (Setting Groups): Add missing const to setgroups prototype.
22191 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22192 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22193 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22194 'const void *' rather than 'const char *'.
22195 (Host Address Functions): Likewise for inet_ntop.
22196 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22197 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22198 ssize_t for return value.
22199 (Sending Data): Likewise for send, sendto, sendmsg.
22200 (Socket Option Functions): Add a missing const in setsockopt prototype.
22201 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22202 use wchar_t for the argument.
22203 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22204 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22206 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22207 double/float/long double for second argument.
22208 Fix return types of significand, significandf, significandl.
22209 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22210 argument in fchmod prototype.
22211 (File Owner): Use uid_t and gid_t in fchown prototype.
22212 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22213 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22214 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22215 use 'const struct dirent **' as argument types to CMP function pointer
22217 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22218 (File Times): Fix summary magic @comment for struct utimbuf and utime
22219 to refer to utime.h, not time.h.
22220 * manual/string.texi (Argz Functions): Add missing const in
22221 argz_extract and argz_next prototypes.
22222 (Finding Tokens in a String): Likewise for basename.
22223 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22224 (Copying and Concatenation): Fix typo in wmemmove prototype.
22225 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22226 (Signal Stack): Remove erroneous const in sigstack prototype.
22227 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22229 (Simple Calendar Time): Likewise for stime.
22230 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22232 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22233 say sys/sysctl.h instead.
22234 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22235 and vsyslog prototypes.
22237 2013-02-11 Tom de Vries <tom@codesourcery.com>
22239 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22242 2013-02-11 Roland McGrath <roland@hack.frob.com>
22244 * misc/sys/mman.h: Fix typo in mremap comment.
22246 2013-02-08 Roland McGrath <roland@hack.frob.com>
22248 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22249 the '\0' terminator.
22251 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22254 * debug/segfault.c: Don't include <bp-checks.h>.
22255 * sysdeps/generic/bp-checks.h: Remove file.
22256 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22257 (__GETDENTS): Don't use CHECK_N.
22258 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22259 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22260 (__getgroups): Don't use CHECK_N.
22261 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22262 (setgroups): Don't use CHECK_N.
22263 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22264 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22265 (__libc_msgrcv): Don't use CHECK_N.
22266 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22267 (__libc_msgsnd): Don't use CHECK_N.
22268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22270 (__libc_pread): Don't use CHECK_N.
22271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22272 include <bp-checks.h>.
22273 (__libc_pread64): Don't use CHECK_N.
22274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22275 include <bp-checks.h>.
22276 (__libc_pwrite): Don't use CHECK_N.
22277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22278 include <bp-checks.h>.
22279 (__libc_pwrite64): Don't use CHECK_N.
22280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22282 (__libc_pread): Don't use CHECK_N.
22283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22284 include <bp-checks.h>.
22285 (__libc_pread64): Don't use CHECK_N.
22286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22287 include <bp-checks.h>.
22288 (__libc_pwrite): Don't use CHECK_N.
22289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22290 include <bp-checks.h>.
22291 (__libc_pwrite64): Don't use CHECK_N.
22292 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22293 (do_pread): Don't use CHECK_N.
22294 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22295 (do_pread64): Don't use CHECK_N.
22296 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22297 (do_pwrite): Don't use CHECK_N.
22298 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22299 (do_pwrite64): Don't use CHECK_N.
22300 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22301 (__libc_readv): Don't use CHECK_N.
22302 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22303 (semop): Don't use CHECK_N.
22304 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22306 (semtimedop): Don't use CHECK_N.
22307 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22308 (__libc_pread): Don't use CHECK_N.
22309 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22311 (__libc_pread64): Don't use CHECK_N.
22312 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22314 (__libc_pwrite): Don't use CHECK_N.
22315 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22317 (__libc_pwrite64): Don't use CHECK_N.
22318 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22320 (__libc_msgrcv): Don't use CHECK_N.
22321 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22322 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22323 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22324 (__libc_writev): Don't use CHECK_N.
22326 2013-02-08 Roland McGrath <roland@hack.frob.com>
22328 * string/strcpy.c: Removed unused variable.
22330 * Makeconfig (+sysdep-includes): Define with := rather than =.
22331 Use an existing include/ subdir of each sysdeps dir before it.
22333 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22335 * nscd/connection.c (register_traced_file): Comment function.
22336 [HAVE_INOTIFY] (union __inev): Define.
22337 [HAVE_INOTIFY] (inotify_check_files): New function.
22338 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22339 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22341 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22343 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22345 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22346 loaded if not already and that a failure is permanent.
22348 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22351 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22352 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22354 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22357 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22358 (CHECK_1_NULL_OK): Likewise.
22359 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22360 (__fxstat): Do not use CHECK_1.
22361 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22363 (___fxstat64): Do not use CHECK_1.
22364 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22366 (__fxstatat): Do not use CHECK_1.
22367 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22369 (__fxstatat64): Do not use CHECK_1.
22370 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22372 (__fxstat): Do not use CHECK_1.
22373 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22375 (__fxstatat): Do not use CHECK_1.
22376 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22378 (__getresgid): Do not use CHECK_1.
22379 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22381 (__getresuid): Do not use CHECK_1.
22382 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22384 (__lxstat): Do not use CHECK_1.
22385 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22387 (__old_msgctl): Do not use CHECK_1.
22388 (__new_msgctl): Likewise.
22389 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22391 (__new_setrlimit): Do not use CHECK_1.
22392 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22394 (__old_shmctl): Do not use CHECK_1.
22395 (__new_shmctl): Likewise.
22396 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22398 (__xstat): Do not use CHECK_1.
22399 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22400 (__lxstat): Do not use CHECK_1.
22401 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22403 (___lxstat64): Do not use CHECK_1.
22404 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22405 (__old_msgctl): Do not use CHECK_1.
22406 (__new_msgctl): Likewise.
22407 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22409 (__gettimeofday): Do not use CHECK_1.
22410 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22411 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22412 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22414 (__gettimeofday): Do not use CHECK_1.
22415 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22416 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22417 (__new_shmctl): Do not use CHECK_1.
22418 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22420 (do_sigtimedwait): Do not use CHECK_1.
22421 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22423 (do_sigwaitinfo): Do not use CHECK_1.
22424 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22426 (msgctl): Do not use CHECK_1.
22427 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22429 (shmctl): Do not use CHECK_1.
22430 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22431 (ustat): Do not use CHECK_1.
22432 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22434 (__fxstat): Do not use CHECK_1.
22435 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22437 (__fxstatat): Do not use CHECK_1.
22438 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22440 (__lxstat): Do not use CHECK_1.
22441 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22443 (__xstat): Do not use CHECK_1.
22444 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22445 (__xstat): Do not use CHECK_1.
22446 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22447 (___xstat64): Do not use CHECK_1.
22450 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22452 (CHECK_BOUNDS_HIGH): Likewise.
22453 * string/strcpy.c: Do not include <bp-checks.h>.
22454 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22456 2013-02-07 Roland McGrath <roland@hack.frob.com>
22458 * nscd/nscd-client.h (__nscd_drop_map_ref):
22459 Add __attribute__ ((unused)).
22460 * nis/nss-nisplus.h (niserr2nss): Likewise.
22462 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22463 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22465 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22466 Remove inline keyword.
22467 * include/rounding-mode.h (round_away): Likewise.
22468 * libio/wfileops.c (adjust_wide_data): Likewise.
22469 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22470 (__m128i_strloadu_tolower): Likewise.
22471 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22472 (__m128i_strloadu_tolower): Likewise.
22473 * time/mktime.c (ydhms_diff): Likewise.
22474 * locale/elem-hash.h (elem_hash): Likewise.
22475 * locale/setlocale.c (setdata): Likewise.
22476 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22477 (re_string_wchar_at): Likewise.
22478 (bitset_not, bitset_merge, bitset_mask): Likewise.
22479 [!(__GNUC__ > 3)] (inline): Remove macro.
22480 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22481 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22482 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22483 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22484 * string/memcmp.c (memcmp_bytes): Likewise.
22485 * locale/programs/locarchive.c (compute_hashval): Likewise.
22486 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22487 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22488 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22489 * nss/getent.c (print_rpc, print_protocols): Likewise.
22490 (print_passwd, print_group, print_aliases): Likewise.
22491 * nis/nss-nisplus.h (niserr2nss): Likewise.
22492 * nscd/connections.c (restart_p): Likewise.
22493 Change return type to bool.
22495 2013-02-05 Roland McGrath <roland@hack.frob.com>
22497 * Makeconfig (all-Depend-files): Add existing
22498 $(sorted-subdirs:=/Depend) files.
22499 (all-subdirs): Remove nss.
22500 * sysdeps/unix/inet/Subdirs: Add it here instead.
22501 * hesiod/Depend: New file.
22503 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22504 instead of calling alloca.
22506 * io/lseek.c (__lseek): Rename to __libc_lseek.
22507 Define __lseek as an alias.
22509 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22511 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22513 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22514 else clause and remove check for non-standard endianness.
22516 2013-02-04 David S. Miller <davem@davemloft.net>
22518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22520 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22523 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22524 (__ubp_memchr): Remove prototype.
22525 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22526 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22527 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22528 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22529 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22531 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22532 (__ubp_memchr): Likewise.
22533 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22534 (__ubp_memchr): Likewise.
22535 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22536 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22537 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22538 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22540 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22541 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22542 (__getcwd): Do not use CHECK_STRING.
22543 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22545 (__real_chown): Do not use CHECK_STRING.
22546 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22548 (fchownat): Do not use CHECK_STRING.
22549 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22551 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22553 (__lchown): Do not use CHECK_STRING.
22554 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22555 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22556 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22557 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22559 include <bp-checks.h>.
22560 (truncate64): Do not use CHECK_STRING.
22561 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22563 (__real_chown): Do not use CHECK_STRING.
22564 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22566 (__lchown): Do not use CHECK_STRING.
22567 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22569 (__chown): Do not use CHECK_STRING.
22570 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22572 (truncate64): Do not use CHECK_STRING.
22573 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22575 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22576 (__xmknod): Do not use CHECK_STRING.
22577 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22579 (__xmknodat): Do not use CHECK_STRING.
22580 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22581 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22583 2013-02-04 Andreas Schwab <schwab@suse.de>
22586 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22587 * include/netdb.h: Likewise for h_errno.
22588 * elf/tst-stackguard1.c: Include <tls.h>.
22590 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22592 * elf/link.h (struct link_map): Extend the l_addr comment.
22593 * include/link.h (struct link_map): Likewise.
22595 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22598 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22599 (BOUNDED_1): Remove macro.
22600 * debug/backtrace.c: Don't include <bp-checks.h>.
22601 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22602 (__backtrace): Likewise.
22603 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22605 (__backtrace): Don't use BOUNDED_1.
22606 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22608 (__backtrace): Don't use BOUNDED_1.
22609 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22610 (__backtrace): Don't use BOUNDED_1.
22611 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22612 (shmat): Don't use BOUNDED_N.
22614 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22617 * sysdeps/generic/bp-start.h: Remove file.
22618 * csu/libc-start.c: Don't include <bp-start.h>.
22619 (LIBC_START_MAIN): Set up __environ directly instead of using
22620 INIT_ARGV_and_ENVIRON.
22621 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22625 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22627 (CHECK_FCNTL): Likewise.
22628 (CHECK_N_PAGES): Likewise.
22631 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22633 (CHECK_SIGSET_NULL_OK): Likewise.
22634 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22636 (sigpending): Don't use CHECK_SIGSET.
22637 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22639 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22640 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22642 (do_sigsuspend): Don't use CHECK_SIGSET.
22643 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22645 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22646 (do_sigwait): Don't use CHECK_SIGSET.
22647 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22649 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22650 include <bp-checks.h>.
22651 (sigpending): Don't use CHECK_SIGSET.
22652 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22653 include <bp-checks.h>.
22654 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22655 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22657 (sigpending): Don't use CHECK_SIGSET.
22658 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22660 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22663 * sysdeps/generic/bp-semctl.h: Remove file.
22664 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22665 <bp-checks.h> and <bp-semctl.h>.
22666 (__old_semctl): Don't use CHECK_SEMCTL.
22667 (__new_semctl): Likewise.
22668 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22670 (__old_semctl): Don't use CHECK_SEMCTL.
22671 (__new_semctl): Likewise.
22672 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22673 <bp-checks.h> and <bp-semctl.h>.
22674 (__old_semctl): Don't use CHECK_SEMCTL.
22675 (__new_semctl): Likewise.
22676 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22677 <bp-checks.h> and <bp-semctl.h>.
22678 (semctl): Don't use CHECK_SEMCTL.
22681 * Makerules (elide-bp-thunks): Remove variable.
22682 (elide-routines.oS): Don't use $(elide-bp-thunks).
22683 (elide-routines.os): Likewise.
22684 (elide-routines.o): Likewise.
22685 (elide-routines.op): Likewise.
22686 (elide-routines.og): Likewise.
22687 (objects): Don't use $(bp-thunks).
22688 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22690 (common-generated): Do not add s-proto-bp.d.
22691 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22694 Do not generate makefile rules for bounded-pointer thunks.
22695 * sysdeps/generic/bp-thunks.h: Remove file.
22696 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22697 * sysdeps/unix/s-proto-bp.S: Likewise.
22700 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22701 parts of result separately when argument is not close to line from
22702 -i to i and one part of argument is small.
22703 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22704 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22705 * math/libm-test.inc (cacos_test): Add more tests.
22706 (casin_test): Likewise.
22707 (casinh_test): Likewise.
22708 * sysdeps/i386/fpu/libm-test-ulps: Update.
22709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22711 2013-01-31 David S. Miller <davem@davemloft.net>
22713 * po/de.po: Update from translation team.
22715 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22717 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22719 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22721 * configure.in (_AC_PROG_CC_C89): New definition.
22722 * configure: Regenerate.
22724 * configure.in (AC_PROG_CPP): New definition.
22725 * configure: Regenerate.
22727 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22729 * debug/tst-backtrace.h: New file.
22730 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22731 (ret): Remove variable.
22733 (FAIL): Remove macro.
22734 (NO_INLINE): Likewise.
22735 (fn1): Use match function instead of strstr.
22736 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22737 (ret): Remove variable.
22739 (FAIL): Remove macro.
22740 (NO_INLINE): Likewise.
22741 (fn): Use match function instead of strstr.
22742 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22743 (ret): Remove variable.
22745 (FAIL): Remove macro.
22746 (NO_INLINE): Likewise.
22747 (handle_signal): Use match function instead of strstr.
22748 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22749 (ret): Remove variable.
22751 (FAIL): Remove macro.
22752 (NO_INLINE): Likewise.
22753 (handle_signal): Use match function instead of strstr.
22755 2013-01-23 Roland McGrath <roland@hack.frob.com>
22757 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22759 2013-01-23 David S. Miller <davem@davemloft.net>
22761 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22762 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22763 argument of CAS if possible.
22764 * sysdeps/sparc/sparc64/bits/atomic.h
22765 (__arch_compare_and_exchange_val_32_acq): Likewise.
22766 (__arch_compare_and_exchange_val_64_acq): Likewise.
22768 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22770 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22771 * sysdeps/posix/ulimit.c: ... this.
22772 Include <limits.h>.
22773 * sysdeps/unix/bsd/ulimit.c: Remove file.
22775 2013-01-23 Adam Conrad <adconrad@0c3.net>
22777 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22778 (LDFLAGS-tst-array5): Likewise.
22780 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22783 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22784 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22785 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22786 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22788 2013-01-21 David S. Miller <davem@davemloft.net>
22790 * sysdeps/sparc/backtrace.c: New file.
22791 * sysdeps/sparc/sparc32/backtrace.h: New file.
22792 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22793 * sysdeps/sparc/sparc64/backtrace.h: New file.
22794 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22795 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22798 2013-01-21 Andreas Schwab <schwab@suse.de>
22801 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22804 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22810 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22811 Mark Mitchell <mark@codesourcery.com>
22812 Tom de Vries <tom@codesourcery.com>
22813 Paul Pluzhnikov <ppluzhnikov@google.com>
22815 * debug/tst-backtrace2.c: New file.
22816 * debug/tst-backtrace3.c: Likewise.
22817 * debug/tst-backtrace4.c: Likewise.
22818 * debug/tst-backtrace5.c: Likewise.
22819 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22820 (CFLAGS-tst-backtrace3.c): Likewise.
22821 (CFLAGS-tst-backtrace4.c): Likewise.
22822 (CFLAGS-tst-backtrace5.c): Likewise.
22823 (LDFLAGS-tst-backtrace2): Likewise.
22824 (LDFLAGS-tst-backtrace3): Likewise.
22825 (LDFLAGS-tst-backtrace4): Likewise.
22826 (LDFLAGS-tst-backtrace5): Likewise.
22827 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22828 tst-backtrace4 and tst-backtrace5.
22830 2013-01-18 Anton Blanchard <anton@samba.org>
22831 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22833 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22834 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22835 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22836 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22838 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22839 "+r" and remove output regs list as redundant. Add explicit inline
22840 asm to specify register of return val to work around compiler codegen
22841 bug. Remove (int) cast on return value. Add return type parameter to
22842 use in macro so that this macro does not truncate return value for
22844 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22845 pass to INTERNAL_VSYSCALL_NCS.
22846 (INLINE_VSYSCALL): Add 'long int' as return type to
22847 INTERNAL_VSYSCALL_NCS macro invocation.
22848 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22849 INTERNAL_VSYSCALL_NCS macro invocation.
22850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22852 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22855 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22856 Fix application of SIMD FP exception mask.
22858 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22859 mp_no from a power of two.
22860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22861 __mpexp_twomm1. Use __pow_mp.
22863 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22866 2013-01-17 David S. Miller <davem@davemloft.net>
22868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22870 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22873 * include/complex.h: Condition contents on [!_COMPLEX_H].
22874 (__kernel_casinhf): New prototype.
22875 (__kernel_casinh): Likewise.
22876 (__kernel_casinhl): Likewise.
22877 * math/Makefile (libm_calls): Add k_casinh.
22878 * math/k_casinh.c: New file.
22879 * math/k_casinhf.c: Likewise.
22880 * math/k_casinhl.c: Likewise.
22881 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22882 finite nonzero arguments.
22883 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22884 finite nonzero arguments.
22885 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22886 finite nonzero arguments.
22887 * math/s_casinh.c: Do not include <float.h>.
22888 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22889 * math/s_casinhf.c: Do not include <float.h>.
22890 (__casinhf): Move code for finite nonzero arguments to
22892 * math/s_casinhl.c: Do not include <float.h>.
22893 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22895 (__casinhl): Move code for finite nonzero arguments to
22897 * math/libm-test.inc (cacos_test): Add more tests.
22898 * sysdeps/i386/fpu/libm-test-ulps: Update.
22899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22901 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22903 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22904 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22905 [!HAVE_MREMAP]: Remove [defined linux] case.
22906 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22908 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22910 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22912 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22914 * elf/elf.h (R_386_SIZE32): New relocation.
22915 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22917 (elf_machine_rela): Likewise.
22918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22919 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22921 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22923 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22924 (FP_FAST_FMA): Do not define.
22925 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22926 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22927 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22928 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22929 !_SOFT_FLOAT]: Likewise.
22930 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22931 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22933 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22934 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22935 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22936 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22937 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22938 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22941 2013-01-16 Andreas Schwab <schwab@suse.de>
22944 * include/stdlib.h (__mktemp): Add declaration.
22945 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22946 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22948 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22950 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22952 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22953 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22954 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22956 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22957 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22959 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22961 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22962 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22963 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22965 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22966 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22968 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22970 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22972 2013-01-15 David S. Miller <davem@davemloft.net>
22974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22975 trunc{,f} to libm-sysdep_routes.
22976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22986 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22987 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22988 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22989 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22990 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22991 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22994 nearbyint{,f} to libm-sysdep_routes.
22995 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23006 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23008 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23009 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23011 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23012 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23013 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23015 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23016 libc_feholdexcept and libc_fesetenv.
23018 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23020 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23022 2013-01-14 David S. Miller <davem@davemloft.net>
23024 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23025 (SPARC_ASM_VIS2_IFUNC): Likewise.
23026 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23028 use of 'siam' instruction.
23029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23062 routines to libm-sysdep_routines.
23063 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23066 fdim/fdimf to libm-sysdep_routines.
23067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23075 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23076 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23077 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23078 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23080 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23082 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23083 to optimize copies.
23085 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23090 local variable MPTWO.
23091 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23094 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23096 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23099 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23101 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23103 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23105 * manual/pattern.texi (glob_t): Document gl_flags.
23106 (glob64_t): Likewise.
23108 2013-01-11 David S. Miller <davem@davemloft.net>
23110 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23111 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23112 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23113 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23114 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23115 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23116 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23117 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23118 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23119 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23120 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23121 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23122 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23124 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23125 sparc V9 rather than using V8 code.
23126 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23127 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23129 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23131 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23134 2013-01-11 Roland McGrath <roland@hack.frob.com>
23136 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23137 not in the main loop.
23138 * configure: Regenerated.
23140 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23142 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23143 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23145 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23146 [!__GLIBC_HAVE_LONG_LONG] case.
23147 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23148 condition to just #else.
23149 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23150 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23151 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23152 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23154 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23155 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23156 #elif condition to just #else.
23157 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23158 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23159 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23160 #elif condition to just #else.
23162 2013-01-11 Steve Ellcey <sellcey@mips.com>
23164 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23165 (EF_MIPS_ARCH_64): Fix value.
23166 (EF_MIPS_ARCH_32R2): New.
23167 (EF_MIPS_ARCH_64R2): New.
23169 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23171 * Makeconfig (+link-pie-before-libc): New.
23172 (+link-pie-after-libc): Likewise.
23173 (+link-pie-tests): Likewise.
23174 (+link-pie): Rewritten.
23175 (link-before-libc): Remove $(config-LDFLAGS).
23176 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23177 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23178 (config-LDFLAGS): Renamed to ...
23179 (rtld-LDFLAGS): This.
23180 (rtld-tests-LDFLAGS): New macro.
23181 (link-libc-rpath-link): Likewise.
23182 (link-libc-tests-rpath-link): Likewise.
23183 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23184 (link-libc): Prepand $(link-libc-rpath-link).
23185 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23186 (test-program-prefix): New macro.
23187 (test-via-rtld-prefix): Likewise.
23188 (test-program-cmd): Likewise.
23189 (host-test-program-cmd): Likewise.
23190 * Makefile ($(common-objpfx)testrun.sh): Replace
23191 $(run-program-prefix) with $(test-program-prefix).
23192 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23194 ($(common-objpfx)shlib.lds): Likewise.
23195 (build-module-helper): Likewise.
23196 ($(common-objpfx)format.lds): Likewise.
23197 * Rules (binaries-pie-tests): New.
23198 (binaries-pie-notests): Likewise.
23199 (binaries-pie): Rewritten.
23200 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23201 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23202 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23203 (make-test-out): Replace $(host-built-program-cmd) with
23204 $(host-test-program-cmd).
23205 * config.make.in (build-hardcoded-path-in-tests): New variable.
23206 * configure.in (--enable-hardcoded-path-in-tests): New configure
23208 (hardcoded_path_in_tests): New AC_SUBST.
23209 * configure: Regenerated.
23210 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23211 $(built-program-cmd) with $(test-program-cmd).
23212 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23213 (test_program_cmd): This.
23214 * elf/Makefile ($(objpfx)order.out): Run test with
23215 $(test-program-prefix).
23216 ($(objpfx)order2.out): Likewise.
23217 ($(objpfx)tst-initorder.out): Likewise.
23218 ($(objpfx)tst-initorder2.out): Likewise.
23219 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23220 $(test-program-cmd).
23221 ($(objpfx)tst-array1-static.out): Likewise.
23222 ($(objpfx)tst-array2.out): Likewise.
23223 ($(objpfx)tst-array3.out): Likewise.
23224 ($(objpfx)tst-array4.out): Likewise.
23225 ($(objpfx)tst-array5.out): Likewise.
23226 ($(objpfx)tst-array5-static.out): Likewise.
23227 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23228 $(test-program-cmd).
23229 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23230 $(run-program-prefix) with $(test-program-prefix).
23231 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23232 (test_program_prefix): This.
23233 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23234 $(run-program-prefix) with $(test-program-prefix).
23235 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23236 (test_program_prefix): This.
23237 * iconvdata/tst-tables.sh: Likewise.
23238 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23239 $(run-program-prefix) with $(test-program-prefix).
23240 ($(objpfx)tst-translit.out): Likewise.
23241 ($(objpfx)tst-gettext2.out): Likewise.
23242 ($(objpfx)tst-gettext4.out): Likewise.
23243 ($(objpfx)tst-gettext6.out): Likewise.
23244 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23245 (test_program_prefix): This.
23246 * intl/tst-gettext2.sh: Likewise.
23247 * intl/tst-gettext4.sh Likewise.
23248 * intl/tst-gettext6.sh: Likewise.
23249 * intl/tst-translit.sh: Likewise.
23250 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23251 with $(test-program-cmd).
23252 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23253 $(run-program-prefix) with $(test-program-prefix).
23254 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23255 (test_program_prefix): This.
23256 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23257 $(run-program-prefix) with $(test-program-prefix).
23258 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23259 (test_program_prefix): This.
23260 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23261 * posix/Makefile ($(objpfx)globtest.out): Replace
23262 $(run-via-rtld-prefix) and $(test-wrapper) with
23263 $(test-program-prefix) and $(test-via-rtld-prefix).
23264 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23265 $(test-program-prefix).
23266 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23267 $(host-test-program-cmd).
23268 (tst-spawn-ARGS): Likewise.
23269 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23270 $(test-program-prefix).
23271 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23272 (test_via_rtld_prefix): This.
23273 (test_wrapper): Renamed to ...
23274 (test_program_prefix): This.
23275 (run_program_prefix): Replaced by test_program_prefix.
23276 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23277 (test_program_prefix): This.
23278 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23279 with $(host-test-program-cmd).
23280 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23281 $(run-program-prefix) with $(test-program-prefix).
23282 ($(objpfx)tst-printf.out): Likewise.
23283 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23284 $(test-program-cmd).
23285 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23286 (test_program_prefix): This.
23287 * stdio-common/tst-unbputc.sh: Likewise.
23288 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23289 $(run-program-prefix) with $(test-program-prefix).
23290 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23291 (test_program_prefix): This.
23292 * string/Makefile ($(objpfx)tst-svc.out): Replace
23293 $(built-program-cmd) with $(test-program-cmd).
23295 2013-01-11 Andreas Jaeger <aj@suse.de>
23298 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23299 value. Sync with Linux 3.7.
23301 2013-01-10 David S. Miller <davem@davemloft.net>
23303 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23304 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23305 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23307 2013-01-10 Roland McGrath <roland@hack.frob.com>
23309 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23311 * configure: Regenerated.
23313 2013-01-10 David S. Miller <davem@davemloft.net>
23315 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23316 sparc V9 rather than using V8 code.
23317 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23318 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23320 2013-01-10 Roland McGrath <roland@hack.frob.com>
23322 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23323 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23324 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23325 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23326 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23327 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23328 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23329 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23330 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23331 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23332 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23333 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23334 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23335 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23336 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23337 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23338 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23339 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23340 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23341 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23342 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23343 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23344 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23345 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23346 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23347 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23348 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23350 2013-01-10 David S. Miller <davem@davemloft.net>
23352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23354 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23356 * posix/Makefile (tests-static): New variable.
23357 (tests): Add $(tests-static).
23358 (tst-exec-static-ARGS): New variable.
23359 (tst-spawn-static-ARGS): Likewise.
23360 * posix/tst-exec-static.c: New file.
23361 * posix/tst-spawn-static.c: Likewise.
23362 * posix/tst-exec.c: Support run directly.
23363 * posix/tst-spawn.c: Likewise.
23365 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23367 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23369 * math/bits/mathcalls.h (llrint): Likewise.
23370 (llround): Likewise.
23371 * stdlib/stdlib.h (struct drand48_data): Likewise.
23372 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23373 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23374 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23376 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23378 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23379 (elf_greg_t): Likewise.
23380 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23381 (__jmp_buf): Likewise.
23382 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23384 (llrint): Likewise, for all definitions.
23385 (llrintl): Likewise.
23387 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23388 Remove [__GNUC__] condition.
23389 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23390 condition to just [__USE_ISOC99].
23391 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23393 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23396 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23397 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23399 (_POSIX_V6_ILP32_OFF32): Likewise.
23400 (_XBS5_ILP32_OFF32): Likewise.
23401 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23402 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23404 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23406 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23408 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23409 doubles __mpexp_twomm1. Adjust usage.
23410 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23413 2013-01-10 Andreas Schwab <schwab@suse.de>
23416 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23417 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23419 2013-01-09 David S. Miller <davem@davemloft.net>
23422 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23423 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23424 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23425 (TCP_FASTOPEN): Define.
23426 (tcp_repair_opt): New structure.
23427 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23429 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23430 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23431 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23432 (tcp_cookie_transactions): New structure.
23434 2013-01-09 Anton Blanchard <anton@samba.org>
23436 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23437 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23438 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23439 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23441 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23443 * include/features.h (__USE_ANSI): Remove.
23445 2013-01-09 Roland McGrath <roland@hack.frob.com>
23447 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23449 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23451 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23453 * sysdeps/s390/fpu/libm-test-ulps: Update.
23455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23457 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23461 (denorm): Likewise.
23462 (__mp_dbl): Likewise.
23463 (__dbl_mp): Likewise.
23464 (add_magnitudes): Likewise.
23465 (sub_magnitudes): Likewise.
23471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23475 (denorm): Likewise.
23476 (__mp_dbl): Likewise.
23477 (__dbl_mp): Likewise.
23478 (add_magnitudes): Likewise.
23479 (sub_magnitudes): Likewise.
23485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23489 (denorm): Likewise.
23490 (__mp_dbl): Likewise.
23491 (__dbl_mp): Likewise.
23492 (add_magnitudes): Likewise.
23493 (sub_magnitudes): Likewise.
23500 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23502 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23503 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23504 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23505 2 && __USE_EXTERN_INLINES]: Likewise.
23507 2013-01-08 Andreas Jaeger <aj@suse.de>
23510 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23512 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23513 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23515 2013-01-07 Anton Blanchard <anton@samba.org>
23517 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23518 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23519 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23520 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23521 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23522 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23523 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23524 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23526 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23527 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23528 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23529 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23530 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23531 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23532 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23533 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23534 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23535 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23536 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23537 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23538 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23540 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23541 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23542 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23543 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23544 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23545 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23546 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23547 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23548 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23549 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23550 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23551 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23552 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23553 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23554 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23555 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23556 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23557 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23558 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23559 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23561 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23563 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23564 (__MALLOC_PMT): Likewise.
23565 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23566 [__GNUC__], only on [_LIBC].
23567 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23568 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23569 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23570 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23571 forward declaration.
23572 (realloc_hook_ini): Likewise.
23573 (memalign_hook_ini): Likewise.
23574 (__libc_memalign): Do not use __MALLOC_PMT in variable
23576 (__libc_valloc): Likewise.
23577 (__libc_pvalloc): Likewise.
23578 (__libc_calloc): Likewise.
23579 (__posix_memalign): Likewise.
23582 * math/s_casinh.c: Include <float.h>.
23583 (__casinh): Do not do computation with squaring and square root
23584 for large arguments.
23585 * math/s_casinhf.c: Include <float.h>.
23586 (__casinhf): Do not do computation with squaring and square root
23587 for large arguments.
23588 * math/s_casinhl.c: Include <float.h>.
23589 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23590 (__casinhl): Do not do computation with squaring and square root
23591 for large arguments.
23592 * math/libm-test.inc (casin_test): Add more tests.
23593 (casinh_test): Likewise.
23594 * sysdeps/i386/fpu/libm-test-ulps: Update.
23595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23597 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23599 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23600 (__x86_64_raw_data_cache_size): Likewise.
23601 (__x86_64_data_cache_size_half): Likewise.
23602 (__x86_64_raw_data_cache_size_half): Likewise.
23603 (__x86_64_shared_cache_size): Likewise.
23604 (__x86_64_raw_shared_cache_size): Likewise.
23605 (__x86_64_shared_cache_size_half): Likewise.
23606 (__x86_64_raw_shared_cache_size_half): Likewise.
23607 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23609 (__x86_data_cache_size): This.
23610 (__x86_64_raw_data_cache_size): Renamed to ...
23611 (__x86_raw_data_cache_size): This.
23612 (__x86_64_data_cache_size_half): Renamed to ...
23613 (__x86_data_cache_size_half): This.
23614 (__x86_64_raw_data_cache_size_half): Renamed to ...
23615 (__x86_raw_data_cache_size_half): This.
23616 (__x86_64_shared_cache_size): Renamed to ...
23617 (__x86_shared_cache_size): This.
23618 (__x86_64_raw_shared_cache_size): Renamed to ...
23619 (__x86_raw_shared_cache_size): This.
23620 (__x86_64_shared_cache_size_half): Renamed to ...
23621 (__x86_shared_cache_size_half): This.
23622 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23623 (__x86_raw_shared_cache_size_half): This.
23624 * sysdeps/x86_64/memcpy.S: Updated.
23625 * sysdeps/x86_64/memset.S: Likewise.
23626 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23627 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23628 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23630 2013-01-04 David S. Miller <davem@davemloft.net>
23632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23634 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23636 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23637 1 to avoid redefinition warning.
23638 (__USE_GNU): Don't define.
23639 (init_signaling_nan): Protoize.
23641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23643 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23645 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23647 (__cpymn): Likewise.
23648 (norm): Remove commented code.
23649 (denorm): Likewise.
23650 (__mp_dbl): Likewise.
23652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23653 (__cpymn): Likewise.
23654 (norm): Remove commented code.
23655 (denorm): Likewise.
23656 (__mp_dbl): Likewise.
23659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23660 mp_no value for 1.0 and 2.0.
23661 (norm): Use RADIXI instead of radixi.d.
23662 (denorm): Likewise.
23663 (__mul): Use 0.0 instead of zero.d.
23664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23665 mp_no value for 1.0 and 2.0.
23666 (norm): Use RADIXI instead of radixi.d.
23667 (denorm): Likewise.
23668 (__mul): Use 0.0 instead of zero.d.
23670 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23673 * math/s_casinh.c (__casinh): Reduce finite argument to first
23674 quadrant then set signs of results at the end.
23675 * math/s_casinhf.c (__casinhf): Likewise.
23676 * math/s_casinhl.c (__casinhl): Likewise.
23677 * math/libm-test.inc (casin_test): Add more tests.
23678 (casinh_test): Likewise.
23679 * sysdeps/i386/fpu/libm-test-ulps: Update.
23680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23682 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23684 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23686 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23688 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23690 (denorm): Likewise.
23691 (__mp_dbl): Likewise.
23694 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23695 and adjust the header comment.
23697 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23698 variable name from declaration.
23700 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23703 Initialize COMMON_CPUID_INDEX_7 element.
23704 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23705 (CPUID_RTM): Likewise.
23706 (HAS_RTM): Likewise.
23707 (COMMON_CPUID_INDEX_7): New enum.
23709 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23712 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23713 size is zero, record memory as freed.
23715 2013-01-03 Andreas Jaeger <aj@suse.de>
23717 * po/ia.po: Add new Interlingua translation.
23719 2012-01-03 Allan McRae <allan@archlinux.org>
23721 * locale/programs/localedef.c: Fix description of '--posix' flag.
23723 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23725 * NEWS: Update dates in second copyright notice.
23726 * README: Update copyright dates in example.
23727 * manual/libc.texinfo: Update copyright dates.
23728 * scripts/test-installation.pl: Update copyright date in --version
23731 * hurd/ctty-input.c: Fix copyright notice formatting.
23732 * hurd/ctty-output.c: Likewise.
23733 * hurd/dtable.c: Likewise.
23734 * hurd/hurd-raise.c: Likewise.
23735 * hurd/hurdprio.c: Likewise.
23736 * hurd/msgportdemux.c: Likewise.
23737 * misc/sys/file.h: Likewise.
23738 * misc/sys/ioctl.h: Likewise.
23739 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23740 * sysdeps/mach/hurd/chdir.c: Likewise.
23741 * sysdeps/mach/hurd/fchdir.c: Likewise.
23742 * sysdeps/mach/hurd/rename.c: Likewise.
23743 * sysdeps/mach/hurd/rmdir.c: Likewise.
23744 * sysdeps/mach/hurd/seekdir.c: Likewise.
23745 * sysdeps/mach/hurd/setsid.c: Likewise.
23746 * sysdeps/posix/wait3.c: Likewise.
23748 * All files with FSF copyright notices: Update copyright dates
23749 using scripts/update-copyrights.
23750 * intl/plural.c: Regenerated.
23751 * locale/programs/charmap-kw.h: Likewise.
23752 * locale/programs/locfile-kw.h: Likewise.
23754 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23756 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23759 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23760 calculation loop and add branch prediction.
23762 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23763 check access beyond bounds of m1np.
23765 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23767 (__inv): Remove local variable MPTWO to use the global
23769 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23770 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23772 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23773 MP3HALFS static const.
23775 2013-01-01 David S. Miller <davem@davemloft.net>
23777 * po/ca.po: Update from translation team.
23779 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23781 * scripts/update-copyrights: New file.
23782 * Makeconfig: Reformat copyright notice.
23783 * ctype/ctype.h: Likewise.
23784 * debug/swprintf_chk.c: Likewise.
23785 * elf/dl-cache.c: Likewise.
23786 * elf/dl-debug.c: Likewise.
23787 * elf/dl-object.c: Likewise.
23788 * grp/initgroups.c: Likewise.
23789 * hurd/Makefile: Likewise.
23790 * hurd/hurd/signal.h: Likewise.
23791 * hurd/hurdfault.c: Likewise.
23792 * hurd/hurdioctl.c: Likewise.
23793 * hurd/hurdlookup.c: Likewise.
23794 * hurd/intr-msg.c: Likewise.
23795 * iconv/gconv_open.c: Likewise.
23796 * libio/swprintf.c: Likewise.
23797 * locale/lc-ctype.c: Likewise.
23798 * locale/nl_langinfo.c: Likewise.
23799 * mach/Machrules: Likewise.
23800 * mach/Makefile: Likewise.
23801 * malloc/obstack.h: Likewise.
23802 * manual/Makefile: Likewise.
23803 * manual/tsort.awk: Likewise.
23804 * misc/bits/stab.def: Likewise.
23805 * nis/nis_print_group_entry.c: Likewise.
23806 * nis/nis_table.c: Likewise.
23807 * nis/nss_compat/compat-pwd.c: Likewise.
23808 * nis/nss_compat/compat-spwd.c: Likewise.
23809 * po/Makefile: Likewise.
23810 * posix/fnmatch.c: Likewise.
23811 * posix/regex.h: Likewise.
23812 * resolv/Makefile: Likewise.
23813 * resolv/nss_dns/dns-network.c: Likewise.
23814 * resolv/res_hconf.c: Likewise.
23815 * scripts/gen-sorted.awk: Likewise.
23816 * soft-fp/soft-fp.h: Likewise.
23817 * stdio-common/printf.h: Likewise.
23818 * stdlib/monetary.h: Likewise.
23819 * stdlib/random.c: Likewise.
23820 * stdlib/random_r.c: Likewise.
23821 * sysdeps/generic/Makefile: Likewise.
23822 * sysdeps/gnu/Makefile: Likewise.
23823 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23824 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23825 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23826 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23828 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23830 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23831 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23833 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23834 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23835 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23836 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23837 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23838 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23839 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23840 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23841 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23842 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23843 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23844 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23845 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23846 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23849 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23850 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23851 * sysdeps/mach/hurd/errnos.awk: Likewise.
23852 * sysdeps/mach/hurd/fork.c: Likewise.
23853 * sysdeps/mach/hurd/getcwd.c: Likewise.
23854 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23855 * sysdeps/mach/hurd/mmap.c: Likewise.
23856 * sysdeps/mach/hurd/utimes.c: Likewise.
23857 * sysdeps/mach/hurd/xmknod.c: Likewise.
23858 * sysdeps/posix/profil.c: Likewise.
23859 * sysdeps/posix/readdir_r.c: Likewise.
23860 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23861 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23862 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23863 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23865 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23866 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23867 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23869 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23870 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23871 * sysdeps/pthread/lio_listio.c: Likewise.
23872 * sysdeps/sparc/dl-procinfo.h: Likewise.
23873 * sysdeps/unix/i386/sysdep.S: Likewise.
23874 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23875 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23876 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23877 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23879 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23880 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23881 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23882 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23883 * sysdeps/wordsize-32/divdi3.c: Likewise.
23884 * time/sys/time.h: Likewise.
23885 * wcsmbs/Makefile: Likewise.
23887 2013-01-01 David S. Miller <davem@davemloft.net>
23889 * po/fr.po: Update from translation team.
23891 * catgets/gencat.c: Update copyright year.
23892 * csu/version.c: Likewise.
23893 * debug/catchsegv.sh: Likewise.
23894 * debug/pcprofiledump.c: Likewise.
23895 * debug/xtrace.sh: Likewise.
23896 * elf/ldconfig.c: Likewise.
23897 * elf/ldd.bash.in: Likewise.
23898 * elf/pldd.c: Likewise.
23899 * elf/sotruss.ksh: Likewise.
23900 * elf/sprof.c: Likewise.
23901 * iconv/iconv_prog.c: Likewise.
23902 * iconv/iconvconfig.c: Likewise.
23903 * locale/programs/locale.c: Likewise.
23904 * locale/programs/localedef.c: Likewise.
23905 * login/programs/pt_chown.c: Likewise.
23906 * malloc/memusage.sh: Likewise.
23907 * malloc/memusagestat.c: Likewise.
23908 * malloc/mtrace.pl: Likewise.
23909 * nscd/nscd.c: Likewise.
23910 * nss/getent.c: Likewise.
23911 * nss/makedb.c: Likewise.
23912 * posix/getconf.c: Likewise.
23914 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23916 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23919 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23921 * math/bits/mathcalls.h (modf): Use __nonnull.
23923 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23925 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23926 (split): Use macro CN instead of the bare value.
23927 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23929 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23930 instead of the bare value.
23931 (power1): Likewise.
23933 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23935 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23937 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23939 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23941 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23942 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23943 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23944 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23946 2012-12-28 Andreas Jaeger <aj@suse.de>
23948 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23949 values are from Linux 3.7.
23951 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23952 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23954 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23956 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23959 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23961 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23962 variables with preprocessor constants.
23963 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23964 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23965 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23967 2012-12-27 Bruno Haible <bruno@clisp.org>
23970 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23973 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23975 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23976 and use variable directly.
23977 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23979 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23981 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23982 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23984 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23985 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23986 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23987 include directive. Remove local variable MPONE.
23988 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23989 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23990 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23992 2012-12-25 David S. Miller <davem@davemloft.net>
23994 * version.h (RELEASE): Set to "development".
23995 (VERSION): Set to "2.17.90".
23996 * NEWS: Add 2.18 section.
23998 2012-12-21 David S. Miller <davem@davemloft.net>
24000 * po/hr.po: Update from translation team.
24002 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24004 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24006 2012-12-19 Steve Ellcey <sellcey@mips.com>
24008 * NEWS: Mention new memcpy for MIPS.
24010 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24012 * manual/contrib.texi (Contributors): Spelling correction.
24014 2012-12-15 David S. Miller <davem@davemloft.net>
24016 * po/ru.po: Update from translation team.
24018 2012-12-13 David S. Miller <davem@davemloft.net>
24020 * NEWS: Mention IFUNC testsuite enhancements.
24022 * po/pl.po: Update from translation team.
24023 * po/bg.po: Likewise.
24025 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24026 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24028 2012-12-11 David S. Miller <davem@davemloft.net>
24030 * po/sv.po: Update from translation team.
24032 * po/vi.po: Update from translation team.
24034 * po/cs.po: Update from translation team.
24036 * po/de.po: Update from translation team.
24037 * po/eo.po: Likewise.
24038 * po/nl.po: Likewise.
24040 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24043 * manual/argp.texi (Argp Helper Functions): Move node to follow
24044 Argp Parsing State.
24047 * manual/conf.texi (Limits on File System Capacity): Mention if
24048 terminating null is included in the max size.
24050 2012-12-10 Andreas Jaeger <aj@suse.de>
24052 * po/cs.po: Update from translation team.
24054 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24056 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24057 void pointer and cast to uintptr_t.
24058 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24060 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24061 * sysdeps/s390/s390-64/memset.S: Likewise.
24063 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24066 * menual/message.texi (Message Translation): Fix typos.
24067 (Helper programs for gettext): Likewise.
24069 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24072 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24075 2012-12-07 David S. Miller <davem@davemloft.net>
24077 * po/libc.pot: Update.
24079 2012-12-07 Richard Henderson <rth@redhat.com>
24082 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24083 normal/normal case to before the switch.
24084 (_FP_DIV): Likewise.
24086 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24087 Mike Frysinger <vapier@gentoo.org>
24089 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24090 check for __NR_fadvise64_64.
24092 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24094 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24095 0, not just to plain "0" as a statement.
24096 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24099 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24101 * NEWS: Use sourceware.org in Bugzilla URL.
24103 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24106 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24108 * stdio-common/tst-put-error.c (do_test): Add newline to the
24109 padded test to ensure flush.
24111 2012-12-05 Jeff Law <law@redhat.com>
24113 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24115 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24117 * README: Don't refer to ports add-on as distributed separately.
24118 Mention AArch64 in list of systems supported in the ports add-on.
24120 * LICENSES: Add more non-FSF copyright and license notices.
24122 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24125 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24127 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24128 10000 as width of padded output.
24130 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24132 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24134 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24135 variable LX with __attribute__ ((unused)).
24136 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24138 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24139 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24140 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24141 with __attribute__ ((unused)).
24143 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24145 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24147 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24149 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24150 (CFLAGS-nldbl-acos.c): New variable.
24151 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24152 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24153 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24154 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24155 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24156 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24157 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24158 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24159 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24160 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24161 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24162 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24163 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24164 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24165 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24166 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24167 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24168 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24169 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24170 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24171 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24172 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24173 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24174 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24175 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24176 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24177 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24178 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24179 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24180 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24181 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24182 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24183 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24184 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24185 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24186 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24187 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24188 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24189 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24190 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24191 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24192 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24193 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24194 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24195 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24196 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24197 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24198 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24199 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24200 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24201 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24202 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24203 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24204 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24205 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24206 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24207 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24208 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24209 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24210 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24211 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24212 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24213 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24214 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24215 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24216 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24217 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24218 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24219 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24220 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24221 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24222 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24223 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24224 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24225 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24226 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24227 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24228 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24229 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24230 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24231 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24232 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24233 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24234 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24235 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24236 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24237 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24238 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24239 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24240 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24241 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24242 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24243 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24244 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24245 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24246 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24247 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24250 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24253 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24254 whole low double instead of just low 47 bits when splitting values
24257 2012-12-03 Allan McRae <allan@archlinux.org>
24259 * manual/stdio.texi (Predefined Printf Handlers): Remove
24260 @hsep and @vsep usage.
24262 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24264 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24265 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24267 2012-12-03 Jeff Law <law@redhat.com>
24269 * time/sys/time.h (settimeofday): Do not mark TV argument
24272 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24274 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24275 when currently writing and seek to current position when not.
24276 * libio/Makefile (tests): Remove bug-fclose1.
24277 * libio/bug-fclose1.c: Delete.
24279 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24281 * manual/arith.texi (feenableexcept): Fix typo.
24282 (fedisableexcept): Likewise.
24284 2012-11-30 Roland McGrath <roland@hack.frob.com>
24286 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24287 second, differently-typed declaration, rather than a cast.
24289 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24291 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24292 * include/rpc/svc.h: ... here.
24294 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24297 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24298 depending n and resplen2 to catch cases where answer
24301 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24303 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24304 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24306 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24310 2012-11-29 Roland McGrath <roland@hack.frob.com>
24312 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24314 2012-11-28 Jeff Law <law@redhat.com>
24317 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24318 dataset_temporary. Track alloca usage into alloca_used.
24319 If dataset is large allocate and release it via malloc/free.
24321 2012-06-04 Florian Weimer <fweimer@redhat.com>
24324 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24326 2012-11-28 David S. Miller <davem@davemloft.net>
24328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24330 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24333 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24334 of pi/2 rounded to nearest to 64 bits.
24335 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24336 nearest to 64 bits.
24337 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24340 2012-11-28 Jeff Law <law@redhat.com>
24341 Martin Osvald <mosvald@redhat.com>
24344 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24345 * sunrpc/svc.c: Include time.h.
24346 (__svc_accept_failed): New function.
24347 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24348 any reason other than EINTR, call __svc_accept_failed.
24349 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24350 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24352 2012-11-28 Andreas Schwab <schwab@suse.de>
24354 * scripts/abilist.awk: Also handle indirect functions in .opd
24357 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24360 * sysdeps/x86/fpu/powl_helper.c: New file.
24361 * sysdeps/x86/fpu/Makefile: Likewise.
24362 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24364 (__ieee754_powl): Use __powl_helper for finite arguments except
24365 integer exponents below 8.
24366 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24368 (__ieee754_powl): Use __powl_helper for finite arguments except
24369 integer exponents below 8.
24370 * math/libm-test.inc (pow_test): Add more tests and enable some
24371 previously disabled tests.
24372 * sysdeps/i386/fpu/libm-test-ulps: Update.
24373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24375 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24376 Carlos O'Donell <carlos_odonell@mentor.com>
24378 * nss/makedb.c (is_prime): Assert that input is odd and greater
24379 than 4. Note that fact in a comment too.
24380 (next_prime): Add 4 to input.
24382 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24385 * libio/Makefile (tests): Add test case tst-fwrite-error.
24386 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24387 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24388 * libio/tst-fwrite-error.c: New test case.
24390 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24392 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24393 before casting to void *.
24394 * include/libc-internal.h (__pointer_type): New macro.
24395 (__integer_if_pointer_type_sub): Likewise.
24396 (__integer_if_pointer_type): Likewise.
24397 (cast_to_integer): Likewise.
24398 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24399 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24400 before casting to atomic64_t.
24401 (atomic_exchange_acq): Likewise.
24402 (__arch_exchange_and_add_body): Likewise.
24403 (__arch_add_body): Likewise.
24404 (atomic_add_negative): Likewise.
24405 (atomic_add_zero): Likewise.
24407 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24409 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24410 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24411 (add_fdes): Likewise.
24412 (linear_search_fdes): Likewise.
24413 (binary_search_unencoded_fdes): Likewise.
24415 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24417 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24419 2012-11-24 Adam Conrad <adconrad@0c3.net>
24421 * configure.in: Autodetect C++ header directories.
24422 * configure: Regenerated.
24424 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24426 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24428 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24432 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24434 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24435 LDBL_MANT_DIG == 106]: Disable some tests.
24436 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24438 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24442 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24443 input for small inputs. Return +/- pi/2 for large inputs.
24444 * math/libm-test.inc (atan_test): Add more tests.
24446 * sysdeps/generic/unwind-dw2-fde-glibc.c
24447 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24448 __attribute__ ((unused)).
24451 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24452 x * y if x and y are nonzero and z is zero.
24455 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24456 nonzero exponents with absolute value below 0x1p-117 to +/-
24460 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24461 up arguments below 2**-450, not just those below 2**-500.
24462 * math/libm-test.inc (hypot_test): Add another test.
24465 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24466 Return a+b for ratio over 2**120, not 2**60.
24467 * math/libm-test.inc (hypot_test): Add another test.
24469 * math/libm-test.inc (clog_test): Use
24470 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24471 (clog10_test): Likewise.
24474 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24476 2012-11-22 Andreas Schwab <schwab@suse.de>
24478 * sysdeps/i386/fpu/libm-test-ulps: Update.
24480 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24482 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24483 printf output with newline.
24485 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24488 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24489 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24490 -z nodlopen, -z initfirst and -z execstack support.
24491 * configure: Regenerated.
24493 * elf/elf.h (DF_1_NODIRECT): New macro.
24494 (DF_1_IGNMULDEF): Likewise.
24495 (DF_1_NOKSYMS): Likewise.
24496 (DF_1_NOHDR): Likewise.
24497 (DF_1_EDITED): Likewise.
24498 (DF_1_NORELOC): Likewise.
24499 (DF_1_SYMINTPOSE): Likewise.
24500 (DF_1_GLOBAUDIT): Likewise.
24501 (DF_1_SINGLETON): Likewise.
24502 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24503 DT_1_SUPPORTED_MASK bits.
24504 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24506 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24508 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24510 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24512 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24515 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24516 (sendmmsg): Move declarations...
24517 * socket/sys/socket.h: ... here.
24518 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24519 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24521 * socket/recvmmsg.c: ... this new file.
24522 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24523 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24524 definition of __sendmmsg hidden.
24525 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24526 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24527 Move ENOSYS stub into and include it from...
24528 * socket/sendmmsg.c: ... this new file.
24529 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24530 (sysdep_routines): Move recvmmsg and sendmmsg...
24531 * socket/Makefile (routines): ... here.
24532 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24533 (GLIBC_PRIVATE): Add __sendmmsg.
24534 * include/sys/socket.h (__sendmmsg): Add declarations.
24535 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24538 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24540 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24541 variable I1 with __attribute__ ((unused)).
24542 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24544 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24546 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24547 DUMMY variables with __attribute__ ((unused)).
24549 * bits/byteswap.h: Include <bits/types.h>.
24550 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24552 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24554 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24555 string_t. Do not manually set errno.
24556 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24557 length with __strnlen. Make sure to both set errno and return it on
24560 2012-11-19 David S. Miller <davem@davemloft.net>
24562 With help from Joseph Myers.
24563 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24564 very large arguments properly.
24565 * math/libm-test.inc (atan_test): New tests.
24566 (atan2_test): New tests.
24567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24570 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24573 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24576 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24577 [POSIX] (EADDRNOTAVAIL): Likewise.
24578 [POSIX] (EAFNOSUPPORT): Likewise.
24579 [POSIX] (EALREADY): Likewise.
24580 [POSIX] (ECONNABORTED): Likewise.
24581 [POSIX] (ECONNREFUSED): Likewise.
24582 [POSIX] (ECONNRESET): Likewise.
24583 [POSIX] (EDESTADDRREQ): Likewise.
24584 [POSIX] (EDQUOT): Likewise.
24585 [POSIX] (EHOSTUNREACH): Likewise.
24586 [POSIX] (EIDRM): Likewise.
24587 [POSIX] (EISCONN): Likewise.
24588 [POSIX] (ELOOP): Likewise.
24589 [POSIX] (EMULTIHOP): Likewise.
24590 [POSIX] (ENETDOWN): Likewise.
24591 [POSIX] (ENETUNREACH): Likewise.
24592 [POSIX] (ENOBUFS): Likewise.
24593 [POSIX] (ENODATA): Likewise.
24594 [POSIX] (ENOLINK): Likewise.
24595 [POSIX] (ENOMSG): Likewise.
24596 [POSIX] (ENOPROTOOPT): Likewise.
24597 [POSIX] (ENOSR): Likewise.
24598 [POSIX] (ENOSTR): Likewise.
24599 [POSIX] (ENOTCONN): Likewise.
24600 [POSIX] (ENOTSOCK): Likewise.
24601 [POSIX] (EOPNOTSUPP): Likewise.
24602 [POSIX] (EOVERFLOW): Likewise.
24603 [POSIX] (EPROTO): Likewise.
24604 [POSIX] (EPROTONOSUPPORT): Likewise.
24605 [POSIX] (EPROTOTYPE): Likewise.
24606 [POSIX] (ESTALE): Likewise.
24607 [POSIX] (ETIME): Likewise.
24608 [POSIX] (ETXTBSY): Likewise.
24609 [POSIX] (EWOULDBLOCK): Likewise.
24610 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24611 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24612 [POSIX] (SEEK_CUR): Likewise.
24613 [POSIX] (SEEK_END): Likewise.
24614 [POSIX || UNIX98] (mode_t): Do not require.
24615 [POSIX] (off_t): Likewise.
24616 [POSIX] (pid_t): Likewise.
24617 [POSIX] (sys/stat.h): Do not allow header.
24618 [POSIX] (unistd.h): Likewise.
24619 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24620 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24621 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24622 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24624 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24625 sigevent): Specify elements.
24626 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24628 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24629 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24631 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24632 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24633 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24634 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24635 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24636 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24637 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24638 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24639 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24640 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24641 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24642 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24643 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24644 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24646 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24648 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24650 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24652 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24653 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24654 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24655 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24656 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24657 Specify lower bound on value.
24658 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24659 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24660 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24661 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24662 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24663 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24664 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24665 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24667 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24669 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24670 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24671 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24672 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24673 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24674 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24675 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24676 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24677 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24678 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24679 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24680 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24681 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24682 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24683 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24684 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24686 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24688 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24689 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24690 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24691 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24692 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24693 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24695 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24696 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24697 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24698 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24699 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24700 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24701 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24703 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24704 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24705 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24706 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24707 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24708 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24709 specify as optional.
24710 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24711 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24712 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24713 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24714 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24715 [XPG3] (NL_LANGMAX): Likewise.
24716 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24717 [POSIX || XPG3] (NL_NMAX): Likewise.
24718 [POSIX || XPG3] (NL_SETMAX): Likewise.
24719 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24720 [XPG3] (NZERO): Likewise.
24721 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24722 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24723 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24724 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24725 (REG_ERANGE): Expect.
24726 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24728 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24729 Use (void) in prototype.
24730 [POSIX] (*_t): Allow.
24731 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24732 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24733 (WRDE_BADVAL): Expect.
24735 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24737 [XPG3 || XPG4] (O_RSYNC): Likewise.
24738 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24740 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24741 [XPG3 || XPG4] (sigqueue): Likewise.
24742 [XPG3 || XPG4] (sigtimedwait): Likewise.
24743 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24744 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24745 [XPG3 || XPG4] (vsnprintf): Likewise.
24746 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24748 [XPG3 || XPG4] (blksize_t): Likewise.
24749 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24751 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24752 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24753 [XPG3 || XPG4] (struct itimerspec): Likewise.
24754 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24755 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24756 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24757 [XPG3 || XPG4] (clockid_t): Likewise.
24758 [XPG3 || XPG4] (timer_t): Likewise.
24759 [XPG3 || XPG4] (clock_getres): Likewise.
24760 [XPG3 || XPG4] (clock_gettime): Likewise.
24761 [XPG3 || XPG4] (clock_settime): Likewise.
24762 [XPG3 || XPG4] (nanosleep): Likewise.
24763 [XPG3 || XPG4] (timer_create): Likewise.
24764 [XPG3 || XPG4] (timer_delete): Likewise.
24765 [XPG3 || XPG4] (timer_gettime): Likewise.
24766 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24767 [XPG3 || XPG4] (timer_settime): Likewise.
24768 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24769 [XPG3 || XPG4] (getlogin_r): Likewise.
24770 [XPG3 || XPG4] (pread): Likewise.
24771 [XPG3 || XPG4] (pthread_atfork): Likewise.
24772 [XPG3 || XPG4] (pwrite): Likewise.
24775 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24778 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24780 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24781 finalizing MALLSTREAM.
24783 * sysdeps/mach/hurd/syncfs.c: New file.
24785 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24788 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24789 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24790 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24791 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24792 (_nss_dns_gethostbyname4_r): Likewise.
24793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24794 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24796 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24799 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24801 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24803 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24804 * elf/cache.c (print_entry): Print ",AArch64" for
24807 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24808 * elf/cache.c (print_entry): Print ",hard-float" for
24811 2012-11-18 David S. Miller <davem@davemloft.net>
24813 With help from Joseph Myers.
24814 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24816 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24818 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24819 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24821 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24822 * math/libm-test.inc (y0_test): New tests.
24823 (y1_test): New tests.
24824 * sysdeps/i386/fpu/libm-test-ulps: Update.
24825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24828 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24830 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24832 * configure: Regenerated.
24834 2012-11-17 David S. Miller <davem@davemloft.net>
24837 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24838 nonzero exponents with absolute value below 0x1p-128 to +/-
24841 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24843 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24845 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24847 * posix/getconf-speclist.c: New file.
24848 * posix/posix-envs.def: Likewise.
24849 * posix/confstr.c (START_ENV_GROUP): New macro.
24850 (END_ENV_GROUP): Likewise.
24851 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24852 (KNOWN_PRESENT_ENV_STRING): Likewise.
24853 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24854 (UNKNOWN_ENVIRONMENT): Likewise.
24855 (confstr): Include posix-envs.def instead of handling
24856 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24857 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24858 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24859 (END_ENV_GROUP): Likewise.
24860 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24861 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24862 (UNKNOWN_ENVIRONMENT): Likewise.
24863 (__sysconf): Include posix-envs.def instead of handling associated
24864 cases directly here.
24865 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24866 preprocessing getconf-speclist.c rather than running getconf or
24867 generating empty file.
24869 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24871 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24873 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24876 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24878 2012-11-16 David S. Miller <davem@davemloft.net>
24880 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24881 smaller than LDBL_EPSILON/2.0L, just return xm1.
24883 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24885 * elf/tst-array1.c (init): Set constructor priority to 1000.
24886 (fini): Set destructor priority to 1000.
24887 * elf/tst-array2dep.c: Likewise.
24889 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24892 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24893 (_IO_new_file_xsputn): Also return EOF if none of the input
24894 data was written when overflow failed.
24895 * libio/iopadn.c (_IO_padn): Likewise.
24896 * libio/iowpadn.c (_IO_wpadn): Likewise.
24897 * stdio-common/tst-put-error.c: Add copyright notice.
24898 (do_test): Add case for printing padded string.
24899 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24900 _IO_padn returned error.
24901 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24902 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24905 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24907 * libio/libioP.h: Add comment note that the references to C++
24908 bits are now obsolete.
24910 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24912 * math/libm-test.inc (check_complex): Use asprintf.
24914 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24916 * debug/pcprofiledump.c (print_version): Update copyright year.
24917 * malloc/memusagestat.c (print_version): Likewise.
24919 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24922 * elf/Makefile (tests): Add tst-audit8.
24923 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24924 ($(objpfx)tst-audit8.out): New target.
24925 (tst-audit8-ENV): New variable.
24926 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24927 audit if l_reloc_result is NULL.
24928 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24929 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24930 * elf/tst-audit8.c: New file.
24932 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24934 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24935 * misc/Makefile (CFLAGS-select.c): Define.
24936 * posix/Makefile (CFLAGS-pause.c): Define.
24938 2012-11-13 David S. Miller <davem@davemloft.net>
24940 * crypt/Makefile: Move test targets after toplevel Rules
24941 inclusion. Grab any necessary sysdep routines when linking.
24942 * crypt/md5.c (md5_process_block): Remove define, we will always
24943 name it __md5_process_block.
24944 (md5_finish_ctx): Update md5_process_block call.
24945 (md5_stream): Likewise.
24946 (md5_process_bytes): Likewise.
24947 (md5_process_block): Rename to __md5_process_block and move to ...
24948 * crypt/md5-block.c: ... here.
24949 * crypt/sha256.c (sha256_process_block): Move to ...
24950 * crypt/sha256-block.c: ... here.
24951 * crypt/sha512.c (sha512_process_block): Move to ...
24952 * crypt/sha512-block.c: ... here.
24953 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24955 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24956 * sysdeps/sparc/sparc64/multiarch/Makefile
24957 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24959 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24960 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24962 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24963 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24964 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24965 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24966 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24967 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24968 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24969 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24970 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24972 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24973 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24975 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24977 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24979 * timezone/tzselect.ksh: Update from tzcode git revision
24980 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24981 * timezone/zdump.c: Likewise.
24982 * timezone/zic.c: Likewise.
24983 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24984 in TZVERSION setting, not $(PKGVERSION).
24985 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24986 REPORT_BUGS_TO settings.
24989 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24992 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24994 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24995 detection to immediately after _FP_ROUND().
24996 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24999 2012-11-11 David S. Miller <davem@davemloft.net>
25001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25003 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25004 __close rather than their public counterparts.
25006 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25008 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25010 [UNIX98] (sem_timedwait): Do not expect.
25011 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25012 [XPG4 || UNIX98] (sockatmark): Do not expect.
25013 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25014 (clock_getcpuclockid): Do not expect.
25015 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25016 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25018 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25019 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25020 [UNIX98] (vwscanf): Likewise.
25021 [UNIX98] (vswscanf): Likewise.
25023 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25025 * timezone/version.h: Remove file.
25026 * timezone/README: Do not refer to version.h.
25027 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25028 $(objpfx)version.h.
25029 ($(objpfx)zdump.o): Likewise.
25030 ($(objpfx)version.h): New target.
25032 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25034 * timezone/README: Don't mention modification to tzselect.ksh.
25035 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25036 work on unmodified tzselect.ksh. Substitute version numbers in
25039 * Makefile (format-me): Remove.
25040 (INSTALL): Adjust indentation. Use commands directly instead of
25041 using $(format-me).
25043 * aclocal.m4 (ACX_PKGVERSION): New macro.
25044 (ACX_BUGURL): Likewise.
25045 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25046 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25047 (REPORT_BUGS_TO): Likewise.
25048 * configure: Regenerated.
25049 * config.h.in (PKGVERSION): New macro.
25050 (REPORT_BUGS_TO): Likewise.
25051 * config.make.in (PKGVERSION): New variable.
25052 (PKGVERSION_TEXI): Likewise.
25053 (REPORT_BUGS_TO): Likewise.
25054 (REPORT_BUGS_TEXI): Likewise.
25055 * Makefile (format-me): Use -I$(common-objpfx)manual.
25056 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25057 ($(common-objpfx)manual/%): New target.
25058 (manual/%): Remove target.
25059 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25060 (print_version): Use PKGVERSION.
25061 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25062 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25063 and REPORT_BUGS_TO.
25064 ($(objpfx)xtrace): Likewise.
25065 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25066 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25067 (print_version): Use PKGVERSION.
25068 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25069 (do_version): Use PKGVERSION.
25070 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25072 (common-ldd-rewrite): Likewise.
25073 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25074 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25075 (print_version): Use PKGVERSION.
25076 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25077 * elf/pldd.c (argp_program_bug_address): Remove variable.
25078 (more_help): New function.
25079 (argp): Use more_help.
25080 (print_version): Use PKGVERSION.
25081 * elf/sln.c (main): Use PKGVERSION.
25082 (usage): Use REPORT_BUGS_TO.
25083 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25084 (top level): Use PKGVERSION.
25085 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25086 (print_version): Use PKGVERSION.
25087 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25088 (print_version): Use PKGVERSION.
25089 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25090 (print_version): Use PKGVERSION.
25091 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25092 (print_version): Use PKGVERSION.
25093 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25094 (print_version): Use PKGVERSION.
25095 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25096 (print_version): Use PKGVERSION.
25097 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25099 ($(objpfx)memusage): Likewise.
25100 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25101 (do_version): Use PKGVERSION.
25102 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25103 (print_version): Use PKGVERSION.
25104 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25105 ($PKGVERSION): New variable.
25106 ($REPORT_BUGS_TO): Likewise.
25107 (usage): Use $REPORT_BUGS_TO.
25108 (top level): Use $PKGVERSION.
25109 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25110 ($(objpfx)pkgvers.texi): New rule.
25111 ($(objpfx)stamp-pkgvers): Likewise.
25112 * manual/install.texi: Include pkgvers.texi.
25113 (--with-pkgversion): Document new configure option.
25114 (--with-bugurl): Likewise.
25115 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25116 than necessarily for this particular distribution. Use
25117 REPORT_BUGS_TO for where to report bugs.
25118 * INSTALL: Regenerated.
25119 * manual/libc.texinfo: Include pkgvers.texi.
25120 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25121 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25122 (print_version): Use PKGVERSION.
25123 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25124 (print_version): Use PKGVERSION.
25125 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25126 (print_version): Use PKGVERSION.
25127 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25128 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25130 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25131 (print_version): Use PKGVERSION.
25132 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25133 (print_version): Use PKGVERSION.
25134 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25137 * timezone/checktab.awk: Update from tzcode 2012i.
25138 * timezone/ialloc.c: Likewise.
25139 * timezone/private.h: Likewise.
25140 * timezone/scheck.c: Likewise.
25141 * timezone/tzfile.h: Likewise.
25142 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25143 (TZVERSION): Hardcode tzcode version number.
25144 * timezone/zdump.c: Update from tzcode 2012i.
25145 * timezone/zic.c: Likewise.
25146 * timezone/version.h: New file.
25147 * timezone/README: Describe version.h. Update upstream location.
25150 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25151 (mktemp): Enable declaration.
25152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25159 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25161 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25163 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25165 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25169 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25170 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25171 for copies of such integer values.
25172 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25173 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25175 2012-11-09 Andreas Jaeger <aj@suse.de>
25177 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25178 definitions and declarations that are provided by
25179 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25181 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25183 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25184 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25185 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25188 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25190 * elf/elf.h: Update comment before AArch64 relocations.
25192 2012-11-07 David S. Miller <davem@davemloft.net>
25194 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25195 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25196 (__start_context): Declare.
25197 (__makecontext_ret): Delete.
25198 (__makecontext): Hook up __start_context instead of
25200 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25201 (sysdep_routines): Add __start_context when in stdlib.
25203 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25205 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25206 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25207 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25209 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25210 (READELF): New variable. Use it instead of hardcoded "readelf".
25212 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25214 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25215 * sysdeps/x86/Makefile: Here.
25216 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25217 * sysdeps/x86/tst-xmmymm.sh: This.
25219 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25221 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25223 [UNIX98] (pthread_barrier_t): Do not expect.
25224 [UNIX98] (pthread_barrierattr_t): Likewise.
25225 [UNIX98] (pthread_spinlock_t): Likewise.
25226 [UNIX98] (pthread_barrier_destroy): Likewise.
25227 [UNIX98] (pthread_barrier_init): Likewise.
25228 [UNIX98] (pthread_barrier_wait): Likewise.
25229 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25230 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25231 [UNIX98] (pthread_barrierattr_init): Likewise.
25232 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25233 [UNIX98] (pthread_getcpuclockid): Likewise.
25234 [UNIX98] (pthread_mutex_timedlock): Likewise.
25235 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25236 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25237 [UNIX98] (pthread_sigmask): Likewise.
25238 [UNIX98] (pthread_spin_destroy): Likewise.
25239 [UNIX98] (pthread_spin_init): Likewise.
25240 [UNIX98] (pthread_spin_lock): Likewise.
25241 [UNIX98] (pthread_spin_trylock): Likewise.
25242 [UNIX98] (pthread_spin_unlock): Likewise.
25243 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25245 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25246 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25247 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25248 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25249 [XPG3 || XPG4] (pthread_key_t): Likewise.
25250 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25251 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25252 [XPG3 || XPG4] (pthread_once_t): Likewise.
25253 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25254 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25255 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25256 [XPG3 || XPG4] (pthread_t): Likewise.
25258 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25260 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25262 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25263 Change function return type to int.
25265 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25266 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25267 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25268 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25269 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25270 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25271 [!POSIX] (posix_madvise): Likewise.
25272 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25274 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25275 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25276 (mode_t): Likewise.
25277 (posix_mem_offset): Likewise.
25278 (posix_typed_mem_get_info): Likewise.
25279 (posix_typed_mem_open): Likewise.
25281 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25282 Change condition to [XOPEN2K8].
25284 * conform/conformtest.pl: Preprocess allow-header data with -x c
25285 instead of from stdin.
25286 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25287 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25288 [C99-based standards] (cerfc): Likewise.
25289 [C99-based standards] (cexp2): Likewise.
25290 [C99-based standards] (cexpm1): Likewise.
25291 [C99-based standards] (clog10): Likewise.
25292 [C99-based standards] (clog1p): Likewise.
25293 [C99-based standards] (clog2): Likewise.
25294 [C99-based standards] (clgamma): Likewise.
25295 [C99-based standards] (ctgamma): Likewise.
25296 [C99-based standards] (cerff): Likewise.
25297 [C99-based standards] (cerfcf): Likewise.
25298 [C99-based standards] (cexp2f): Likewise.
25299 [C99-based standards] (cexpm1f): Likewise.
25300 [C99-based standards] (clog10f): Likewise.
25301 [C99-based standards] (clog1pf): Likewise.
25302 [C99-based standards] (clog2f): Likewise.
25303 [C99-based standards] (clgammaf): Likewise.
25304 [C99-based standards] (ctgammaf): Likewise.
25305 [C99-based standards] (cerfl): Likewise.
25306 [C99-based standards] (cerfcl): Likewise.
25307 [C99-based standards] (cexp2l): Likewise.
25308 [C99-based standards] (cexpm1l): Likewise.
25309 [C99-based standards] (clog10l): Likewise.
25310 [C99-based standards] (clog1pl): Likewise.
25311 [C99-based standards] (clog2l): Likewise.
25312 [C99-based standards] (clgammal): Likewise.
25313 [C99-based standards] (ctgammal): Likewise.
25314 * conform/data/inttypes.h-data [C99-based standards]: Include
25315 stdint.h-data. Remove all expectations for stdint.h contents.
25316 [C99-based standards] (PRI*): Do not allow.
25317 [C99-based standards] (SCN*): Likewise.
25318 [C99-based standards] (*_t): Likewise.
25319 [C99-based-standards] (PRId8): Expect macro.
25320 [C99-based-standards] (PRIi8): Likewise.
25321 [C99-based-standards] (PRIo8): Likewise.
25322 [C99-based-standards] (PRIu8): Likewise.
25323 [C99-based-standards] (PRIx8): Likewise.
25324 [C99-based-standards] (PRIX8): Likewise.
25325 [C99-based-standards] (SCNd8): Likewise.
25326 [C99-based-standards] (SCNi8): Likewise.
25327 [C99-based-standards] (SCNo8): Likewise.
25328 [C99-based-standards] (SCNu8): Likewise.
25329 [C99-based-standards] (SCNx8): Likewise.
25330 [C99-based-standards] (PRIdLEAST8): Likewise.
25331 [C99-based-standards] (PRIiLEAST8): Likewise.
25332 [C99-based-standards] (PRIoLEAST8): Likewise.
25333 [C99-based-standards] (PRIuLEAST8): Likewise.
25334 [C99-based-standards] (PRIxLEAST8): Likewise.
25335 [C99-based-standards] (PRIXLEAST8): Likewise.
25336 [C99-based-standards] (SCNdLEAST8): Likewise.
25337 [C99-based-standards] (SCNiLEAST8): Likewise.
25338 [C99-based-standards] (SCNoLEAST8): Likewise.
25339 [C99-based-standards] (SCNuLEAST8): Likewise.
25340 [C99-based-standards] (SCNxLEAST8): Likewise.
25341 [C99-based-standards] (PRIdFAST8): Likewise.
25342 [C99-based-standards] (PRIiFAST8): Likewise.
25343 [C99-based-standards] (PRIoFAST8): Likewise.
25344 [C99-based-standards] (PRIuFAST8): Likewise.
25345 [C99-based-standards] (PRIxFAST8): Likewise.
25346 [C99-based-standards] (PRIXFAST8): Likewise.
25347 [C99-based-standards] (SCNdFAST8): Likewise.
25348 [C99-based-standards] (SCNiFAST8): Likewise.
25349 [C99-based-standards] (SCNoFAST8): Likewise.
25350 [C99-based-standards] (SCNuFAST8): Likewise.
25351 [C99-based-standards] (SCNxFAST8): Likewise.
25352 [C99-based-standards] (PRId16): Likewise.
25353 [C99-based-standards] (PRIi16): Likewise.
25354 [C99-based-standards] (PRIo16): Likewise.
25355 [C99-based-standards] (PRIu16): Likewise.
25356 [C99-based-standards] (PRIx16): Likewise.
25357 [C99-based-standards] (PRIX16): Likewise.
25358 [C99-based-standards] (SCNd16): Likewise.
25359 [C99-based-standards] (SCNi16): Likewise.
25360 [C99-based-standards] (SCNo16): Likewise.
25361 [C99-based-standards] (SCNu16): Likewise.
25362 [C99-based-standards] (SCNx16): Likewise.
25363 [C99-based-standards] (PRIdLEAST16): Likewise.
25364 [C99-based-standards] (PRIiLEAST16): Likewise.
25365 [C99-based-standards] (PRIoLEAST16): Likewise.
25366 [C99-based-standards] (PRIuLEAST16): Likewise.
25367 [C99-based-standards] (PRIxLEAST16): Likewise.
25368 [C99-based-standards] (PRIXLEAST16): Likewise.
25369 [C99-based-standards] (SCNdLEAST16): Likewise.
25370 [C99-based-standards] (SCNiLEAST16): Likewise.
25371 [C99-based-standards] (SCNoLEAST16): Likewise.
25372 [C99-based-standards] (SCNuLEAST16): Likewise.
25373 [C99-based-standards] (SCNxLEAST16): Likewise.
25374 [C99-based-standards] (PRIdFAST16): Likewise.
25375 [C99-based-standards] (PRIiFAST16): Likewise.
25376 [C99-based-standards] (PRIoFAST16): Likewise.
25377 [C99-based-standards] (PRIuFAST16): Likewise.
25378 [C99-based-standards] (PRIxFAST16): Likewise.
25379 [C99-based-standards] (PRIXFAST16): Likewise.
25380 [C99-based-standards] (SCNdFAST16): Likewise.
25381 [C99-based-standards] (SCNiFAST16): Likewise.
25382 [C99-based-standards] (SCNoFAST16): Likewise.
25383 [C99-based-standards] (SCNuFAST16): Likewise.
25384 [C99-based-standards] (SCNxFAST16): Likewise.
25385 [C99-based-standards] (PRId32): Likewise.
25386 [C99-based-standards] (PRIi32): Likewise.
25387 [C99-based-standards] (PRIo32): Likewise.
25388 [C99-based-standards] (PRIu32): Likewise.
25389 [C99-based-standards] (PRIx32): Likewise.
25390 [C99-based-standards] (PRIX32): Likewise.
25391 [C99-based-standards] (SCNd32): Likewise.
25392 [C99-based-standards] (SCNi32): Likewise.
25393 [C99-based-standards] (SCNo32): Likewise.
25394 [C99-based-standards] (SCNu32): Likewise.
25395 [C99-based-standards] (SCNx32): Likewise.
25396 [C99-based-standards] (PRIdLEAST32): Likewise.
25397 [C99-based-standards] (PRIiLEAST32): Likewise.
25398 [C99-based-standards] (PRIoLEAST32): Likewise.
25399 [C99-based-standards] (PRIuLEAST32): Likewise.
25400 [C99-based-standards] (PRIxLEAST32): Likewise.
25401 [C99-based-standards] (PRIXLEAST32): Likewise.
25402 [C99-based-standards] (SCNdLEAST32): Likewise.
25403 [C99-based-standards] (SCNiLEAST32): Likewise.
25404 [C99-based-standards] (SCNoLEAST32): Likewise.
25405 [C99-based-standards] (SCNuLEAST32): Likewise.
25406 [C99-based-standards] (SCNxLEAST32): Likewise.
25407 [C99-based-standards] (PRIdFAST32): Likewise.
25408 [C99-based-standards] (PRIiFAST32): Likewise.
25409 [C99-based-standards] (PRIoFAST32): Likewise.
25410 [C99-based-standards] (PRIuFAST32): Likewise.
25411 [C99-based-standards] (PRIxFAST32): Likewise.
25412 [C99-based-standards] (PRIXFAST32): Likewise.
25413 [C99-based-standards] (SCNdFAST32): Likewise.
25414 [C99-based-standards] (SCNiFAST32): Likewise.
25415 [C99-based-standards] (SCNoFAST32): Likewise.
25416 [C99-based-standards] (SCNuFAST32): Likewise.
25417 [C99-based-standards] (SCNxFAST32): Likewise.
25418 [C99-based-standards] (PRId64): Likewise.
25419 [C99-based-standards] (PRIi64): Likewise.
25420 [C99-based-standards] (PRIo64): Likewise.
25421 [C99-based-standards] (PRIu64): Likewise.
25422 [C99-based-standards] (PRIx64): Likewise.
25423 [C99-based-standards] (PRIX64): Likewise.
25424 [C99-based-standards] (SCNd64): Likewise.
25425 [C99-based-standards] (SCNi64): Likewise.
25426 [C99-based-standards] (SCNo64): Likewise.
25427 [C99-based-standards] (SCNu64): Likewise.
25428 [C99-based-standards] (SCNx64): Likewise.
25429 [C99-based-standards] (PRIdLEAST64): Likewise.
25430 [C99-based-standards] (PRIiLEAST64): Likewise.
25431 [C99-based-standards] (PRIoLEAST64): Likewise.
25432 [C99-based-standards] (PRIuLEAST64): Likewise.
25433 [C99-based-standards] (PRIxLEAST64): Likewise.
25434 [C99-based-standards] (PRIXLEAST64): Likewise.
25435 [C99-based-standards] (SCNdLEAST64): Likewise.
25436 [C99-based-standards] (SCNiLEAST64): Likewise.
25437 [C99-based-standards] (SCNoLEAST64): Likewise.
25438 [C99-based-standards] (SCNuLEAST64): Likewise.
25439 [C99-based-standards] (SCNxLEAST64): Likewise.
25440 [C99-based-standards] (PRIdFAST64): Likewise.
25441 [C99-based-standards] (PRIiFAST64): Likewise.
25442 [C99-based-standards] (PRIoFAST64): Likewise.
25443 [C99-based-standards] (PRIuFAST64): Likewise.
25444 [C99-based-standards] (PRIxFAST64): Likewise.
25445 [C99-based-standards] (PRIXFAST64): Likewise.
25446 [C99-based-standards] (SCNdFAST64): Likewise.
25447 [C99-based-standards] (SCNiFAST64): Likewise.
25448 [C99-based-standards] (SCNoFAST64): Likewise.
25449 [C99-based-standards] (SCNuFAST64): Likewise.
25450 [C99-based-standards] (SCNxFAST64): Likewise.
25451 [C99-based-standards] (PRIdMAX): Likewise.
25452 [C99-based-standards] (PRIiMAX): Likewise.
25453 [C99-based-standards] (PRIoMAX): Likewise.
25454 [C99-based-standards] (PRIuMAX): Likewise.
25455 [C99-based-standards] (PRIxMAX): Likewise.
25456 [C99-based-standards] (PRIXMAX): Likewise.
25457 [C99-based-standards] (SCNdMAX): Likewise.
25458 [C99-based-standards] (SCNiMAX): Likewise.
25459 [C99-based-standards] (SCNoMAX): Likewise.
25460 [C99-based-standards] (SCNuMAX): Likewise.
25461 [C99-based-standards] (SCNxMAX): Likewise.
25462 [C99-based-standards] (PRIdPTR): Likewise.
25463 [C99-based-standards] (PRIiPTR): Likewise.
25464 [C99-based-standards] (PRIoPTR): Likewise.
25465 [C99-based-standards] (PRIuPTR): Likewise.
25466 [C99-based-standards] (PRIxPTR): Likewise.
25467 [C99-based-standards] (PRIXPTR): Likewise.
25468 [C99-based-standards] (SCNdPTR): Likewise.
25469 [C99-based-standards] (SCNiPTR): Likewise.
25470 [C99-based-standards] (SCNoPTR): Likewise.
25471 [C99-based-standards] (SCNuPTR): Likewise.
25472 [C99-based-standards] (SCNxPTR): Likewise.
25473 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25475 * conform/data/stdint.h-data: Update comments to clarify
25477 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25479 [C99-based standards] (INT8_MAX): Likewise.
25480 [C99-based standards] (INT16_MIN): Likewise.
25481 [C99-based standards] (INT16_MAX): Likewise.
25482 [C99-based standards] (INT32_MIN): Likewise.
25483 [C99-based standards] (INT32_MAX): Likewise.
25484 [C99-based standards] (INT64_MIN): Likewise.
25485 [C99-based standards] (INT64_MAX): Likewise.
25486 [C99-based standards] (UINT8_MAX): Likewise.
25487 [C99-based standards] (UINT16_MAX): Likewise.
25488 [C99-based standards] (UINT32_MAX): Likewise.
25489 [C99-based standards] (UINT64_MAX): Likewise.
25490 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25491 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25492 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25493 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25494 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25495 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25496 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25497 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25498 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25499 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25500 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25501 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25502 [C99-based standards] (INT_FAST8_MIN): Likewise.
25503 [C99-based standards] (INT_FAST8_MAX): Likewise.
25504 [C99-based standards] (INT_FAST16_MIN): Likewise.
25505 [C99-based standards] (INT_FAST16_MAX): Likewise.
25506 [C99-based standards] (INT_FAST32_MIN): Likewise.
25507 [C99-based standards] (INT_FAST32_MAX): Likewise.
25508 [C99-based standards] (INT_FAST64_MIN): Likewise.
25509 [C99-based standards] (INT_FAST64_MAX): Likewise.
25510 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25511 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25512 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25513 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25514 [C99-based standards] (INTPTR_MIN): Likewise.
25515 [C99-based standards] (INTPTR_MAX): Likewise.
25516 [C99-based standards] (UINTPTR_MAX): Likewise.
25517 [C99-based standards] (INTMAX_MIN): Likewise.
25518 [C99-based standards] (INTMAX_MAX): Likewise.
25519 [C99-based standards] (UINTMAX_MAX): Likewise.
25520 [C99-based standards] (PTRDIFF_MIN): Likewise.
25521 [C99-based standards] (PTRDIFF_MAX): Likewise.
25522 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25523 [C99-based standards] (SIZE_MAX): Likewise.
25524 [C99-based standards] (WCHAR_MAX): Likewise.
25525 [C99-based standards] (WINT_MAX): Likewise.
25526 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25527 constraint on value.
25528 [C99-based standards] (WCHAR_MIN): Likewise.
25529 [C99-based standards] (WINT_MIN): Likewise.
25530 [C99-based standards] (*_t): Allow.
25531 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25532 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25533 Include math.h-data and complex.h-data. Remove all expectations
25534 of math.h and complex.h contents.
25535 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25537 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25538 (struct tm): Expect tag.
25539 [C99-based-standards] (wcstof): Expect function.
25540 [C99-based-standards] (wcstold): Likewise.
25541 [C99-based-standards] (wcstoll): Likewise.
25542 [C99-based-standards] (wcstoull): Likewise.
25543 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25544 macro-int-constant. Specify type.
25545 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25546 constraint on value.
25547 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25549 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25551 [ISO C standards]: Do not allow headers.
25552 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25553 wcs[abcdefghijklmnopqrstuvwxyz]*.
25554 [ISO C standards] (*_t): Do not allow.
25555 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25557 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25558 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25560 [ISO C standards]: Do not allow headers.
25561 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25562 is[abcdefghijklmnopqrstuvwxyz]*.
25563 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25564 to[abcdefghijklmnopqrstuvwxyz]*.
25565 [ISO C standards] (*_t): Do not allow.
25566 * conform/data/stdalign.h-data: New file.
25567 * conform/data/stdbool.h-data: Likewise.
25568 * conform/data/stdnoreturn.h-data: Likewise.
25570 2012-11-07 Roland McGrath <roland@hack.frob.com>
25573 * manual/filesys.texi (Directory Entries): Typo fix.
25574 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25576 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25578 * elf/elf.h (EM_AARCH64): New macro.
25579 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25580 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25581 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25582 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25583 (R_AARCH64_TLSDESC): Likewise.
25584 (NT_ARM_TLS): Likewise.
25585 (NT_ARM_HW_BREAK): Likewise.
25586 (NT_ARM_HW_WATCH): Likewise.
25588 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25591 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25592 (__ieee754_powl): Saturate nonzero exponents with absolute value
25593 below 0x1p-79 to +/- 0x1p-79.
25594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25595 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25596 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25597 nonzero exponents with absolute value below 0x1p-32 to +/-
25599 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25600 (__ieee754_powl): Saturate nonzero exponents with absolute value
25601 below 0x1p-79 to +/- 0x1p-79.
25602 * math/libm-test.inc (pow_test): Add more tests.
25604 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25606 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25607 _dl_s390_cap_flags with kernel. Increase string length.
25608 (_dl_s390_platforms): Add z196 and zEC12.
25610 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25612 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25613 Change XOPEN21K to XOPEN2K.
25615 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25617 * string/memmove.c: Use memcpy when possible.
25619 2012-11-06 Andreas Jaeger <aj@suse.de>
25621 * po/eo.po: Update from translation team.
25623 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25627 exponent and small x and y exponents, scale x or y up. Increase
25628 by 2 the exponent used in scaling up.
25629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25630 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25631 * math/libm-test.inc (fma_test): Add more tests.
25632 (fma_test_towardzero): Likewise.
25633 (fma_test_downward): Likewise.
25634 (fma_test_upward): Likewise.
25636 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25639 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25643 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25644 namespace for names of struct fields.
25645 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25647 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25648 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25650 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25653 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25655 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25657 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25661 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25664 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25668 definitely overflow as x * y not x * y + z.
25669 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25670 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25671 * math/libm-test.inc (fma_test): Add more tests.
25672 (fma_test_towardzero): Likewise.
25673 (fma_test_downward): Likewise.
25674 (fma_test_upward): Likewise.
25676 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25680 * include/stub-tag.h: Remove file.
25681 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25683 * manual/maint.texi (Porting): Don't reference it.
25684 * Makerules ($(objpfx)stubs): Likewise.
25685 * dirent/closedir.c: Don't include <stub-tag.h>.
25686 * dirent/dirfd.c: Likewise.
25687 * dirent/fdopendir.c: Likewise.
25688 * dirent/getdents.c: Likewise.
25689 * dirent/getdents64.c: Likewise.
25690 * dirent/opendir.c: Likewise.
25691 * dirent/readdir.c: Likewise.
25692 * dirent/readdir64.c: Likewise.
25693 * dirent/readdir64_r.c: Likewise.
25694 * dirent/readdir_r.c: Likewise.
25695 * dirent/rewinddir.c: Likewise.
25696 * dirent/seekdir.c: Likewise.
25697 * dirent/telldir.c: Likewise.
25698 * gmon/profil.c: Likewise.
25699 * grp/setgroups.c: Likewise.
25700 * inet/if_index.c: Likewise.
25701 * io/access.c: Likewise.
25702 * io/chdir.c: Likewise.
25703 * io/chmod.c: Likewise.
25704 * io/chown.c: Likewise.
25705 * io/close.c: Likewise.
25706 * io/dup.c: Likewise.
25707 * io/dup2.c: Likewise.
25708 * io/dup3.c: Likewise.
25709 * io/euidaccess.c: Likewise.
25710 * io/faccessat.c: Likewise.
25711 * io/fchdir.c: Likewise.
25712 * io/fchmod.c: Likewise.
25713 * io/fchmodat.c: Likewise.
25714 * io/fchown.c: Likewise.
25715 * io/fchownat.c: Likewise.
25716 * io/fcntl.c: Likewise.
25717 * io/flock.c: Likewise.
25718 * io/fstatfs.c: Likewise.
25719 * io/fstatfs64.c: Likewise.
25720 * io/fstatvfs.c: Likewise.
25721 * io/fstatvfs64.c: Likewise.
25722 * io/futimens.c: Likewise.
25723 * io/fxstat.c: Likewise.
25724 * io/fxstat64.c: Likewise.
25725 * io/fxstatat.c: Likewise.
25726 * io/fxstatat64.c: Likewise.
25727 * io/getcwd.c: Likewise.
25728 * io/isatty.c: Likewise.
25729 * io/lchmod.c: Likewise.
25730 * io/lchown.c: Likewise.
25731 * io/link.c: Likewise.
25732 * io/linkat.c: Likewise.
25733 * io/lseek.c: Likewise.
25734 * io/lseek64.c: Likewise.
25735 * io/lxstat64.c: Likewise.
25736 * io/mkdir.c: Likewise.
25737 * io/mkdirat.c: Likewise.
25738 * io/mkfifo.c: Likewise.
25739 * io/mkfifoat.c: Likewise.
25740 * io/open.c: Likewise.
25741 * io/open64.c: Likewise.
25742 * io/openat.c: Likewise.
25743 * io/openat64.c: Likewise.
25744 * io/pipe.c: Likewise.
25745 * io/pipe2.c: Likewise.
25746 * io/poll.c: Likewise.
25747 * io/posix_fadvise.c: Likewise.
25748 * io/posix_fadvise64.c: Likewise.
25749 * io/posix_fallocate.c: Likewise.
25750 * io/posix_fallocate64.c: Likewise.
25751 * io/read.c: Likewise.
25752 * io/readlink.c: Likewise.
25753 * io/readlinkat.c: Likewise.
25754 * io/rmdir.c: Likewise.
25755 * io/sendfile.c: Likewise.
25756 * io/sendfile64.c: Likewise.
25757 * io/statfs.c: Likewise.
25758 * io/statfs64.c: Likewise.
25759 * io/statvfs.c: Likewise.
25760 * io/statvfs64.c: Likewise.
25761 * io/symlink.c: Likewise.
25762 * io/symlinkat.c: Likewise.
25763 * io/ttyname.c: Likewise.
25764 * io/ttyname_r.c: Likewise.
25765 * io/umask.c: Likewise.
25766 * io/unlink.c: Likewise.
25767 * io/unlinkat.c: Likewise.
25768 * io/utime.c: Likewise.
25769 * io/utimensat.c: Likewise.
25770 * io/write.c: Likewise.
25771 * io/xmknod.c: Likewise.
25772 * io/xmknodat.c: Likewise.
25773 * io/xstat.c: Likewise.
25774 * io/xstat64.c: Likewise.
25775 * login/getpt.c: Likewise.
25776 * login/grantpt.c: Likewise.
25777 * login/unlockpt.c: Likewise.
25778 * math/e_acoshl.c: Likewise.
25779 * math/e_acosl.c: Likewise.
25780 * math/e_asinl.c: Likewise.
25781 * math/e_atan2l.c: Likewise.
25782 * math/e_atanhl.c: Likewise.
25783 * math/e_coshl.c: Likewise.
25784 * math/e_expl.c: Likewise.
25785 * math/e_fmodl.c: Likewise.
25786 * math/e_gammal_r.c: Likewise.
25787 * math/e_hypotl.c: Likewise.
25788 * math/e_j0l.c: Likewise.
25789 * math/e_j1l.c: Likewise.
25790 * math/e_jnl.c: Likewise.
25791 * math/e_lgammal_r.c: Likewise.
25792 * math/e_log10l.c: Likewise.
25793 * math/e_log2l.c: Likewise.
25794 * math/e_logl.c: Likewise.
25795 * math/e_powl.c: Likewise.
25796 * math/e_rem_pio2l.c: Likewise.
25797 * math/e_sinhl.c: Likewise.
25798 * math/e_sqrtl.c: Likewise.
25799 * math/fclrexcpt.c: Likewise.
25800 * math/fedisblxcpt.c: Likewise.
25801 * math/feenablxcpt.c: Likewise.
25802 * math/fegetenv.c: Likewise.
25803 * math/fegetexcept.c: Likewise.
25804 * math/fegetround.c: Likewise.
25805 * math/feholdexcpt.c: Likewise.
25806 * math/fesetenv.c: Likewise.
25807 * math/fesetround.c: Likewise.
25808 * math/feupdateenv.c: Likewise.
25809 * math/fgetexcptflg.c: Likewise.
25810 * math/fraiseexcpt.c: Likewise.
25811 * math/fsetexcptflg.c: Likewise.
25812 * math/ftestexcept.c: Likewise.
25813 * math/k_cosl.c: Likewise.
25814 * math/k_rem_pio2l.c: Likewise.
25815 * math/k_sinl.c: Likewise.
25816 * math/k_tanl.c: Likewise.
25817 * math/s_asinhl.c: Likewise.
25818 * math/s_atanl.c: Likewise.
25819 * math/s_cbrtl.c: Likewise.
25820 * math/s_erfl.c: Likewise.
25821 * math/s_expm1l.c: Likewise.
25822 * math/s_log1pl.c: Likewise.
25823 * math/s_tanhl.c: Likewise.
25824 * misc/acct.c: Likewise.
25825 * misc/brk.c: Likewise.
25826 * misc/chflags.c: Likewise.
25827 * misc/chroot.c: Likewise.
25828 * misc/fchflags.c: Likewise.
25829 * misc/fgetxattr.c: Likewise.
25830 * misc/flistxattr.c: Likewise.
25831 * misc/fremovexattr.c: Likewise.
25832 * misc/fsetxattr.c: Likewise.
25833 * misc/fsync.c: Likewise.
25834 * misc/ftruncate.c: Likewise.
25835 * misc/futimes.c: Likewise.
25836 * misc/futimesat.c: Likewise.
25837 * misc/getdomain.c: Likewise.
25838 * misc/getdtsz.c: Likewise.
25839 * misc/gethostid.c: Likewise.
25840 * misc/gethostname.c: Likewise.
25841 * misc/getloadavg.c: Likewise.
25842 * misc/getpagesize.c: Likewise.
25843 * misc/getsysstats.c: Likewise.
25844 * misc/getxattr.c: Likewise.
25845 * misc/gtty.c: Likewise.
25846 * misc/ioctl.c: Likewise.
25847 * misc/lgetxattr.c: Likewise.
25848 * misc/listxattr.c: Likewise.
25849 * misc/llistxattr.c: Likewise.
25850 * misc/lremovexattr.c: Likewise.
25851 * misc/lsetxattr.c: Likewise.
25852 * misc/lutimes.c: Likewise.
25853 * misc/madvise.c: Likewise.
25854 * misc/mincore.c: Likewise.
25855 * misc/mlock.c: Likewise.
25856 * misc/mlockall.c: Likewise.
25857 * misc/mmap.c: Likewise.
25858 * misc/mprotect.c: Likewise.
25859 * misc/msync.c: Likewise.
25860 * misc/munlock.c: Likewise.
25861 * misc/munlockall.c: Likewise.
25862 * misc/munmap.c: Likewise.
25863 * misc/preadv.c: Likewise.
25864 * misc/preadv64.c: Likewise.
25865 * misc/ptrace.c: Likewise.
25866 * misc/pwritev.c: Likewise.
25867 * misc/pwritev64.c: Likewise.
25868 * misc/readv.c: Likewise.
25869 * misc/reboot.c: Likewise.
25870 * misc/remap_file_pages.c: Likewise.
25871 * misc/removexattr.c: Likewise.
25872 * misc/revoke.c: Likewise.
25873 * misc/select.c: Likewise.
25874 * misc/setdomain.c: Likewise.
25875 * misc/setegid.c: Likewise.
25876 * misc/seteuid.c: Likewise.
25877 * misc/sethostid.c: Likewise.
25878 * misc/sethostname.c: Likewise.
25879 * misc/setregid.c: Likewise.
25880 * misc/setreuid.c: Likewise.
25881 * misc/setxattr.c: Likewise.
25882 * misc/sstk.c: Likewise.
25883 * misc/stty.c: Likewise.
25884 * misc/swapoff.c: Likewise.
25885 * misc/swapon.c: Likewise.
25886 * misc/sync.c: Likewise.
25887 * misc/syncfs.c: Likewise.
25888 * misc/syscall.c: Likewise.
25889 * misc/truncate.c: Likewise.
25890 * misc/ualarm.c: Likewise.
25891 * misc/usleep.c: Likewise.
25892 * misc/ustat.c: Likewise.
25893 * misc/utimes.c: Likewise.
25894 * misc/vhangup.c: Likewise.
25895 * misc/writev.c: Likewise.
25896 * posix/_exit.c: Likewise.
25897 * posix/alarm.c: Likewise.
25898 * posix/execve.c: Likewise.
25899 * posix/fexecve.c: Likewise.
25900 * posix/fork.c: Likewise.
25901 * posix/fpathconf.c: Likewise.
25902 * posix/getaddrinfo.c: Likewise.
25903 * posix/getegid.c: Likewise.
25904 * posix/geteuid.c: Likewise.
25905 * posix/getgid.c: Likewise.
25906 * posix/getgroups.c: Likewise.
25907 * posix/getlogin.c: Likewise.
25908 * posix/getlogin_r.c: Likewise.
25909 * posix/getpgid.c: Likewise.
25910 * posix/getpid.c: Likewise.
25911 * posix/getppid.c: Likewise.
25912 * posix/getresgid.c: Likewise.
25913 * posix/getresuid.c: Likewise.
25914 * posix/getsid.c: Likewise.
25915 * posix/getuid.c: Likewise.
25916 * posix/glob64.c: Likewise.
25917 * posix/nanosleep.c: Likewise.
25918 * posix/pathconf.c: Likewise.
25919 * posix/pause.c: Likewise.
25920 * posix/posix_madvise.c: Likewise.
25921 * posix/pread.c: Likewise.
25922 * posix/pread64.c: Likewise.
25923 * posix/pwrite.c: Likewise.
25924 * posix/pwrite64.c: Likewise.
25925 * posix/sched_getaffinity.c: Likewise.
25926 * posix/sched_getp.c: Likewise.
25927 * posix/sched_gets.c: Likewise.
25928 * posix/sched_primax.c: Likewise.
25929 * posix/sched_primin.c: Likewise.
25930 * posix/sched_rr_gi.c: Likewise.
25931 * posix/sched_setaffinity.c: Likewise.
25932 * posix/sched_setp.c: Likewise.
25933 * posix/sched_sets.c: Likewise.
25934 * posix/sched_yield.c: Likewise.
25935 * posix/setgid.c: Likewise.
25936 * posix/setlogin.c: Likewise.
25937 * posix/setpgid.c: Likewise.
25938 * posix/setresgid.c: Likewise.
25939 * posix/setresuid.c: Likewise.
25940 * posix/setsid.c: Likewise.
25941 * posix/setuid.c: Likewise.
25942 * posix/sleep.c: Likewise.
25943 * posix/spawni.c: Likewise.
25944 * posix/sysconf.c: Likewise.
25945 * posix/times.c: Likewise.
25946 * posix/wait.c: Likewise.
25947 * posix/wait3.c: Likewise.
25948 * posix/wait4.c: Likewise.
25949 * posix/waitpid.c: Likewise.
25950 * resolv/gai_sigqueue.c: Likewise.
25951 * resource/getpriority.c: Likewise.
25952 * resource/getrlimit.c: Likewise.
25953 * resource/getrusage.c: Likewise.
25954 * resource/nice.c: Likewise.
25955 * resource/setpriority.c: Likewise.
25956 * resource/setrlimit.c: Likewise.
25957 * resource/ulimit.c: Likewise.
25958 * rt/aio_cancel.c: Likewise.
25959 * rt/aio_fsync.c: Likewise.
25960 * rt/aio_read.c: Likewise.
25961 * rt/aio_sigqueue.c: Likewise.
25962 * rt/aio_suspend.c: Likewise.
25963 * rt/aio_write.c: Likewise.
25964 * rt/clock_getres.c: Likewise.
25965 * rt/clock_gettime.c: Likewise.
25966 * rt/clock_nanosleep.c: Likewise.
25967 * rt/clock_settime.c: Likewise.
25968 * rt/lio_listio.c: Likewise.
25969 * rt/mq_close.c: Likewise.
25970 * rt/mq_getattr.c: Likewise.
25971 * rt/mq_notify.c: Likewise.
25972 * rt/mq_open.c: Likewise.
25973 * rt/mq_receive.c: Likewise.
25974 * rt/mq_send.c: Likewise.
25975 * rt/mq_setattr.c: Likewise.
25976 * rt/mq_timedreceive.c: Likewise.
25977 * rt/mq_timedsend.c: Likewise.
25978 * rt/mq_unlink.c: Likewise.
25979 * rt/shm_open.c: Likewise.
25980 * rt/shm_unlink.c: Likewise.
25981 * rt/timer_create.c: Likewise.
25982 * rt/timer_delete.c: Likewise.
25983 * rt/timer_getoverr.c: Likewise.
25984 * rt/timer_gettime.c: Likewise.
25985 * rt/timer_settime.c: Likewise.
25986 * setjmp/__longjmp.c: Likewise.
25987 * setjmp/setjmp.c: Likewise.
25988 * signal/kill.c: Likewise.
25989 * signal/killpg.c: Likewise.
25990 * signal/raise.c: Likewise.
25991 * signal/sigaction.c: Likewise.
25992 * signal/sigaltstack.c: Likewise.
25993 * signal/sigblock.c: Likewise.
25994 * signal/sigignore.c: Likewise.
25995 * signal/sigintr.c: Likewise.
25996 * signal/signal.c: Likewise.
25997 * signal/sigpause.c: Likewise.
25998 * signal/sigpending.c: Likewise.
25999 * signal/sigqueue.c: Likewise.
26000 * signal/sigreturn.c: Likewise.
26001 * signal/sigset.c: Likewise.
26002 * signal/sigsetmask.c: Likewise.
26003 * signal/sigstack.c: Likewise.
26004 * signal/sigsuspend.c: Likewise.
26005 * signal/sigtimedwait.c: Likewise.
26006 * signal/sigvec.c: Likewise.
26007 * signal/sigwait.c: Likewise.
26008 * signal/sigwaitinfo.c: Likewise.
26009 * signal/sysv_signal.c: Likewise.
26010 * socket/accept.c: Likewise.
26011 * socket/accept4.c: Likewise.
26012 * socket/bind.c: Likewise.
26013 * socket/connect.c: Likewise.
26014 * socket/getpeername.c: Likewise.
26015 * socket/getsockname.c: Likewise.
26016 * socket/getsockopt.c: Likewise.
26017 * socket/isfdtype.c: Likewise.
26018 * socket/listen.c: Likewise.
26019 * socket/recv.c: Likewise.
26020 * socket/recvfrom.c: Likewise.
26021 * socket/recvmsg.c: Likewise.
26022 * socket/send.c: Likewise.
26023 * socket/sendmsg.c: Likewise.
26024 * socket/sendto.c: Likewise.
26025 * socket/setsockopt.c: Likewise.
26026 * socket/shutdown.c: Likewise.
26027 * socket/sockatmark.c: Likewise.
26028 * socket/socket.c: Likewise.
26029 * socket/socketpair.c: Likewise.
26030 * stdio-common/ctermid.c: Likewise.
26031 * stdio-common/cuserid.c: Likewise.
26032 * stdio-common/remove.c: Likewise.
26033 * stdio-common/rename.c: Likewise.
26034 * stdio-common/renameat.c: Likewise.
26035 * stdio-common/tempname.c: Likewise.
26036 * stdlib/getcontext.c: Likewise.
26037 * stdlib/makecontext.c: Likewise.
26038 * stdlib/setcontext.c: Likewise.
26039 * stdlib/swapcontext.c: Likewise.
26040 * stdlib/system.c: Likewise.
26041 * streams/fattach.c: Likewise.
26042 * streams/fdetach.c: Likewise.
26043 * streams/getmsg.c: Likewise.
26044 * streams/getpmsg.c: Likewise.
26045 * streams/putmsg.c: Likewise.
26046 * streams/putpmsg.c: Likewise.
26047 * sysdeps/unix/bsd/getpt.c: Likewise.
26048 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26049 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26050 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26053 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26054 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26055 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26056 * sysvipc/msgctl.c: Likewise.
26057 * sysvipc/msgget.c: Likewise.
26058 * sysvipc/msgrcv.c: Likewise.
26059 * sysvipc/msgsnd.c: Likewise.
26060 * sysvipc/semctl.c: Likewise.
26061 * sysvipc/semget.c: Likewise.
26062 * sysvipc/semop.c: Likewise.
26063 * sysvipc/semtimedop.c: Likewise.
26064 * sysvipc/shmat.c: Likewise.
26065 * sysvipc/shmctl.c: Likewise.
26066 * sysvipc/shmdt.c: Likewise.
26067 * sysvipc/shmget.c: Likewise.
26068 * termios/tcdrain.c: Likewise.
26069 * termios/tcflow.c: Likewise.
26070 * termios/tcflush.c: Likewise.
26071 * termios/tcgetattr.c: Likewise.
26072 * termios/tcgetpgrp.c: Likewise.
26073 * termios/tcsendbrk.c: Likewise.
26074 * termios/tcsetattr.c: Likewise.
26075 * termios/tcsetpgrp.c: Likewise.
26076 * time/adjtime.c: Likewise.
26077 * time/clock.c: Likewise.
26078 * time/getitimer.c: Likewise.
26079 * time/gettimeofday.c: Likewise.
26080 * time/setitimer.c: Likewise.
26081 * time/settimeofday.c: Likewise.
26082 * time/stime.c: Likewise.
26083 * time/time.c: Likewise.
26085 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26087 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26090 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26092 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26094 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26098 FE_TONEAREST before applying Dekker multiplication and Knuth
26099 addition. Clear inexact exceptions and check for exact zero
26100 results afterwards.
26101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26102 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26103 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26104 * math/libm-test.inc (fma_test): Add more tests.
26105 (fma_test_towardzero): Likewise.
26106 (fma_test_downward): Likewise.
26107 (fma_test_upward): Likewise.
26108 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26110 (libc_fesetround): New macro.
26111 (libc_fesetroundf): Likewise.
26112 (libc_fesetroundl): Likewise.
26113 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26115 (libc_fesetround_387): Likewise.
26116 (libc_fesetroundf): New macro.
26117 (libc_fesetround): Likewise.
26118 (libc_fesetroundl): Likewise.
26119 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26121 (libc_fesetroundf): New macro.
26122 (libc_fesetround): Likewise.
26123 (libc_fesetroundl): Likewise.
26124 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26125 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26126 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26128 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26129 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26131 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26132 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26134 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26138 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26139 integer constant usable in #if and use that to give value to enum
26141 (FE_DIVBYZERO): Likewise.
26142 (FE_UNDERFLOW): Likewise.
26143 (FE_OVERFLOW): Likewise.
26144 (FE_INVALID): Likewise.
26145 (FE_INVALID_SNAN): Likewise.
26146 (FE_INVALID_ISI): Likewise.
26147 (FE_INVALID_IDI): Likewise.
26148 (FE_INVALID_ZDZ): Likewise.
26149 (FE_INVALID_IMZ): Likewise.
26150 (FE_INVALID_COMPARE): Likewise.
26151 (FE_INVALID_SOFTWARE): Likewise.
26152 (FE_INVALID_SQRT): Likewise.
26153 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26154 (FE_TONEAREST): Likewise.
26155 (FE_TOWARDZERO): Likewise.
26156 (FE_UPWARD): Likewise.
26157 (FE_DOWNWARD): Likewise.
26158 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26159 (FE_DIVBYZERO): Likewise.
26160 (FE_OVERFLOW): Likewise.
26161 (FE_UNDERFLOW): Likewise.
26162 (FE_INEXACT): Likewise.
26163 (FE_TONEAREST): Likewise.
26164 (FE_DOWNWARD): Likewise.
26165 (FE_UPWARD): Likewise.
26166 (FE_TOWARDZERO): Likewise.
26167 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26168 (FE_UNDERFLOW): Likewise.
26169 (FE_OVERFLOW): Likewise.
26170 (FE_DIVBYZERO): Likewise.
26171 (FE_INVALID): Likewise.
26172 (FE_TONEAREST): Likewise.
26173 (FE_TOWARDZERO): Likewise.
26174 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26175 (FE_OVERFLOW): Likewise.
26176 (FE_UNDERFLOW): Likewise.
26177 (FE_DIVBYZERO): Likewise.
26178 (FE_INEXACT): Likewise.
26179 (FE_TONEAREST): Likewise.
26180 (FE_TOWARDZERO): Likewise.
26181 (FE_UPWARD): Likewise.
26182 (FE_DOWNWARD): Likewise.
26183 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26184 (FE_DIVBYZERO): Likewise.
26185 (FE_OVERFLOW): Likewise.
26186 (FE_UNDERFLOW): Likewise.
26187 (FE_INEXACT): Likewise.
26188 (FE_TONEAREST): Likewise.
26189 (FE_DOWNWARD): Likewise.
26190 (FE_UPWARD): Likewise.
26191 (FE_TOWARDZERO): Likewise.
26193 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26195 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26197 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26199 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26200 commands. Quote $PWD.
26201 (blacklist_exports): Don't use remove_newlines. Replace "declare
26203 (remove_newlines): Remove.
26205 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26207 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26208 * stdlib/stdlib.h (atof): Moved to ...
26209 * include/bits/stdlib-float.h: Here. New file.
26210 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26211 * stdlib/bits/stdlib-float.h: New file.
26212 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26214 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26217 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26219 * conform/conformtest.pl (@headers): Add fenv.h.
26220 * conform/data/fenv.h-data: New file.
26221 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26222 include of <math/fenv.h>.
26224 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26225 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26226 && !UNIX98]. Enables tests for XOPEN2K8.
26227 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26228 POSIX2008]: Likewise.
26230 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26231 (struct rusage): Do not expect type or its members.
26234 * math/math.h (FP_NAN): Define macro to integer constant usable in
26235 #if and use that to give value to enum constant.
26236 (FP_INFINITE): Likewise.
26237 (FP_ZERO): Likewise.
26238 (FP_SUBNORMAL): Likewise.
26239 (FP_NORMAL): Likewise.
26241 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26243 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26244 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26247 2012-11-02 Roland McGrath <roland@hack.frob.com>
26249 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26250 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26251 autoconf-time if not.
26252 * configure.in: Remove AC_PREREQ.
26254 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26256 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26257 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26258 of the internal implementation.
26260 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26262 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26263 except include of <misc/sys/syslog.h>.
26265 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26268 function returns with a NULL context exit with zero.
26270 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26272 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26274 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26276 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26277 (run_program_cmd): This.
26278 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26279 (tst_langinfo): New variable. Use it.
26281 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26283 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26284 floating point opcodes.
26286 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26288 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26291 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26293 * sysdeps/mach/hurd/powerpc: Remove directory.
26294 * sysdeps/mach/powerpc: Likewise.
26296 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26298 * scripts/check-local-headers.sh: Ignore c++ headers.
26300 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26302 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26303 __libc_cleanup_region_start argument.
26305 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26309 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26310 x * y using scaling, not as x * y + z.
26311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26312 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26313 * math/libm-test.inc (fma_test): Add more tests.
26314 (fma_test_towardzero): Likewise.
26315 (fma_test_downward): Likewise.
26316 (fma_test_upward): Likewise.
26318 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26320 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26322 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26324 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26327 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26329 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26331 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26338 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26341 Fix the order of the list for glibc 2.17.
26342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26345 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26349 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26352 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26353 for low part of x being zero before using __atanl (y).
26354 * math/libm-test.inc (atan2_test): Add another test.
26356 * manual/install.texi (Configuring and compiling): Document
26357 general use of test-wrapper and test-wrapper-env.
26358 * INSTALL: Regenerated.
26360 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26361 (__fma): Do not extract and scale down low bits on after-rounding
26362 systems when result rounded to normal precision would have normal
26364 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26365 (__fmal): Do not extract and scale down low bits on after-rounding
26366 systems when result rounded to normal precision would have normal
26368 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26369 (__fmal): Do not extract and scale down low bits on after-rounding
26370 systems when result rounded to normal precision would have normal
26372 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26374 (fma_test): Add more tests.
26375 (fma_test_towardzero): Likewise.
26376 (fma_test_downward): Likewise.
26377 (fma_test_upward): Likewise.
26379 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26381 * sysdeps/i386/tininess.h: Renamed to ...
26382 * sysdeps/x86/tininess.h: This.
26383 * sysdeps/x86_64/tininess.h: Removed.
26385 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26387 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26388 input. Use $(build-program-cmd).
26389 ($(objpfx)tst-array1-static.out): Likewise.
26390 ($(objpfx)tst-array2.out): Likewise.
26391 ($(objpfx)tst-array3.out): Likewise.
26392 ($(objpfx)tst-array4.out): Likewise.
26393 ($(objpfx)tst-array5.out): Likewise.
26394 ($(objpfx)tst-array5-static.out): Likewise.
26396 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26398 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26401 * nss/nsswitch.h (nss_interface_function): Provide new
26402 macro for use with NSS functions.
26403 * grp/initgroups.c: Use new macro.
26404 * nss/getXXbyYY.c: Likewise.
26405 * nss/getXXbyYY_r.c: Likewise.
26406 * nss/getXXent.c: Likewise.
26407 * nss/getXXent_r.c: Likewise.
26408 * sysdeps/posix/getaddrinfo.c: Likewise.
26410 2012-10-30 Andreas Jaeger <aj@suse.de>
26412 * po/ru.po: Update Russion translation from translation project.
26414 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26419 result and shift together with sticky bit instead of replicating
26420 round-to-nearest rounding.
26421 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26422 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26423 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26424 missing underflow exceptions.
26425 (fma_test_towardzero): Add more tests.
26426 (fma_test_downward): Likewise.
26427 (fma_test_upward): Likewise.
26430 * sysdeps/generic/tininess.h: New file.
26431 * sysdeps/i386/tininess.h: Likewise.
26432 * sysdeps/sh/tininess.h: Likewise.
26433 * sysdeps/x86_64/tininess.h: Likewise.
26434 * stdlib/tst-strtod-underflow.c: Likewise.
26435 * stdlib/tst-tininess.c: Likewise.
26436 * stdlib/strtod_l.c: Include <tininess.h>.
26437 (round_and_return): Do not set errno for exact underflow cases.
26438 Force an underflow exception when setting errno for underflow.
26439 Determine underflow based on rounding to normal precision if
26440 TININESS_AFTER_ROUNDING.
26441 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26442 ERANGE for exact underflow cases.
26443 * stdlib/Makefile (tests): Add tst-tininess and
26444 tst-strtod-underflow.
26445 ($(objpfx)tst-tininess): Use $(link-libm).
26446 ($(objpfx)tst-strtod-underflow): Likewise.
26448 2012-10-30 Andreas Jaeger <aj@suse.de>
26451 * elf/Makefile (tests): Remove conditional for have-initfini-array
26452 since this is now always required and the variable does not exist
26454 (tests-static): Likewise.
26455 (modules-names): Likewise.
26457 * po/eo.po: Add Esperanto translation from translation project.
26459 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26460 merged with constructor/destructor.
26461 (init_array): Likewise.
26462 * elf/tst-array2dep.c (fini_array): Likewise.
26463 (init_array): Likewise.
26465 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26467 * manual/message.texi: Delete @cartouche tags.
26469 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26471 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26473 * sysdeps/mach/hurd/fsync.c: Likewise.
26475 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26476 [_POSIX_REALTIME_SIGNALS]: Change condition to
26477 [_POSIX_REALTIME_SIGNALS > 0].
26479 2012-10-27 Andreas Jaeger <aj@suse.de>
26481 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26482 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26483 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26484 [__WORDSIZE != 64]: Likewise.
26486 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26488 * iconvdata/tst-table.sh: Remove ${SHELL}.
26489 * iconvdata/tst-tables.sh: Likewise.
26491 2012-10-25 David S. Miller <davem@davemloft.net>
26493 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26494 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26497 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26499 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26500 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26501 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26504 2012-10-25 Roland McGrath <roland@hack.frob.com>
26506 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26507 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26510 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26511 Jim Blandy <jimb@codesourcery.com>
26513 * scripts/cross-test-ssh.sh: New file.
26514 * manual/install.texi (Configuring and compiling): Document use of
26516 * INSTALL: Regenerated.
26518 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26520 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26523 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26525 * Makeconfig (run-program-prefix): Fix comment.
26527 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26528 Jim Blandy <jimb@codesourcery.com>
26530 * Makeconfig (test-wrapper): New variable,
26531 (test-wrapper-env): Likewise.
26532 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26533 (run-built-tests): Define to yes.
26534 (run-program-prefix): Use $(test-wrapper).
26535 (built-program-cmd): Likewise.
26536 * Rules (make-test-out): Use $(test-wrapper-env) and
26537 $(host-built-program-cmd).
26538 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26539 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26541 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26542 $(test-wrapper-env) to tst-rtld-load-self.sh.
26543 ($(objpfx)order2.out): Use $(test-wrapper).
26544 ($(objpfx)tst-initorder.out): Likewise.
26545 ($(objpfx)tst-initorder2.out): Likewise.
26546 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26547 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26548 (test_wrapper_env): New variable. Use it to run ld.so.
26549 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26550 Use it to run ld.so.
26551 (test_wrapper_env): Likewise.
26552 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26553 $(test-wrapper) to run-iconv-test.sh.
26554 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26555 (ICONV): Use $test_wrapper.
26556 * posix/Makefile ($(objpfx)globtest.out): Pass
26557 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26558 globtest.sh, not $(run-program-prefix).
26559 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26560 (test_wrapper): Likewise.
26561 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26562 set together with run_via_rtld_prefix.
26563 (run_program_prefix): Define in terms of test_wrapper and
26564 run_via_rtld_prefix.
26566 2012-10-24 Roland McGrath <roland@hack.frob.com>
26568 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26569 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26573 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26574 Declare __clock_getres, __clock_gettime, __clock_settime,
26575 __clock_nanosleep, and __clock_getcpuclockid.
26576 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26577 Remove librt_hidden_def (clock_gettime).
26578 * sysdeps/unix/clock_gettime.c: Likewise.
26579 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26580 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26581 * rt/clock_getres.c: Define __clock_getres as an alias.
26582 * sysdeps/posix/clock_getres.c: Likewise.
26583 * rt/clock_settime.c: Define __clock_settime as an alias.
26584 * sysdeps/unix/clock_settime.c: Likewise.
26585 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26586 * sysdeps/unix/clock_nanosleep.c: Likewise.
26587 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26588 * rt/clock-compat.c: New file.
26589 * rt/Makefile (librt-routines): Add clock-compat and move
26590 $(clock-routines) to ...
26591 (routines): ... here, new variable.
26592 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26593 Don't add get_clockfreq here.
26594 * rt/Versions (libc: GLIBC_2.17): New version set.
26595 Add clock_* symbols here.
26596 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26597 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26598 (GLIBC_2.17): Add clock_* symbols.
26599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26601 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26610 * NEWS: Mention the move.
26612 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26613 Use __open, __read, __close rather than their public counterparts.
26614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26615 (__get_clockfreq_via_cpuinfo): Likewise.
26616 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26617 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26619 * config.h.in (HAVE_IFUNC): New #undef.
26620 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26622 * configure: Regenerated.
26624 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26626 * configure.in: Move READELF check to start of file.
26627 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26628 libc_cv_asm_gnu_indirect_function in the process.
26629 * configure: Regenerated.
26631 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26633 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26634 send the output to /dev/null.
26635 (libc_cv_cc_with_libunwind): Likewise.
26636 (libc_cv_as_noexecstack): Likewise.
26637 * configure: Regenerate.
26639 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26641 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26643 * posix/globtest.sh (TMPDIR): Do not set.
26644 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26645 (testout): Likewise.
26647 2012-10-24 Andreas Jaeger <aj@suse.de>
26649 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26650 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26651 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26652 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26653 posix_fadvise64, posix_fallocate64.
26655 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26656 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26657 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26659 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26661 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26664 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26665 <bits/fcntl-linux.h>.
26666 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26668 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26669 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26670 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26671 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26672 [__WORDSIZE != 64]: Likewise.
26674 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26676 * Makeconfig (run-built-tests): New variable.
26677 * Rules [$(cross-compiling) = yes]: Change condition to
26678 [$(run-built-tests) = no].
26679 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26680 to [$(run-built-tests) = yes].
26681 * elf/Makefile [$(cross-compiling) = no]: Likewise
26682 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26683 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26684 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26685 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26686 * io/Makefile [$(cross-compiling) = no]: Likewise.
26687 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26688 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26689 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26690 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26691 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26692 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26693 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26694 * string/Makefile [$(cross-compiling) = no]: Likewise.
26696 * posix/Makefile ($(objpfx)globtest.out): Pass
26697 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26698 $(rtld-installed-name).
26699 * posix/globtest.sh (elf_objpfx): Remove variable.
26700 (rtld_installed_name): Likewise.
26701 (library_path): Likewise.
26702 (run_program_prefix): New variable. Use for running globtest
26705 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26706 Joseph Myers <joseph@codesourcery.com>
26708 * Makeconfig (host-built-program-cmd): New variable.
26709 * elf/Makefile (tst-stackguard1-ARGS): Use
26710 $(host-built-program-cmd).
26711 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26712 (tst-spawn-ARGS): Likewise.
26713 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26715 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26716 Jim Blandy <jimb@codesourcery.com>
26718 * Makeconfig (run-via-rtld-prefix): New variable.
26719 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26720 (built-program-cmd): Likewise.
26722 2012-10-22 Andreas Jaeger <aj@suse.de>
26724 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26725 __O_RSYNC if it exists, otherwise to O_SYNC.
26727 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26728 Joseph Myers <joseph@codesourcery.com>
26730 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26732 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26734 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26737 2012-10-22 Andreas Jaeger <aj@suse.de>
26739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26744 bits/fcntl-linux.h.
26746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26747 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26754 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26755 Joseph Myers <joseph@codesourcery.com>
26757 * config.make.in (NM): New variable.
26759 2012-10-21 Andreas Jaeger <aj@suse.de>
26761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26762 definitions and declarations that are provided by
26763 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26765 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26768 * elf/Makefile (tests-static): Add tst-leaks1-static.
26769 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26770 ($(objpfx)tst-leaks1-static): New rule.
26771 ($(objpfx)tst-leaks1-static-mem): Likewise.
26772 (tst-leaks1-static-ENV): New macro.
26773 * elf/dl-open.c (dl_open_worker): Check the main application
26774 only if SHARED is defined.
26775 * elf/tst-leaks1-static.c: New file.
26777 2012-10-20 Andreas Jaeger <aj@suse.de>
26779 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26780 generic values for Linux.
26781 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26782 and declarations that are provided by <bits/fcntl-linux.h> and
26783 include <bits/fcntl-linux.h>.
26784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26785 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26787 2012-10-20 Roland McGrath <roland@hack.frob.com>
26789 * io/fcntl.h: Move include of <bits/types.h> to the top and
26790 include it unconditionally.
26792 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26794 * wcsmbs/Makefile (tests-ifunc): New variable.
26795 (tests): Add $(tests-ifunc).
26796 * wcsmbs/test-wcschr-ifunc.c: New file.
26797 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26798 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26799 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26800 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26801 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26803 * string/Makefile (tests-ifunc): New variable.
26804 (tests): Add $(tests-ifunc).
26805 * string/test-memccpy.c (TEST_NAME): New macro.
26806 * string/test-memchr.c (TEST_NAME): Likewise.
26807 * string/test-memcmp.c (TEST_NAME): Likewise.
26808 * string/test-memcpy.c (TEST_NAME): Likewise.
26809 * string/test-memmem.c (TEST_NAME): Likewise.
26810 * string/test-memmove.c (TEST_NAME): Likewise.
26811 * string/test-memset.c (TEST_NAME): Likewise.
26812 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26813 * string/test-stpcpy.c (TEST_NAME): Likewise.
26814 * string/test-stpncpy.c (TEST_NAME): Likewise.
26815 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26816 * string/test-strcasestr.c (TEST_NAME): Likewise.
26817 * string/test-strcat.c (TEST_NAME): Likewise.
26818 * string/test-strchr.c (TEST_NAME): Likewise.
26819 * string/test-strcmp.c(TEST_NAME): Likewise.
26820 * string/test-strcpy.c (TEST_NAME): Likewise.
26821 * string/test-strcspn.c (TEST_NAME): Likewise.
26822 * string/test-strlen.c (TEST_NAME): Likewise.
26823 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26824 * string/test-strncmp.c (TEST_NAME): Likewise.
26825 * string/test-strncpy.c (TEST_NAME): Likewise.
26826 * string/test-strnlen.c (TEST_NAME): Likewise.
26827 * string/test-strpbrk.c (TEST_NAME): Likewise.
26828 * string/test-strrchr.c (TEST_NAME): Likewise.
26829 * string/test-strspn.c (TEST_NAME): Likewise.
26830 * string/test-strstr.c (TEST_NAME): Likewise.
26831 * string/test-bcopy-ifunc.c: New file.
26832 * string/test-bzero-ifunc.c: Likewise.
26833 * string/test-memccpy-ifunc.c: Likewise.
26834 * string/test-memchr-ifunc.c: Likewise.
26835 * string/test-memcmp-ifunc.c: Likewise.
26836 * string/test-memcpy-ifunc.c: Likewise.
26837 * string/test-memmem-ifunc.c: Likewise.
26838 * string/test-memmove-ifunc.c: Likewise.
26839 * string/test-mempcpy-ifunc.c: Likewise.
26840 * string/test-memset-ifunc.c: Likewise.
26841 * string/test-rawmemchr-ifunc.c: Likewise.
26842 * string/test-stpcpy-ifunc.c: Likewise.
26843 * string/test-stpncpy-ifunc.c: Likewise.
26844 * string/test-strcasecmp-ifunc.c: Likewise.
26845 * string/test-strcasestr-ifunc.c: Likewise.
26846 * string/test-strcat-ifunc.c: Likewise.
26847 * string/test-strchr-ifunc.c: Likewise.
26848 * string/test-strchrnul-ifunc.c: Likewise.
26849 * string/test-strcmp-ifunc.c: Likewise.
26850 * string/test-strcpy-ifunc.c: Likewise.
26851 * string/test-strcspn-ifunc.c: Likewise.
26852 * string/test-strlen-ifunc.c: Likewise.
26853 * string/test-strncasecmp-ifunc.c: Likewise.
26854 * string/test-strncat-ifunc.c: Likewise.
26855 * string/test-strncmp-ifunc.c: Likewise.
26856 * string/test-strncpy-ifunc.c: Likewise.
26857 * string/test-strnlen-ifunc.c: Likewise.
26858 * string/test-strpbrk-ifunc.c: Likewise.
26859 * string/test-strrchr-ifunc.c: Likewise.
26860 * string/test-strspn-ifunc.c: Likewise.
26861 * string/test-strstr-ifunc.c: Likewise.
26863 * debug/Makefile (tests-ifunc): New variable.
26864 (tests): Add $(tests-ifunc).
26865 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26866 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26867 * debug/test-stpcpy_chk-ifunc.c: New file.
26868 * debug/test-strcpy_chk-ifunc.c: Likewise.
26870 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26873 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26874 header is not read in.
26876 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26878 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26879 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26880 directly. Pass built executable to script as
26881 $(built-program-cmd).
26882 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26883 $testprogram without using LD_LIBRARY_PATH and $ldso.
26885 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26886 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26887 $(rtld-installed-name).
26888 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26889 (rtld_installed_name): Likewise.
26890 (library_path): Likewise.
26891 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26892 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26893 $(run-program-prefix) to tst-tables.sh.
26894 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26895 it to run tst-table-from and tst-table-to.
26896 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26897 Pass it to tst-table.sh.
26898 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26899 $(run-program-prefix) to tst-gettext.sh.
26900 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26902 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26904 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26905 to run tst-gettext.
26906 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26907 to run tst-gettext2.
26908 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26909 to run tst-translit.
26910 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26911 $(run-program-prefix) to tst-mtrace.sh.
26912 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26914 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26915 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26916 $(rtld-installed-name).
26917 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26918 (rtld_installed_name): Likewise.
26919 (run_program_prefix): New variable. Use it to run wordexp-test.
26921 * Makeconfig (ARCH): Remove all definitions.
26922 (machine): Likewise.
26923 [ARCH]: Remove conditional code.
26924 [!objdir]: Give error.
26925 [!objdir] (objpfx): Remove.
26926 [!objdir] (common-objpfx): Likewise.
26927 [!objdir] (common-objdir): Likewise.
26928 * configure.in (config_makefile): Remove. Hardcode Makefile in
26929 AC_CONFIG_FILES call.
26930 * configure: Regenerated.
26933 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26935 (testout): Likewise.
26937 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26938 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26939 $(rtld-installed-name).
26940 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26941 (rtld_installed_name): Likwise.
26942 (runit): Remove function.
26943 (run_getconf): New variable, Use it for running getconf binary.
26945 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26948 * string/test-memmem.c (check_result): New function.
26949 (do_one_test): Use it.
26950 (check1): New function.
26951 (test_main): Use it.
26953 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26955 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26957 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26959 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26960 (_G_LSEEK64): Likewise.
26961 (_G_MMAP64): Likewise.
26962 (_G_FSTAT64): Likewise.
26963 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26964 (_G_LSEEK64): Likewise.
26965 (_G_MMAP64): Likewise.
26966 (_G_FSTAT64): Likewise.
26967 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26968 unconditional. Call __mmap64 directly.
26969 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26970 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26971 __lseek64 directly.
26972 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26973 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26975 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26976 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26977 __lseek64 directly.
26978 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26979 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26980 __lseek64 directly.
26981 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26982 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26983 __lseek64 directly.
26984 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26985 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26986 __fxstat64 directly.
26987 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26988 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26990 (freopen64) [!_G_OPEN64]: Remove conditional code.
26991 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26993 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26994 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26996 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26997 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26999 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27000 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27002 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27003 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27005 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27006 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27008 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27009 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27011 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27013 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27016 * manual/memory.texi (Malloc Tunable Parameters): Add note
27017 about free list pointers overwriting some perturb bytes.
27018 Wording suggested by Roland McGrath.
27020 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27022 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27023 (lgamma_test): Likewise.
27024 (tgamma_test): Likewise.
27026 2012-10-16 Florian Weimer <fweimer@redhat.com>
27029 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27030 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27032 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27034 * NEWS: Mention BZ #14716.
27035 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27036 when removing AVAILABLE1_USES_J macro.
27038 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27040 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27041 (__bswap_64): __uint64_t for unsigned 64-bit int.
27043 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27045 * include/string.h (memmem): Declare libc hidden alias.
27046 * string/memmem.c (memmem): Define libc hidden alias.
27047 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27048 __read, __close instead of open, read, close.
27050 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27052 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27053 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27055 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27056 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27057 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27059 (__rawmemchr_sse2): Likewise.
27060 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27061 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27062 (__strchr_sse2): Likewise.
27063 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27064 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27065 (__strcasecmp_sse2): Likewise.
27066 (__strncasecmp_sse2): Likewise.
27067 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27068 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27069 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27070 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27071 (__strrchr_sse2): Likewise.
27072 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27074 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27075 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27076 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27077 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27078 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27079 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27080 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27081 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27082 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27083 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27084 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27085 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27086 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27087 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27088 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27089 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27090 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27091 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27092 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27093 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27094 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27095 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27096 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27097 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27098 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27099 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27100 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27101 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27102 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27103 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27105 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27107 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27108 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27109 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27110 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27112 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27114 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27115 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27116 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27117 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27119 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27120 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27121 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27122 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27123 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27124 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27125 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27126 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27127 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27128 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27129 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27130 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27131 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27132 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27133 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27134 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27135 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27136 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27137 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27138 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27139 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27140 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27141 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27142 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27143 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27144 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27145 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27146 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27147 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27148 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27149 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27150 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27151 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27152 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27153 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27154 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27155 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27156 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27157 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27158 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27159 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27161 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27162 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27163 * include/ifunc-impl-list.h: New file.
27164 * misc/ifunc-impl-list.c: Likewise.
27165 * misc/Makefile (routines): Add ifunc-impl-list.
27166 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27167 * string/test-string.h: Include <ifunc-impl-list.h>.
27168 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27169 TEST_NAME]: New variables.
27170 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27172 (test_init): Call __libc_ifunc_impl_list to initialize
27173 func_list if TEST_IFUNC and TEST_NAME are defined.
27175 * string/Makefile (strop-tests): Add bcopy and bzero.
27176 * string/test-bcopy.c: New file.
27177 * string/test-bzero.c: Likewise.
27178 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27180 * string/test-memset.c: Support bzero test if TEST_BZERO is
27182 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27184 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27186 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27189 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27191 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27192 * configure: Regenerated.
27194 * Makeconfig (+link-static-before-libc): Don't include
27195 $(link-static-libc).
27197 * libio/libio.h (_IO_pos_t): Remove.
27199 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27201 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27204 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27206 * crypt/crypt-entry.c: Include fips-private.h.
27207 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27208 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27209 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27210 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27212 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27214 * crypt/crypt-private.h: Include stdbool.h.
27215 (_ufc_setup_salt_r): Return bool.
27216 * crypt/crypt-entry.c: Include errno.h.
27217 (__crypt_r): Return NULL with EINVAL for bad salt.
27218 * crypt/crypt_util.c (bad_for_salt): New.
27219 (_ufc_setup_salt_r): Check that salt is long enough and within
27220 the specified alphabet.
27221 * crypt/badsalttest.c: New file.
27222 * crypt/Makefile (tests): Add it.
27223 ($(objpfx)badsalttest): New.
27225 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27227 * NEWS: Add entry for BZ #14602.
27229 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27231 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27233 * math/libm-test.inc: Update comment listing what functions and
27235 (isgreater_test): New function.
27236 (isgreaterequal_test): Likewise.
27237 (isless_test): Likewise.
27238 (islessequal_test): Likewise.
27239 (islessgreater_test): Likewise.
27240 (isunordered_test): Likewise.
27241 (main): Call the new functions.
27243 2012-10-09 Roland McGrath <roland@hack.frob.com>
27245 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27246 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27247 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27248 * sysdeps/i386/configure: Regenerated.
27249 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27250 * sysdeps/mach/configure: Regenerated.
27251 * sysdeps/mach/hurd/configure: Regenerated.
27252 * sysdeps/powerpc/configure: Regenerated.
27253 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27254 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27255 * sysdeps/s390/s390-32/configure: Regenerated.
27256 * sysdeps/s390/s390-64/configure: Regenerated.
27257 * sysdeps/sh/configure: Regenerated.
27258 * sysdeps/sparc/configure: Regenerated.
27259 * sysdeps/unix/sysv/linux/configure: Regenerated.
27260 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27261 * sysdeps/x86_64/configure: Regenerated.
27263 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27264 defined. Don't check if MAP is NULL.
27266 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27268 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27269 (_G_stat64): Likewise.
27270 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27271 (_G_stat64): Likewise.
27272 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27273 instead of struct _G_stat64.
27274 * libio/fileops.c (mmap_remap_check): Likewise.
27275 (decide_maybe_mmap): Likewise.
27276 (_IO_new_file_seekoff): Likewise.
27277 (_IO_file_stat): Likewise.
27278 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27280 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27281 instead of struct _G_stat64.
27282 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27284 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27287 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27289 (CHECK_EOL): New macro.
27290 (two_way_short_needle): Check beginning of haystack for EOL. Use
27292 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27293 Replace with CHECK_EOL.
27294 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27295 Replace with CHECK_EOL.
27297 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27299 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27301 * math/libm-test.inc: Update comment listing what functions and
27303 (finite_test): New function.
27304 (isinf_test): Likewise.
27305 (isnan_test): Likewise.
27306 (fpclassify_test): Test subnormal input.
27307 (isfinite_test): Likewise.
27308 (isnormal_test): Likewise.
27309 (main): Call the new functions.
27311 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27314 * Makerules (%.dynsym): Force C locale when running
27315 $(OBJDUMP) --dynamic-syms.
27317 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27319 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27322 2012-10-06 David S. Miller <davem@davemloft.net>
27324 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27325 upper 32-bits of the length value in %o2 since we use branch-on-register
27326 tests which consider the entire 64-bit register.
27328 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27330 * string/test-strstr.c (check2): Add a test for page boundary.
27332 2012-10-05 David S. Miller <davem@davemloft.net>
27334 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27335 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27337 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27339 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27340 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27341 and bzero when HWCAP_SPARC_CRYPTO is present.
27343 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27346 * string/test-strstr.c (check2): New function.
27347 (test_main): Call check2.
27349 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27351 * string/bug-strcasestr1.c (do_test): Moved to ...
27352 * string/test-strcasestr.c (check1): Here. New function.
27353 (do_one_test): Break out result checking code into ...
27354 (check_result): This. New function.
27355 (do_one_test): Call check_result.
27356 (test_main): Call check1.
27357 * string/bug-strchr1.c (do_test): Moved to ...
27358 * string/test-strchr.c (check1): Here. New function.
27359 (do_one_test): Break out result checking code into ...
27360 (check_result): This. New function.
27361 (do_one_test): Call check_result.
27362 (test_main): Call check1.
27363 * string/bug-strstr1.c (main): Moved to ...
27364 * string/test-strstr.c (check1): Here. New function.
27365 (do_one_test): Break out result checking code into ...
27366 (check_result): This. New function.
27367 (do_one_test): Call check_result.
27368 (test_main): Call check1.
27369 * string/bug-strcasestr1.c: Removed.
27370 * string/bug-strchr1.c: Likewise.
27371 * string/bug-strstr1.c: Likewise.
27373 * elf/Makefile (dl-routines): Add hwcaps.
27374 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27375 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27376 (_dl_important_hwcaps): Moved to ...
27377 * elf/dl-hwcaps.c: Here. New file.
27378 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27381 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27382 if IS_IN_rtld isn't defined.
27384 * elf/dl-support.c (_dl_sysinfo_map): New.
27385 Include "get-dynamic-info.h" and "setup-vdso.h".
27386 (_dl_non_dynamic_init): Call setup_vdso.
27387 * elf/dynamic-link.h: Don't include <assert.h>.
27388 (elf_get_dynamic_info): Moved to ...
27389 * elf/get-dynamic-info.h: Here. New file.
27390 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27391 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27392 * elf/setup-vdso.h: Here. New file.
27393 * elf/rtld.c: Include "setup-vdso.h".
27394 (dl_main): Call setup_vdso.
27396 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27398 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27399 creal in comment listing functions tested. List finite, isinf,
27400 isnan, isless, islessequal, isgreater, isgreaterequal,
27401 islessgreater, isunordered, lgamma_r and pow10 as functions and
27402 macros not tested. Mention which functions not tested are aliases
27403 for other functions. Fix typo. Note that signs of NaNs are not
27406 * scripts/config.guess: Update from config.git.
27407 * scripts/config.sub: Likewise.
27409 2012-10-04 Roland McGrath <roland@hack.frob.com>
27411 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27412 * misc/madvise.c (madvise): Renamed to __madvise.
27413 Make madvise a weak alias.
27414 * include/sys/mman.h: Declare __madvise.
27415 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27416 * sysdeps/unix/syscalls.list
27417 (madvise): Make __madvise the strong name, and madvise a weak alias.
27418 * sysdeps/unix/sysv/linux/syscalls.list
27419 (madvise, mmap): Remove redundant entries.
27420 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27421 * malloc/malloc.c (mtrim): Likewise.
27422 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27424 2012-10-03 Roland McGrath <roland@hack.frob.com>
27426 * sysdeps/mach/hurd/dl-cache.c: File removed.
27427 * config.h.in (USE_LDCONFIG): New #undef.
27428 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27429 * configure: Regenerated.
27430 * elf/Makefile (dl-routines): Add dl-cache only under
27431 [$(use-ldconfig) = yes].
27432 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27433 cache on [USE_LDCONFIG].
27434 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27436 * elf/rtld.c (dl_main): Likewise.
27438 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27440 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27441 _SC_LEVEL4_CACHE_LINESIZE.
27443 2012-10-03 Roland McGrath <roland@hack.frob.com>
27445 * sysdeps/unix/bsd/confstr.h: File removed.
27447 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27449 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27452 2012-10-02 Roland McGrath <roland@hack.frob.com>
27454 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27455 Make 'mapoff' field ElfW(Off) rather than off_t.
27457 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27459 * nscd/Makefile: Remove nscd-cflags and all its users.
27460 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27461 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27464 * malloc.c (malloc_printerr): Clarify error message.
27466 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27470 Set bit_FMA_Usable if FMA is supported.
27471 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27473 (bit_FMA4_Usable): Updated.
27474 (index_FMA_Usable): New macro.
27475 (CPUID_FMA): Likewise
27476 (HAS_FMA): Defined with bit_FMA_Usable.
27478 2012-10-01 Roland McGrath <roland@hack.frob.com>
27480 * bits/types.h (__swblk_t): Type removed.
27481 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27482 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27484 (__SWBLK_T_TYPE): Likewise.
27485 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27486 (__SWBLK_T_TYPE): Likewise.
27487 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27488 (__SWBLK_T_TYPE): Likewise.
27489 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27490 (__SWBLK_T_TYPE): Likewise.
27492 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27493 Honza Horak <hhorak@redhat.com>
27495 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27496 (xdr_mapname): Use YPMAXMAP as maxsize.
27497 (xdr_peername): Use YPMAXPEER as maxsize.
27498 (xdr_keydat): Use YPAXRECORD as maxsize.
27499 (xdr_valdat): Use YPMAXRECORD as maxsize.
27501 2012-10-01 Roland McGrath <roland@hack.frob.com>
27503 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27505 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27506 * csu/init-first.c: ... here.
27507 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27508 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27509 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27510 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27511 * sysdeps/i386/init-first.c: File removed.
27512 * sysdeps/sh/init-first.c: File removed.
27514 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27518 if x * y might underflow to zero and z is zero.
27519 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27520 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27521 * math/libm-test.inc (min_subnorm_value): New variable.
27522 (fma_test): Add more tests.
27523 (fma_test_towardzero): Likewise.
27524 (fma_test_downward): Likewise
27525 (fma_test_upward): Likewise.
27526 (initialize): Set min_subnorm_value.
27528 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27533 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27534 mode for addition resulting in exact zero.
27535 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27538 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27539 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27540 * math/libm-test.inc (fma_test): Add more tests.
27541 (fma_test_towardzero): New function.
27542 (fma_test_downward): Likewise.
27543 (fma_test_upward): Likewise.
27544 (main): Call the new functions.
27546 2012-09-28 David S. Miller <davem@davemloft.net>
27548 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27550 2012-09-28 Roland McGrath <roland@hack.frob.com>
27552 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27553 instead of SIGALRM.
27555 * sysdeps/gnu/_G_config.h: Moved to ...
27556 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27557 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27558 * sysdeps/generic/_G_config.h: ... here.
27560 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27562 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27564 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27565 Conditionalize target on [libnss_test1.so-version].
27567 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27569 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27570 (elfobjdir): Move out of conditionals.
27572 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27573 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27574 (__nss_lookup_function): Conditionalize label remove_from_tree on
27575 [!DO_STATIC_NSS || SHARED], matching its only use.
27577 2012-09-28 David S. Miller <davem@davemloft.net>
27579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27580 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27582 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27584 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27586 when HWCAP_SPARC_CRYPTO is present.
27588 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27590 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27592 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27595 * stdio-common/vfprintf.c (process_string_arg): Revert
27598 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27600 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27602 * stdio-common/tst-sprintf.c: Include <locale.h>
27603 (main): Test sprintf's handling of incomplete multibyte
27606 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27608 * elf/dl-runtime.c (VERSYMIDX): Removed.
27609 * elf/dl-version.c (VERSYMIDX): Likewise.
27610 * elf/do-rel.h (VERSYMIDX): Likewise.
27611 (VALIDX): Likewise.
27612 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27613 * elf/rtld.c (VALIDX): Likewise.
27614 (ADDRIDX): Likewise.
27615 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27616 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27617 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27618 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27619 (VALIDX): Likewise.
27620 (ADDRIDX): Likewise.
27622 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27624 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27626 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27629 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27631 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27632 addresses are in the same scope as 192.0.2/24.
27633 * posix/gai.conf: Document new scope table defaults.
27635 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27638 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27639 for ftell. Compute offsets from write pointers instead.
27640 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27642 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27645 * libio/Makefile (tests): New test case tst-fseek.
27646 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27647 combination works in wide mode.
27648 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27649 state when the external buffer state changes.
27651 2012-09-27 David S. Miller <davem@davemloft.net>
27654 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27655 pass reloc->r_addend in as the 'high' argument to
27656 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27660 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27662 * rt/tst-aio2.c: Include <pthread.h>.
27663 * rt/tst-aio3.c: Likewise.
27665 2012-09-27 Steve Ellcey <sellcey@mips.com>
27667 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27669 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27671 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27672 contents on [SHARED].
27674 2012-09-26 Marek Polacek <polacek@redhat.com>
27678 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27679 for C++ and GCC <4.3 as well as for non GCC compilers.
27681 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27685 2012-09-25 Roland McGrath <roland@hack.frob.com>
27687 * Makefile.in (all, install): Declare with .PHONY.
27688 Reported by Michael Hope <michael.hope@linaro.org>.
27690 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27692 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27693 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27695 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27697 (sydep_routines): Add the new and the internal functions.
27698 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27699 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27701 (GLIBC_2.17): Add the new function.
27702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27703 (GLIBC_2.17): Likewise.
27704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27705 (GLIBC_2.17): Likewise.
27706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27707 (GLIBC_2.17): Likewise.
27708 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27710 2012-09-25 Alan Modra <amodra@gmail.com>
27712 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27713 Add release barrier before setting once_control to say
27714 initialisation is done. Add hints on lwarx. Use macro in
27716 (clear_once_control): Add release barrier.
27718 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27721 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27723 * math/s_clog10.c (__clog10): Likewise.
27724 * math/s_clog10f.c (__clog10f): Likewise.
27725 * math/s_clog10l.c (__clog10l): Likewise.
27726 * math/s_clogf.c (__clogf): Likewise.
27727 * math/s_clogl.c (__clogl): Likewise.
27728 * math/Makefile (libm-calls): Add x2y2m1.
27729 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27730 (__x2y2m1): Likewise.
27731 (__x2y2m1l): Likewise.
27732 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27733 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27736 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27737 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27738 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27739 * sysdeps/i386/fpu/libm-test-ulps: Update.
27740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27743 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27744 int as type of variable DEPTH.
27745 (glob): Use size_t instead of int as type of variables NEWCOUNT
27748 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27750 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27751 Add s_sincosf-sse2.
27752 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27753 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27754 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27755 macros for using routine as __sincosf_ia32.
27756 Use macro for function declaration and weak_alias.
27757 * sysdeps/i386/fpu/libm-test-ulps: Update.
27759 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27762 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27763 subnormal argument.
27764 * math/s_cexpf.c (__cexpf): Likewise.
27765 * math/s_csinf.c (__csinf): Likewise.
27766 * math/s_csinhf.c (__csinhf): Likewise.
27767 * math/s_ctanf.c (__ctanf): Likewise.
27768 * math/s_ctanhf.c (__ctanhf): Likewise.
27769 * math/s_ccosh.c (__ccoshf): Likewise.
27770 * math/s_cexp.c (__cexpl): Likewise.
27771 * math/s_csin.c (__csin): Likewise.
27772 * math/s_csinh.c (__csinh): Likewise.
27773 * math/s_ctan.c (__ctan): Likewise.
27774 * math/s_ctanh.c (ctanh): Likewise.
27775 * math/s_ccoshl.c (__ccoshl): Likewise.
27776 * math/s_cexpl.c (__cexpl): Likewise.
27777 * math/s_csinl.c (__csinl): Likewise.
27778 * math/s_csinhl.c (__csinhl): Likewise.
27779 * math/s_ctanl.c (__ctanl): Likewise.
27780 * math/s_ctanhl.c (__ctanhl): Likewise.
27782 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27784 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27785 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27786 (_IO_off_t): Define to __off_t, not _G_off_t.
27787 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27788 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27789 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27790 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27791 type of __dummy and __dummy2 fields.
27792 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27793 (_G_ssize_t): Likewise.
27794 (_G_off_t): Likewise.
27795 (_G_pid_t): Likewise.
27796 (_G_uid_t): Likewise.
27797 (_G_wchar_t): Likewise.
27798 (_G_wint_t): Likewise.
27799 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27800 (_G_ssize_t): Likewise.
27801 (_G_off_t): Likewise.
27802 (_G_pid_t): Likewise.
27803 (_G_uid_t): Likewise.
27804 (_G_wchar_t): Likewise.
27805 (_G_wint_t): Likewise.
27806 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27807 (_G_ssize_t): Likewise.
27808 (_G_off_t): Likewise.
27809 (_G_pid_t): Likewise.
27810 (_G_uid_t): Likewise.
27811 (_G_wchar_t): Likewise.
27812 (_G_wint_t): Likewise.
27814 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27816 * malloc/arena.c: Include malloc-sysdep.h.
27817 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27818 is sufficient to shrink the heap or an unmap is needed.
27819 * sysdeps/generic/malloc-sysdep.h: New file. Define
27820 new function check_may_shrink_heap.
27821 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27822 new function check_may_shrink_heap.
27824 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27826 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27829 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27831 * catgets/test-gencat.sh: Add "set -e".
27832 * elf/tst-pathopt.sh: Likewise.
27833 * grp/tst_fgetgrent.sh: Likewise.
27834 * iconvdata/run-iconv-test.sh: Likewise.
27835 * intl/tst-gettext.sh: Likewise.
27836 * intl/tst-gettext2.sh: Likewise.
27837 * intl/tst-gettext4.sh: Likewise.
27838 * intl/tst-gettext6.sh: Likewise.
27839 * intl/tst-translit.sh: Likewise.
27840 * io/ftwtest-sh: Likewise.
27841 * libio/test-freopen.sh: Likewise.
27842 * malloc/tst-mtrace.sh: Likewise.
27843 * posix/globtest.sh: Likewise.
27844 * posix/tst-getconf.sh: Likewise.
27845 * posix/wordexp-tst.sh: Likewise.
27846 * stdio-common/tst-printf.sh: Likewise.
27847 * stdio-common/tst-unbputc.sh: Likewise.
27848 * stdlib/tst-fmtmsg.sh: Likewise.
27849 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27850 * catgets/Makefile: Do not specify -e option when running
27851 testsuite shell scripts.
27852 * elf/Makefile: Likewise.
27853 * grp/Makefile: Likewise.
27854 * iconvdata/Makefile: Likewise.
27855 * intl/Makefile: Likewise.
27856 * io/Makefile: Likewise.
27857 * libio/Makefile: Likewise.
27858 * malloc/Makefile: Likewise.
27859 * posix/Makefile: Likewise.
27860 * stdio-common/Makefile: Likewise.
27861 * stdlib/Makefile: Likewise.
27862 * sysdeps/x86_64/Makefile: Likewise.
27864 * io/ftwtest-sh: Add copyright header.
27865 * posix/globtest.sh: Likewise.
27866 * posix/tst-getconf.sh: Likewise.
27867 * posix/wordexp-tst.sh: Likewise.
27868 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27870 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27873 * Makeconfig (+link): Defined as $(+link-static) if
27874 $(build-shared) isn't yes.
27875 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27877 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27879 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27882 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27883 new chunk size with MALLOC_ALIGN_MASK.
27885 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27888 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27890 (__printf_fphex): Determine rounding using get_rounding_mode and
27892 * stdio-common/tst-printf-round.c (struct hex_test): New
27894 (hex_tests): New variable.
27895 (test_hex_in_one_mode): New function.
27896 (do_test): Also run tests for hex float output.
27898 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27900 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27901 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27902 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27903 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27904 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27905 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27906 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27907 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27909 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27911 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27912 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27913 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27914 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27916 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27919 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27921 * elf/tst-rtld-load-self.sh: New test.
27922 * elf/Makefile: Run it.
27924 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27926 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27927 (tst-writev-ENV): Remove.
27928 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27930 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27932 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27934 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27936 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27938 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27940 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27941 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27942 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27945 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27948 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27949 * config.make.in (have-cpp-asm-debuginfo): Removed.
27950 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27951 * configure: Regenerated.
27953 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27956 * stdio-common/printf_fp.c: Include <stdbool.h> and
27958 (___printf_fp): Determine rounding using get_rounding_mode and
27960 * stdio-common/tst-printf-round.c: New file.
27961 * stdio-common/Makefile (tests): Add tst-printf-round.
27962 (link-libm): New variable.
27963 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27965 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27968 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27969 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27971 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27974 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27976 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27977 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27978 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27979 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27981 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27984 * include/rounding-mode.h: New file.
27985 * sysdeps/generic/get-rounding-mode.h: Likewise.
27986 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27987 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27988 (MAX_VALUE): New macro.
27989 (MIN_VALUE): Likewise.
27990 (overflow_value): New function.
27991 (underflow_value): Likewise.
27992 (round_and_return): Use overflow_value and underflow_value to
27993 determine return values in overflow and underflow cases. Use
27994 round_away to determine rounding depending on rounding mode.
27995 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27996 determine return values in overflow and underflow cases.
27997 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27998 (struct test_results): New structure.
27999 (struct test): Use struct test_results to store expected results
28000 for all rounding modes.
28001 (TEST): Include expected results for all rounding modes.
28002 (test_in_one_mode): New function.
28003 (do_test): Use test_in_one_mode to compute and check results.
28004 Check results for all rounding modes.
28005 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28008 2012-12-09 Allan McRae <allan@archlinux.org>
28010 * sysdeps/i386/fpu/libm-test-ulps: Update
28012 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28014 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28015 (_G_int32_t): Likewise.
28016 (_G_uint16_t): Likewise.
28017 (_G_uint32_t): Likewise.
28018 (_G_HAVE_BOOL): Likewise.
28019 (_G_HAVE_ATEXIT): Likewise.
28020 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28021 (_G_HAVE_IO_FILE_OPEN): Likewise.
28022 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28023 (_G_int32_t): Likewise.
28024 (_G_uint16_t): Likewise.
28025 (_G_uint32_t): Likewise.
28026 (_G_HAVE_BOOL): Likewise.
28027 (_G_HAVE_ATEXIT): Likewise.
28028 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28029 (_G_HAVE_IO_FILE_OPEN): Likewise.
28030 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28031 (_G_int32_t): Likewise.
28032 (_G_uint16_t): Likewise.
28033 (_G_uint32_t): Likewise.
28034 (_G_HAVE_BOOL): Likewise.
28035 (_G_HAVE_ATEXIT): Likewise.
28036 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28037 (_G_HAVE_IO_FILE_OPEN): Likewise.
28039 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28041 * csu/libc-tls.c: Update copyright years.
28043 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28045 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28046 [!_G_USING_THUNKS]: Remove conditional code.
28047 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28048 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28050 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28051 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28052 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28053 (_G_VTABLE_LABEL_PREFIX): Likewise.
28054 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28055 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28056 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28057 (_G_VTABLE_LABEL_PREFIX): Likewise.
28058 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28059 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28060 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28061 (_G_VTABLE_LABEL_PREFIX): Likewise.
28062 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28064 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28066 * libio/Makefile: Include ../Makeconfig before tests.
28067 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28068 only if $(build-shared) is yes.
28070 * iconv/gconv_db.c: Update copyright years.
28072 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28074 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28075 unwind info if defined PIC. Fix special cases description.
28076 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28078 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28080 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28082 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28084 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28086 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28089 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28090 (LDLIBS-tst-chk4): This.
28091 (LDFLAGS-tst-chk5): Renamed to ...
28092 (LDLIBS-tst-chk5): This.
28093 (LDFLAGS-tst-chk6): Renamed to ...
28094 (LDLIBS-tst-chk6): This.
28095 (LDFLAGS-tst-lfschk4): Renamed to ...
28096 (LDLIBS-tst-lfschk4): This.
28097 (LDFLAGS-tst-lfschk5): Renamed to ...
28098 (LDLIBS-tst-lfschk5): This.
28099 (LDFLAGS-tst-lfschk6): Renamed to ...
28100 (LDLIBS-tst-lfschk6): This.
28102 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28103 on $(common-objpfx)soversions.mk.
28105 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28108 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28111 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28113 * malloc/arena.c (arena_get_retry): New function that gets
28114 another arena for the caller to try its request on.
28115 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28116 current arena cannot fulfill the request.
28117 (__libc_memalign): Likewise.
28118 (__libc_memalign): Likewise.
28119 (__libc_pvalloc): Likewise.
28120 (__libc_calloc): Likewise.
28122 2012-09-05 John Tobey <john.tobey@gmail.com>
28125 * manual/arith.texi (Operations on Complex): Fix description
28126 of carg branch cut.
28128 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28131 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28135 * manual/memory.texi (Memory): Make order of menu items match
28138 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28140 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28141 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28142 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28144 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28146 * csu/libc-tls.c (static_dtv): Renamed to ...
28147 (_dl_static_dtv): This. Make it global.
28148 (_dl_initial_dtv): Removed.
28149 (__libc_setup_tls): Updated.
28150 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28151 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28154 2012-09-06 Petr Machata <pmachata@redhat.com>
28156 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28157 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28158 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28159 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28161 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28164 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28165 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28168 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28171 * Makeconfig (link-static-before-libc): Replace $(+prector)
28173 (link-static-after-libc): Replace $(+postctor) with
28175 (link-bounded): Replace $(+prector)/$(+postctor) with
28176 $(+prectorT)/$(+postctorT).
28177 (+prectorT): New macro.
28178 (+postctorT): Likewise.
28180 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28182 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28183 (round_str): Handle values above the maximum for IBM long double
28185 * stdlib/tst-strtod-round.c (tests): Regenerated.
28187 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28189 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28191 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28192 zarch_nohighgprs around the zarch optimized routines.
28193 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28194 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28195 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28198 2012-09-05 David S. Miller <davem@davemloft.net>
28200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28202 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28203 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28204 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28205 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28208 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28210 * malloc/arena.c: Fold copyright years.
28211 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28213 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28215 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28217 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28219 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28221 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28223 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28224 change internal state upon failure.
28226 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28228 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28229 * malloc/memusage.c (mmap): Likewise.
28230 (mmap64, mremap): Likewise. Adjust name in comment.
28232 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28234 * libio/fileops.c: Fix typos in comments.
28235 * libio/oldfileops.c: Likewise.
28236 * libio/wfileops.c: Likewise.
28238 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28241 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28242 (tst-malloc-usable-ENV): Set environment for test case.
28243 * malloc/hooks.c (malloc_check_get_size): New function to get
28245 * malloc/malloc.c (musable): Use malloc_check_get_size.
28246 * malloc/tst-malloc-usable.c: New test case.
28248 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28250 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28252 2012-09-05 Allan McRae <allan@archlinux.org>
28255 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28256 determine header location.
28257 * configure: Regenerated.
28259 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28261 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28263 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28264 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28266 (test): Regenerate.
28268 2012-09-04 David S. Miller <davem@davemloft.net>
28270 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28271 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28272 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28274 2012-09-04 Florian Weimer <fweimer@redhat.com>
28276 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28279 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28281 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28284 * libio/iogetdelim.c: Include <limits.h>.
28285 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28286 + len + 1 would overflow.
28288 2012-09-03 Andreas Jaeger <aj@suse.de>
28290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28291 * sysdeps/i386/fpu/libm-test-ulps: Update.
28293 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28295 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28296 Add s_sinf-sse2, s_conf-sse2.
28298 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28299 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28300 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28301 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28303 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28304 for using routine as __sinf_ia32.
28305 Use macro for function declaration and weak_alias.
28306 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28307 for using routine as __cosf_ia32.
28308 Use macro for function declaration and weak_alias.
28310 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28311 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28313 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28314 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28317 * math/libm-test.inc (cos_test): Add more test cases.
28318 (sin_test): Likewise.
28319 (sincos_test): Likewise.
28321 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28323 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28324 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28326 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28328 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28331 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28332 first element of the GOT.
28333 (elf_machine_load_address): Return the difference between
28334 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28336 2012-09-01 Allan McRae <allan@archlinux.org>
28339 * configure.in (AWK): Require gawk version 3.0 or later.
28340 * configure: Regenerated.
28342 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28344 * sysdeps/unix/sysv/linux/kernel-features.h
28345 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28346 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28347 [__NR_clock_getres]: Make code unconditional.
28348 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28349 (clock_getcpuclockid): Remove code left unreachable by removal of
28351 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28352 code unconditional.
28353 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28354 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28355 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28356 Make code unconditional.
28357 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28358 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28359 * sysdeps/unix/sysv/linux/clock_settime.c
28360 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28362 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28363 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28365 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28368 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28369 scripts/test-installation.pl.
28371 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28372 and $ld_so_version if it is set.
28374 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28377 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28378 failure if reading from procfs failed.
28379 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28381 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28383 * sysdeps/unix/sysv/linux/kernel-features.h
28384 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28385 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28386 Remove conditional code.
28387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28388 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28389 Remove conditional code.
28390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28391 * sysdeps/unix/sysv/linux/i386/fxstat.c
28392 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28394 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28395 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28397 * sysdeps/unix/sysv/linux/i386/lxstat.c
28398 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28400 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28401 Remove conditional code.
28402 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28403 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28404 Remove conditional code.
28405 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28406 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28407 <kernel-features.h>.
28408 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28410 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28411 Remove conditional code.
28412 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28413 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28414 Remove conditional.
28416 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28419 * NEWS: Add fixed bug number.
28421 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28424 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28425 underflowing exponent in case of negative sign.
28426 * stdlib/tst-strtod-round-data: Add more tests.
28427 * stdlib/tst-strtod-round.c (tests): Regenerated.
28430 * stdlib/strtod_l.c (NDIG): Remove.
28431 (HEXNDIG): Likewise.
28432 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28433 smallest representable value.
28434 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28435 lie within an exact representation of 1/2 ulp of the result.
28436 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28438 (TENS_P9_IDX): Define unconditionally.
28439 (TENS_P9_SIZE): Likewise.
28440 (TENS_P10_IDX): Likewise.
28441 (TENS_P10_SIZE): Likewise.
28442 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28443 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28444 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28445 entries for 10^2^13 and 10^2^14.
28446 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28447 (TENS_P13_IDX): Define.
28448 (TENS_P13_SIZE): Likewise.
28449 (TENS_P14_IDX): Likewise.
28450 (TENS_P14_SIZE): Likewise.
28451 (_fpioconst_pow10): Change array size to
28452 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28454 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28455 1024]: Add entries for 10^2^13 and 10^2^14.
28456 [LAST_POW10 > _LAST_POW10]: Remove #error.
28457 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28458 (_fpioconst_pow10): Change array size to
28459 FPIOCONST_POW10_ARRAY_SIZE.
28460 * stdlib/gen-fpioconst.c: New file.
28461 * stdlib/gen-tst-strtod-round.c: Likewise.
28462 * stdlib/tst-strtod-round-data: Likewise.
28463 * stdlib/tst-strtod-round.c: Likewise.
28464 * stdlib/Makefile (tests): Add tst-strtod-round.
28467 * stdlib/strtod_l.c: Include <stdint.h>.
28468 (NDEBUG): Do not define.
28469 (round_and_return): Change EXPONENT parameter to type intmax_t.
28470 Rearrange calculations to avoid internal overflow possibilities.
28471 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28472 Rearrange calculations to avoid internal overflow possibilities.
28473 Assert that number fits inside MPNSIZE limbs.
28474 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28475 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28476 calculations and add assertions to avoid internal overflow
28477 possibilities. Add casts to avoid signed/unsigned operations.
28478 * stdlib/tst-strtod-overflow.c: New file.
28479 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28481 2012-08-25 Marek Polacek <polacek@redhat.com>
28483 * time/time.h: Fix some typos in comments.
28485 2012-08-23 Roland McGrath <roland@hack.frob.com>
28487 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28488 * posix/tst-rfc3484-2.c: Likewise.
28489 * posix/tst-rfc3484-3.c: Likewise.
28491 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28493 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28494 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28496 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28498 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28499 #include of fxstatat64.c.
28501 2012-08-22 Roland McGrath <roland@hack.frob.com>
28503 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28504 * shadow/getspent_r.c: Likewise.
28505 * shadow/getspnam.c: Likewise.
28506 * shadow/getspnam_r.c: Likewise.
28507 * gshadow/getsgent.c: Likewise.
28508 * gshadow/getsgent_r.c: Likewise.
28509 * gshadow/getsgnam.c: Likewise.
28510 * gshadow/getsgnam_r.c: Likewise.
28511 * inet/getnetbyad.c: Likewise.
28512 * inet/getnetbyad_r.c: Likewise.
28513 * inet/getnetbynm.c: Likewise.
28514 * inet/getnetbynm_r.c: Likewise.
28515 * inet/getnetent.c: Likewise.
28516 * inet/getnetent_r.c: Likewise.
28517 * inet/getproto.c: Likewise.
28518 * inet/getproto_r.c: Likewise.
28519 * inet/getprtent.c: Likewise.
28520 * inet/getprtent_r.c: Likewise.
28521 * inet/getprtname.c: Likewise.
28522 * inet/getprtname_r.c: Likewise.
28523 * inet/getrpcbyname.c: Likewise.
28524 * inet/getrpcbyname_r.c: Likewise.
28525 * inet/getrpcbynumber.c: Likewise.
28526 * inet/getrpcbynumber_r.c: Likewise.
28527 * inet/getrpcent.c: Likewise.
28528 * inet/getrpcent_r.c: Likewise.
28529 * inet/getaliasent.c: Likewise.
28530 * inet/getaliasent_r.c: Likewise.
28531 * inet/getaliasname.c: Likewise.
28532 * inet/getaliasname_r.c: Likewise.
28533 * nscd/getgrgid_r.c: Likewise.
28534 * nscd/getgrnam_r.c: Likewise.
28535 * nscd/gethstbyad_r.c: Likewise.
28536 * nscd/gethstbynm3_r.c: Likewise.
28537 * nscd/getpwnam_r.c: Likewise.
28538 * nscd/getpwuid_r.c: Likewise.
28539 * nscd/getsrvbynm_r.c: Likewise.
28540 * nscd/getsrvbypt_r.c: Likewise.
28541 * nscd/gai.c: Likewise.
28543 * configure.in (build_nscd): New substituted variable, set
28544 by --disable-build-nscd and defaults to $use_nscd.
28545 * configure: Regenerated.
28546 * config.make.in (build-nscd): New substituted variable.
28547 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28548 Change conditional to require [$(build-nscd) = yes] as well.
28549 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28552 * configure.in (use_nscd): New substituted variable, set by
28553 --disable-nscd. If enabled, define USE_NSCD.
28554 * configure: Regenerated.
28555 * config.h.in: Add USE_NSCD.
28556 * config.make.in (use-nscd): New substituted variable.
28557 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28558 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28559 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28560 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28561 (CFLAGS-getgrnam_r.c): Likewise.
28562 (CFLAGS-initgroups.c): Likewise.
28563 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28564 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28566 * inet/getnetgrent_r.c
28567 (nscd_setnetgrent): New function, broken out of ...
28568 (setnetgrent): ... here. Call it.
28569 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28570 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28571 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28572 * nscd/Makefile (routines, aux): Move definitions after include of
28573 Makeconfig. Conditionalize on [$(use-nscd) != no].
28574 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28575 Conditionalize on [USE_NSCD].
28576 (is_nscd, nscd_init_cb): Likewise.
28577 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28578 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28579 * nss/nss_db/db-init.c: Likewise.
28580 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28582 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28583 (make_request): Use it.
28584 (cache_valid_p): New function.
28585 (__check_pf): Use it.
28586 * NEWS: Add item for --disable-nscd.
28588 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28590 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28591 to support sed >= 4.2.1-20-ga9bf076.
28592 * configure: Regenerated.
28594 2012-08-22 Roland McGrath <roland@hack.frob.com>
28596 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28597 Conditionalize whole body on [IREL].
28599 2012-08-22 Jeff Law <law@redhat.com>
28602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28603 if the family is PF_UNSPEC.
28605 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28607 * Makerules (lib-version): Rename from V.
28608 (install-lib-nosubdir): Change V to lib-version.
28610 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28613 * powerpc32/power6/wcschr.c: New file.
28614 * powerpc32/power6/wcscpy.c: New file.
28615 * powerpc32/power6/wcsrchr.c: New file.
28616 * powerpc64/power6/wcschr.c: New file.
28617 * powerpc64/power6/wcscpy.c: New file.
28618 * powerpc64/power6/wcsrchr.c: New file.
28620 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28622 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28623 (two_way_short_needle): Use it.
28624 * string/strstr.c (AVAILABLE1_USES_J): Define.
28625 * string/strcasestr.c: Likewise.
28627 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28629 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28632 * NEWS: Add an entry.
28633 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28634 define their defaults.
28635 (two_way_short_needle): Detect end-of-string on-the-fly.
28636 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28637 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28638 * string/bug-strcasestr1.c: New test.
28639 * string/Makefile: Run it.
28641 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28644 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28645 the first character.
28647 2012-08-21 Roland McGrath <roland@hack.frob.com>
28649 * csu/elf-init.c (__libc_csu_irel): Function removed.
28650 * csu/libc-start.c (apply_irel): New function.
28651 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28653 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28655 * sysdeps/unix/sysv/linux/kernel-features.h
28656 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28657 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28658 <kernel-features.h>.
28659 [__NR_fadvise64_64]: Make code unconditional.
28660 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28661 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28662 !__NR_fadvise64_64)]: Likewise.
28663 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28664 !__NR_fadvise64_64))]: Likewise.
28665 [__NR_fadvise64]: Make code unconditional.
28666 [!__NR_fadvise64]: Remove conditional code.
28667 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28668 <kernel-features.h>.
28669 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28671 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28674 not include <kernel-features.h>.
28675 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28677 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28679 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28680 include <kernel-features.h>.
28681 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28683 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28686 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28688 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28689 slight instruction rearrangements per scrollpipe analysis.
28690 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28692 2012-08-20 Roland McGrath <roland@hack.frob.com>
28694 * manual/syslog.texi (syslog; vsyslog, closelog):
28695 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28696 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28698 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28699 DSOCAPS to match condition on defining it.
28701 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28703 * sysdeps/unix/sysv/linux/kernel-features.h
28704 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28706 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28707 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28709 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28710 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28712 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28713 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28715 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28716 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28718 * sysdeps/unix/sysv/linux/kernel-features.h
28719 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28720 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28722 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28723 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28724 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28725 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28726 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28727 Make code unconditional.
28728 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28729 (__mmap64) [!__NR_mmap2]: Likewise.
28730 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28731 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28732 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28733 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28734 [__NR_mmap2]: Make code unconditional.
28735 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28736 (__mmap64) [!__NR_mmap2]: Likewise.
28738 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28740 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28742 2012-08-18 Andreas Jaeger <aj@suse.de>
28744 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28746 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28748 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28749 * include/unistd.h (__have_sock_cloexec): Likewise.
28750 (__have_pipe2): Likewise.
28751 (__have_dup3): Likewise.
28753 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28756 * include/unistd.h (__have_pipe2): Change define into an extern int.
28757 (__have_dup3): Likewise.
28758 * socket/have_sock_cloexec.c: Include fcntl.h.
28759 (__have_pipe2): New variable.
28760 (__have_dup3): Likewise.
28762 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28764 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28766 2012-08-17 Marek Polacek <polacek@redhat.com>
28768 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28769 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28771 2012-08-17 Roland McGrath <roland@hack.frob.com>
28773 * configure.in: Add AC_SUBST for sysheaders.
28774 * configure: Regenerated.
28775 * config.make.in (sysheaders): New substituted variable.
28777 * sysdeps/unix/mkfifo.c: Moved ...
28778 * sysdeps/posix/mkfifo.c: ... here.
28779 * sysdeps/unix/mkfifoat.c: Moved ...
28780 * sysdeps/posix/mkfifoat.c: ... here.
28782 * sysdeps/unix/utime.c: Moved ...
28783 * sysdeps/posix/utime.c: ... here.
28785 * sysdeps/unix/time.c: Moved ...
28786 * sysdeps/posix/time.c: ... here.
28787 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28788 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28790 * sysdeps/unix/nice.c: Moved ...
28791 * sysdeps/posix/nice.c: ... here.
28793 * sysdeps/unix/alarm.c: Moved ...
28794 * sysdeps/posix/alarm.c: ... here.
28796 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28798 2012-08-17 Jeff Law <law@redhat.com>
28800 * intl/Makefile (codeset_mo): New variable.
28801 ($(codeset_mo)): New target.
28802 (tst-codeset.out): Depend on that. Remove explicit rule.
28803 (tst-gettext3.out, tst-gettext5.out): Likewise.
28804 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28805 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28806 * intl/tst-codeset.sh: Remove.
28807 * intl/tst-gettext3.sh: Likewise.
28808 * intl/tst-gettext5.sh: Likewise.
28810 2012-08-17 Roland McGrath <roland@hack.frob.com>
28812 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28813 * sysdeps/unix/syscalls.list: ... here.
28815 * sysdeps/posix/getaddrinfo.c
28816 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28817 (gaiconf_init, gaiconf_reload): Use them.
28818 [!_STATBUF_ST_NSEC]
28819 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28820 Define using time_t rather than struct timespec.
28822 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28823 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28825 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28827 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28828 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28831 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28832 __libc_cleanup_push argument.
28834 * bits/param.h: New file.
28835 * misc/sys/param.h: New file.
28836 * include/sys/param.h: New file.
28837 * misc/Makefile (headers): Add bits/param.h.
28838 * sysdeps/generic/sys/param.h: File removed.
28839 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28840 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28841 * sysdeps/mach/hurd/bits/param.h: New file.
28842 * sysdeps/mach/hurd/sys/param.h: File removed.
28844 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28847 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28849 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28850 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28853 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28854 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28855 rather than -D_IO_MTSAFE_IO conditionally.
28856 * stdio-common/Makefile (CPPFLAGS): Likewise.
28857 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28858 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28859 Use $(libio-mtsafe).
28860 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28861 of -D_IO_MTSAFE_IO.
28862 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28863 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28864 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28865 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28866 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28867 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28868 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28869 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28870 (CFLAGS-fread_u_chk.c): Likewise.
28871 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28872 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28873 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28874 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28875 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28876 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28877 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28878 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28879 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28881 * libio/Makefile: Test [$(libc-reentrant) = yes]
28882 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28885 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28886 * sysdeps/pthread/configure: File removed.
28887 * sysdeps/pthread/Makeconfig: New file.
28888 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28889 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28891 2012-08-16 Gary Benson <gbenson@redhat.com>
28893 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28894 unmapping the first object in a namespace.
28896 2012-08-16 Roland McGrath <roland@hack.frob.com>
28898 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28899 (__internal_setnetgrent): ... this. Add internal_function to
28900 definition. Add libc_hidden_def.
28901 (setnetgrent): Update caller.
28902 (internal_endnetgrent): Renamed to ...
28903 (__internal_endnetgrent): ... this. Add internal_function to
28904 definition. Add libc_hidden_def.
28905 (endnetgrent): Update caller.
28906 (internal_getnetgrent_r): Renamed to ...
28907 (__internal_getnetgrent_r): ... this. Add internal_function to
28908 definition. Add libc_hidden_def.
28909 (__getnetgrent_r): Update caller.
28910 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28912 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28914 * stdlib/longlong.h: Update from GCC.
28916 2012-08-16 Roland McGrath <roland@hack.frob.com>
28918 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28919 on _QL, which is set by umul_ppmm but never used.
28920 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28921 variables, which are set by GMP macros but never used.
28922 * stdio-common/_itowa.c (_itowa): Likewise.
28923 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28924 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28926 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28928 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28929 struct La_sh_regs is not constant.
28930 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28931 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28932 and struct La_sparc64_regs are not constant.
28934 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28936 * sysdeps/unix/sysv/linux/kernel-features.h
28937 (__ASSUME_POSIX_TIMERS): Remove.
28938 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28939 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28940 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28941 Make code unconditional.
28942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28943 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28944 Make code unconditional.
28945 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28946 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28947 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28948 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28949 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28950 Make code unconditional.
28951 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28952 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28953 (__libc_missing_posix_timers): Remove.
28955 2012-08-15 Roland McGrath <roland@hack.frob.com>
28957 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28958 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28960 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28962 * elf/dl-sym.c: Include <stdlib.h>.
28964 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28965 constants, which avoids warnings in 32-bit builds.
28967 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28968 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28970 * misc/lseek.c: File moved to ...
28971 * io/lseek.c: ... here.
28973 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28975 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28976 shifting LEN more than 31 bits at once.
28978 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28981 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28982 segmentation fault for a case of two empty input strings.
28983 * string/test-strncasecmp.c (check1): Renamed to...
28984 (bz12205): ...this.
28985 (bz14195): Add new testcase for two empty input strings and N > 0.
28986 (test_main): Call new testcase, adapt for renamed function.
28988 2012-08-15 Andreas Jaeger <aj@suse.de>
28991 * crypt/md5test2.c: New test, based on test supplied by Serge
28992 Belyshev <belyshev@depni.sinp.msu.ru>.
28993 * crypt/Makefile (xtests): Add md5test-giant..
28994 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28996 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28999 * crypt/md5.c (md5_process_block): Don't assume the buffer
29000 length is less than 2**32.
29001 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29002 length is less than 2**64.
29004 2012-08-15 Roland McGrath <roland@hack.frob.com>
29006 * string/str-two-way.h: Include <sys/param.h>.
29007 (MAX): Macro removed.
29009 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29010 Move #define and #undef of memmove to just before and after
29011 including <string.h>.
29013 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29014 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29015 and after including <string.h>. Move declarations of
29016 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29017 to before #include "string/memmove.c".
29019 * include/dirent.h: Declare __getdirentries.
29021 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29022 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29024 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29026 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29027 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29028 * sysdeps/i386/configure: Regenerated.
29029 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29030 STABS_CURRENT_FILE, and STABS_FUN.
29031 (END): Remove call to STABS_FUN_END.
29032 (STABS_CURRENT_FILE1): Delete.
29033 (STABS_CURRENT_FILE): Likewise.
29034 (STABS_FUN): Likewise.
29035 (STABS_FUN_END): Likewise.
29036 (STABS_FUN2): Likewise.
29037 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29038 * sysdeps/x86_64/configure: Regenerated.
29040 2012-08-14 Roland McGrath <roland@hack.frob.com>
29042 * elf/dl-open.c: Include <atomic.h>.
29043 * elf/dl-lookup.c: Likewise.
29045 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29047 * sysdeps/unix/sysv/linux/kernel-features.h
29048 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29049 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29051 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29053 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29054 condition on __ASSUME_CLONE_THREAD_FLAGS.
29056 2012-08-14 Andreas Jaeger <aj@suse.de>
29058 * sysdeps/i386/fpu/libm-test-ulps: Update.
29060 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29062 * include/atomic.h (atomic_exchange_and_add): Split into ...
29063 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29066 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29070 2012-08-13 Jeff Law <law@redhat.com>
29072 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29073 null byte in the output string.
29075 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29077 * sysdeps/unix/sysv/linux/kernel-features.h
29078 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29079 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29080 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29081 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29082 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29083 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29084 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29086 2012-08-09 Jeff Law <law@redhat.com>
29089 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29090 When avoid_arena is set, don't retry in the that arena. Pick the
29091 next one, whatever it might be.
29092 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29093 (arena_lock): Pass in new parameter to arena_get2.
29094 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29096 (__libc_malloc): Unify retrying after main arena failure with
29097 __libc_memalign version.
29098 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29100 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29103 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29104 to __redirect_strstr.
29105 (__strstr_sse42): Use typeof __redirect_strstr.
29106 (__strstr_ia32): Likewise.
29107 (__libc_strstr): New prototype.
29108 (strstr): Renamed to ...
29109 (__libc_strstr): This.
29110 (strstr): New strong alias of __libc_strstr.
29111 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29112 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29115 (__libc_time): New prototype.
29116 (time_ifunc): Replace time with __libc_time.
29117 (time): New strong alias and hidden definition of __libc_time.
29118 (__GI_time): Remove strong alias.
29119 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29120 Include <stddef.h>.
29121 (memmove): Redefined to __redirect_memmove.
29122 (__memmove_sse2): Use typeof __redirect_memmove.
29123 (__memmove_ssse3): Likewise.
29124 (__memmove_ssse3_back): Likewise.
29125 (__libc_memmove): New prototype.
29126 (memmove): Renamed to ...
29127 (__libc_memmove): This.
29128 (memmove): New strong alias of __libc_memmove.
29130 2012-08-08 Mark Salter <msalter@redhat.com>
29133 (R_MN10300_TLS_GD): Define.
29134 (R_MN10300_TLS_LD): Likewise.
29135 (R_MN10300_TLS_LDO): Likewise.
29136 (R_MN10300_TLS_GOTIE): Likewise.
29137 (R_MN10300_TLS_IE): Likewise.
29138 (R_MN10300_TLS_LE): Likewise.
29139 (R_MN10300_TLS_DTPMOD): Likewise.
29140 (R_MN10300_TLS_DTPOFF): Likewise.
29141 (R_MN10300_TLS_TPOFF): Likewise.
29142 (R_MN10300_SYM_DIFF): Likewise.
29143 (R_MN10300_ALIGN): Likewise.
29144 (R_MN10300_NUM): Update.
29146 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29148 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29151 2012-08-08 Roland McGrath <roland@hack.frob.com>
29153 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29155 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29156 sysdeps/unix -> sysdeps/posix move.
29157 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29159 2012-08-07 Allan McRae <allan@archlinux.org>
29162 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29163 (SUNOS_CPP): Likewise.
29164 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29166 (open_input): Call CPP using execvp.
29168 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29170 * sysdeps/unix/sysv/linux/kernel-features.h
29171 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29172 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29173 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29174 (__ASSUME_WAITID_SYSCALL): Likewise.
29175 * sysdeps/unix/sysv/linux/dl-execstack.c
29176 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29177 code unconditional.
29178 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29180 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29181 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29182 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29184 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29186 [__ASSUME_WAITID_SYSCALL]: Likewise.
29187 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29189 2012-08-07 Roland McGrath <roland@hack.frob.com>
29191 * sysdeps/unix/closedir.c: Renamed to ...
29192 * sysdeps/posix/closedir.c: ... here.
29193 * sysdeps/unix/dirfd.c: Renamed to ...
29194 * sysdeps/posix/dirfd.c: ... here.
29195 * sysdeps/unix/dirstream.h: Renamed to ...
29196 * sysdeps/posix/dirstream.h: ... here.
29197 * sysdeps/unix/fdopendir.c: Renamed to ...
29198 * sysdeps/posix/fdopendir.c: ... here.
29199 * sysdeps/unix/opendir.c: Renamed to ...
29200 * sysdeps/posix/opendir.c: ... here.
29201 * sysdeps/unix/readdir.c: Renamed to ...
29202 * sysdeps/posix/readdir.c: ... here.
29203 * sysdeps/unix/readdir_r.c: Renamed to ...
29204 * sysdeps/posix/readdir_r.c: ... here.
29205 * sysdeps/unix/rewinddir.c: Renamed to ...
29206 * sysdeps/posix/rewinddir.c: ... here.
29207 * sysdeps/unix/seekdir.c: Renamed to ...
29208 * sysdeps/posix/seekdir.c: ... here.
29209 * sysdeps/unix/telldir.c: Renamed to ...
29210 * sysdeps/posix/telldir.c: ... here.
29211 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29212 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29213 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29214 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29216 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29217 * bits/fcntl.h: ... here.
29219 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29221 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29222 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29223 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29224 (struct flock): Move l_start, l_len to the beginning.
29225 Use __pid_t for l_pid.
29226 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29227 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29228 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29229 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29230 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29231 [__USE_LARGEFILE64] (struct flock64): New type.
29232 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29234 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29235 * bits/dirent.h: ... here.
29237 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29238 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29240 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29242 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29243 Change from 2.6.0 to 2.6.16.
29244 * sysdeps/unix/sysv/linux/configure: Regenerated.
29245 * sysdeps/unix/sysv/linux/kernel-features.h
29246 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29247 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29249 (__ASSUME_UTIMES): Likewise.
29250 (__ASSUME_CLONE_STOPPED): Remove.
29251 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29252 architectures, not kernel version.
29253 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29254 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29255 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29256 (__ASSUME_WAITID_SYSCALL): Likewise.
29257 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29258 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29259 * README: State 2.6.16 as minimum Linux kernel version. Do not
29260 refer to older versions.
29262 2012-08-06 Roland McGrath <roland@hack.frob.com>
29264 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29265 Define alphasort64 as an alias.
29266 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29267 Define versionsort64 as an alias.
29268 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29269 Define scandir64 as an alias.
29270 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29271 Define scandirat64 as an alias.
29272 * dirent/alphasort64.c (alphasort64):
29273 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29274 * dirent/versionsort64.c: Likewise.
29275 * dirent/scandir64.c: Likewise.
29276 * dirent/scandirat64.c: Likewise.
29277 * sysdeps/wordsize-64/alphasort.c: File removed.
29278 * sysdeps/wordsize-64/alphasort64.c: File removed.
29279 * sysdeps/wordsize-64/scandir.c: File removed.
29280 * sysdeps/wordsize-64/scandir64.c: File removed.
29281 * sysdeps/wordsize-64/scandirat.c: File removed.
29282 * sysdeps/wordsize-64/scandirat64.c: File removed.
29283 * sysdeps/wordsize-64/versionsort.c: File removed.
29284 * sysdeps/wordsize-64/versionsort64.c: File removed.
29285 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29286 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29287 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29288 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29289 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29290 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29291 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29292 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29294 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29295 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29296 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29298 [defined __arch64__ || defined __sparcv9]
29299 (__INO_T_MATCHES_INO64_T): New macro.
29300 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29301 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29302 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29303 * sysdeps/unix/sysv/linux/bits/dirent.h
29304 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29305 (_DIRENT_MATCHES_DIRENT64): New macro.
29307 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29308 Define lockf64 as an alias.
29309 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29310 Define fseeko64 as an alias.
29311 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29312 Define ftello64 as an alias.
29313 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29314 Define _IO_fgetpos64 and fgetpos64 as aliases.
29315 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29316 Define _IO_fsetpos64 and fsetpos64 as aliases.
29317 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29318 Conditionalize body on this.
29319 * libio/fseeko64.c: Likewise.
29320 * libio/ftello64.c: Likewise.
29321 * libio/iofgetpos64.c: Likewise.
29322 * libio/iofsetpos64.c: Likewise.
29323 * sysdeps/wordsize-64/lockf.c: File removed.
29324 * sysdeps/wordsize-64/lockf64.c: File removed.
29325 * sysdeps/wordsize-64/fseeko.c: File removed.
29326 * sysdeps/wordsize-64/fseeko64.c: File removed.
29327 * sysdeps/wordsize-64/ftello.c: File removed.
29328 * sysdeps/wordsize-64/ftello64.c: File removed.
29329 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29330 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29331 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29332 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29333 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29334 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29335 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29336 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29337 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29338 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29339 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29340 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29341 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29342 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29344 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29346 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29348 [defined __arch64__ || defined __sparcv9]
29349 (__OFF_T_MATCHES_OFF64_T): New macro.
29350 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29351 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29352 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29353 (__OFF_T_MATCHES_OFF64_T): New macro.
29355 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29357 * stdlib/secure-getenv.c (__secure_getenv): Replace
29358 GLIBC_2_16 with GLIBC_2_17.
29360 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29362 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29363 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29365 2012-08-03 David S. Miller <davem@davemloft.net>
29367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29369 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29371 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29373 (__ASSUME_CORRECT_SI_PID): Likewise.
29374 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29375 (__ASSUME_TMPFS_NAME): Likewise.
29376 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29377 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29378 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29379 (HAVE_AUX_SECURE): Make definition unconditional.
29380 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29381 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29383 2012-08-03 Roland McGrath <roland@hack.frob.com>
29385 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29386 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29387 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29388 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29389 __eloop_threshold instead of SYMLOOP_MAX.
29391 * sysdeps/generic/eloop-threshold.h: New file.
29392 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29394 * elf/chroot_canon.c (chroot_canon): Likewise.
29396 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29399 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29400 Change to 2.6.0 everywhere.
29401 * sysdeps/unix/sysv/linux/configure: Regenerated.
29402 * sysdeps/unix/sysv/linux/kernel-features.h
29403 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29404 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29406 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29407 (__ASSUME_FUTEX_REQUEUE): Remove.
29408 (__ASSUME_STATFS64): Define unconditionally.
29409 (__ASSUME_AT_SECURE): Likewise.
29410 (__ASSUME_CORRECT_SI_PID): Likewise.
29411 (__ASSUME_TGKILL): Define without depending on kernel version for
29413 (__ASSUME_UTIMES): Likewise.
29414 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29416 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29417 (__ASSUME_TMPFS_NAME): Likewise.
29418 * README: Update reference to Linux kernel versions.
29420 2012-08-02 Marek Polacek <polacek@redhat.com>
29423 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29424 libc_cv_asm_type_prefix with %.
29425 * configure: Regenerated.
29426 * include/libc-symbols.h: Remove comment about
29427 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29428 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29429 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29430 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29431 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29432 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29433 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29434 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29435 * elf/tst-unique2mod1.c: Likewise.
29436 * elf/tst-unique1mod2.c: Likewise.
29437 * elf/tst-unique1mod1.c: Likewise.
29438 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29439 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29440 Replace ASM_TYPE_DIRECTIVE with .type.
29441 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29442 * sysdeps/i386/sysdep.h: Likewise.
29443 * sysdeps/x86_64/sysdep.h: Likewise.
29444 * sysdeps/sh/sysdep.h: Likewise.
29445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29446 Do not define ASM_TYPE_DIRECTIVE.
29447 * sysdeps/powerpc/sysdep.h: Likewise.
29448 * sysdeps/powerpc/powerpc32/sysdep.h:
29449 Replace ASM_TYPE_DIRECTIVE with .type.
29450 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29451 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29452 * sysdeps/i386/fpu/e_powf.S: Likewise.
29453 * sysdeps/i386/fpu/e_expl.S: Likewise.
29454 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29455 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29456 * sysdeps/i386/fpu/e_pow.S: Likewise.
29457 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29458 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29459 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29460 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29461 * sysdeps/i386/fpu/e_log2.S: Likewise.
29462 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29463 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29464 * sysdeps/i386/fpu/e_powl.S: Likewise.
29465 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29466 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29467 * sysdeps/i386/fpu/e_logl.S: Likewise.
29468 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29469 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29470 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29471 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29472 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29473 * sysdeps/i386/fpu/e_log.S: Likewise.
29474 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29475 * sysdeps/i386/fpu/e_logf.S: Likewise.
29476 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29477 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29478 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29479 * sysdeps/i386/fpu/e_log10.S: Likewise.
29480 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29481 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29482 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29483 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29484 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29485 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29486 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29487 * sysdeps/i386/i686/strtok.S: Likewise.
29488 * sysdeps/i386/i386-mcount.S: Likewise.
29489 * sysdeps/i386/strtok.S: Likewise.
29490 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29491 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29492 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29493 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29494 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29495 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29496 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29497 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29498 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29499 * sysdeps/x86_64/_mcount.S: Likewise.
29500 * sysdeps/x86_64/strtok.S: Likewise.
29501 * sysdeps/sh/_mcount.S: Likewise.
29503 2012-08-01 Roland McGrath <roland@hack.frob.com>
29505 * libio/iofopen.c: Include <fcntl.h>.
29506 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29507 (_IO_fopen64, fopen64): Define as aliases.
29508 * libio/iofopen64.c: Include <fcntl.h>.
29509 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29510 Conditionalize body on this.
29511 * sysdeps/wordsize-64/iofopen.c: File removed.
29512 * sysdeps/wordsize-64/iofopen64.c: File removed.
29514 2012-08-01 Marek Polacek <polacek@redhat.com>
29516 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29517 Use dlfcn directly instead of a variable.
29518 (binfmt-subdir): Do not define.
29521 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29523 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29524 Remove all definitions.
29525 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29526 <kernel-features.h>.
29527 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29528 (miss_F_GETOWN_EX): Remove all definitions.
29529 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29531 [!__ASSUME_FCNTL64]: Remove conditional code.
29532 [__ASSUME_FCNTL64]: Make code unconditional.
29533 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29534 <kernel-features.h>.
29535 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29536 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29537 (lockf64) [__NR_fcntl64]: Make code unconditional.
29538 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29540 * sysdeps/unix/sysv/linux/kernel-features.h
29541 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29542 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29543 Make code unconditional.
29544 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29545 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29547 [__NR_vfork]: Make code unconditional.
29548 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29549 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29551 [__NR_vfork]: Make code unconditional.
29552 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29553 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29555 2012-08-01 Roland McGrath <roland@hack.frob.com>
29557 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29558 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29560 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29561 Define mkstemp64 as an alias.
29562 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29563 Define mkstemps64 as an alias.
29564 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29565 Define mkostemp64 as an alias.
29566 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29567 Define mkostemps64 as an alias.
29568 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29569 Conditionalize body on this.
29570 * misc/mkostemp64.c: Likewise.
29571 * misc/mkostemps64.c: Likewise.
29572 * misc/mkstemps64.c: Likewise.
29573 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29574 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29575 * sysdeps/wordsize-64/mkostemp.c: File removed.
29576 * sysdeps/wordsize-64/mkstemp.c: File removed.
29577 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29578 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29579 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29580 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29583 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29584 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29585 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29586 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29588 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29589 compat_symbol macros from <shlib-compat.h> rather than the underlying
29590 default_symbol_version and symbol_version macros, so that DEFAULT
29591 lines in shlib-versions are respected.
29592 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29594 2012-08-01 Florian Weimer <fweimer@redhat.com>
29596 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29597 Declare with warn_unused_result.
29598 (setgid, setregid, setegid, setresgid): Likewise.
29599 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29601 * WUR-REPORT: Remove set*id functions.
29603 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29605 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29607 2012-07-31 Roland McGrath <roland@hack.frob.com>
29610 * include/sys/socket.h (__libc_accept, __libc_accept4):
29611 Add attribute_hidden.
29612 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29614 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29616 * inet/getnetgrent_r.c (setup): Likewise.
29618 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29620 2012-07-31 David S. Miller <davem@davemloft.net>
29622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29624 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29627 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29628 value between 1.0 and 2.0 and smaller part has absolute value less
29630 * math/s_clog10.c (__clog10): Likewise.
29631 * math/s_clog10f.c (__clog10f): Likewise.
29632 * math/s_clog10l.c (__clog10l): Likewise.
29633 * math/s_clogf.c (__clogf): Likewise.
29634 * math/s_clogl.c (__clogl): Likewise.
29635 * math/libm-test.inc (clog_test): Add more tests.
29636 (clog10_test): Likewise.
29637 * sysdeps/i386/fpu/libm-test-ulps: Update.
29638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29640 2012-07-31 Florian Weimer <fweimer@redhat.com>
29642 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29643 Exit with zero in case no suitable GID is found, and write a
29644 message to standard error.
29646 2012-07-30 Roland McGrath <roland@hack.frob.com>
29648 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29650 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29651 (MAXPATHLEN): Removed.
29652 (NOGROUP, NODEV): New macros.
29653 (setbit, clrbit, isset, isclr): New macros.
29654 (howmany, roundup, powerof2): New macros.
29655 (DEV_BSIZE): New macro.
29657 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29658 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29660 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29661 definition on [!__NO_LONG_DOUBLE_MATH].
29663 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29664 PTR_MANGLE and PTR_DEMANGLE.
29666 * socket/accept4.c (accept4): Rename to __libc_accept4.
29667 Define accept4 as a weak alias.
29669 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29670 on [_DIRENT_HAVE_D_TYPE].
29671 * io/ftw.c (ftw_dir): Likewise.
29673 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29675 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29677 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29678 Use the BSD numbers rather than the arbitrary ones we had.
29679 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29680 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29681 (SIGXCPU, SIGXFSZ): New macros.
29684 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29685 initializer on [_LIBC_REENTRANT].
29687 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29688 definitions inside [_POSIX_MAPPED_FILES].
29690 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29692 * dirent/opendir.c: Include <fcntl.h>.
29694 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29695 (__libc_getspecific): Likewise.
29696 (__libc_key_create): Likewise.
29698 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29699 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29700 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29701 (tmpfile64): Define as alias.
29702 * sysdeps/wordsize-64/tmpfile.c: File removed.
29703 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29704 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29705 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29707 * stdio-common/vfscanf.c: Include <stdbool.h>.
29708 * nss/makedb.c: Likewise.
29709 * stdio-common/_i18n_number.h: Likewise.
29710 * argp/argp-help.c: Likewise.
29711 * posix/wordexp.c: Likewise.
29712 * sysdeps/posix/spawni.c: Likewise.
29713 * nss/nss_files/files-initgroups.c: Likewise.
29714 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29715 * nss/nss_files/files-initgroups.c: Likewise.
29716 * nss/nss_db/db-netgrp.c: Likewise.
29717 * nss/nss_db/db-initgroups.c: Likewise.
29718 * io/fchmodat.c: Include <sys/stat.h>.
29720 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29721 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29723 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29726 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29727 Add multiple inclusion protection.
29729 2012-07-27 David S. Miller <davem@davemloft.net>
29731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29733 2012-07-27 Gary Benson <gbenson@redhat.com>
29736 * elf/rtld.c: Include <stap-probe.h>.
29737 (dl_main): Added static probes "init_start" and "init_complete".
29738 * elf/dl-load.c: Include <stap-probe.h>.
29739 (lose): Take new parameter "nsid".
29740 Added static probe "map_failed".
29741 (_dl_map_object_from_fd): Pass namespace id to lose.
29742 Added static probe "map_start".
29743 (open_verify): Pass namespace id to lose.
29744 * elf/dl-open.c: Include <stap-probe.h>.
29745 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29746 and "reloc_complete".
29747 * elf/dl-close.c: Include <stap-probe.h>.
29748 (_dl_close_worker): Added static probes "unmap_start" and
29750 * elf/rtld-debugger-interface.txt: New file documenting the above.
29752 2012-07-26 Roland McGrath <roland@hack.frob.com>
29754 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29755 rather than a string variable.
29756 * sunrpc/rpc_main.c (h_output): Likewise.
29757 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29759 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29761 * inet/check_native.c: New file.
29763 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29766 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29767 if larger part has absolute value 1.0.
29768 * math/s_clog10.c (__clog10): Likewise.
29769 * math/s_clog10f.c (__clog10f): Likewise.
29770 * math/s_clog10l.c (__clog10l): Likewise.
29771 * math/s_clogf.c (__clogf): Likewise.
29772 * math/s_clogl.c (__clogl): Likewise.
29773 * math/libm-test.inc (clog_test): Add more tests.
29774 (clog10_test): Likewise.
29775 * sysdeps/i386/fpu/libm-test-ulps: Update.
29776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29778 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29779 (pltexit): Likewise.
29780 (La_regs): Likewise.
29781 (La_retval): Likewise.
29782 (int_retval): Likewise.
29783 Update #error for removed macros to refer only to definitions in
29785 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29787 (pltexit): Likewise.
29788 (La_regs): Likewise.
29789 (La_retval): Likewise.
29790 (int_retval): Likewise.
29791 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29793 (pltexit): Likewise.
29794 (La_regs): Likewise.
29795 (La_retval): Likewise.
29796 (int_retval): Likewise.
29797 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29799 (pltexit): Likewise.
29800 (La_regs): Likewise.
29801 (La_retval): Likewise.
29802 (int_retval): Likewise.
29803 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29805 (pltexit): Likewise.
29806 (La_regs): Likewise.
29807 (La_retval): Likewise.
29808 (int_retval): Likewise.
29809 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29811 (pltexit): Likewise.
29812 (La_regs): Likewise.
29813 (La_retval): Likewise.
29814 (int_retval): Likewise.
29815 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29817 (pltexit): Likewise.
29818 (La_regs): Likewise.
29819 (La_retval): Likewise.
29820 (int_retval): Likewise.
29821 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29822 macro definitions in tst-audit.h.
29823 * sysdeps/i386/tst-audit.h: New file.
29824 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29825 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29826 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29827 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29828 * sysdeps/sh/tst-audit.h: Likewise.
29829 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29830 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29831 * sysdeps/x86_64/tst-audit.h: Likewise.
29833 2012-07-26 Andreas Jaeger <aj@suse.de>
29835 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29838 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29839 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29840 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29842 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29843 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29844 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29846 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29849 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29851 (si_call_addr, si_syscall, si_arch): Define new macro.
29852 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29854 (si_call_addr, si_syscall, si_arch): Define new marcro.
29855 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29857 (si_call_addr, si_syscall, si_arch): Define new macro.
29858 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29860 (si_call_addr, si_syscall, si_arch): Define new macro.
29862 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29865 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29866 Change to 2.4.21 where previously 2.4.1.
29867 * sysdeps/unix/sysv/linux/configure: Regenerated.
29868 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29869 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29870 Linux kernel version.
29871 (__ASSUME_STD_AUXV): Remove.
29872 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29874 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29875 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29876 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29877 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29878 (__ASSUME_NETLINK_SUPPORT): Likewise.
29879 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29880 (__no_netlink_support): Remove conditional definition.
29881 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29883 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29884 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29885 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29886 (if_nameindex_ioctl): Remove.
29887 (if_nameindex_netlink): Do not handle __no_netlink_support.
29888 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29890 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29891 Remove conditional code.
29892 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29894 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29896 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29897 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29898 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29900 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29901 [!__ASSUME_STD_AUXV]: Remove conditional code.
29902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29903 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29904 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29906 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29907 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29909 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29911 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29912 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29914 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29916 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29919 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29922 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29923 code unconditional.
29924 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29926 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29928 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29931 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29933 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29936 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29937 code unconditional.
29938 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29940 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29942 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29945 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29946 code unconditional.
29947 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29949 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29951 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29954 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29956 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29957 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29958 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29959 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29960 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29961 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29962 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29963 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29964 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29965 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29966 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29967 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29968 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29969 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29970 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29971 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29972 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29973 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29974 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29976 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29977 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29978 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29980 2012-07-25 Florian Weimer <fweimer@redhat.com>
29982 * Versions.def: Add GLIBC_2.17.
29983 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29984 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29985 Introduce __libc_secure_getenv.
29986 * stdlib/Versions (2.17): Add secure_getenv
29987 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29988 * stdlib/secure-getenv.c: Rename __secure_getenv to
29989 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29990 symbol __secure_getenv for GLIBC_2.0.
29991 * stdlib/tst-secure-getenv.c: New.
29992 * stdlib/Makefile (tests): Add testcase.
29993 * manual/startup.texi (Environment Access): Document
29995 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29996 __libc_secure_getenv.
29997 * inet/ruserpass.c (ruserpass): Likewise.
29998 * malloc/mtrace.c (mtrace): Likewise.
29999 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30000 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30001 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30002 * sysdeps/posix/tempname.c: Likewise. Evaluate
30003 HAVE_SECURE_GETENV.
30004 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30005 __secure_getenv to __libc_secure_getenv.
30006 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30013 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30019 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30021 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30022 (struct La_i86_retval): Likewise.
30023 (struct La_x86_64_regs): Likewise.
30024 (struct La_x86_64_retval): Likewise.
30025 (struct La_x32_regs): Likewise.
30026 (struct La_x32_retval): Likewise.
30027 (struct La_ppc32_regs): Likewise.
30028 (struct La_ppc32_retval): Likewise.
30029 (struct La_ppc64_regs): Likewise.
30030 (struct La_ppc64_retval): Likewise.
30031 (struct La_sh_regs): Likewise.
30032 (struct La_sh_retval): Likewise.
30033 (struct La_s390_32_regs): Likewise.
30034 (struct La_s390_32_retval): Likewise.
30035 (struct La_s390_64_regs): Likewise.
30036 (struct La_s390_64_retval): Likewise.
30037 (struct La_sparc32_regs): Likewise.
30038 (struct La_sparc32_retval): Likewise.
30039 (struct La_sparc64_regs): Likewise.
30040 (struct La_sparc64_retval): Likewise.
30041 (struct audit_ifaces): Remove architecture-specific pltenter and
30043 * sysdeps/i386/ldsodefs.h: New file.
30044 * sysdeps/powerpc/ldsodefs.h: Likewise.
30045 * sysdeps/s390/ldsodefs.h: Likewise.
30046 * sysdeps/sh/ldsodefs.h: Likewise.
30047 * sysdeps/sparc/ldsodefs.h: Likewise.
30048 * sysdeps/x86_64/ldsodefs.h: Likewise.
30050 2012-07-25 Marek Polacek <polacek@redhat.com>
30053 * math/libm-test.inc (yn_test): Add another test.
30054 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30055 to ERANGE when the result is +-Inf.
30056 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30057 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30058 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30059 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30061 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30063 * conform/data/time.h-data (NULL): Use macro-constant. Require
30065 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30067 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30069 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30071 * configure.in <sysdeps resolving>: Correct printing
30073 * configure: Regenerate.
30075 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30077 * math/w_ilogb.c: Include <limits.h>.
30078 * math/w_ilogbl.c: Likewise.
30080 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30082 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30083 va_copy. Document allowing for unavailable va_copy only as
30084 pre-C99 compatibility.
30085 * manual/string.texi (Copying and Concatenation): Use va_copy
30086 instead of __va_copy in concat example.
30088 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30090 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30091 (__sendto): Use create_address_port. Initialize APORT and deallocate
30094 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30095 with O_NOLINK passed to __file_name_lookup.
30097 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30098 with O_NOLINK passed to __file_name_lookup.
30100 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30101 negative N or less than NGIDS.
30103 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30104 type to string_t. Set ERANGE as errno and return it if NAME is not big
30105 enough. Use memcpy instead of strncpy.
30107 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30109 * elf/Makefile (check-data): Remove.
30110 (localplt.data): New vpath directive.
30111 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30112 instead of $(check-data).
30113 * scripts/data/localplt-generic.data: Move to ...
30114 * sysdeps/generic/localplt.data: ... here.
30115 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30116 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30117 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30120 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30123 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30126 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30129 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30132 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30136 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30138 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30139 PPC32 and PPC64 files.
30140 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30141 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30143 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30145 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30146 __makecontext_ret to ...
30147 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30148 ... here and call exit if uc_link is NULL. New file.
30149 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30150 __makecontext_ret.S.
30151 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30152 __makecontext_ret to ...
30153 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30154 ... here and call exit if uc_link is NULL. New file.
30155 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30156 __makecontext_ret.S.
30158 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30160 * elf/elf.h (R_390_IRELATIVE): New definition.
30161 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30162 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30163 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30165 (elf_machine_lazy_rel): Likewise.
30166 * sysdeps/s390/dl-irel.h: New file.
30167 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30168 * sysdeps/s390/s390-64/memset.S: New asm code.
30169 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30170 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30171 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30172 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30173 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30174 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30175 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30176 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30177 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30178 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30179 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30180 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30181 * sysdeps/s390/s390-32/memset.S: New asm code.
30182 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30184 2012-07-17 Marek Polacek <polacek@redhat.com>
30187 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30188 * sysdeps/s390/s390-64/configure.in: Likewise.
30189 * sysdeps/sparc/configure.in: Likewise.
30190 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30191 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30192 * sysdeps/i386/configure.in: Likewise.
30193 * sysdeps/x86_64/configure.in: Likewise.
30194 * sysdeps/sh/configure.in: Likewise.
30195 * sysdeps/s390/s390-32/configure: Regenerated.
30196 * sysdeps/s390/s390-64/configure: Likewise.
30197 * sysdeps/x86_64/configure: Likewise.
30198 * sysdeps/sh/configure: Likewise.
30199 * sysdeps/powerpc/powerpc64/configure: Likewise.
30200 * sysdeps/powerpc/powerpc32/configure: Likewise.
30201 * sysdeps/sparc/configure: Likwise.
30202 * sysdeps/i386/configure: Likewise.
30204 * elf/dl-open.c: Comment fixes.
30206 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30208 * Makefile [CXX] (check-data): Remove.
30209 [CXX] (c++-types.data): New vpath directive.
30210 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30211 vpath. Do not allow for C++ type data being missing.
30212 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30213 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30214 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30215 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30216 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30217 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30218 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30221 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30224 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30227 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30230 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30233 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30236 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30239 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30242 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30243 definitions to architecture-specific files.
30244 (TLS_IE): Likewise.
30245 (TLS_LD): Likewise.
30246 (TLS_GD): Likewise.
30247 * sysdeps/i386/tls-macros.h: New file.
30248 * sysdeps/powerpc/tls-macros.h: Likewise.
30249 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30250 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30251 * sysdeps/sh/tls-macros.h: Likewise.
30252 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30253 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30254 * sysdeps/x86_64/tls-macros.h: Likewise.
30256 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30258 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30259 zero value for regular exit case.
30261 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30262 (__start_context): Preserve zero value for regular exit case.
30264 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30265 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30267 * manual/setjmp.texi (setcontext): Clarify normal process
30268 termination when uc_link is the null pointer.
30269 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30272 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30274 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30275 preprocessor. Test for each exception mask separately.
30277 2012-07-16 Andreas Jaeger <aj@suse.de>
30279 * po/ru.po: Update from translation team.
30281 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30283 * conform/data/string.h-data (NULL): Use macro-constant. Require
30285 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30286 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30287 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30288 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30291 2012-07-13 Andreas Jaeger <aj@suse.de>
30293 * po/fr.po: Update from translation team.
30295 2012-07-12 Marek Polacek <polacek@redhat.com>
30298 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30299 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30302 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30305 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30306 Change to 2.4.1 where previously 2.4.0.
30307 * sysdeps/unix/sysv/linux/configure: Regenerated.
30308 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30309 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30311 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30312 (__ASSUME_AT_CLKTCK): Remove.
30313 (__ASSUME_AT_PAGESIZE): Likewise.
30314 (__ASSUME_AT_XID): Likewise.
30315 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30316 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30317 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30319 (HAVE_AUX_PAGESIZE): Likewise.
30320 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30321 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30322 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30324 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30328 the temporary buffer used to invoke __gethostbyname2_r,
30329 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30330 host_data / struct gaih_addrtuple.
30331 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30332 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30333 header file nss/nsswitch.h.
30334 * nss/nsswitch.h (global scope): Add definition of implementation
30335 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30336 resolv/nss_dns/dns-host.c).
30338 2012-07-11 Andreas Jaeger <aj@suse.de>
30340 * po/fr.po: Update from translation team.
30342 * po/sv.po: Update from translation team
30343 * po/fr.po: Another update from translation team.
30345 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30347 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30348 for subnormals or multiply small sinh result by itself.
30349 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30352 2012-07-11 David S. Miller <davem@davemloft.net>
30354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30356 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30359 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30360 (INTERNAL_MARK): Shift it here.
30362 2012-07-10 Marek Polacek <polacek@redhat.com>
30365 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30366 libc_cv_asm_global_directive with .globl.
30367 * configure: Regenerated.
30368 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30370 * sysdeps/i386/configure: Regenerated.
30371 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30373 * sysdeps/x86_64/configure: Regenerated.
30374 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30375 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30376 * elf/tst-unique2mod2.c: Likewise.
30377 * elf/tst-unique2mod1.c: Likewise.
30378 * elf/tst-unique1mod2.c: Likewise.
30379 * elf/tst-unique1mod1.c: Likewise.
30380 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30381 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30382 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30383 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30384 * sysdeps/mach/sysdep.h: Likewise.
30385 * sysdeps/i386/sysdep.h: Likewise.
30386 * sysdeps/i386/i386-mcount.S: Likewise.
30387 * sysdeps/x86_64/_mcount.S: Likewise.
30388 * sysdeps/x86_64/sysdep.h: Likewise.
30389 * sysdeps/sh/_mcount.S: Likewise.
30390 * sysdeps/sh/sysdep.h: Likewise.
30391 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30392 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30393 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30394 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30395 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30396 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30397 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30398 * locale/localeinfo.h: Likewise.
30399 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30400 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30402 2012-07-09 Roland McGrath <roland@hack.frob.com>
30405 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30407 * manual/message.texi (The Uniforum approach): Likewise.
30408 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30409 (glibc iconv Implementation): Likewise.
30411 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30414 * math/s_clog.c (__clog): Avoid scaling a value down where that
30415 could result in underflow.
30416 * math/s_clog10.c (__clog10): Likewise.
30417 * math/s_clog10f.c (__clog10f): Likewise.
30418 * math/s_clog10l.c (__clog10l): Likewise.
30419 * math/s_clogf.c (__clogf): Likewise.
30420 * math/s_clogl.c (__clogl): Likewise.
30421 * math/libm-test.inc (clog_test): Add more tests.
30422 (clog10_test): Likewise.
30423 * sysdeps/i386/fpu/libm-test-ulps: Update.
30424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30426 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30429 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30430 by 7 not 8 to examine high bit of fractional part.
30433 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30434 for call to __mcount_internal.
30435 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30436 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30437 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30439 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30442 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30443 approximation for values within 0x1p-13f of an odd multiple of
30445 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30446 exception. Add more tests.
30447 * sysdeps/i386/fpu/libm-test-ulps: Update.
30450 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30451 inputs and return -1 for them. Do not check for +Inf in case not
30452 reachable for +Inf.
30453 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30454 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30455 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30456 and return -1 for them. Do not check for +Inf in case not
30457 reachable for +Inf.
30458 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30460 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30461 and return -1 for them. Do not check for +Inf in case not
30462 reachable for +Inf.
30463 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30464 spurious underflow.
30465 * sysdeps/i386/fpu/libm-test-ulps: Update.
30466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30468 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30470 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30472 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30476 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30477 could result in spurious underflow. Scale down values above
30478 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30479 * math/s_csqrtf.c (__csqrtf): Likewise.
30480 * math/s_csqrtl.c (__csqrtl): Likewise.
30481 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30482 spurious underflow.
30483 * sysdeps/i386/fpu/libm-test-ulps: Update.
30484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30486 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30488 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30490 * catgets/xopen-msg.awk: New file.
30491 * catgets/xopen-msg.sed: Removed.
30493 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30495 * intl/po2test.awk: New file.
30496 * intl/po2test.sed: Removed.
30498 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30501 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30502 or multiply small sinh result by itself.
30503 * math/s_ctanf.c (__ctanf): Likewise.
30504 * math/s_ctanh.c (__ctanh): Likewise.
30505 * math/s_ctanhf.c (__ctanhf): Likewise.
30506 * math/s_ctanhl.c (__ctanhl): Likewise.
30507 * math/s_ctanl.c (__ctanl): Likewise.
30508 * math/libm-test.inc (ctan_test_tonearest): New function.
30509 (ctan_test_towardzero): Likewise.
30510 (ctan_test_downward): Likewise.
30511 (ctan_test_upward): Likewise.
30512 (ctanh_test_tonearest): Likewise.
30513 (ctanh_test_towardzero): Likewise.
30514 (ctanh_test_downward): Likewise.
30515 (ctanh_test_upward): Likewise.
30516 (main): Call these new functions.
30517 * sysdeps/i386/fpu/libm-test-ulps: Update.
30518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30520 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30522 * .gitignore: Delete /ports entry.
30524 2012-07-03 Andreas Jaeger <aj@suse.de>
30526 * po/bg.po: Update from translation team.
30527 * po/cs.po: Likewise.
30528 * po/de.po: Likewise.
30529 * po/hr.po: Likewise.
30530 * po/nl.pl: Likewise.
30531 * po/pl.po: Likewise.
30532 * po/vi.po: Likewise.
30534 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30536 * Makeconfig [!+link] (+link-before-libc): New variable.
30537 [!+link] (+link-after-libc): Likewise.
30538 [!+link] (+link-tests): Likewise.
30539 [!+link] (+link): Define in terms of $(+link-before-libc) and
30540 $(+link-after-libc).
30541 [!+link-static] (+link-static-before-libc): New variable.
30542 [!+link-static] (+link-static-after-libc): Likewise.
30543 [!+link-static] (+link-static-tests): Likewise.
30544 [!+link-static] (+link-static): Define in terms of
30545 $(+link-static-before-libc) and $(+link-static-after-libc).
30546 [build-shared] (link-libc-before-gnulib): New variable.
30547 [build-shared] (link-libc-tests): Likewise.
30548 [build-shared] (link-libc): Define in terms of
30549 $(link-libc-before-gnulib).
30550 [!build-shared] (link-libc-tests): New variable.
30551 (link-libc-static-tests): New variable.
30552 [!gnulib] (gnulib-arch): New variable.
30553 [!gnulib] (gnulib-tests): Likewise.
30554 [!gnulib] (static-gnulib-arch): Likewise.
30555 [!gnulib] (static-gnulib-tests): Likewise.
30556 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30557 Define with "=" instead of ":=".
30558 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30559 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30560 * Rules (binaries-all-notests): New variable.
30561 (binaries-all-tests): Likewise.
30562 (binaries-static-notests): Likewise.
30563 (binaries-static-tests): Likewise.
30564 (binaries-all): Define using $(binaries-all-notests) and
30565 $(binaries-all-tests).
30566 (binaries-static): Define using $(binaries-static-notests) and
30567 $(binaries-static-tests).
30568 (binaries-shared-tests): New variable.
30569 (binaries-shared-notests): Likewise.
30570 (binaries-shared): Remove variable.
30571 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30572 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30573 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30574 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30575 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30576 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30577 * elf/Makefile (sln-modules): New variable.
30578 (extra-objs): Add $(sln-modules:=.o).
30579 (ldconfig-modules): Add static-stubs.
30580 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30581 * elf/static-stubs.c: New file.
30584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30585 by 7 not 8 to examine high bit of fractional part. Use volatile
30586 variables when splitting into final array of floats if
30587 __FLT_EVAL_METHOD__ != 0.
30588 * math/libm-test.inc (cos_test): Add another test.
30589 (sin_test): Likewise.
30590 * sysdeps/i386/fpu/libm-test-ulps: Update.
30593 * math/libm-test.inc (cosh_test): Add more tests.
30595 * version.h (RELEASE): Set to "development".
30596 (VERSION): Set to "2.16.90".
30598 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30600 * NEWS: Update copyright. Remove last-updated date.
30601 Mention math library bug fixes and timezone data changes.
30602 * README: Mention GNU/Hurd, x32, and HPPA support status.
30604 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30606 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30608 2012-06-27 Andreas Jaeger <aj@suse.de>
30610 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30612 2012-06-25 Andreas Jaeger <aj@suse.de>
30614 * sysdeps/s390/fpu/libm-test-ulps: Update.
30616 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30617 Thomas Schwinge <thomas@codesourcery.com>
30619 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30620 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30621 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30624 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30626 * sysdeps/mach/start.c: Remove file.
30627 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30628 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30629 * sysdeps/sh/init-first.c: Likewise.
30631 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30632 registers for frame unwinding purposes, add CFI directives.
30633 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30634 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30635 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30638 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30639 __fortify_fail returning.
30640 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30642 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30643 sysdeps/sh/____longjmp_chk.S.
30644 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30645 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30646 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30647 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30649 * sysdeps/sh/abort-instr.h: New file.
30650 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30651 process in case exit returns.
30653 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30654 initialize the GOT register before use.
30656 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30657 calculation of ARGC > 4.
30659 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30660 meaningful names to some local labels.
30662 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30663 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30665 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30666 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30667 (__arch_compare_and_exchange_val_16_acq): Likewise.
30668 (__arch_compare_and_exchange_val_32_acq): Likewise.
30669 (atomic_exchange_and_add): Fix gUSA sequence.
30670 (atomic_add): Likewise.
30671 (atomic_add_negative): Likewise.
30672 (atomic_add_zero): Likewise.
30673 (atomic_bit_test_set): Likewise.
30675 2012-06-22 Andreas Schwab <schwab@redhat.com>
30678 * include/link.h (struct link_map): Add l_free_initfini.
30679 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30681 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30682 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30683 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30686 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30688 * configure.in: Use AC_LANG_SOURCE.
30689 * configure: Regenerate.
30691 2012-06-22 Roland McGrath <roland@hack.frob.com>
30693 * configure.in (libc_cv_localstatedir): New substituted variable.
30694 * configure: Regenerated.
30695 * config.make.in (localstatedir): New variable, substituted from
30696 libc_cv_localstatedir.
30697 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30698 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30699 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30700 * sysdeps/gnu/configure: Regenerated.
30702 2012-06-21 Jeff Law <law@redhat.com>
30705 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30706 free. Simplify list management for _LIBC case.
30708 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30711 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30712 Clear sign bit of 64-bit integer value before comparing against
30715 * sysdeps/mach/configure: Regenerated.
30717 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30720 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30722 2012-06-21 Jeff Law <law@redhat.com>
30725 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30726 uint16_t for elements in the "seen" array to avoid char overflows.
30727 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30728 * elf/dl-open.c (dl_open_worker): Likewise.
30730 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30732 * scripts/list-sources.sh: Scan PORTS for translations.
30733 * po/libc.pot: Regenerated.
30735 2012-06-21 Andreas Jaeger <aj@suse.de>
30738 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30740 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30741 * bits/byteswap-16.h (__bswap_16): Likewise.
30742 * bits/byteswap.h (__bswap_constant_16): Likewise.
30744 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30747 * sysdeps/i386/fpu_control.h: Removed.
30748 * sysdeps/x86_64/fpu_control.h: Moved to ...
30749 * sysdeps/x86/fpu_control.h: Here.
30751 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30752 (_FPU_SETCW): Likewise.
30754 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30757 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30758 * sysdeps/x86/fpu/bits/mathinline.h: This.
30759 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30763 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30764 functions if __x86_64__ is defined.
30766 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30768 * string/endian.h: Add !__ASSEMBLER__ condition for including
30769 conversion interfaces.
30771 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30775 of ABS(x) in calculating zero to negative powers other than odd
30777 * math/libm-test.inc (pow_test): Add more tests.
30779 2012-06-15 Andreas Jaeger <aj@suse.de>
30781 * manual/contrib.texi (Contributors): Update entry of Liubov
30782 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30785 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30787 * string/string.h: Add __wur to GNU version of strerror_r.
30789 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30792 * string/Makefile (tests): Add tst-strtok_r.
30793 * string/tst-strtok_r.c: New file.
30794 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30795 RAX_LP/RDX_LP on SAVE_PTR.
30797 2012-06-14 Roland McGrath <roland@hack.frob.com>
30799 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30801 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30803 * libm_test.inc (csqrt_test): Allow more spurious underflow
30805 (j0_test): Likewise.
30806 (j1_test): Likewise.
30807 (y0_test): Likewise.
30808 (y1_test): Likewise.
30810 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30812 * po/Makefile (libc.pot): Use UTF-8 charset.
30814 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30817 Suppress sign-conversion warning from FD_SET.
30818 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30819 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30820 not unsigned long int.
30821 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30823 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30827 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30828 __extern_always_inline instead of __extern_inline.
30829 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30830 (__signbit): Likewise.
30831 (__signbitl): Support C++ namespace.
30832 (lrintf): New inline function.
30834 (llrintf): Likewise.
30835 (llrint): Likewise.
30845 (floorf): Likewise.
30846 (nearbyint): Likewise.
30847 (nearbyintf): Likewise.
30849 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30851 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30852 non-default versions.
30854 2012-06-11 Roland McGrath <roland@hack.frob.com>
30857 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30859 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30861 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30862 (FE_UPWARD, FE_DOWNWARD): Don't define.
30863 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30864 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30866 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30868 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30869 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30871 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30873 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30875 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30876 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30878 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30881 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30882 * sysdeps/i386/fpu/Implies: New file.
30883 * sysdeps/x86_64/fpu/Implies: Likewise.
30884 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30885 * sysdeps/x86/fpu/bits/fenv.h: This.
30887 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30890 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30893 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30894 character 0xffff that matches the last element of the
30897 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30899 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30902 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30904 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30905 values higher than 25.6283.
30907 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30909 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30910 subnormal exponent extraction and add some __builtin_expect.
30911 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30912 Fix for subnormal mantissa calculation.
30914 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30916 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30917 cpu2 is -1 and errno is not ENOSYS.
30919 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30922 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30923 * sysdeps/x86/bits/string.h: This.
30924 * sysdeps/x86_64/bits/string.h: Removed.
30926 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30927 if not compiling for x86-64, but compiling for >= i486.
30929 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30930 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30932 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30933 New macro from Linux kernel 3.4.0.
30934 (FP_XSTATE_MAGIC2): Likewise.
30935 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30936 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30937 (struct _fpx_sw_bytes): New struct.
30938 (struct _xsave_hdr): Likewise.
30939 (struct _ymmh_state): Likewise.
30940 (struct _xstate): Likewise.
30942 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30943 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30944 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30945 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30946 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30947 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30949 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30950 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30951 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30952 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30953 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30954 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30956 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30959 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30960 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30961 (sysdep_headers): Include sys/platform/ppc.h.
30962 * sysdeps/powerpc/test-gettimebase.c: Test for
30963 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30964 * manual/Makefile (appendices): Include platform.texi.
30965 * manual/contrib.texi (Contributors): Update @node pointers.
30966 * manual/maint.texi (Maintenance): Likewise.
30967 (Platform): New node.
30968 * manual/platform.texi: New file. Document the new features.
30970 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30971 Jakub Jelinek <jakub@redhat.com>
30974 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30975 where __builtin_expect is unavailable.
30977 2012-06-03 David S. Miller <davem@davemloft.net>
30979 * stdlib/longlong.h: Updated from GCC.
30981 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30984 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30985 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30988 (GLIBC_2.16): Likewise.
30990 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30992 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30994 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30997 (default-abi): New variable.
30998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30999 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31001 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31003 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31005 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31008 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31009 definition. Document in comment.
31011 2012-06-01 David S. Miller <davem@davemloft.net>
31013 * stdlib/longlong.h: Updated from GCC.
31015 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31018 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31019 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31020 sys/debugreg.h sys/io.h here.
31021 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31022 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31024 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31025 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31026 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31027 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31028 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31029 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31031 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31032 Define only if __x86_64__ is defined.
31034 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31037 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31038 Use int64_t for variable i.
31039 * math/libm-test.inc (fmod_test): Add more tests.
31041 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31042 z computation is not scheduled after fetestexcept.
31043 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31044 Use math_force_eval instead of asm to ensure calculation scheduled
31045 before exception test.
31046 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31047 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31049 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31052 computation is not scheduled after fetestexcept.
31054 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31057 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31058 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31060 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31062 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31063 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31065 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31068 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31070 (__WCHAR_MIN): Support __WORDSIZE == 64.
31071 (__WCHAR_MAX): Likewise.
31073 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31074 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31077 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31078 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31081 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31082 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31084 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31085 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31087 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31088 Defined to 1 if __x86_64__ isn't defined.
31089 (_STAT_VER_LINUX_OLD): New.
31090 (st_atime): Remove duplicate.
31091 (st_mtime): Likewise.
31092 (st_ctime): Likewise.
31094 2012-05-31 David S. Miller <davem@davemloft.net>
31096 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31099 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31101 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31105 * elf/dl-reloc.c: Include <_itoa.h>.
31106 (_dl_reloc_bad_type): Remove use of INTUSE.
31107 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31108 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31109 * stdio-common/psiginfo.c (psiginfo): Likewise.
31110 * stdio-common/psignal.c (psignal): Likewise.
31111 * string/strsignal.c (strsignal): Likewise.
31112 * include/signal.h (_sys_siglist): Declare hidden proto.
31113 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31114 INTVARDEF with libc_hidden_data_def.
31115 * stdio-common/itoa-udigits.c: Likewise.
31116 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31117 (_itoa_lower_digits_internal): Remove declaration.
31118 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31119 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31120 (_sys_sigabbrev_internal): Remove aliases.
31121 (_sys_siglist): Define hidden alias.
31123 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31128 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31131 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31132 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31134 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31135 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31136 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31137 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31138 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31139 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31141 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31142 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31143 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31145 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31153 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31154 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31155 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31157 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31158 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31159 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31160 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31161 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31162 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31164 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31165 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31167 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31168 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31172 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31174 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31175 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31177 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31179 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31180 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31181 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31183 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31185 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31187 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31189 * math/math.h (M_El): Use two more decimal places.
31190 (M_LOG2El): Likewise.
31191 (M_LOG10El): Likewise.
31192 (M_LN2l): Likewise.
31193 (M_LN10l): Likewise.
31195 (M_PI_2l): Likewise.
31196 (M_PI_4l): Likewise.
31197 (M_1_PIl): Likewise.
31198 (M_2_PIl): Likewise.
31199 (M_2_SQRTPIl): Likewise.
31200 (M_SQRT2l): Likewise.
31201 (M_SQRT1_2l): Likewise.
31203 2012-05-31 David S. Miller <davem@davemloft.net>
31205 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31206 values between float registers.
31207 * sysdeps/sparc/sparc64/memset.S: Likewise.
31208 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31210 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31212 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31213 -D_FORTIFY_SOURCE=1.
31214 (CPPFLAGS-tst-longjmp_chk.c): Define.
31215 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31216 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31217 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31218 CFLAGS-tst-wchar-h.c.
31220 2012-05-31 Marek Polacek <polacek@redhat.com>
31223 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31224 __endmntent_internal): Remove declaration.
31225 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31226 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31227 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31229 2012-05-30 David S. Miller <davem@davemloft.net>
31231 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31232 (___Q_simulate_exceptions): Use real FP ops rather than writing
31234 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31237 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31240 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31241 * sysdeps/x86/bits/xtitypes.h: This.
31243 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31244 * sysdeps/x86/bits/wordsize.h: This.
31246 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31247 * sysdeps/x86/bits/huge_vall.h: This.
31249 * sysdeps/i386/bits/select.h: Removed.
31250 * sysdeps/x86_64/bits/select.h: Renamed to ...
31251 * sysdeps/x86/bits/select.h: This.
31253 * sysdeps/i386/bits/setjmp.h: Removed.
31254 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31255 * sysdeps/x86/bits/setjmp.h: This.
31257 * sysdeps/i386/bits/mathdef.h: Removed.
31258 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31259 * sysdeps/x86/bits/mathdef.h: This.
31261 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31264 * include/sys/socket.h (__connect_internal)
31265 (__libc_sa_len_internal): Remove declaration.
31266 (__connect, __libc_sa_len): Declare hidden_proto.
31267 (SA_LEN): Remove use of INTUSE.
31268 * socket/connect.c: Add libc_hidden_def.
31269 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31270 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31271 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31273 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31274 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31275 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31276 of adding _internal alias.
31278 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31281 * sysdeps/i386/bits/link.h: Removed.
31282 * sysdeps/i386/bits/linkmap.h: Likewise.
31283 * sysdeps/x86_64/bits/link.h: Renamed to ...
31284 * sysdeps/x86/bits/link.h: This.
31285 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31286 * sysdeps/x86/bits/linkmap.h: This.
31288 * sysdeps/i386/bits/endian.h: Removed.
31289 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31290 * sysdeps/x86/bits/endian.h: This.
31292 * sysdeps/i386/bits/byteswap.h: Removed.
31293 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31294 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31295 * sysdeps/x86/bits/byteswap.h: This.
31296 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31297 * sysdeps/x86/bits/byteswap-16.h: This.
31298 * sysdeps/i386/Implies: Add x86.
31299 * sysdeps/x86_64/Implies: Likewise.
31301 2012-05-30 David S. Miller <davem@davemloft.net>
31303 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31304 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31305 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31306 (FP_TRAPPING_EXCEPTIONS): Define.
31307 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31308 (FP_TRAPPING_EXCEPTIONS): Define.
31309 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31310 subnormals only when inexact has been signalled or underflow
31311 exceptions are enabled.
31312 (_FP_PACK_CANONICAL): Likewise.
31314 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31317 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31318 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31320 2012-05-30 Richard Henderson <rth@twiddle.net>
31322 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31323 with #ifndef NOT_IN_libc.
31325 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31326 marked to avoid plt entry.
31328 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31331 * Makeconfig (default-abi): New macro.
31332 (abi-includes): Likewise.
31333 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31334 $(abi-$(default-abi)-lib-soname) for soname if defined.
31335 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31337 * Makefile (installed-stubs): Likewise.
31338 * include/stubs-biarch.h: Removed.
31339 * scripts/lib-names.awk: Only handle one library at a time.
31340 * scripts/soversions.awk: Remove WORDSIZE support.
31341 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31343 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31345 (syscall-list-default-condition): Likewise.
31346 (syscall-list-default-condition): Likewise.
31347 (syscall-list-includes): Likewise.
31348 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31349 syscall-list-* with abi-*. Handle undefined abi-variants.
31350 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31351 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31352 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31353 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31354 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31355 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31357 (syscall-list-32-options): Likewise.
31358 (syscall-list-32-condition): Likewise.
31359 (syscall-list-64-options): Likewise.
31360 (syscall-list-64-condition): Likewise.
31361 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31363 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31366 (abi-64-ld-soname): New macro.
31367 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31368 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31371 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31372 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31374 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31376 * sysdeps/unix/sysv/linux/kernel-features.h
31377 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31378 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31379 include <kernel-features.h>.
31380 [!__NR_ftruncate64]: Remove conditional code.
31381 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31382 [__NR_ftruncate64]: Make code unconditional.
31383 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31384 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31385 include <kernel-features.h>.
31386 [!__NR_ftruncate64]: Remove conditional code.
31387 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31388 [__NR_ftruncate64]: Make code unconditional.
31389 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31391 include <kernel-features.h>.
31392 [!__NR_ftruncate64]: Remove conditional code.
31393 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31394 [__NR_ftruncate64]: Make code unconditional.
31395 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31397 include <kernel-features.h>.
31398 [!__NR_ftruncate64]: Remove conditional code.
31399 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31400 [__NR_ftruncate64]: Make code unconditional.
31401 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31403 * configure.in (libc_cv_fpie): Weaken to a compile test using
31404 LIBC_TRY_CC_OPTION.
31405 * configure: Regenerated.
31407 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31422 2012-05-27 David S. Miller <davem@davemloft.net>
31424 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31426 (__Q_simulate_exceptions): Return void. Change to simulate
31427 exceptions by writing into the %fsr.
31428 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31429 (__Qp_handle_exceptions): Likewise.
31431 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31432 __Qp_handle_exceptions.
31433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31434 __Qp_handle_exceptions.
31435 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31436 as unused and give dummy FP_RND_NEAREST initializer.
31437 (FP_INHIBIT_RESULTS): Define.
31438 (___Q_simulate_exceptions): Update declaration.
31439 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31441 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31442 as unused and give dummy FP_RND_NEAREST initializer.
31443 (__Qp_handle_exceptions): Update declaration.
31444 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31447 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31449 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31450 the temporary FPU control word.
31451 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31452 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31453 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31454 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31455 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31456 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31457 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31458 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31459 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31460 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31461 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31463 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31465 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31468 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31470 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31471 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31472 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31473 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31475 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31476 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31479 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31481 * po/h.po: Update from translation team.
31483 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31485 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31487 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31488 handling of denormals.
31489 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31490 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31491 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31492 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31495 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31498 2012-05-26 Marek Polacek <polacek@redhat.com>
31501 * math/libm-test.inc (fma_test): Don't always expect underflow
31504 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31507 * elf/tst-execstack.c: Include stackinfo.h.
31508 (do_test): Adjust test case to ensure that pthread_getattr_np
31509 behaviour remains the same after marking stack executable.
31511 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31513 * sysdeps/unix/sysv/linux/kernel-features.h
31514 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31515 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31517 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31518 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31519 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31521 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31522 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31524 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31526 * configure.in: Define the default includes to being none.
31527 * configure: Regenerated.
31529 2012-05-25 Roland McGrath <roland@hack.frob.com>
31531 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31532 * sysdeps/x86_64/setjmp.S: Likewise.
31533 * sysdeps/i386/bsd-setjmp.S: Likewise.
31534 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31535 * sysdeps/i386/setjmp.S: Likewise.
31536 * sysdeps/i386/__longjmp.S: Likewise.
31537 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31538 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31540 * include/stap-probe.h: New file.
31541 * configure.in: Handle --enable-systemtap.
31542 * configure: Regenerated.
31543 * config.h.in (USE_STAP_PROBE): New #undef.
31544 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31545 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31546 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31548 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31551 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31552 to 2.4.0 where earlier.
31553 * sysdeps/unix/sysv/linux/configure: Regenerated.
31554 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31555 <kernel-features.h>.
31556 [__ASSUME_32BITUIDS]: Make code unconditional.
31557 [!__ASSUME_32BITUIDS]: Remove conditional code.
31558 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31559 <kernel-features.h>.
31560 [__ASSUME_32BITUIDS]: Make code unconditional.
31561 [!__ASSUME_32BITUIDS]: Remove conditional code.
31562 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31563 [__ASSUME_32BITUIDS]: Make code unconditional.
31564 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31565 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31566 <kernel-features.h>.
31567 [__ASSUME_32BITUIDS]: Make code unconditional.
31568 [!__ASSUME_32BITUIDS]: Remove conditional code.
31569 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31570 <kernel-features.h>.
31571 [__ASSUME_32BITUIDS]: Make code unconditional.
31572 [!__ASSUME_32BITUIDS]: Remove conditional code.
31573 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31574 <kernel-features.h>.
31575 [__ASSUME_32BITUIDS]: Make code unconditional.
31576 [!__ASSUME_32BITUIDS]: Remove conditional code.
31577 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31578 <kernel-features.h>.
31579 [__ASSUME_32BITUIDS]: Make code unconditional.
31580 [!__ASSUME_32BITUIDS]: Remove conditional code.
31581 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31582 <kernel-features.h>.
31583 [__ASSUME_32BITUIDS]: Make code unconditional.
31584 [!__ASSUME_32BITUIDS]: Remove conditional code.
31585 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31586 <kernel-features.h>.
31587 [__ASSUME_32BITUIDS]: Make code unconditional.
31588 [!__ASSUME_32BITUIDS]: Remove conditional code.
31589 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31590 <kernel-features.h>.
31591 [__ASSUME_32BITUIDS]: Make code unconditional.
31592 [!__ASSUME_32BITUIDS]: Remove conditional code.
31593 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31594 <kernel-features.h>.
31595 [__ASSUME_32BITUIDS]: Make code unconditional.
31596 [!__ASSUME_32BITUIDS]: Remove conditional code.
31597 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31598 <kernel-features.h>.
31599 [__ASSUME_32BITUIDS]: Make code unconditional.
31600 [!__ASSUME_32BITUIDS]: Remove conditional code.
31601 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31602 <kernel-features.h>.
31603 [__ASSUME_32BITUIDS]: Make code unconditional.
31604 [!__ASSUME_32BITUIDS]: Remove conditional code.
31605 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31606 <kernel-features.h>.
31607 [__NR_setresgid] (__setresgid): Do not declare.
31608 [__ASSUME_32BITUIDS]: Make code unconditional.
31609 [!__ASSUME_32BITUIDS]: Remove conditional code.
31610 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31611 <kernel-features.h>.
31612 [__NR_setresuid] (__setresuid): Do not declare.
31613 [__ASSUME_32BITUIDS]: Make code unconditional.
31614 [!__ASSUME_32BITUIDS]: Remove conditional code.
31615 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31616 <kernel-features.h>.
31617 [__ASSUME_32BITUIDS]: Make code unconditional.
31618 [!__ASSUME_32BITUIDS]: Remove conditional code.
31619 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31620 <kernel-features.h>.
31621 [__ASSUME_32BITUIDS]: Make code unconditional.
31622 [!__ASSUME_32BITUIDS]: Remove conditional code.
31623 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31624 <kernel-features.h>.
31625 [__ASSUME_32BITUIDS]: Make code unconditional.
31626 [!__ASSUME_32BITUIDS]: Remove conditional code.
31627 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31628 <kernel-features.h>.
31629 [__ASSUME_32BITUIDS]: Make code unconditional.
31630 [!__ASSUME_32BITUIDS]: Remove conditional code.
31631 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31632 <kernel-features.h>.
31633 [__ASSUME_32BITUIDS]: Make code unconditional.
31634 [!__ASSUME_32BITUIDS]: Remove conditional code.
31635 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31636 <kernel-features.h>.
31637 [__ASSUME_32BITUIDS]: Make code unconditional.
31638 [!__ASSUME_32BITUIDS]: Remove conditional code.
31639 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31640 <kernel-features.h>.
31641 [__ASSUME_32BITUIDS]: Make code unconditional.
31642 [!__ASSUME_32BITUIDS]: Remove conditional code.
31643 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31644 <kernel-features.h>.
31645 [__ASSUME_32BITUIDS]: Make code unconditional.
31646 [!__ASSUME_32BITUIDS]: Remove conditional code.
31647 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31648 <kernel-features.h>.
31649 [__ASSUME_32BITUIDS]: Make code unconditional.
31650 [!__ASSUME_32BITUIDS]: Remove conditional code.
31651 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31652 <kernel-features.h>.
31653 [__ASSUME_32BITUIDS]: Make code unconditional.
31654 [!__ASSUME_32BITUIDS]: Remove conditional code.
31655 * sysdeps/unix/sysv/linux/kernel-features.h
31656 (__ASSUME_SETRESUID_SYSCALL): Remove.
31657 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31658 (__ASSUME_32BITUIDS): Likewise.
31659 (__ASSUME_LDT_WORKS): Likewise.
31660 (__ASSUME_O_DIRECTORY): Likewise.
31661 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31662 architecture but not kernel version.
31663 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31664 (__ASSUME_MMAP2_SYSCALL): Likewise.
31665 (__ASSUME_STAT64_SYSCALL): Likewise.
31666 (__ASSUME_IPC64): Likewise.
31667 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31668 <kernel-features.h>.
31669 [__ASSUME_32BITUIDS]: Make code unconditional.
31670 [!__ASSUME_32BITUIDS]: Remove conditional code.
31671 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31672 <kernel-features.h>.
31673 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31674 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31675 132096]: Remove conditional code.
31676 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31677 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31678 <kernel-features.h>.
31679 [__ASSUME_32BITUIDS]: Make code unconditional.
31680 [!__ASSUME_32BITUIDS]: Remove conditional code.
31681 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31682 <kernel-features.h>.
31683 [__ASSUME_32BITUIDS]: Make code unconditional.
31684 [!__ASSUME_32BITUIDS]: Remove conditional code.
31685 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31686 <kernel-features.h>.
31687 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31689 (__setresgid): Do not declare.
31690 [__ASSUME_32BITUIDS]: Make code unconditional.
31691 [!__ASSUME_32BITUIDS]: Remove conditional code.
31692 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31693 <kernel-features.h>.
31694 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31696 (__setresuid): Do not declare.
31697 [__ASSUME_32BITUIDS]: Make code unconditional.
31698 [!__ASSUME_32BITUIDS]: Remove conditional code.
31699 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
31704 <kernel-features.h>.
31705 [__ASSUME_32BITUIDS]: Make code unconditional.
31706 [!__ASSUME_32BITUIDS]: Remove conditional code.
31708 2012-05-25 Richard Henderson <rth@twiddle.net>
31710 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31711 dl_hwcap to ifunc resolver.
31712 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31714 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31715 dl_hwcap to ifunc resolver.
31716 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31718 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31721 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31722 for |x| <= 2**-26, not 2**-57.
31723 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31726 2012-05-24 Jeff Law <law@redhat.com>
31728 * stdio-common/Makefile (tests): Add bug25.
31729 * stdio-common/bug25.c: New test.
31731 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31734 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31735 multiple of MALLOC_ALIGNMENT in size.
31736 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31738 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31740 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31742 (FILENAME_MAX): Use macro-int-constant.
31743 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31744 (_IOFBF): Use macro-int-constant.
31745 (_IOLBF): Likewise.
31746 (_IONBF): Likewise.
31747 (SEEK_CUR): Likewise.
31748 (SEEK_END): Likewise.
31749 (SEEK_SET): Likewise.
31750 (TMP_MAX): Likewise.
31751 (EOF): Use macro-int-constant. Require < 0.
31752 (NULL): Use macro-constant. Require == 0.
31753 (stdin): Require type to be FILE *.
31754 (stdout): Likewise.
31755 (stderr): Likewise.
31756 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31757 macro-int-constant.
31758 (EXIT_SUCCESS): Likewise.
31759 (NULL): Use macro-constant. Require == 0.
31760 (RAND_MAX): Use macro-int-constant.
31761 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31762 [C99-based standards] (strtof): Require function.
31763 [C99-based standards] (strtold): Likewise.
31764 [C99-based standards] (strtoll): Likewise.
31765 [C99-based standards] (strtoull): Likewise.
31766 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31767 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31768 [ISO || ISO99 || ISO11] (math.h): Likewise.
31769 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31770 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31771 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31773 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31776 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31777 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31778 * intl/dgettext.c (DCGETTEXT): Likewise.
31779 * intl/gettext.c (DCGETTEXT): Likewise.
31780 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31781 * posix/regex_internal.h (gettext): Likewise.
31782 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31783 Remove declaration.
31784 * include/argz.h (__argz_count_internal)
31785 (__argz_stringify_internal): Remove declaration.
31786 (__argz_count, __argz_stringify): Declare hidden proto.
31787 * intl/dcgettext.c: Remove use of INTDEF.
31788 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31789 * string/argz-stringify.c: Likewise.
31790 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31791 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31792 Declare hidden proto.
31793 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31794 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31795 Declare hidden proto.
31796 * include/stdio.h (__asprintf_internal): Don't declare.
31797 (__asprintf): Don't define as macro. Declare hidden proto.
31798 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31799 (__fsetlocking): Declare hidden proto.
31800 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31801 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31803 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31804 (_IO_setlinebuf): Remove use of INTUSE.
31805 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31806 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31807 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31808 Remove declaration.
31809 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31810 (_IO_do_flush): Remove use of INTUSE.
31811 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31812 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31813 (_IO_adjust_column, _IO_least_wmarker)
31814 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31815 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31816 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31817 (_IO_default_doallocate, _IO_wdefault_doallocate)
31818 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31819 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31820 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31821 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31822 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31823 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31824 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31825 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31826 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31827 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31828 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31829 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31830 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31832 (_IO_flush_all_internal, _IO_adjust_column_internal)
31833 (_IO_default_uflow_internal, _IO_default_finish_internal)
31834 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31835 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31836 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31837 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31838 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31839 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31840 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31841 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31842 (_IO_file_close_internal, _IO_file_close_it_internal)
31843 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31844 (_IO_file_init_internal, _IO_file_attach_internal)
31845 (_IO_file_fopen_internal, _IO_file_read_internal)
31846 (_IO_file_sync_internal, _IO_file_seek_internal)
31847 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31848 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31849 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31850 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31851 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31852 (_IO_list_all_internal, _IO_link_in_internal)
31853 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31854 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31855 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31856 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31857 (_IO_do_write_internal, _IO_padn_internal)
31858 (_IO_getline_info_internal, _IO_getline_internal)
31859 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31860 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31861 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31862 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31863 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31864 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31865 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31866 with libc_hidden_ver, remove use of INTUSE.
31867 * libio/genops.c: Likewise.
31868 * libio/freopen.c: Likewise.
31869 * libio/freopen64.c: Likewise.
31870 * libio/iofclose.c: Likewise.
31871 * libio/iofdopen.c: Likewise.
31872 * libio/iofflush.c: Likewise.
31873 * libio/iofflush_u.c: Likewise.
31874 * libio/iofgets.c: Likewise.
31875 * libio/iofgets_u.c: Likewise.
31876 * libio/iofopen.c: Likewise.
31877 * libio/iofopncook.c: Likewise.
31878 * libio/iofread.c: Likewise.
31879 * libio/iofread_u.c: Likewise.
31880 * libio/ioftell.c: Likewise.
31881 * libio/iofwrite.c: Likewise.
31882 * libio/iogetline.c: Likewise.
31883 * libio/iogets.c: Likewise.
31884 * libio/iogetwline.c: Likewise.
31885 * libio/iopadn.c: Likewise.
31886 * libio/iopopen.c: Likewise.
31887 * libio/ioseekoff.c: Likewise.
31888 * libio/ioseekpos.c: Likewise.
31889 * libio/iosetbuffer.c: Likewise.
31890 * libio/iosetvbuf.c: Likewise.
31891 * libio/ioungetc.c: Likewise.
31892 * libio/ioungetwc.c: Likewise.
31893 * libio/iovdprintf.c: Likewise.
31894 * libio/iovsprintf.c: Likewise.
31895 * libio/iovsscanf.c: Likewise.
31896 * libio/memstream.c: Likewise.
31897 * libio/obprintf.c: Likewise.
31898 * libio/oldfileops.c: Likewise.
31899 * libio/oldiofclose.c: Likewise.
31900 * libio/oldiofdopen.c: Likewise.
31901 * libio/oldiofopen.c: Likewise.
31902 * libio/oldiopopen.c: Likewise.
31903 * libio/oldstdfiles.c: Likewise.
31904 * libio/putc.c: Likewise.
31905 * libio/setbuf.c: Likewise.
31906 * libio/setlinebuf.c: Likewise.
31907 * libio/stdfiles.c: Likewise.
31908 * libio/strops.c: Likewise.
31909 * libio/vasprintf.c: Likewise.
31910 * libio/vscanf.c: Likewise.
31911 * libio/vsnprintf.c: Likewise.
31912 * libio/vswprintf.c: Likewise.
31913 * libio/wfiledoalloc.c: Likewise.
31914 * libio/wfileops.c: Likewise.
31915 * libio/wgenops.c: Likewise.
31916 * libio/wmemstream.c: Likewise.
31917 * libio/wstrops.c: Likewise.
31918 * libio/__fpurge.c: Likewise.
31919 * libio/__fsetlocking.c: Likewise.
31920 * assert/assert.c: Likewise.
31921 * debug/fgets_chk.c: Likewise.
31922 * debug/fgets_u_chk.c: Likewise.
31923 * debug/fread_chk.c: Likewise.
31924 * debug/fread_u_chk.c: Likewise.
31925 * debug/gets_chk.c: Likewise.
31926 * debug/obprintf_chk.c: Likewise.
31927 * debug/vasprintf_chk.c: Likewise.
31928 * debug/vdprintf_chk.c: Likewise.
31929 * debug/vsnprintf_chk.c: Likewise.
31930 * debug/vsprintf_chk.c: Likewise.
31931 * malloc/mtrace.c: Likewise.
31932 * misc/error.c: Likewise.
31933 * misc/syslog.c: Likewise.
31934 * stdio-common/asprintf.c: Likewise.
31935 * stdio-common/fxprintf.c: Likewise.
31936 * stdio-common/getw.c: Likewise.
31937 * stdio-common/isoc99_fscanf.c: Likewise.
31938 * stdio-common/isoc99_scanf.c: Likewise.
31939 * stdio-common/isoc99_vfscanf.c: Likewise.
31940 * stdio-common/isoc99_vscanf.c: Likewise.
31941 * stdio-common/isoc99_vsscanf.c: Likewise.
31942 * stdio-common/printf-prs.c: Likewise.
31943 * stdio-common/printf_fp.c: Likewise.
31944 * stdio-common/printf_fphex.c: Likewise.
31945 * stdio-common/printf_size.c: Likewise.
31946 * stdio-common/putw.c: Likewise.
31947 * stdio-common/scanf.c: Likewise.
31948 * stdio-common/sprintf.c: Likewise.
31949 * stdio-common/tmpfile.c: Likewise.
31950 * stdio-common/vfprintf.c: Likewise.
31951 * stdio-common/vfscanf.c: Likewise.
31952 * stdlib/strfmon_l.c: Likewise.
31953 * sunrpc/openchild.c: Likewise.
31954 * sunrpc/xdr_stdio.c: Likewise.
31955 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31956 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31958 2012-05-24 Roland McGrath <roland@hack.frob.com>
31960 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31962 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31963 in the third column, to generate for the shared library an IFUNC
31964 that uses _dl_vdso_vsym.
31965 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31966 * Makeconfig (object-suffixes-noshared): New variable.
31968 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31969 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31970 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31971 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31974 * include/sys/time.h (__gettimeofday): Remove macro.
31975 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31976 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31978 (__gettimeofday): Add libc_hidden_def.
31979 (gettimeofday): Add libc_hidden_weak.
31980 * sysdeps/mach/gettimeofday.c: Likewise.
31981 * sysdeps/posix/gettimeofday.c: Likewise.
31982 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31983 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31984 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31985 (__gettimeofday_internal): Remove strong_alias.
31986 (__gettimeofday): Add libc_hidden_def.
31987 (gettimeofday): Add libc_hidden_weak.
31988 * sysdeps/unix/syscalls.list (gettimeofday):
31989 Remove __gettimeofday_internal alias.
31991 2012-05-24 Daniel Jacobowitz <drow@false.org>
31992 H.J. Lu <hongjiu.lu@intel.com>
31995 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31996 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31997 (largebin_index_32_big): New.
31998 (largebin_index): Use it for 16-byte alignment.
31999 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32000 correction with front_misalign.
32002 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32030 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32031 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32033 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32037 * math/libm-test.inc (exp_test): Add test from bug 14036.
32038 (pow_test): Add test from bug 10846.
32040 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32042 (special_function): Do not include flags in test name.
32043 (parse_args): Likewise.
32044 * sysdeps/i386/fpu/libm-test-ulps: Update.
32045 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32046 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32047 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32050 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32052 * math/libm-test.inc ("Philosophy"): Update comment about
32054 (UNDERFLOW_EXCEPTION): New macro.
32055 (UNDERFLOW_EXCEPTION_OK): Likewise.
32056 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32057 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32058 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32059 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32060 (INVALID_EXCEPTION_OK): Update value.
32061 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32062 (OVERFLOW_EXCEPTION_OK): Likewise.
32063 (IGNORE_ZERO_INF_SIGN): Likewise.
32064 (test_exceptions): Handle underflow exceptions.
32065 (acos_test): Update for underflow exception expectations.
32066 (cexp_test): Likewise.
32067 (clog_test): Likewise.
32068 (clog10_test): Likewise.
32069 (csqrt_test): Likewise.
32070 (ctan_test): Likewise.
32071 (ctanh_test): Likewise.
32072 (exp_test): Likewise.
32073 (exp10_test): Likewise.
32074 (exp2_test): Likewise.
32075 (expm1_test): Likewise.
32076 (fma_test): Likewise.
32077 (j0_test): Likewise.
32078 (jn_test): Likewise.
32079 (nexttoward_test): Likewise.
32080 (pow_test): Likewise.
32081 (scalbn_test): Likewise.
32082 (scalbln_test): Likewise.
32083 (tan_test): Likewise.
32084 (y1_test): Likewise.
32085 * sysdeps/i386/fpu/libm-test-ulps: Update.
32086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32088 2012-05-23 David S. Miller <davem@davemloft.net>
32090 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32091 (__libc_sigaction): Remove unused local variables.
32093 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32095 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32097 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32099 mktime: avoid signed integer overflow
32100 * time/mktime.c (__mktime_internal): Do not mishandle the case
32101 where diff == INT_MIN.
32103 mktime: simplify computation of average
32104 * time/mktime.c (ranged_convert): Use new time_t_avg function
32105 instead of rolling our own (probably-slower) code.
32107 mktime: do not assume signed right shift propagates sign bit
32108 * time/mktime.c (isdst_differ): New static function.
32109 (__mktime_internal): No need to normalize tm_isdst now.
32110 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32113 mktime: merge another wrapv change from gnulib
32114 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32115 from some compilers.
32117 mktime: remove incorrect attempt at unusual arithmetics
32118 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32119 The code didn't really work on such machines anyway.
32120 (TYPE_MINIMUM): Assume two's complement.
32121 (twos_complement_arithmetic): Verify that long_int and time_t
32122 are two's complement (or unsigned, in the latter case).
32124 mktime: check signed shifts on long_int and time_t, too
32125 * time/mktime.c (SHR): Check that shifts work as desired
32126 on the types long_int and time_t too, as SHR is used on
32129 mktime: do not assume 'long' is wide enough
32130 * time/mktime.c (verify): Move decl up.
32131 (long_int): New type.
32132 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32133 to remove assumption in the code that 'long' is wide enough to
32134 store year values. This assumption is not true on x32 and on
32135 some non-glibc platforms.
32137 mktime: merge wrapv change from gnulib
32138 * time/mktime.c (WRAPV): New macro.
32139 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32140 (guess_time_tm, __mktime_internal): Do not assume that signed
32141 integer overflow wraps around; modern compilers generate code
32142 where this assumption is no longer valid.
32144 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32146 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32147 Replace "jmp L(pseudo_end)" with "ret".
32148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32151 2012-05-23 Andreas Jaeger <aj@suse.de>
32153 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32154 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32156 2012-05-23 Andreas Jaeger <aj@suse.de>
32157 Maximilian Attems <max@stro.at>
32159 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32162 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32164 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32165 code so that pseudo_end is just ret and the stack pointer is
32166 correct also for static library in error case.
32168 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32170 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32171 move to syscalls.list.
32172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32177 * manual/install.texi (Running make install): Do not mention Linux
32178 kernel version for which pt_chown is not needed.
32179 (Linux): Do not mention problems with nscd with 2.0 kernels.
32180 * INSTALL: Regenerated.
32182 2012-05-23 Andreas Jaeger <aj@suse.de>
32184 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32185 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32187 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32188 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32189 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32190 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32191 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32192 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32193 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32194 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32195 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32196 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32197 * sysdeps/unix/sysv/linux/bits/in.h
32198 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32200 2012-05-22 Roland McGrath <roland@hack.frob.com>
32202 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32203 (PREPARE_VERSION): Just use assert instead, it will be elided
32204 under [NDEBUG] anyway.
32206 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32208 * sysdeps/unix/sysv/linux/Makefile: Include
32209 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32210 (sysdep_routines): Remove sysctl.
32211 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32212 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32213 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32214 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32215 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32217 2012-05-22 Andreas Jaeger <aj@suse.de>
32219 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32220 that pseudo_end is just ret and the stack pointer is correct also
32221 for static library in error case.
32223 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32226 * nss/nsswitch.c (defconfig_entries): New variable.
32227 (__nss_database_lookup): Don't leak defconfig entries.
32228 (nss_parse_service_list): Don't leak on error paths.
32229 (free_database_entries): New function.
32230 (free_defconfig): New function.
32231 (free_mem): Move common code to free_database_entries.
32233 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32235 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32237 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32239 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32240 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32243 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32244 (INTERNAL_SYSCALL_TYPES): Likewise.
32245 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32246 (LOAD_REGS_TYPES_[1-6]): Likewise.
32247 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32248 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32250 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32252 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32253 copysignl for GLIBC_2_0.
32254 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32255 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32256 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32257 logbl for GLIBC_2_0.
32258 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32259 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32261 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32264 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32266 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32269 * time/mktime.c: Update copyright years.
32271 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32273 mktime: merge comment-quoting-style change from gnulib
32274 * time/mktime.c: Quote 'like this' in comments.
32275 The GNU coding standards suggest that we no longer quote `like this',
32276 as "`" and "'" are typically rendered asymmetrically nowadays.
32277 The typical gnulib style is to quote 'like this' when quoting
32278 code, and "like this" when quoting English.
32280 * time/mktime.c (compile-command): Add "-I.".
32282 mktime: merge mktime-internal.h change from gnulib
32283 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32285 mktime: merge time_r change from gnulib
32286 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32288 mktime: merge DEBUG change from gnulib
32289 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32290 case system <time.h> has a #define.
32292 mktime: merge <sys/types.h> change from gnulib
32293 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32294 since <time.t> is now guaranteed to define time_t.
32296 mktime: merge HAVE_CONFIG_H change from gnulib
32297 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32299 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32304 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32306 (struct rusage): Use anonymous union to pad each field to
32309 2012-05-21 David S. Miller <davem@davemloft.net>
32311 * Makefules (o-iterator): Remove .s cases.
32312 (compile-command.s): Delete.
32313 (COMPILE.s): Delete.
32314 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32316 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32318 * configure.in (libc_cv_predef_stack_protector): Only consider
32319 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32320 * configure: Regenerated.
32322 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32324 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32325 New macro. Use R*LP on int and pointer.
32326 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32327 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32328 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32329 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32331 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32332 [__WORDSIZE_TIME64_COMPAT32] instead of
32333 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32334 (struct utmp): Likewise.
32335 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32336 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32338 (__WORDSIZE_TIME64_COMPAT32): This.
32339 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32340 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32341 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32342 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32343 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32344 (__WORDSIZE_TIME64_COMPAT32): New macro.
32346 2012-05-21 Andreas Jaeger <aj@suse.de>
32348 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32349 only if [SHARED]. Add prototype for __wcschr_ia32.
32351 2012-05-21 Roland McGrath <roland@hack.frob.com>
32353 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32354 of %rbp unmolested in the jmp_buf while mangling the low bits.
32355 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32356 unmolested high bits of %rbp while demangling the low bits.
32357 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32359 2012-05-21 Andreas Jaeger <aj@suse.de>
32361 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32362 * sunrpc/svc_simple.c: Use it for registerrpc.
32363 * sunrpc/xcrypt.c: Use it for passwd2des.
32365 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32367 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32369 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32370 Don't define if [__SYSCALL_WORDSIZE != 32].
32371 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32374 2012-05-21 Bruno Haible <bruno@clisp.org>
32375 Andreas Jaeger <aj@suse.de>
32377 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32378 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32379 inptr and inend for must_buffer_ch.
32380 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32381 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32382 * stdio-common/Makefile (tests): Remove bug15.
32383 (bug15-ENV): Remove macro.
32384 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32387 2012-05-19 Andreas Jaeger <aj@suse.de>
32388 Roland McGrath <roland@hack.frob.com>
32390 * manual/contrib.texi: Completely rewritten. It contains now an
32391 alphabetical list of contributors and their contributions.
32393 2012-05-21 Richard Henderson <rth@twiddle.net>
32395 * misc/getauxval.c (__getauxval): Use unsigned long int.
32396 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32397 (getauxval): Use unsigned long int.
32399 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32401 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32403 2012-05-21 Roland McGrath <roland@hack.frob.com>
32405 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32406 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32407 __alignof__ (long double).
32409 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32413 2012-05-20 Richard Henderson <rth@twiddle.net>
32415 * misc/getauxval.c: New file.
32416 * misc/sys/auxv.h: New file.
32417 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32418 (routines): Add getauxval.
32419 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32420 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32421 * elf/dl-sysdep.c (_dl_auxv): Remove.
32422 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32423 * elf/dl-support.c (_dl_auxv): New variable.
32424 (_dl_aux_init): Initialize it.
32425 * manual/startup.texi (Auxiliary Vector): New node.
32426 * sysdeps/generic/bits/hwcap.h: New file.
32427 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32428 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32429 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32430 * sysdeps/sparc/sysdep.h: ... here. Include it.
32431 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32432 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32438 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32444 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32448 2012-05-19 David S. Miller <davem@davemloft.net>
32450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32452 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32455 * math/s_ccosh.c: Include <float.h>
32456 (__ccosh): Avoid internal overflow calculating sinh and cosh
32457 values before multiplying by sin and cos values.
32458 * math/s_ccoshf.c: Likewise.
32459 * math/s_ccoshl.c: Likewise.
32460 * math/s_csin.c: Likewise.
32461 * math/s_csinf.c: Likewise.
32462 * math/s_csinl.c: Likewise.
32463 * math/s_csinh.c: Likewise.
32464 * math/s_csinhf.c: Likewise.
32465 * math/s_csinhl.c: Likewise.
32466 * math/libm-test.inc (ccos_test): Add more tests.
32467 (ccosh_test): Likewise.
32468 (csin_test): Likewise.
32469 (csinh_test): Likewise.
32470 * sysdeps/i386/fpu/libm-test-ulps: Update.
32471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32473 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32475 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32476 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32478 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32480 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32482 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32483 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32484 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32485 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32486 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32487 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32488 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32489 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32490 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32491 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32492 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32493 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32494 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32495 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32496 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32497 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32498 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32499 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32500 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32501 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32502 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32503 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32504 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32505 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32506 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32507 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32508 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32509 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32510 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32511 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32512 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32514 2012-05-18 Andreas Jaeger <aj@suse.de>
32516 * csu/.gitignore: Delete.
32518 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32520 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32521 (timex): Use __syscall_slong_t.
32523 2012-05-18 Andreas Jaeger <aj@suse.de>
32524 Carlos O'Donell <carlos_odonell@mentor.com>
32526 * manual/install.texi (Configuring and compiling): Update
32527 description about files modified in the source directory.
32528 * INSTALL: Regenerated.
32530 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32532 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32533 value. Use "or" to set return value to -1.
32534 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32535 negate return value.
32537 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32539 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32540 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32541 failure if the compiler has Graphite support disabled.
32542 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32544 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32545 (CFLAGS-memmove.c): Likewise.
32546 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32549 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32551 * sysdeps/x86_64/x32/_itoa.h: New file.
32553 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32554 getdents system call only if kernel and user dirents have the
32555 same d_ino and d_off.
32557 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32558 LLONG_MAX != LONG_MAX.
32559 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32560 (_fitoa_word): Likewise.
32562 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32564 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32565 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32566 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32568 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32569 include <bits/wordsize.h>. Check __x86_64__ instead of
32571 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32572 if __x86_64__ is defined. Use anonymous union on fpstate.
32574 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32577 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32579 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32580 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32581 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32582 Refer to _rtld_local_ro instead of _rtld_global_ro.
32583 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32585 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32587 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32589 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32590 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32591 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32593 * sysdeps/powerpc/powerpc32/dl-machine.c
32594 (__elf_machine_runtime_setup) [PROF]: Don't reference
32597 2012-05-18 Andreas Jaeger <aj@suse.de>
32599 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32600 function only available for GCCs before 3.4 since GCC 3.4
32601 introduced a builtin.
32603 (llrintf): Likewise.
32604 (llrint): Likewise.
32611 (nearbyint): Likewise.
32612 (nearbyintf): Likewise.
32616 (floorf): Likewise.
32618 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32620 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32621 on both fields and cast pointer to __syscall_ulong_t.
32623 * bits/types.h (__fsword_t): New type.
32624 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32625 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32626 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32627 (__FSWORD_T_TYPE): Likewise.
32628 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32629 (__FSWORD_T_TYPE): Likewise.
32630 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32631 (__FSWORD_T_TYPE): Likewise.
32632 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32633 (__FSWORD_T_TYPE): Likewise.
32634 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32635 __SWORD_TYPE with __fsword_t.
32636 (statfs64): Likewise.
32638 2012-05-17 David S. Miller <davem@davemloft.net>
32640 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32642 2012-05-17 Andreas Jaeger <aj@suse.de>
32644 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32647 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32649 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32651 2012-05-17 Andreas Jaeger <aj@suse.de>
32653 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32656 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32658 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32660 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32662 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32663 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32665 2012-05-17 Andreas Jaeger <aj@suse.de>
32666 Carlos O'Donell <carlos_odonell@mentor.com>
32669 * sysdeps/x86_64/multiarch/init-arch.h
32670 (bit_YMM_Usable): Rename to...
32671 (bit_AVX_Usable): ... this.
32672 (bit_FMA4_Usable): New macro.
32673 (bit_XMM_state): New macro.
32674 (bit_YMM_state): New macro.
32675 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32676 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32677 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32678 (CPUID_OSXSAVE): New macro.
32679 (CPUID_AVX): New macro.
32680 (CPUID_FMA4): New macro.
32681 (index_YMM_Usable): Rename to...
32682 (index_AVX_Usable): ... this.
32683 (HAS_AVX): Use HAS_ARCH_FEATURE.
32684 (HAS_FMA4): Likewise.
32685 (HAS_YMM_USABLE): Remove.
32686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32687 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32689 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32690 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32691 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32692 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32693 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32695 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32697 * math/libm-test.c: Support platforms without multiple rounding modes.
32698 * math/bug-nextafter.c: Support platforms without FP exceptions.
32699 * math/bug-nexttoward.c: Likewise.
32700 * math/test-fenv.c: Likewise.
32701 * math/test-misc.c: Likewise.
32702 * stdlib/bug-getcontext.c: Likewise.
32704 2012-05-17 Andreas Jaeger <aj@suse.de>
32706 * manual/examples/search.c (critter_cmp): Change signature to
32708 * manual/string.texi (Collation Functions): Likewise.
32710 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32712 * bits/types.h: Fold copyright years.
32713 * bits/typesizes.h: Likewise.
32714 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32715 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32716 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32718 * time/time.h: Likewise.
32720 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32723 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32724 in instead of returning them. Return void.
32725 (__libc_mallinfo): Accumulate over all arenas.
32726 (__malloc_stats): Adjust for change in int_mallinfo interface.
32728 2012-05-16 Roland McGrath <roland@hack.frob.com>
32731 * configure.in (NM): Add AC_CHECK_TOOL for it.
32732 (libc_extra_cflags): New substituted variable.
32733 Check for -fstack-protector being used implicitly.
32734 * configure: Regenerated.
32735 * config.make.in (config-extra-cflags): New variable,
32736 gets @libc_extra_cflags@.
32737 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32740 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32741 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32742 * configure: Regenerated.
32743 * config.make.in (CPPUNDEFS): New substituted variable.
32744 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32745 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32746 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32748 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32750 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32751 (mq_attr): Use __syscall_slong_t.
32753 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32755 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32756 Check __x86_64__ instead of __WORDSIZE.
32757 (_STAT_VER_LINUX): Likewise.
32758 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32759 __syscall_ulong_t and __syscall_slong_t.
32760 (stat64): Likewise.
32762 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32764 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32766 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32768 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32770 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32772 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32775 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32776 include <bits/wordsize.h>. Check __x86_64__ instead of
32778 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32780 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32782 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32783 include <bits/wordsize.h>. Check __x86_64__ instead of
32785 (user_regs_struct): Use "__extension__ unsigned long long"
32786 instead of "unsigned long" if __x86_64__ is defined.
32787 (user): Likewise. Pad after pointer field if __ILP32__ is
32790 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32792 * configure.in (makeinfo): Require version 4.5 or later. Allow
32794 * configure: Regenerated.
32795 * manual/install.texi (texinfo): Increase version requirement to
32797 * INSTALL: Regenerated.
32799 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32801 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32803 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32805 * sysdeps/x86_64/x32/ffs.c: New file.
32807 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32809 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32810 defined. Use __syscall_ulong_t.
32811 (shminfo): Use __syscall_ulong_t.
32812 (shm_info): Likewise.
32814 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32817 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32819 (msgqnum_t): Use __syscall_ulong_t.
32820 (msglen_t): Likewise.
32821 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32824 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32825 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32827 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32829 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32830 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32832 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32835 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32836 include <bits/wordsize.h>. Check __x86_64__ instead of
32839 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32840 "unsigned long long int" if __x86_64__ is defined.
32841 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32843 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32844 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32845 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32847 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32849 (GET_PC): Cast to uintptr_t first.
32850 (GET_FRAME): Likewise.
32851 (GET_STACK): Likewise.
32853 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32854 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32855 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32856 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32857 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32858 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32859 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32860 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32861 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32862 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32863 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32864 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32865 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32866 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32867 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32868 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32869 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32870 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32871 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32872 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32873 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32874 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32875 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32876 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32877 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32878 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32879 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32880 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32881 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32883 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32885 * Makerules (+depfiles): Also collect depfiles from .oS in
32887 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32888 .oS, $(libnldbl-routines)).
32890 * Makerules (native-compile-mkdep-flags): Define.
32891 * sunrpc/Makefile (extra-objs): Add $(addprefix
32892 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32893 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32894 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32895 calling $(make-target-directory).
32897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32899 * bits/types.h (__snseconds_t): Removed.
32900 * time/time.h (struct timespec): Replace __snseconds_t with
32902 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32903 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32905 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32906 (__SNSECONDS_T_TYPE): Likewise.
32907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32908 (__SNSECONDS_T_TYPE): Likewise.
32909 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32910 (__SNSECONDS_T_TYPE): Likewise.
32912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32914 * sysdeps/mach/hurd/bits/typesizes.h
32915 (__SYSCALL_SLONG_TYPE): New macro.
32916 (__SYSCALL_ULONG_TYPE): Likewise.
32918 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32920 * bits/types.h (__syscall_slong_t): New type.
32921 (__syscall_ulong_t): Likewise.
32923 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32924 (__SYSCALL_ULONG_TYPE): Likewise.
32925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32926 (__SYSCALL_SLONG_TYPE): Likewise.
32927 (__SYSCALL_ULONG_TYPE): Likewise.
32928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32929 (__SYSCALL_SLONG_TYPE): Likewise.
32930 (__SYSCALL_ULONG_TYPE): Likewise.
32931 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32932 (__SYSCALL_SLONG_TYPE): Likewise.
32933 (__SYSCALL_ULONG_TYPE): Likewise.
32935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32937 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32938 Add sigaltstack-offsets.sym.
32939 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32940 <sigaltstack-offsets.h>.
32941 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32942 longjmp_msg pointer.
32943 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32944 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32946 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32948 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32950 * elf/stackguard-macros.h: Remove file.
32951 * sysdeps/generic/stackguard-macros.h: New file.
32952 * sysdeps/i386/stackguard-macros.h: Likewise.
32953 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32954 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32955 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32956 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32957 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32958 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32959 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32960 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32961 <elf/stackguard-macros.h>.
32964 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32965 __aligned__ in attribute.
32966 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32967 (gregset_t): Likewise.
32969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32971 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32972 * sysdeps/x86_64/64/Implies-after: Here. New file.
32973 * sysdeps/x86_64/x32/Implies-after: New file.
32975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32977 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32978 and access return value for _dl_profile_fixup. Use R10_LP to
32981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32983 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32987 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32988 * sysdeps/x86_64/x32/sysdep.h: New file.
32990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32992 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32993 * sysdeps/x86_64/setjmp.S: Likewise.
32995 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32997 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32998 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32999 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33000 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33001 remove unused global constant.
33003 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33005 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33006 include of <not-cancel.h>.
33008 2012-05-15 Roland McGrath <roland@hack.frob.com>
33010 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33012 2012-05-15 Jeff Law <law@redhat.com>
33013 Andreas Jaeger <aj@suse.de>
33016 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33018 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33019 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33020 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33021 code changing __hst_map_handle.map.
33023 2012-05-15 Roland McGrath <roland@hack.frob.com>
33025 * configure.in (sysnames): Look for Implies-before and Implies-after
33027 * configure: Regenerated.
33029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33031 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33032 8-byte data alignment with LP_SIZE alignment.
33034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33036 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33041 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33045 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33046 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33047 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33049 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33053 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33054 (stackinfo_sub_sp): Likewise.
33056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33058 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33061 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33063 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33066 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33068 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33073 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33077 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33078 into R11_LP and load __x86_64_shared_cache_size_half into
33081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33083 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33086 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33088 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33092 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33094 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33095 powerpc32/power7/fpu/s_logb.c via #include.
33096 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33097 powerpc32/power7/fpu/s_logbf.c via #include.
33098 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33099 powerpc32/power7/fpu/s_logbl.c via #include.
33101 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33103 * README.libm: Remove file.
33105 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33107 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33108 count for x32. Use R*_LP and omit operand-size suffix.
33110 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33112 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33113 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33114 * sysdeps/x86_64/x32/shlib-versions: New file.
33116 2012-05-14 Roland McGrath <roland@hack.frob.com>
33118 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33119 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33120 Use _dl_fatal_printf instead.
33122 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33124 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33125 set if not set by the user. Do not allow for being unset.
33126 * sysdeps/unix/sysv/linux/configure: Regenerated.
33128 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33130 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33131 the `q' suffix from lea and replace .quad with ASM_ADDR.
33133 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33136 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33138 (PTR_DEMANGLE): Likewise.
33140 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33142 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33144 (ASM_ADDR): Likewise.
33145 (RAX_LP): Likewise.
33146 (RBP_LP): Likewise.
33147 (RBX_LP): Likewise.
33148 (RCX_LP): Likewise.
33149 (RDI_LP): Likewise.
33150 (RSI_LP): Likewise.
33151 (RSP_LP): Likewise.
33154 (R10_LP): Likewise.
33155 (R10_LP): Likewise.
33156 (R11_LP): Likewise.
33157 (R12_LP): Likewise.
33158 (R13_LP): Likewise.
33159 (R14_LP): Likewise.
33160 (R15_LP): Likewise.
33162 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33164 * sysdeps/x86_64/x32/dl-machine.h: New file.
33166 2012-05-14 Andreas Jaeger <aj@suse.de>
33168 * manual/Makefile (subdir): Remove export of subdir.
33169 (all): Remove target.
33170 (.PHONY): Remove all from list.
33171 (mkinstalldirs): Remove.
33172 (.PHONY): Remove installdirs from list.
33173 ($(inst_infodir)/libc.info): Use make-target-directory.
33174 (installdirs): Remove.
33175 (subdir_%): Remove.
33176 (glibc-targets): Remove.
33179 ($(objpfx)stubs ../po/manual.pot): Remove.
33180 ($(objpfx)stamp%): Remove.
33181 (make-target-directory): Remove.
33182 (subdir_install): Remove.
33183 (routines): Remove.
33190 * manual/.gitignore: Remove, it's not needed anymore.
33191 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33193 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33195 (texis): Renamed to $(objpfx)texis.
33196 (texis-path): New, contains path to generated files.
33197 (chapters.%): Use texis-path for complete path, add extra argument
33199 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33200 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33201 (summary,texi, stamp-summary): Use complete path of
33202 files. Generate files in build dir.
33203 (dir-add.texi): Build in build dir.
33204 (libm-err.texi,stamp-libm-err): Likewise.
33205 (version.texi, stamp-version): Likewise.
33206 (.%c.texi): Likewise.
33207 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33208 (mostlyclean): Remove target.
33209 (realclean): Remove target.
33210 (generated): Add new variable with contents from mostlyclean and
33211 realclean, remove entries duplicated in common-mostlyclean, add
33212 stamp-libm-err and stamp-version.
33213 (generated-dirs): Add libc directory.
33214 ($(inst_infodir)/libc.info): Install files from build dir.
33216 * manual/install.texi (Configuring and compiling): Adjust since
33217 the info files are not part of the tar ball anymore.
33219 2012-05-14 Andreas Jaeger <aj@suse.de>
33221 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33224 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33227 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33228 to 2.2.0 where earlier.
33229 * sysdeps/unix/sysv/linux/configure: Regenerated.
33230 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33231 Remove conditional code.
33232 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33233 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33234 Remove conditional code.
33235 [!__NR_lchown]: Likewise.
33236 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33237 [__NR_lchown]: Likewise.
33238 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33239 comment referencing __ASSUME_LCHOWN_SYSCALL.
33240 * sysdeps/unix/sysv/linux/i386/sigaction.c
33241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33243 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33244 Remove conditional code.
33245 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33246 (__protocol_available): Remove #if 0 code.
33247 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33249 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33250 * sysdeps/unix/sysv/linux/kernel-features.h
33251 (__ASSUME_GETCWD_SYSCALL): Don't define.
33252 (__ASSUME_REALTIME_SIGNALS): Likewise.
33253 (__ASSUME_PREAD_SYSCALL): Likewise.
33254 (__ASSUME_PWRITE_SYSCALL): Likewise.
33255 (__ASSUME_POLL_SYSCALL): Likewise.
33256 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33257 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33259 (__ASSUME_SIOCGIFNAME): Don't define.
33260 (__ASSUME_MSG_NOSIGNAL): Likewise.
33261 (__ASSUME_SENDFILE): Define unconditionally.
33262 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33263 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33265 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33266 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33267 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33268 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33269 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33270 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33271 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33276 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33282 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33285 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33288 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33291 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33294 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33295 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33296 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33297 Remove conditional code.
33298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33299 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33300 Remove conditional code.
33301 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33302 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33303 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33304 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33305 Remove conditional code.
33306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33307 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33308 Remove conditional code.
33309 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33310 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33311 Remove conditional code.
33312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33313 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33314 Remove conditional code.
33315 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33316 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33317 Remove conditional code.
33318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33319 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33320 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33321 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33322 * sysdeps/unix/sysv/linux/sigaction.c
33323 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33324 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33325 * sysdeps/unix/sysv/linux/sigpending.c
33326 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33327 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33328 * sysdeps/unix/sysv/linux/sigprocmask.c
33329 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33330 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33331 * sysdeps/unix/sysv/linux/sigsuspend.c
33332 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33333 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33334 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33335 (__libc_missing_rt_sigs): Remove.
33336 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33337 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33338 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33339 Remove conditional code.
33340 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33341 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33343 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33344 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33345 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33346 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33348 2012-05-14 Andreas Jaeger <aj@suse.de>
33350 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33351 it's not used in glibc.
33352 (__coshm1): Likewise.
33353 (__acosh1p): Likewise.
33356 * manual/string.texi (Copying and Concatenation): Add missing
33357 variable in concat example.
33358 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33360 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33363 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33364 __builtin_clzl with __builtin_clzll.
33366 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33369 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33372 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33374 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33375 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33376 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33377 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33379 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33381 * NEWS: Update ia64 info.
33383 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33385 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33388 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33390 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33391 * sysdeps/unix/syscalls.list (dup3): Likewise.
33392 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33393 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33395 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33397 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33398 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33400 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33402 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33404 (TLS_IE): Use mov/add instead of movq/addq to load thread
33406 (TLS_GD_PREFIX): New.
33409 2012-05-11 David S. Miller <davem@davemloft.net>
33411 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33412 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33413 (_FPU_SETCW): Likewise.
33415 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33417 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33418 is 32-byte aligned.
33420 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33423 * iconvdata/gb18030.c: Update tables.
33424 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33425 characters specially.
33426 (BODY for TO_LOOP): Add encoding of missing ranges.
33428 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33431 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33432 * sysdeps/mach/hurd/dup3.c: Likewise.
33433 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33434 * sysdeps/powerpc/memmove.c:: Likewise.
33436 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33438 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33439 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33441 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33443 * elf/elf.h (R_X86_64_RELATIVE64): New.
33444 (R_X86_64_NUM): Updated.
33445 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33446 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33447 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33448 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33449 tst-quad1pie tst-quad2pie
33450 (modules-names): Add tst-quadmod1 tst-quadmod2.
33451 ($(objpfx)tst-quad1): New dependency.
33452 ($(objpfx)tst-quad2): Likewise.
33453 ($(objpfx)tst-quad1pie): Likewise.
33454 ($(objpfx)tst-quad2pie): Likewise.
33455 * sysdeps/x86_64/tst-quad1.c: New file.
33456 * sysdeps/x86_64/tst-quad1pie.c: New file.
33457 * sysdeps/x86_64/tst-quad2.c: Likewise.
33458 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33459 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33460 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33461 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33462 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33464 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33466 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33467 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33468 * streams/stropts.h (t_scalar_t): Define type.
33470 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33471 (_PATH_PRESERVE): Set to "/var/lib".
33472 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33474 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33477 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33478 if __dir_mkfile succeeded.
33480 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33481 checking for _hurd_dtablesize. Unlock it right after having
33482 finished _hurd_dtable allocation.
33484 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33486 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33487 * sysdeps/mach/hurd/configure: Regenerated.
33488 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33489 special-casing to...
33490 * sysdeps/gnu/configure.in: ... this new file.
33491 * sysdeps/unix/sysv/linux/configure: Regenerated.
33492 * sysdeps/gnu/configure: New generated file.
33494 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33495 for Linux: use nsec instead of usec, as well as:
33496 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33497 members of type struct timespec.
33498 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33500 (struct stat64): Likewise.
33501 (_STATBUF_ST_NSEC): New macro.
33502 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33504 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33505 __strtoul_internal rather than strtoul.
33507 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33509 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33512 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33514 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33515 which preserves existing values.
33516 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33518 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33520 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33521 TIMEOUT values. Return EINVAL for NFDS values either negative or
33522 greater than FD_SETSIZE.
33524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33526 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33527 allocated, call __vm_protect to finish enabling the existing space, and
33528 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33529 allocate the remainder.
33531 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33533 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33534 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33536 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33538 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33539 sysdeps/mach/hurd/readlink.c.
33541 * posix/tst-sysconf.c (posix_options): Only use
33542 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33543 _POSIX_SYNCHRONIZED_IO when they are defined
33544 * sysdeps/mach/hurd/bits/posix_opt.h:
33545 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33546 (_XOPEN_REALTIME): Undefine macro.
33547 (_XOPEN_REALTIME_THREADS): Undefine macro.
33548 (_XOPEN_SHM): Undefine macro.
33549 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33551 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33553 (_POSIX_ASYNC_IO): Undefine macro.
33554 (_POSIX_PRIORITIZED_IO): Undefine macro.
33555 (_POSIX_SPIN_LOCKS): Define macro to -1.
33557 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33558 SA_NODEFER, SA_RESETHAND.
33559 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33560 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33563 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33565 * elf/Makefile (pldd-modules): Define unconditionally.
33567 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33569 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33573 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33574 Return ENOENT when name is empty.
33575 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33577 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33579 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33581 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33585 Fix mlock in all cases except non-readable pages.
33586 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33587 instead of VM_PROT_ALL as parameter to __vm_wire function.
33589 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33590 (__mkdir): When path is `/', just fail with EEXIST.
33591 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33593 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33595 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33596 <sys/uio.h> (for writev).
33597 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33598 and <sys/param.h> (for MIN).
33600 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33602 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33603 REQUESTED_TIME. Properly set the remaining time and return EINTR
33606 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33608 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33609 Depend on against $(link-rpcuserlibs).
33611 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33613 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33614 (__libc_stack_end): Do not use attribute_relro.
33615 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33616 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33617 to libthread-provided value.
33618 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33621 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33624 * bits/libc-lock.h (__libc_once_get): New macro.
33625 * sysdeps/mach/bits/libc-lock.h: Likewise.
33626 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33627 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33628 instead of using implementation details.
33630 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33631 * libio/freopen.c: Likewise.
33632 * libio/freopen64.c: Likewise.
33633 * misc/syslog.c: Likewise.
33634 * nscd/connections.c: Likewise.
33635 * nscd/netgroupcache.c: Likewise.
33636 * sysdeps/posix/getcwd.c: Likewise.
33638 2012-05-10 Roland McGrath <roland@hack.frob.com>
33640 * math/w_ilogbf.c: Add #include <limits.h>.
33642 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33644 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33645 path instead of returning without unlocking.
33647 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33648 immediate-write ioctls.
33649 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33651 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33653 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33654 __builtin_frame_address instead of making assumptions about the
33655 location of the return address relative to DATA. Force early load of
33656 the return address.
33657 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33658 __builtin_frame_address.
33661 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33662 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33663 implement dup3 and do some further code clean-ups.
33664 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33665 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33667 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33669 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33671 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33672 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33673 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33674 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33675 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33678 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33679 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33680 when handler == SIG_ERR, not when handler != SIG_ERR.
33682 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33684 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33685 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33688 accept4 for GNU Hurd.
33689 * include/sys/socket.h (__libc_accept4): New prototype.
33690 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33691 to implement __libc_accept4.
33692 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33694 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33696 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33697 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33698 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33699 signal-defines.sym.
33701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33703 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33705 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33707 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33708 assertion on O_CLOEXEC flag.
33709 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33710 * hurd/intern-fd.c: Likewise.
33711 * hurd/port2fd.c: Likewise.
33713 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33716 * bits/in.h (IPV6_PKTINFO): Define new macro.
33717 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33719 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33724 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33725 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33726 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33727 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33728 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33729 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33730 * math/libm-test.inc (logb_test) : Additional logb tests.
33732 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33733 Andreas Jaeger <aj@suse.de>
33735 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33736 * configure: Regenerated.
33737 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33738 * config.make.in (link-obsolete-rpc): New substituted variable.
33739 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33740 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33741 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33742 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33743 so that libc.a contains the symbols.
33744 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33745 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33746 * sunrpc/auth_none.c: Likewise.
33747 * sunrpc/auth_unix.c: Likewise.
33748 * sunrpc/authdes_prot.c: Likewise.
33749 * sunrpc/authuxprot.c: Likewise.
33750 * sunrpc/clnt_gen.c: Likewise.
33751 * sunrpc/clnt_perr.c: Likewise.
33752 * sunrpc/clnt_raw.c: Likewise.
33753 * sunrpc/clnt_simp.c: Likewise.
33754 * sunrpc/clnt_tcp.c: Likewise.
33755 * sunrpc/clnt_udp.c: Likewise.
33756 * sunrpc/clnt_unix.c: Likewise.
33757 * sunrpc/des_crypt.c: Likewise.
33758 * sunrpc/des_soft.c: Likewise.
33759 * sunrpc/get_myaddr.c: Likewise.
33760 * sunrpc/key_call.c: Likewise.
33761 * sunrpc/key_prot.c: Likewise.
33762 * sunrpc/netname.c: Likewise.
33763 * sunrpc/pm_getmaps.c: Likewise.
33764 * sunrpc/pm_getport.c: Likewise.
33765 * sunrpc/pmap_clnt.c: Likewise.
33766 * sunrpc/pmap_prot.c: Likewise.
33767 * sunrpc/pmap_prot2.c: Likewise.
33768 * sunrpc/pmap_rmt.c: Likewise.
33769 * sunrpc/publickey.c: Likewise.
33770 * sunrpc/rpc_cmsg.c: Likewise.
33771 * sunrpc/rpc_common.c: Likewise.
33772 * sunrpc/rpc_dtable.c: Likewise.
33773 * sunrpc/rpc_prot.c: Likewise.
33774 * sunrpc/rpc_thread.c: Likewise.
33775 * sunrpc/rtime.c: Likewise.
33776 * sunrpc/svc.c: Likewise.
33777 * sunrpc/svc_auth.c: Likewise.
33778 * sunrpc/svc_raw.c: Likewise.
33779 * sunrpc/svc_run.c: Likewise.
33780 * sunrpc/svc_tcp.c: Likewise.
33781 * sunrpc/svc_udp.c: Likewise.
33782 * sunrpc/svc_unix.c: Likewise.
33783 * sunrpc/svcauth_des.c: Likewise.
33784 * sunrpc/xcrypt.c: Likewise.
33785 * sunrpc/xdr.c: Likewise.
33786 * sunrpc/xdr_array.c: Likewise.
33787 * sunrpc/xdr_float.c: Likewise.
33788 * sunrpc/xdr_intXX_t.c: Likewise.
33789 * sunrpc/xdr_mem.c: Likewise.
33790 * sunrpc/xdr_rec.c: Likewise.
33791 * sunrpc/xdr_ref.c: Likewise.
33792 * sunrpc/xdr_sizeof.c: Likewise.
33793 * sunrpc/xdr_stdio.c: Likewise.
33795 2012-05-10 Roland McGrath <roland@hack.frob.com>
33797 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33798 change. Update copyright years.
33800 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33802 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33804 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33805 Joseph Myers <joseph@codesourcery.com>
33806 Paul Pluzhnikov <ppluzhnikov@google.com>
33809 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33811 [cross-compiling] (extra-libs): Likewise.
33812 [cross-compiling] (extra-libs-others): Likewise.
33813 [cross-compiling] (librpcsvc-routines): Likewise.
33814 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33815 [cross-compiling] (omit-deps): Likewise.
33816 (sunrpc-CPPFLAGS): New variable.
33817 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33818 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33819 (cross-rpcgen-objs): New variable.
33820 (extra-objs): Append $(cross-rpcgen-objs).
33821 ($(cross-rpcgen-objs)): New rule.
33822 ($(objpfx)cross-rpcgen): Likewise.
33823 (rpcgen-cmd): Define to use $(built-program-file). Expand
33825 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33826 ($(objpfx)x%.stmp): Likewise.
33827 * sunrpc/proto.h [IS_IN_build] (_): Define.
33828 [IS_IN_build] (_libc_intl_domainname): Likewise.
33830 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33832 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33833 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33834 and R_X86_64_TPOFF64.
33836 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33838 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33839 sysdeps/unix/sysv/syscalls.list.
33842 * sysdeps/unix/sysv/syscalls.list: Remove file.
33844 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33847 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33848 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33849 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33850 (__LC_IDENTIFICATION): Make these macros useful in #if
33851 expressions, as required by C99.
33853 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33855 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33856 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33859 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33861 * stdlib/longlong.h: Updated from GCC.
33863 2012-05-09 Andreas Jaeger <aj@suse.de>
33865 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33866 default is first entry.
33867 (run_mode): Set type.
33868 (main): Remove informal message about syslog.
33869 (options): Fix typo.
33872 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33875 (llrintf): Likewise.
33876 (llrint): Likewise.
33879 (nearbyint): Likewise.
33880 (nearbyintf): Likewise.
33882 2012-05-09 Andreas Jaeger <aj@suse.de>
33883 Pedro Alves <palves@redhat.com>
33885 * nscd/nscd.c (run_mode): Use enum.
33886 (main): Cleanup coding style issue.
33888 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33889 Andreas Jaeger <aj@suse.de>
33891 * nscd/nscd.c (go_background): Replaced with...
33892 (run_mode): ... this.
33893 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33894 (options): Add -F --foreground.
33895 (main): Implement it.
33896 (parse_opt): Parse it.
33898 2012-05-09 Andreas Jaeger <aj@suse.de>
33901 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33902 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33903 -Wconversion warning.
33904 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33907 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33909 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33911 (LC_ALL): Use macro-int-constant.
33912 (LC_COLLATE): Likewise.
33913 (LC_CTYPE): Likewise.
33914 (LC_MESSAGES): Likewise.
33915 (LC_MONETARY): Likewise.
33916 (LC_NUMERIC): Likewise.
33917 (LC_TIME): Likewise.
33918 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33919 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33920 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33921 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33923 [C99-based standards] (float_t): Expect type.
33924 [C99-based standards] (double_t): Expect type.
33925 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33927 [C99-based standards] (HUGE_VALL): Likewise.
33928 [C99-based standards] (INFINITY): Likewise.
33929 [C99-based standards] (NAN): Likewise.
33930 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33931 [C99-based standards] (FP_NAN): Likewise.
33932 [C99-based standards] (FP_NORMAL): Likewise.
33933 [C99-based standards] (FP_SUBNORMAL): Likewise.
33934 [C99-based standards] (FP_ZERO): Likewise.
33935 [C99-based standards] (FP_FAST_FMA): Use
33936 optional-macro-int-constant. Specify type. Require == 1.
33937 [C99-based standards] (FP_FAST_FMAF): Likewise.
33938 [C99-based standards] (FP_FAST_FMAL): Likewise.
33939 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33940 [C99-based standards] (FP_ILOGBNAN): Likewise.
33941 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33943 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33944 [C99-based standards] (math_errhandling): Specify type.
33945 [ISO99 || ISO11] (signgam): Do not allow.
33946 [non-C99-based standards] (copysignf): Do not allow.
33947 [non-C99-based standards] (exp2f): Likewise.
33948 [non-C99-based standards] (log2f): Likewise.
33949 [non-C99-based standards] (modff): Allow.
33950 [non-C99-based standards] (erff): Do not allow.
33951 [non-C99-based standards] (erfcf): Likewise.
33952 [non-C99-based standards] (gammaf): Likewise.
33953 [non-C99-based standards] (hypotf): Likewise.
33954 [non-C99-based standards] (j0f): Likewise.
33955 [non-C99-based standards] (j1f): Likewise.
33956 [non-C99-based standards] (jnf): Likewise.
33957 [non-C99-based standards] (lgammaf): Likewise.
33958 [non-C99-based standards] (tgammaf): Likewise.
33959 [non-C99-based standards] (y0f): Likewise.
33960 [non-C99-based standards] (y1f): Likewise.
33961 [non-C99-based standards] (ynf): Likewise.
33962 [non-C99-based standards] (isnanf): Likewise.
33963 [non-C99-based standards] (acoshf): Likewise.
33964 [non-C99-based standards] (asinhf): Likewise.
33965 [non-C99-based standards] (atanhf): Likewise.
33966 [non-C99-based standards] (cbrtf): Likewise.
33967 [non-C99-based standards] (expm1f): Likewise.
33968 [non-C99-based standards] (ilogbf): Likewise.
33969 [non-C99-based standards] (log1pf): Likewise.
33970 [non-C99-based standards] (logbf): Likewise.
33971 [non-C99-based standards] (nextafterf): Likewise.
33972 [non-C99-based standards] (remainderf): Likewise.
33973 [non-C99-based standards] (rintf): Likewise.
33974 [non-C99-based standards] (scalbf): Likewise.
33975 [non-C99-based standards] (copysignl): Likewise.
33976 [non-C99-based standards] (exp2l): Likewise.
33977 [non-C99-based standards] (log2l): Likewise.
33978 [non-C99-based standards] (modfl): Allow.
33979 [non-C99-based standards] (erfl): Do not allow.
33980 [non-C99-based standards] (erfcl): Likewise.
33981 [non-C99-based standards] (gammal): Likewise.
33982 [non-C99-based standards] (hypotl): Likewise.
33983 [non-C99-based standards] (j0l): Likewise.
33984 [non-C99-based standards] (j1l): Likewise.
33985 [non-C99-based standards] (jnl): Likewise.
33986 [non-C99-based standards] (lgammal): Likewise.
33987 [non-C99-based standards] (tgammal): Likewise.
33988 [non-C99-based standards] (y0l): Likewise.
33989 [non-C99-based standards] (y1l): Likewise.
33990 [non-C99-based standards] (ynl): Likewise.
33991 [non-C99-based standards] (isnanl): Likewise.
33992 [non-C99-based standards] (acoshl): Likewise.
33993 [non-C99-based standards] (asinhl): Likewise.
33994 [non-C99-based standards] (atanhl): Likewise.
33995 [non-C99-based standards] (cbrtl): Likewise.
33996 [non-C99-based standards] (expm1l): Likewise.
33997 [non-C99-based standards] (ilogbl): Likewise.
33998 [non-C99-based standards] (log1pl): Likewise.
33999 [non-C99-based standards] (logbl): Likewise.
34000 [non-C99-based standards] (nextafterl): Likewise.
34001 [non-C99-based standards] (remainderl): Likewise.
34002 [non-C99-based standards] (rintl): Likewise.
34003 [non-C99-based standards] (scalbl): Likewise.
34004 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34005 [non-C99-based standards] (FP_*): Do not allow.
34006 [C99-based standards] (FP_*): Change to
34007 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34008 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34010 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34011 (SIG_ERR): Likewise.
34012 [X/Open-based standards] (SIG_HOLD): Likewise.
34013 (SIG_IGN): Likewise.
34014 (SIGABRT): Use macro-int-constant. Specify type. Require
34016 (SIGFPE): Likewise.
34017 (SIGILL): Likewise.
34018 (SIGINT): Likewise.
34019 (SIGSEGV): Likewise.
34020 (SIGTER): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34024 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34027 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34028 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34029 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34031 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34034 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34038 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34039 [X/Open-based standards] (SIGTRAP): Likewise.
34040 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34041 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34042 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34043 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34044 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34047 2012-05-08 Ian Wienand <ianw@vmware.com>
34050 * time/tzset.c (__tzset_parse_tz): Update default rules for
34051 daylight time changes in the Energy Policy Act of 2005.
34053 2012-05-09 Andreas Jaeger <aj@suse.de>
34056 * elf/ldconfig.c (parse_conf): Change string to make clear that
34057 ldconfig only issued a warning if ld.so.conf does not exist.
34059 2012-05-08 David S. Miller <davem@davemloft.net>
34061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34062 movxtod instead of popping the value on the stack.
34064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34066 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34068 * config.h.in: Add HAVE_ARM_PCS_VFP.
34070 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34073 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34074 checking but the checks are disabled for any reason.
34076 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34078 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34079 and ELF64_R_TYPE with ELFW(R_TYPE).
34081 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34083 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34084 (ulimit): Likewise.
34086 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34087 (settimeofday): Likewise.
34089 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34091 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34092 a struct th_u2 inside the union, and move tu_block/tu_code into
34093 a new th_u3 union of tu_block/tu_code inside of that. Move
34094 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34095 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34096 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34097 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34098 (th_stuff): Change to th_u1.tu_stuff.
34100 (th_msg): Change to th_u1.th_u2.tu_data.
34102 2012-05-07 David S. Miller <davem@davemloft.net>
34104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34107 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34108 (SETUP_PIC_REG): Use it.
34109 (SETUP_PIC_REG_LEAF): Use it.
34111 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34115 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34117 (EXPL_FINITE): Likewise.
34118 (FLDLOG): Likewise.
34119 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34120 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34122 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34124 (EXPL_FINITE): Likewise.
34125 (FLDLOG): Likewise.
34126 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34127 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34129 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34130 test of -max_value argument for long double.
34131 * sysdeps/i386/fpu/libm-test-ulps: Update.
34132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34134 2012-05-06 David S. Miller <davem@davemloft.net>
34136 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34137 quad soft-float symbols whose references which are compiler
34139 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34141 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34145 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34147 (EXPL_FINITE): Likewise.
34148 (FLDLOG): Likewise.
34151 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34152 Adjust comments for base varying.
34153 (__expl_finite): Change alias to EXPL_FINITE.
34154 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34156 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34157 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34158 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34159 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34160 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34162 (EXPL_FINITE): Likewise.
34163 (FLDLOG): Likewise.
34166 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34167 Adjust comments for base varying.
34168 (__expl_finite): Change alias to EXPL_FINITE.
34169 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34174 * math/libm-test.inc (check_float_internal): Correct ulp
34175 calculation for subnormal expected results.
34177 2012-05-06 Andreas Jaeger <aj@suse.de>
34179 * Makeconfig (+math-flags): New, set to -frounding-math.
34180 (+cflags): Add +math-flags so that all of glibc gets compiled with
34183 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34185 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34187 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34193 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34194 (__ieee754_expl): Allow for and saturate large arguments.
34195 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34196 (u_threshold): Likewise.
34197 (__exp): Call __ieee754_exp before checking for overflow and
34199 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34200 (u_threshold): Likewise.
34201 (__expf): Call __ieee754_expf before checking for overflow and
34203 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34204 (u_threshold): Likewise.
34205 (__expl): Call __ieee754_expl before checking for overflow and
34207 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34208 (__ieee754_expl): Allow for and saturate large arguments.
34209 * math/libm-test.inc (exp_test): Add another test. Do not allow
34210 missing overflow exception on overflow.
34211 (expm1_test): Do not allow missing overflow exception on overflow.
34213 * sysdeps/i386/fpu/e_expl.c: Move to ...
34214 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34215 rather than using inline asm.
34216 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34217 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34218 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34220 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34223 (signal): Likewise.
34227 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34229 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34230 sysdeps/unix/common/syscalls.list.
34231 (fchmod): Likewise.
34232 (fchown): Likewise.
34233 (ftruncate): Likewise.
34234 (getrusage): Likewise.
34235 (gettimeofday): Likewise.
34236 (setpgid): Likewise.
34237 (setregid): Likewise.
34238 (setreuid): Likewise.
34239 (sigaction): Likewise.
34240 (truncate): Likewise.
34241 (vhangup): Likewise.
34242 * sysdeps/unix/common/syscalls.list: Remove file.
34243 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34244 * sysdeps/unix/sysv/linux/Implies: Likewise.
34246 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34248 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34250 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34254 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34257 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34260 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34263 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34266 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34269 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34272 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34276 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34280 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34283 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34287 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34291 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34293 * sysdeps/unix/common/bits/dirent.h: Remove file.
34294 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34296 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34297 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34298 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34299 * sysdeps/unix/bsd/isatty.c: Likewise.
34300 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34301 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34302 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34304 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34307 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34308 long double comparison inaccuracies.
34309 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34312 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34314 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34315 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34317 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34320 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34321 nonzero digits before rounding a hex value.
34322 * stdlib/tst-strtod.c (tests): Add another test.
34324 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34326 * sysdeps/s390/fpu/libm-test-ulps: Update.
34328 2012-05-03 Andreas Jaeger <aj@suse.de>
34330 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34331 does not get optimized out.
34332 (malloc_opt_barrier): New.
34334 2012-05-03 Andreas Jaeger <aj@suse.de>
34335 Roland McGrath <roland@hack.frob.com>
34337 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34338 intermediate file deletion.
34339 (generated): Add .symlist files.
34341 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34344 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34345 Redirect under this condition.
34346 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34347 [__USE_GNU] (__dprintf_chk): Not under this condition.
34348 [__USE_GNU] (__vdprintf_chk): Likewise.
34349 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34350 under this condition.
34351 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34352 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34353 [__USE_XOPEN2K8] (vdprintf): Likewise.
34354 [__USE_GNU] (__dprintf_chk): Not under this condition.
34355 [__USE_GNU] (__vdprintf_chk): Likewise.
34356 [__USE_GNU] (dprintf): Likewise.
34357 [__USE_GNU] (vdprintf): Likewise.
34359 2012-05-03 Roland McGrath <roland@hack.frob.com>
34361 * elf/Makefile (common-generated): Set this instead of generated for
34362 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34363 $(all-built-dso)-derived lists.
34365 2012-05-03 Andreas Jaeger <aj@suse.de>
34367 * sysdeps/i386/fpu/libm-test-ulps: Update.
34370 * FAQ.in: Likewise.
34371 * scripts/gen-FAQ.pl: Likewise.
34372 * manual/install.texi (Installation): Point to online location of
34374 * Makefile (files-for-dist): Remove FAQ.
34377 2012-05-02 Allan McRae <allan@archlinux.org>
34379 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34380 (LDFLAGS-reldepmod5.so): Likewise.
34381 (LDFLAGS-reldep6mod1.so): Likewise.
34382 (LDFLAGS-reldep6mod4.so): Likewise.
34383 (LDFLAGS-reldep8mod3.so): Likewise.
34384 (LDFLAGS-unload4mod1.so): Likewise.
34385 (LDFLAGS-unload4mod2.so): Likewise.
34386 (LDFLAGS-tst-initorder): Likewise.
34387 (LDFLAGS-tst-initordera2.so): Likewise.
34388 (LDFLAGS-tst-initordera3.so): Likewise.
34389 (LDFLAGS-tst-initordera4.so): Likewise.
34390 (LDFLAGS-tst-initorderb2.so): Likewise.
34391 (LDFLAGS-noload): Likewise.
34392 (LDFLAGS-next): Likewise.
34393 (LDFLAGS-order2mod1.so): Likewise.
34394 (LDFLAGS-order2mod2.so): Likewise.
34395 (LDFLAGS-tst-initorder2): Likewise.
34396 (LDFLAGS-tst-initorder2a.so): Likewise.
34397 (LDFLAGS-tst-initorder2b.so): Likewise.
34398 (LDFLAGS-tst-initorder2c.so): Likewise.
34399 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34401 2012-05-02 David S. Miller <davem@davemloft.net>
34403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34405 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34408 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34410 2012-05-02 Andreas Jaeger <aj@suse.de>
34412 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34413 since we manipulate rounding mode.
34414 (CPPFLAGS-test-idouble.c): Likewise.
34415 (CPPFLAGS-test-ifloat.c): Likewise.
34416 (CFLAGS-test-ldouble.c): Likewise.
34417 (CFLAGS-test-double.c): Likewise.
34418 (CFLAGS-test-float.c): Likewise.
34419 (CFLAGS-test-misc.c): Likewise.
34420 (CFLAGS-test-test-fenv.c): Likewise.
34422 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34426 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34427 comparisons to determine direction to adjust input.
34429 2012-05-01 Roland McGrath <roland@hack.frob.com>
34431 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34432 output to the target.
34434 * scripts/localplt.awk: New file.
34435 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34436 (check-localplt-CFLAGS): Variable removed.
34437 ($(all-built-dso:=.jmprel)): New static pattern rule.
34438 (generated): Add those targets.
34439 (localplt-built-dso): New variable.
34440 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34442 * elf/check-localplt.c: File removed.
34444 * scripts/check-execstack.awk: New file.
34445 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34446 (check-execstack-CFLAGS): Variable removed.
34447 ($(objpfx)check-execstack.h): Target removed.
34448 ($(objpfx)execstack-default): New target.
34449 (generated): Add that instead of check-execstack.h.
34450 ($(all-built-dso:=.phdr)): New static pattern rule.
34451 (generated): Add those targets.
34452 * elf/check-execstack.c: File removed.
34454 * scripts/check-textrel.awk: New file.
34455 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34456 (check-textrel-CFLAGS): Variable removed.
34457 (all-built-dso): Use := to define.o
34458 ($(all-built-dso:=.dyn)): New static pattern rule.
34459 (generated): Add those targets.
34460 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34461 * config.make.in (READELF): New substituted variable.
34462 * elf/check-textrel.c: File removed.
34464 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34466 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34468 * conform/data/ctype.h-data [C99-based standards] (isblank):
34470 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34471 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34472 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34473 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34474 Specify type. Require positive value.
34475 (EILSEQ): Likewise.
34476 (ERANGE): Likewise.
34477 [ISO || POSIX] (EILSEQ): Do not expect.
34478 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34479 Specify type. Require positive value.
34480 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34481 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34482 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34483 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34484 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34485 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34486 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34487 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34488 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34489 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34490 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34491 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34492 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34493 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34494 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34495 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34496 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34497 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34498 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34499 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34500 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34501 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34502 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34503 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34504 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34505 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34506 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34507 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34508 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34509 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34510 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34511 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34512 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34513 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34514 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34515 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34516 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34517 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34518 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34519 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34520 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34521 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34522 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34523 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34524 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34525 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34526 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34527 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34528 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34529 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34530 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34531 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34532 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34533 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34534 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34535 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34536 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34537 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34538 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34539 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34540 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34541 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34542 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34543 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34544 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34545 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34546 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34547 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34548 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34549 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34550 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34551 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34552 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34553 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34554 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34555 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34556 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34558 (FLT_ROUNDS): Expect as macro, not constant.
34559 (FLT_MANT_DIG): Use macro-int-constant.
34560 (DBL_MANT_DIG): Likewise.
34561 (LDBL_MANT_DIG): Likewise.
34562 (FLT_DIG): Likewise.
34563 (DBL_DIG): Likewise.
34564 (LDBL_DIG): Likewise.
34565 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34566 (DBL_MIN_EXP): Likewise.
34567 (LDBL_MIN_EXP): Likewise.
34568 (FLT_MAX_EXP): Use macro-int-constant.
34569 (DBL_MAX_EXP): Likewise.
34570 (LDBL_MAX_EXP): Likewise.
34571 (FLT_MAX_10_EXP): Likewise.
34572 (DBL_MAX_10_EXP): Likewise.
34573 (LDBL_MAX_10_EXP): Likewise.
34574 (FLT_MAX): Use macro-constant.
34575 (DBL_MAX): Likewise.
34576 (LDBL_MAX): Likewise.
34577 (FLT_EPSILON): Use macro-constant. Give upper bound.
34578 (DBL_EPSILON): Likewise.
34579 (LDBL_EPSILON): Likewise.
34580 (FLT_MIN): Likewise.
34581 (DBL_MIN): Likewise.
34582 (LDBL_MIN): Likewise.
34583 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34584 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34585 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34586 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34587 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34588 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34589 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34590 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34591 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34592 [ISO11] (FLT_TRUE_MIN): Likewise.
34593 [ISO11] (LDBL_TRUE_MIN): Likewise.
34594 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34595 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34596 (SCHAR_MIN): Use macro-int-constant. Specify type.
34597 (SCHAR_MAX): Likewise.
34598 (UCHAR_MAX): Likewise.
34599 (CHAR_MIN): Likewise.
34600 (CHAR_MAX): Likewise.
34601 (MB_LEN_MAX): Use macro-int-constant.
34602 (SHRT_MIN): Use macro-int-constant. Specify type.
34603 (SHRT_MAX): Likewise.
34604 (USHRT_MAX): Likewise.
34605 (INT_MAX): Likewise.
34606 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34608 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34610 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34612 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34613 bound negative. Suffix upper bound with "L".
34614 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34616 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34618 [C99-based standards] (LLONG_MAX): Likewise.
34619 [C99-based standards] (ULLONG_MAX): Likewise.
34620 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34622 [ISO11] (max_align_t): Require type.
34623 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34625 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34626 from $CFLAGS, without defining away __attribute__ calls.
34627 (checknamespace): Use $CFLAGS_namespace.
34629 * conform/conformtest.pl (@keywords): Only include C99 keywords
34630 for standards based on C99 or C11.
34632 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34634 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34637 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34638 usability of symbols in #if.
34640 * conform/conformtest.pl: If macro or constant types start
34641 "promoted:", expect the symbol to be of the following type
34642 promoted by the integer promotions.
34644 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34645 in one place. Also handle "macro-constant".
34647 * conform/conformtest.pl: Only accept expected macro values with
34648 "==". Parse all "macro" lines in one place.
34649 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34651 * conform/conformtest.pl: Handle braced types on "constant" lines
34652 instead of handling "typed-constant".
34653 * conform/data/signal.h-data: Use "constant" instead of
34656 * conform/conformtest.pl: Handle "optional-" at start of lines in
34657 one place rather than duplicating several cases. Handle each
34658 format of "macro" line with initial "optional-".
34660 * conform/conformtest.pl: Only accept expected constant or
34661 optional-constant values with "==". Parse all "constant" lines in
34662 one place. Parse all "optional-constant" lines in one place.
34663 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34664 * conform/data/fmtmsg.h-data: Likewise.
34665 * conform/data/netinet/in.h-data: Likewise.
34666 * conform/data/tar.h-data: Likewise.
34667 * conform/data/limits.h-data: Use "==" form on "constant" and
34668 "optional-constant" lines.
34670 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34671 Use -std=c99 for XOPEN2K.
34672 (@knownproblems): Remove.
34673 (newtoken): Don't check %isknown.
34675 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34676 Do not expect macro.
34677 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34678 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34679 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34680 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34681 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34682 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34683 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34684 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34685 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34686 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34687 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34688 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34689 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34690 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34691 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34692 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34693 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34694 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34695 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34696 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34697 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34698 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34699 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34700 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34701 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34702 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34703 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34704 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34705 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34706 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34707 [XPG3] (acosh): Likewise.
34708 [XPG3] (asinh): Likewise.
34709 [XPG3] (atanh): Likewise.
34710 [XPG3] (cbrt): Likewise.
34711 [XPG3] (expm1): Likewise.
34712 [XPG3] (ilogb): Likewise.
34713 [XPG3] (log1p): Likewise.
34714 [XPG3] (logb): Likewise.
34715 [XPG3] (nextafter): Likewise.
34716 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34717 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34718 [XPG3] (remainder): Likewise.
34719 [XPG3] (rint): Likewise.
34720 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34721 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34722 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34723 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34724 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34725 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34726 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34727 [UNIX98 || XOPEN2K] (scalb): Expect.
34728 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34729 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34730 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34731 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34732 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34733 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34734 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34735 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34736 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34737 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34738 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34739 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34740 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34741 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34742 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34743 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34744 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34745 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34746 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34747 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34748 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34749 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34750 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34751 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34752 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34753 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34754 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34755 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34756 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34757 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34758 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34759 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34760 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34761 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34762 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34763 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34764 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34765 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34766 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34767 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34768 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34769 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34770 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34771 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34772 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34773 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34774 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34775 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34776 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34777 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34778 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34779 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34780 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34781 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34782 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34783 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34784 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34785 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34786 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34787 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34788 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34789 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34790 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34791 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34792 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34793 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34794 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34795 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34796 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34797 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34798 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34799 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34800 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34801 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34802 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34803 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34804 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34805 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34806 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34807 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34808 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34809 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34810 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34811 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34812 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34813 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34814 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34815 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34816 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34817 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34818 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34819 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34820 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34821 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34822 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34823 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34824 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34825 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34826 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34827 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34828 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34829 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34830 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34831 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34832 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34833 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34834 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34835 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34836 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34837 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34838 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34839 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34840 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34841 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34842 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34843 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34844 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34845 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34846 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34847 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34848 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34849 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34850 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34851 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34852 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34853 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34854 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34855 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34856 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34857 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34858 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34859 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34860 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34861 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34862 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34863 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34864 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34866 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34867 _XOPEN_SOURCE_EXTENDED for XPG4.
34869 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34871 * Makeconfig (localtime): Remove variable.
34872 (inst_localtime-file): Likewise.
34874 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34895 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34899 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34900 comparisons to determine direction to adjust input.
34901 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34902 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34903 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34905 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34907 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34909 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34910 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34912 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34914 * math/libm-test.inc (nexttoward_test): Add more tests.
34916 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34919 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34920 in version GLIBC_2.1, not GLIBC_2.0.
34921 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34924 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34927 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34929 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34930 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34931 * math/libm-test.inc (acos_test): Add more tests.
34932 (asin_test): Likewise.
34933 * sysdeps/i386/fpu/libm-test-ulps: Update.
34934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34937 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34939 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34940 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34941 * math/libm-test.inc (acos_test_tonearest): New function.
34942 (acos_test_towardzero): Likewise.
34943 (acos_test_downward): Likewise.
34944 (acos_test_upward): Likewise.
34945 (asin_test_tonearest): Likewise.
34946 (asin_test_towardzero): Likewise.
34947 (asin_test_downward): Likewise.
34948 (asin_test_upward): Likewise.
34949 (main): Call the new functions.
34950 * sysdeps/i386/fpu/libm-test-ulps: Update.
34951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34955 * math/e_exp10.c: Include <float.h>.
34956 (__ieee754_exp10): Handle underflow here rather than multiplying
34957 large negative argument by M_LN10.
34958 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34960 * math/e_exp10l.c: Include <float.h>.
34961 (__ieee754_exp10l): Handle underflow here rather than multiplying
34962 large negative argument by M_LN10l.
34963 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34964 spurious overflow exception on underflow.
34966 2012-04-29 Marek Polacek <polacek@redhat.com>
34968 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34969 (__fortify_function): New macro.
34970 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34971 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34972 __extern_always_inline.
34973 * libio/bits/stdio2.h: Likewise.
34974 * libio/bits/stdio.h: Likewise.
34975 * string/string.h: Likewise.
34976 * string/bits/string3.h: Likewise.
34977 * include/stdio.h: Likewise.
34978 * stdlib/bits/stdlib.h: Likewise.
34979 * stdlib/stdlib.h: Likewise.
34980 * rt/bits/mqueue2.h: Likewise.
34981 * rt/mqueue.h: Likewise.
34982 * posix/bits/unistd.h: Likewise.
34983 * posix/unistd.h: Likewise.
34984 * io/bits/poll2.h: Likewise.
34985 * io/bits/fcntl2.h: Likewise.
34986 * io/fcntl.h: Likewise.
34987 * io/sys/poll.h: Likewise.
34988 * misc/bits/syslog.h: Likewise.
34989 * misc/bits/syslog-ldbl.h: Likewise.
34990 * misc/sys/syslog.h: Likewise.
34991 * socket/bits/socket2.h: Likewise.
34992 * socket/sys/socket.h: Likewise.
34993 * debug/tst-chk1.c: Likewise.
34994 * wcsmbs/bits/wchar2.h: Likewise.
34995 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34996 * wcsmbs/wchar.h: Likewise.
34998 2012-04-29 Andreas Jaeger <aj@suse.de>
35000 * Makerules (tests): Remove enable-check-abi protection.
35001 (check-abi-warn): Remove.
35002 (check-abi-%): Remove check-abi-warn usage.
35004 * configure.in: Remove check-abi configure option.
35005 * configure: Regenerated.
35006 * config.make.in (enable-check-abi): Remove.
35008 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35011 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35012 double functions to double *_finite functions.
35015 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35016 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35018 * stdio-common/Makefile (tests): Add tst-sprintf3.
35019 * stdio-common/tst-sprintf3.c: New file.
35021 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35022 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35024 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35026 * conform/conformtest.pl: Remove duplicate typed-constant
35029 2012-04-28 David S. Miller <davem@davemloft.net>
35031 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35032 (check-abi-%): Remove AWK script prerequisite and explicit
35034 (check-abi): Rewrite to just diff the symlist with the abilist.
35035 (config-tls, config-abi-config): Delete, no longer used.
35036 (update-abi-%): Remove AWK script and explicit abilist directory.
35037 (update-abi): Rewrite to simply compare and conditionally copy the
35038 symlist and the sysdep abilist file. Remove update-abi-config
35040 * abilist/ld.abilist: Remove.
35041 * abilist/libBrokenLocale.abilist: Remove.
35042 * abilist/libanl.abilist: Remove.
35043 * abilist/libcrypt.abilist: Remove.
35044 * abilist/libdl.abilist: Remove.
35045 * abilist/librt.abilist: Remove.
35046 * abilist/libthread_db.abilist: Remove.
35047 * abilist/libutil.abilist: Remove.
35048 * scripts/extract-abilist.awk: Remove.
35049 * scripts/merge-abilist.awk: Remove.
35050 * sysdeps/generic/libcidn.abilist: New file.
35051 * sysdeps/generic/libnss_compat.abilist: New file.
35052 * sysdeps/generic/libnss_db.abilist: New file.
35053 * sysdeps/generic/libnss_dns.abilist: New file.
35054 * sysdeps/generic/libnss_files.abilist: New file.
35055 * sysdeps/generic/libnss_hesiod.abilist: New file.
35056 * sysdeps/generic/libnss_nis.abilist: New file.
35057 * sysdeps/generic/libnss_nisplus.abilist: New file.
35058 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35059 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35060 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35062 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35063 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35064 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35065 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35066 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35067 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35068 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35069 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35070 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35072 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35073 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35074 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35075 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35077 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35078 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35079 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35080 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35081 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35082 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35084 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35085 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35086 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35088 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35191 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35192 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35193 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35195 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35196 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35197 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35198 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35199 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35200 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35201 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35202 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35203 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35204 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35256 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35258 * conform/conformtest.pl: Fix typo in handling typed-constant from
35261 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35263 * README: Cut down references to pre-2.6 Linux kernels and
35264 Linuxthreads. Update lists of configurations in libc and ports
35265 and sort alphabetically. Say "or newer" with Linux kernel version
35268 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35270 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35273 * math/libm-test.inc (logb_test_downward): New test to expose
35274 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35277 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35280 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35282 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35283 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35285 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35287 * sysdeps/unix/i386/brk.S: Remove file.
35288 * sysdeps/unix/i386/dl-brk.S: Likewise.
35289 * sysdeps/unix/i386/pipe.S: Likewise.
35290 * sysdeps/unix/i386/sigreturn.S: Likewise.
35291 * sysdeps/unix/i386/syscall.S: Likewise.
35292 * sysdeps/unix/i386/vfork.S: Likewise.
35293 * sysdeps/unix/i386/wait.S: Likewise.
35295 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35296 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35298 * configure.in (arm*-none*): Do not allow without
35299 --enable-hacker-mode.
35300 (netbsd*): Remove case setting base_os.
35301 (386bsd*): Likewise.
35302 (freebsd*): Likewise.
35305 (sunos*): Likewise.
35306 (ultrix*): Likewise.
35307 (newsos*): Likewise.
35308 (dynix*): Likewise.
35314 (minix*): Likewise.
35315 (irix4*): Likewise.
35316 (irix6*): Likewise.
35317 (solaris[2-9]*): Likewise.
35319 * configure: Regenerated.
35321 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35324 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35325 overflow or cancellation in calculating denominator.
35326 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35327 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35328 down expression to avoid unexpected rounding in newer GCCs.
35329 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35331 2012-04-26 David S. Miller <davem@davemloft.net>
35333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35334 long-double compat symbols.
35335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35349 2012-04-25 David S. Miller <davem@davemloft.net>
35351 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35352 HWCAP_* values only after the memory barriers have been defined.
35353 (atomic_full_barrier): Define.
35354 (atomic_read_barrier): Define.
35355 (atomic_write_barrier): Define.
35357 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35359 * shlib-versions: Add libgcc_s version information.
35360 * sysdeps/generic/libgcc_s.h: Remove.
35361 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35363 * sysdeps/gnu/unwind-resume.c: Likewise.
35364 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35366 2012-04-25 David S. Miller <davem@davemloft.net>
35368 * sysdeps/unix/sparc/brk.S: Delete.
35369 * sysdeps/unix/sparc/dl-brk.S: Delete.
35370 * sysdeps/unix/sparc/pipe.S: Delete.
35371 * sysdeps/unix/sparc/sysdep.S: Delete.
35372 * sysdeps/unix/sparc/sysdep.h: Delete.
35373 * sysdeps/unix/sparc/vfork.S: Delete.
35374 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35375 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35376 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35377 (ret_ERRVAL, r0, r1, MOVE): Define.
35378 (JUMPTARGET): Remove.
35379 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35380 sysdeps/unix/sparc/sysdep.h
35381 (ENTRY, END): Remove.
35382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35384 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35386 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35387 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35390 * timezone/README: Update upstream location and email address for
35392 * timezone/zdump.c: Update from tzcode 2012b.
35393 * timezone/zic.c: Likewise.
35395 * configure.in (libc_cv_as_needed): Remove test.
35396 * configure: Regenerated.
35397 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35398 conditional definition.
35399 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35400 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35401 * config.make.in (have-as-needed): Remove variable.
35403 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35404 Paul Pluzhnikov <ppluzhnikov@google.com>
35406 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35409 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35411 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35412 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35413 * sysdeps/sh/strlen.S: Likewise.
35415 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35417 * sysdeps/unix/fork.S: Remove file.
35418 * sysdeps/unix/i386/fork.S: Likewise.
35419 * sysdeps/unix/sparc/fork.S: Likewise.
35421 * sysdeps/unix/system.c: Remove file.
35422 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35424 * sysdeps/unix/getegid.S: Remove file.
35425 * sysdeps/unix/geteuid.S: Likewise.
35427 2012-04-24 Roland McGrath <roland@hack.frob.com>
35429 * scripts/check-localplt.awk: New file.
35430 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35432 * scripts/data/localplt-generic.data: Add a comment.
35434 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35435 NODE when __dir_mkfile failed.
35436 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35437 Reported by Ludovic Courtès <ludo@gnu.org>.
35439 2012-04-24 Andreas Jaeger <aj@suse.de>
35441 * Makerules (common-clean): Also remove gen-as-const-headers
35444 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35446 * Makerules (native-compile): Do not change working directory for
35447 build. Use $(OUTPUT_OPTION) in command.
35448 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35450 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35453 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35454 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35455 * math/libm-test.inc (floor_test): Add more tests.
35456 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35458 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35460 * sysdeps/unix/getdents.c: Remove file.
35461 * sysdeps/unix/sysv/getdents.c: Likewise.
35462 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35464 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35465 sysdeps/unix/mman/syscalls.list.
35467 (mprotect): Likewise.
35469 (munmap): Likewise.
35470 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35471 * sysdeps/unix/mman/syscalls.list: Remove.
35472 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35474 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35475 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35476 * configure: Regenerated.
35477 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35478 $(libgcc_s_suffix).
35479 * config.make.in (libgcc_s_suffix): Remove variable.
35481 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35483 * sysdeps/unix/sysv/gethostname.c: Move to ...
35484 * sysdeps/posix/gethostname.c: ... here.
35486 * sysdeps/unix/execve.S: Remove file.
35488 * sysdeps/unix/_exit.S: Remove file.
35490 2012-04-23 Andreas Jaeger <aj@suse.de>
35493 * manual/Makefile: Remove make dist support, there's no
35494 need for a stand-alone documentation tar ball.
35495 (TEXI2DVI): Define always, it's not in Makeconfig.
35498 (edition): Removed.
35499 (glibc-doc-$(edition).tar): Removed
35503 (ETAGS): Remove, it's in Makeconfig.
35504 (move-if-change): Remove, it's in Makeconfig.
35506 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35509 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35510 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35511 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35512 (strtod_l, strtof_l, strtold_l): Remove __wur.
35513 It is not necessarily an error to ignore strtol's return value.
35514 One can reliably look at the stored endptr to decide whether
35515 the number had valid syntax.
35517 2012-04-21 Andreas Jaeger <aj@suse.de>
35520 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35522 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35524 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35525 * sysdeps/unix/sysv/Versions: Remove file.
35527 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35532 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35535 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35536 version from __vm86.
35538 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35540 * sysdeps/unix/common/lxstat.c: Remove file.
35541 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35543 * sysdeps/unix/sysv/Makefile: Remove file.
35545 * sysdeps/unix/sysv/direct.h: Remove file.
35547 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35548 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35549 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35550 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35551 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35552 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35553 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35555 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35557 * sysdeps/unix/xmknod.c: Remove file.
35558 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35560 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35562 * sysdeps/unix/sysv/i386/time.S: Remove file.
35564 * sysdeps/unix/fxstat.c: Remove file.
35565 * sysdeps/unix/xstat.c: Likewise.
35566 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35568 * sysdeps/unix/sysv/sigaction.c: Remove file.
35570 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35571 (sysdep_headers): Remove variable.
35572 [termio.h not in sysdep_headers] (generated): Likewise.
35573 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35574 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35575 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35576 * sysdeps/unix/sysv/tcflow.c: Likewise.
35577 * sysdeps/unix/sysv/tcflush.c: Likewise.
35578 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35579 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35580 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35581 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35582 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35584 * sysdeps/unix/siglist.c: Remove file.
35586 * sysdeps/unix/getppid.S: Remove file.
35588 * sysdeps/unix/mkdir.c: Remove file.
35589 * sysdeps/unix/rmdir.c: Likewise.
35591 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35593 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35595 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35596 errlist-compat value.
35598 2012-04-18 David S. Miller <davem@davemloft.net>
35600 * sysdeps/generic/memcopy.h (reg_char): Delete.
35601 * debug/strcat_chk.c: Use char, not reg_char.
35602 * debug/strcpy_chk.c: Likewise.
35603 * debug/strncat_chk.c: Likewise.
35604 * debug/strncpy_chk.c: Likewise.
35605 * string/memchr.c: Likewise.
35606 * string/memrchr.c: Likewise.
35607 * string/rawmemchr.c: Likewise.
35608 * string/strcat.c: Likewise.
35609 * string/strchr.c: Likewise.
35610 * string/strchrnul.c: Likewise.
35611 * string/strcmp.c: Likewise.
35612 * string/strcpy.c: Likewise.
35613 * string/strncat.c: Likewise.
35614 * string/strncmp.c: Likewise.
35615 * string/strncpy.c: Likewise.
35617 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35619 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35620 __builtin_memcopy is called when src and dest ranges are known to not
35623 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35625 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35626 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35627 fwd_align_merge macro call.
35628 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35629 bwd_align_merge macro call.
35630 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35632 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35634 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35635 bwd_align_merge macros.
35636 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35637 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35638 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35640 2012-04-18 David S. Miller <davem@davemloft.net>
35642 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35644 2012-04-18 Andreas Jaeger <aj@suse.de>
35647 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35648 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35649 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35651 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35652 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35653 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35655 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35656 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35657 Adjust for changed ldbl-128 files.
35659 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35660 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35661 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35663 2012-04-17 David S. Miller <davem@davemloft.net>
35665 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35667 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35669 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35670 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35671 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35672 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35673 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35674 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35676 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35679 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35680 * math/libm-test.inc: Add ilogb errno and exception tests.
35681 * math/w_ilogb.c: New file: ilogb wrapper.
35682 * math/w_ilogbf.c: New file: ilogbf wrapper.
35683 * math/w_ilogbl.c: New file: ilogbl wrapper.
35684 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35685 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35686 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35687 exception being thrown with 0.0 as argument.
35688 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35689 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35690 exception being thrown with 0.0 as argument.
35691 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35692 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35693 exception being thrown with 0.0 as argument.
35694 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35695 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35696 exception being thrown with 0.0 as argument.
35697 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35698 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35699 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35700 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35701 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35702 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35703 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35704 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35705 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35707 2012-04-17 Petr Baudis <pasky@ucw.cz>
35709 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35712 2012-04-16 Marek Polacek <polacek@redhat.com>
35714 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35716 2012-04-16 Marek Polacek <polacek@redhat.com>
35718 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35719 operands of fdivp instruction.
35721 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35723 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35724 * elf/tst-auditmod3b.c: Likewise.
35725 * elf/tst-auditmod4b.c: Likewise.
35726 * elf/tst-auditmod5b.c: Likewise.
35727 * elf/tst-auditmod6b.c: Likewise.
35728 * elf/tst-auditmod6c.c: Likewise.
35729 * elf/tst-auditmod7b.c: Likewise.
35730 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35731 * sysdeps/x86_64/preconfigure.in: Likewise.
35732 * sysdeps/x86_64/preconfigure: Regenerated.
35734 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35736 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35739 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35741 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35742 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35744 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35747 * locale/iso-639.def: Fix gl language name. Spotted by
35750 2012-04-12 Roland McGrath <roland@hack.frob.com>
35753 * libio/libio.h (__io_write_fn): Update comment.
35755 2012-04-12 Petr Baudis <pasky@ucw.cz>
35758 * stdio.texi (Hook Functions): The user provided writer function
35759 is not allowed to return -1.
35761 2012-04-11 David S. Miller <davem@davemloft.net>
35763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35765 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35767 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35768 Add a leading slash to rtkaio.
35770 2012-04-11 Jim Meyering <meyering@redhat.com>
35773 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35774 It is not necessarily an error to ignore fwrite's return
35775 value. One can reliably use ferror to test for errors after
35778 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35780 * bits/types.h (__snseconds_t): New type.
35781 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35783 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35785 (__SNSECONDS_T_TYPE): Likewise.
35786 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35787 (__SNSECONDS_T_TYPE): Likewise.
35788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35789 (__SNSECONDS_T_TYPE): Likewise.
35791 2012-04-10 Andreas Jaeger <aj@suse.de>
35794 * manual/time.texi (Processor Time): Return type of times is
35795 elapsed real time since an arbitrary point in the past.
35796 (CPU Time): Move CLK_TCK from here...
35797 (Processor Time): ...to here. Correct description.
35798 * manual/conf.texi (Constants for Sysconf): Correct description of
35801 2012-04-10 David S. Miller <davem@davemloft.net>
35804 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35805 where the is a gap between DT_REL(A) and DT_JMPREL.
35807 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35809 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35810 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35811 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35813 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35815 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35816 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35817 (dl_main): Handle --inhibit-cache.
35818 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35820 * elf/dl-load.c (_dl_map_object): Use it.
35821 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35823 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35826 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35827 (__ieee754_powl): Saturate large exponents rather than testing for
35828 overflow of y*log2(x).
35829 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35830 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35834 * math/s_ctan.c: Include <float.h>.
35835 (__ctan): Avoid internal overflow or cancellation in calculating
35837 * math/s_ctanf.c: Likewise.
35838 * math/s_ctanl.c: Likewise.
35839 * math/s_ctanh.c: Likewise.
35840 * math/s_ctanhf.c: Likewise.
35841 * math/s_ctanhl.c: Likewise.
35842 * math/libm-test.inc (ctan_test): Add more tests.
35843 (ctanh_test): Likewise.
35844 * sysdeps/i386/fpu/libm-test-ulps: Update.
35845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35847 2012-04-09 Andreas Jaeger <aj@suse.de>
35850 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35851 is an optional BSD extension.
35854 * manual/stdio.texi (Opening Streams): Document additional fopen
35857 2012-04-09 Roland McGrath <roland@hack.frob.com>
35859 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35860 %eax without telling the compiler.
35862 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35865 * manual/install.texi: Use sourceware.org.
35867 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35870 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35871 (__ieee754_pow): Generate overflow and underflow using huge*huge
35872 and tiny*tiny rather than just returning constant infinity or zero
35873 for large exponents.
35874 * math/libm-test.inc (pow_test): Require overflow exceptions for
35875 applicable cases of large exponents.
35878 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35879 (__ieee754_pow): Use iterative multiplication algorithm only for
35880 integer exponents with absolute value below 1024. Check for odd
35881 integer exponents when using algorithm for real exponents.
35882 * math/libm-test.inc (pow_test): Add more tests.
35883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35885 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35888 * math/libm-test.inc (exp_test): Do not allow overflow exception
35891 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35894 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35895 instead of __kernel_standard_f.
35897 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35899 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35900 * sysdeps/x86_64/memset_chk.S: Likewise.
35902 2012-04-08 Andreas Jaeger <aj@suse.de>
35905 * manual/startup.texi (Environment Access): Describe return value
35906 for putenv and setenv.
35909 * manual/filesys.texi (Directory Entries): Add description for
35913 * manual/filesys.texi (Directory Entries): Clarify that it's file
35914 system not operating system in the description of DT_UNKNOWN.
35917 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35919 2012-04-08 Stephen Compall <s11@member.fsf.org>
35922 * manual/llio.texi (Opening and Closing Files): Add cross
35923 reference to explain mode argument.
35925 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35927 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35928 * sysdeps/x86_64/memset_chk.S: Likewise.
35930 2012-04-07 David S. Miller <davem@davemloft.net>
35932 * elf/elf.h (R_SPARC_WDISP10): Define.
35933 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35935 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35936 R_SPARC_SIZE64 and R_SPARC_H34.
35938 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35940 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35941 conditions and remove no longer applicable assertion.
35943 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35945 * bits/byteswap.h: Include <features.h>.
35946 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35947 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35949 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35951 * bits/byteswap.h (__bswap_16): Removed.
35952 Include <bits/byteswap-16.h> to get __bswap_16.
35953 * sysdeps/i386/bits/byteswap.h: Likewise.
35954 * sysdeps/s390/bits/byteswap.h: Likewise.
35955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35956 * bits/byteswap-16.h: New file.
35957 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35958 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35959 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35960 * string/Makefile (headers): Add bits/byteswap-16.h.
35962 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35965 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35967 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35968 * nss/tst-nss-static.c: New.
35970 2012-04-06 Robert Millan <rmh@gnu.org>
35973 * manual/llio.texi (File Position Primitive): lseek
35974 refers to WHENCE when it really means OFFSET.
35976 2012-04-06 Andreas Jaeger <aj@suse.de>
35978 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35979 strncmp declarations.
35981 * abilist/libc.abilist: Add __poll and __ppoll.
35983 2012-04-05 David S. Miller <davem@davemloft.net>
35985 * scripts/check-local-headers.sh: Accept a host triplet in the
35986 path matched by the exclude regexp.
35988 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35990 * sysdeps/powerpc/powerpc32/dl-machine.h
35991 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35992 * sysdeps/s390/s390-32/dl-machine.h
35993 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35994 * sysdeps/sparc/sparc32/dl-machine.h
35995 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35996 * sysdeps/sparc/sparc64/dl-machine.h
35997 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35999 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36001 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36002 undefined symbol errors.
36004 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36007 2012-04-05 Michael Matz <matz@suse.de>
36010 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36012 2012-04-05 Andreas Jaeger <aj@suse.de>
36015 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36018 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36020 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36021 which ROUND is no valid rounding mode.
36023 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36025 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36027 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36029 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36031 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36032 an exception using FPU order intentionally.
36034 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36036 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36037 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36038 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36039 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36041 2012-04-05 Simon Josefsson <simon@josefsson.org>
36044 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36045 EINVAL when BUFLEN is too smal.
36047 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36050 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36051 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36053 2012-04-03 Andreas Jaeger <aj@suse.de>
36056 * manual/setjmp.texi (System V contexts): Fix sentence.
36059 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36060 New macro for this case.
36061 [!__GNUC__] (__bswap_64): New inline function for this case.
36062 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36063 * bits/byteswap.h: Likewise.
36064 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36065 ull, guard with __GLIBC_HAVE_LONG_LONG.
36067 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36068 __GLIBC_HAVE_LONG_LONG.
36070 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36071 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36073 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36076 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36077 inptr and inend, rather than using last_ch.
36079 2012-04-02 David S. Miller <davem@davemloft.net>
36081 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36082 * stdio-common/printf-parse.h (read_int): Change return type to
36083 'int', return -1 on INT_MAX overflow.
36084 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36085 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36086 overflows INT_MAX. Check for overflow of in-format-string precision
36087 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36088 SIZE_MAX not INT_MAX for integer overflow test.
36089 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36090 skip the construct in the format string but do not record anything.
36091 * stdio-common/bug22.c: Adjust to test both width/prevision
36092 INT_MAX overflow as well as total length INT_MAX overflow. Check
36093 explicitly for proper errno values.
36095 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36097 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36099 * string/test-strcmp.c [! WIDE]: Likewise.
36100 * time/tst-mktime2.c: Likewise for INT_MAX.
36101 * string/test-string.h: #include <sys/param.h> for MIN.
36103 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36104 * sysdeps/i386/init-first.c (init): Likewise.
36105 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36106 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36107 * sysdeps/sh/init-first.c (init): Likewise.
36109 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36111 * po/ru.po: Update from translation team.
36112 * po/vi.po: Likewise.
36114 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36116 * resolv/nss_dns/dns-host.c: Merge copyright years.
36118 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36120 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36121 Optimize memcpy with prefetch if
36122 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36123 src, dst pointers have unequal 16 byte alignments.
36125 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36128 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36129 from a CNAME entry and return the minimum ttl for the query.
36130 (gaih_getanswer_slice): Likewise.
36132 2012-03-30 Jeff Law <law@redhat.com>
36134 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36136 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36137 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36139 * resolv/nss_dns/dns-host.c: Update copyright year.
36141 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36143 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36144 requests to save a system call. Fix check that all bytes are sent.
36146 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36147 comments for sendmmsg.
36149 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36152 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36153 with only 1 character between 0x0041 and 0x01b0.
36154 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36155 * wcsmbs/tst-mbsnrtowcs.c: New file.
36157 2012-03-29 David S. Miller <davem@davemloft.net>
36159 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36160 small copies by hand.
36162 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36165 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36166 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36169 2012-03-28 David S. Miller <davem@davemloft.net>
36171 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36172 that branches into memcpy.
36173 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36174 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36175 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36176 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36177 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36179 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36180 implementation too.
36181 * sysdeps/sparc/mempcpy.S: New file.
36183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36184 the IFUNC routine in the libc case.
36185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36187 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36188 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36189 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36190 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36191 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36192 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36193 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36194 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36196 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36197 loop to 256 bytes instead of 64 bytes and fix test signedness.
36199 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36200 * sysdeps/sparc/sparc32/Makefile: rather than here...
36201 * sysdeps/sparc/sparc64/Makefile: and here.
36203 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36205 * malloc/mallocbug.c: Avoid warnings about unused variables.
36207 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36210 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36211 in the right place. Discard and retry query if response is
36212 larger than input buffer size.
36214 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36219 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36220 x for large integer exponent.
36221 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36222 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36223 sign of result as needed afterwards.
36224 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36225 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36226 result for underflowing pow the same as for overflow.
36227 (__kernel_standard_l): Handle powl overflow and underflow here
36228 rather than calling __kernel_standard.
36229 * math/libm-test.inc (pow_test): Add more tests.
36244 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36245 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36246 (__kernel_standard_l): New function.
36247 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36249 * math/w_acosl.c (__acosl): Likewise.
36250 * math/w_asinl.c (__asinl): Likewise.
36251 * math/w_atan2l.c (__atan2l): Likewise.
36252 * math/w_atanhl.c (__atanhl): Likewise.
36253 * math/w_coshl.c (__coshl): Likewise.
36254 * math/w_exp10l.c (__exp10l): Likewise.
36255 * math/w_exp2l.c (__exp2l): Likewise.
36256 * math/w_fmodl.c (__fmodl): Likewise.
36257 * math/w_hypotl.c (__hypotl): Likewise.
36258 * math/w_j0l.c (__j0l, __y0l): Likewise.
36259 * math/w_j1l.c (__j1l, __y1l): Likewise.
36260 * math/w_jnl.c (__jnl, __ynl): Likewise.
36261 * math/w_lgammal.c (__lgammal): Likewise.
36262 * math/w_log10l.c (__log10l): Likewise.
36263 * math/w_log2l.c (__log2l): Likewise.
36264 * math/w_logl.c (__logl): Likewise.
36265 * math/w_powl.c (__powl): Likewise.
36266 * math/w_remainderl.c (__remainderl): Likewise.
36267 * math/w_scalbl.c (sysv_scalbl): Likewise.
36268 * math/w_sinhl.c (__sinhl): Likewise.
36269 * math/w_sqrtl.c (__sqrtl): Likewise.
36270 * math/w_tgammal.c (__tgammal): Likewise.
36271 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36272 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36273 * math/libm-test.inc (acos_test): Add more tests.
36274 (acosh_test): Likewise.
36275 (asin_test): Likewise.
36276 (atanh_test): Likewise.
36277 (exp_test): Likewise.
36278 (exp10_test): Likewise.
36279 (exp2_test): Likewise.
36280 (expm1_test): Likewise.
36281 (lgamma_test): Likewise.
36282 (log_test): Likewise.
36283 (log10_test): Likewise.
36284 (log1p_test): Likewise.
36285 (log2_test): Likewise.
36286 (pow_test): Do not allow some spurious overflow exceptions.
36287 (sqrt_test): Add more tests.
36288 (tgamma_test): Likewise.
36289 (y0_test): Likewise.
36290 (y1_test): Likewise.
36291 (yn_test): Likewise.
36293 2012-03-27 Anton Blanchard <anton@samba.org>
36295 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36297 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36298 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36299 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36301 2012-03-27 David S. Miller <davem@davemloft.net>
36303 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36305 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36306 have-as-vis3 check.
36308 2012-03-27 Andreas Jaeger <aj@suse.de>
36310 * sysdeps/x86_64/elf/configure.in: Moved to ...
36311 * sysdeps/x86_64/configure.in: ... here.
36312 * sysdeps/x86_64/elf/start.S: Moved to ...
36313 * sysdeps/x86_64/start.S: ... here.
36314 * sysdeps/x86_64/elf/configure: Delete.
36316 * sysdeps/x86_64/configure.in: Merge contents from
36317 sysdeps/i386/configure.in (without i686 check).
36319 * sysdeps/i386/elf/Versions: Merge into ...
36320 * sysdeps/i386/Versions: ... this.
36321 * sysdeps/i386/elf/Versions: Delete file.
36322 * sysdeps/i386/elf/start.S: Moved to ...
36323 * sysdeps/i386/start.S: ...here.
36324 * sysdeps/i386/elf/configure.in: Merge into...
36325 * sysdeps/i386/configure.in: ...here.
36326 * sysdeps/i386/elf/configure.in: Delete file.
36327 * sysdeps/i386/elf/configure: Delete file.
36329 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36330 * debug/backtracesyms.c: ... here.
36331 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36332 * debug/backtracesymsfd.c: ... here.
36333 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36334 * sysdeps/generic/ifunc-sel.h: ... here.
36336 * sysdeps/unix/i386/start.c: Delete file.
36337 * sysdeps/unix/sparc/start.c: Delete file.
36338 * sysdeps/unix/start.c: Delete file.
36340 * sysdeps/sh/elf/configure.in: Moved to ...
36341 * sysdeps/sh/configure.in: ... here.
36342 * sysdeps/sh/elf/start.S: Moved to ...
36343 * sysdeps/sh/start.S: ... here.
36344 * sysdeps/sh/elf/configure: Delete file.
36346 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36347 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36348 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36349 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36350 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36351 * sysdeps/powerpc/powerpc64/start.S: here.
36352 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36353 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36354 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36355 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36356 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36358 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36359 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36360 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36361 * sysdeps/powerpc/powerpc32/start.S: ... here.
36362 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36363 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36364 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36366 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36367 * sysdeps/powerpc/ifunc-sel.h: ... here.
36368 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36369 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36371 * sysdeps/sparc/elf/configure.in: Moved to ...
36372 * sysdeps/sparc/configure.in: ... here.
36373 * sysdeps/sparc/elf/configure: Delete file.
36374 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36375 * sysdeps/sparc/sparc32/start.S: ... here.
36376 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36377 * sysdeps/sparc/sparc64/start.S: ... here.
36378 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36379 * sysdeps/sparc/sparc32/Makefile: ... this.
36380 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36381 * sysdeps/sparc/sparc64/Makefile: ... this.
36383 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36384 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36385 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36386 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36387 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36388 * sysdeps/s390/s390-32/setjmp.S: ... here.
36389 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36390 * sysdeps/s390/s390-32/configure.in: ... here.
36391 * sysdeps/s390/s390-32/elf/configure: Delete file.
36392 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36393 * sysdeps/s390/s390-32/start.S: ... here.
36395 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36396 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36397 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36398 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36399 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36400 * sysdeps/s390/s390-64/setjmp.S: ... here.
36401 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36402 * sysdeps/s390/s390-64/configure.in: ... here
36403 * sysdeps/s390/s390-64/elf/configure: Delete file.
36404 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36405 * sysdeps/s390/s390-64/start.S: ... here.
36406 * sysdeps/s390/s390-64/elf/configure: Delete.
36408 * configure.in: Remove support for elf directories in sysdeps.
36410 * configure: Regenerated.
36411 * sysdeps/i386/configure: Regenerated.
36412 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36413 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36414 * sysdeps/s390/s390-32/configure: Regenerated.
36415 * sysdeps/s390/s390-64/configure: Regenerated.
36416 * sysdeps/sh/configure: Regenerated.
36417 * sysdeps/sparc/configure: Regenerated.
36418 * sysdeps/x86_64/configure: Regenerated.
36420 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36424 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36425 denormal result into account.
36427 2012-03-25 Roland McGrath <roland@hack.frob.com>
36429 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36430 Reported by Allan McRae <allan@archlinux.org>.
36432 2012-03-23 Jeff Law <law@redhat.com>
36434 * nss/getnssent.c (__nss_getent): Fix typo.
36436 2012-03-23 David S. Miller <davem@davemloft.net>
36438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36440 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36442 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36443 to pad to uint64_t for each field.
36444 (dl_tls_index): Replace unsigned long with uint64_t.
36446 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36447 Paul Pluzhnikov <ppluzhnikov@google.com>
36450 * grp/Makefile (otherlibs): Don't set it.
36451 * inet/Makefile (otherlibs): Likewise.
36452 * login/Makefile (otherlibs): Likewise.
36453 * nscd/Makefile (otherlibs): Likewise.
36454 * posix/Makefile (otherlibs): Likewise.
36455 * pwd/Makefile (otherlibs): Likewise.
36456 * rt/Makefile (otherlibs): Likewise.
36457 * sunrpc/Makefile (otherlibs): Likewise.
36458 * nss/Makefile (otherlibs): Likewise.
36459 Add libnss_files to routines and static-only-routines.
36460 ($(objpfx)getent): Remove rule.
36461 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36462 static-only-routines.
36464 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36467 * math/s_cexp.c: Include <float.h>.
36468 (__cexp): Handle exp result overflowing not necessarily
36469 overflowing both real and imaginary parts of result.
36470 * math/s_cexpf.c: Likewise.
36471 * math/s_cexpl.c: Likewise.
36472 * math/libm-test.inc (cexp_test): Add more tests.
36473 * sysdeps/i386/fpu/libm-test-ulps: Update.
36474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36476 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36478 * include/link.h (ELFW): New macro.
36479 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36480 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36482 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36484 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36487 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36489 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36491 (struct La_x32_retval): Likewise.
36493 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36495 * sysdeps/x86_64/preconfigure.in: New file.
36496 * sysdeps/x86_64/preconfigure: New generated file.
36498 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36501 * math/e_exp2l.c: Include <float.h>.
36502 (__ieee754_exp2l): Handle overflow and underflow cases
36503 separately. Only pass fractional part of argument to
36505 * math/libm-test.inc (exp2_test): Add more tests.
36507 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36508 negating x to take absolute value.
36509 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36511 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36512 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36514 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36515 computing low part if x was negated.
36516 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36518 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36520 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36521 la_x32_gnu_pltexit.
36522 (pltexit): Cast int_retval to ptrdiff_t.
36523 * elf/tst-auditmod3b.c: Likewise.
36524 * elf/tst-auditmod4b.c: Likewise.
36525 * elf/tst-auditmod5b.c: Likewise.
36526 * elf/tst-auditmod6b.c: Likewise.
36527 * elf/tst-auditmod6c.c: Likewise.
36528 * elf/tst-auditmod7b.c: Likewise.
36530 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36531 and x32_gnu_pltexit.
36533 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36534 __ELF_NATIVE_CLASS.
36535 (La_x32_regs): New macro.
36536 (La_x32_retval): Likewise.
36537 (la_x32_gnu_pltenter): New function prototype.
36538 (la_x32_gnu_pltexit): Likewise.
36540 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36547 * configure.in (libc_cv_cc_nofma): Check for option to disable
36548 generation of FMA instructions.
36549 * configure: Regenerate.
36550 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36551 * sysdeps/ieee754/dbl-64/Makefile: New file.
36552 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36553 Remove brandred-fma4.
36554 (CFLAGS-brandred-fma4.c): Remove.
36555 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36556 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36558 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36561 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36563 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36564 LLONG_MAX != LONG_MAX.
36565 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36566 (_fitoa_word): Likewise.
36567 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36568 LLONG_MAX != LONG_MAX.
36569 * stdio-common/_itowa.h: Include <_itoa.h>.
36570 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36571 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36572 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36573 only if not defined.
36574 (_ITOA_WORD_TYPE): Likewise.
36575 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36576 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36578 2012-03-21 David S. Miller <davem@davemloft.net>
36580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36582 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36584 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36585 of x86_64 when setting libc_cv_slibdir, libdir and
36587 * sysdeps/unix/sysv/linux/configure: Regenerated.
36589 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36591 * manual/lang.texi (Old Varargs): Remove section.
36592 (How Variadic): Update menu.
36593 (va_start): Do not mention varargs.h.
36595 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36596 Joseph Myers <joseph@codesourcery.com>
36598 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36600 * configure: Regenerated.
36602 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36604 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36605 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36608 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36611 * Makefile (files-for-dist): Remove NOTES.
36612 (NOTES): Remove rule.
36613 * README: Don't refer to NOTES.
36614 * manual/creature.texi: Don't include macros.texi.
36615 * manual/intro.texi (creature.texi): Remove comment referring to
36618 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36619 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36620 * configure: Regenerated.
36621 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36622 LIBC_TRY_CC_OPTION.
36623 (libc_cv_as_i686): Likewise.
36624 (libc_cv_cc_avx): Likewise.
36625 (libc_cv_cc_sse2avx): Likewise.
36626 (libc_cv_cc_fma4): Likewise.
36627 (libc_cv_cc_novzeroupper): Likewise.
36628 * sysdeps/i386/configure: Regenerated.
36631 * sysdeps/i386/fpu/s_cexp.S: Remove.
36632 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36633 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36634 * math/libm-test.inc (cexp_test): Add more tests.
36635 * sysdeps/i386/fpu/libm-test-ulps: Update.
36636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36638 2012-03-21 Allan McRae <allan@archlinux.org>
36640 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36642 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36645 * math/w_exp2.c: Do not include <float.h>.
36646 (o_threshold, u_threshold): Remove.
36647 (__exp2): Calculate result before checking finiteness and calling
36649 * math/w_exp2f.c: Likewise.
36650 * math/w_exp2l.c: Likewise.
36651 * math/libm-test.inc (exp2_test): Require overflow exception for
36655 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36656 range of signed 64-bit integers before using fistpll. Remove
36657 checks for whether integers fit in mantissa bits.
36658 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36659 the range of signed 32-bit integers before using fistpl. Remove
36660 checks for whether integers fit in mantissa bits.
36661 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36662 (__ieee754_powl): Test for y outside the range of signed 64-bit
36663 integers before using fistpll. Reduce 64-bit values to 63-bit
36665 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36666 divide-by-zero is raised for zero to large negative powers.
36667 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36668 (__ieee754_powl): Test for y outside the range of signed 64-bit
36669 integers before using fistpll. Reduce 64-bit values to 63-bit
36671 * math/libm-test.inc (pow_test): Add more tests.
36673 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36675 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36676 <stdio-common/_itoa.h>.
36677 * debug/segfault.c: Likewise.
36678 * elf/dl-cache.c: Likewise.
36679 * elf/dl-minimal.c: Likewise.
36680 * elf/dl-misc.c: Likewise.
36681 * elf/dl-sysdep.c: Likewise.
36682 * elf/dl-version.c: Likewise.
36683 * elf/rtld.c: Likewise.
36684 * hurd/hurdsock.c: Likewise.
36685 * hurd/lookup-retry.c: Likewise.
36686 * malloc/malloc.c: Likewise.
36687 * malloc/mtrace.c: Likewise.
36688 * nscd/nscd_getgr_r.c: Likewise.
36689 * nscd/nscd_getpw_r.c: Likewise.
36690 * nscd/nscd_getserv_r.c: Likewise.
36691 * posix/getopt_init.c: Likewise.
36692 * posix/wordexp.c: Likewise.
36693 * stdio-common/_itoa.c: Likewise.
36694 * stdio-common/printf_fphex.c: Likewise.
36695 * stdio-common/vfprintf.c: Likewise.
36696 * string/_strerror.c: Likewise.
36697 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36698 * sysdeps/i386/i686/hp-timing.h: Likewise.
36699 * sysdeps/mach/_strerror.c: Likewise.
36700 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36701 * sysdeps/mach/hurd/sethostid.c: Likewise.
36702 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36703 * sysdeps/mach/xpg-strerror.c: Likewise.
36704 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36705 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36706 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36707 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36708 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36709 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36710 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36711 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36712 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36713 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36714 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36715 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36716 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36717 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36718 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36719 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36720 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36721 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36722 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36723 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36724 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36726 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36728 * stdio-common/_itoa.h: Moved to ...
36729 * sysdeps/generic/_itoa.h: Here.
36731 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36733 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36734 instead of "_itoa.h" and "_itowa.h".
36735 * stdio-common/vfprintf.: Likewise.
36737 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36739 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36741 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36742 (__signbit): Likwise.
36743 (llrintf): Likwise.
36746 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36748 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36751 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36753 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36754 OVERFLOW_EXCEPTION_OK.
36755 * math/libm-test.inc ("Philosophy"): Update comment about
36757 (OVERFLOW_EXCEPTION): Define.
36758 (OVERFLOW_EXCEPTION_OK): Likewise.
36759 (INVALID_EXCEPTION_OK): Renumber.
36760 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36761 (IGNORE_ZERO_INF_SIGN): Likewise.
36762 (test_exceptions): Handle FE_OVERFLOW.
36763 (exp10_test): Expect overflow exceptions.
36764 (exp2_test): Likewise.
36765 (expm1_test): Likewise.
36766 (nextafter_test): Likewise.
36767 (pow_test): Likewise.
36768 (scalbn_test): Likewise.
36769 (scalbln_test): Likewise.
36771 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36773 * sysdeps/x86_64/bits/atomic.h
36774 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36776 (atomic_exchange_acq): Likewise.
36777 (__arch_exchange_and_add_body): Likewise.
36778 (__arch_add_body): Likewise.
36779 (atomic_add_negative): Likewise.
36780 (atomic_add_zero): Likewise.
36782 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36784 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36785 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36787 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36789 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36790 Check __x86_64__ instead of __WORDSIZE.
36792 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36794 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36796 2012-03-19 David S. Miller <davem@davemloft.net>
36798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36800 * sysdeps/sparc/fpu/fenv_private.h: New file.
36801 * sysdeps/sparc/fpu/math_private.h: Use it.
36802 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36804 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36805 (libc_feholdexcept_setroundl): Remove.
36806 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36808 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36809 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36811 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36813 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36814 int64_t instead of long int.
36815 (INSERT_WORDS64): Likwise.
36817 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36819 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36820 _Unwind_GetCFA return to _Unwind_Ptr first.
36822 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36825 * math/s_clog.c: Include <float.h>.
36826 (__clog): Scale large or subnormal inputs.
36827 * math/s_clogf.c: Likewise.
36828 * math/s_clogl.c: Likewise.
36829 * math/s_clog10.c: Include <float.h>.
36830 (M_LOG10_2): Define.
36831 (__clog10): Scale large or subnormal inputs.
36832 * math/s_clog10f.c: Likewise.
36833 * math/s_clog10l.c: Likewise.
36834 * math/libm-test.inc (clog_test): Add more tests.
36835 (clog10_test): Likewise.
36836 * sysdeps/i386/fpu/libm-test-ulps: Update.
36837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36840 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36842 * math/libm-test.inc (atan2_test): Add another test.
36844 * Makerules (common-objdir-compile): Remove.
36845 * sysdeps/unix/Makefile (config-generated): Do not add
36846 $(unix-generated) to variable.
36847 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36848 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36850 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36852 [generic bits/local_lim.h] (before-compile): Do not append to
36854 [generic bits/local_lim.h] (common-generated): Likewise.
36855 [generic sys/param.h] (before-compile): Do not append to variable.
36856 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36857 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36858 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36859 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36861 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36862 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36863 [generic sys/param.h] ($(addprefix
36864 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36865 [generic sys/param.h] (common-generated): Do not append to
36867 [generic sys/param.h] (sysdep_headers): Likewise.
36868 [generic bits/errno.h] (before-compile): Do not append to
36870 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36872 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36873 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36874 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36875 [generic bits/errno.h] (common-generated): Do not append to
36877 [generic bits/ioctls.h] (before-compile): Do not append to
36879 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36881 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36882 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36883 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36885 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36886 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36887 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36888 [generic bits/ioctls.h] (common-generated): Do not append to
36890 [generic sys/syscall.h] (syscall.h): Remove variable.
36891 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36893 [generic sys/syscall.h] (before-compile): Do not append to
36895 [generic sys/syscall.h] (common-generated): Likewise.
36896 * sysdeps/unix/errnos-tmpl.c: Remove file.
36897 * sysdeps/unix/errnos.awk: Likewise.
36898 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36899 * sysdeps/unix/ioctls.awk: Likewise.
36900 * sysdeps/unix/mk-local_lim.c: Likewise.
36901 * sysdeps/unix/snarf-ioctls: Likewise.
36903 2012-03-19 Richard Henderson <rth@twiddle.net>
36905 * sysdeps/i386/fpu/fenv_private.h: New file.
36906 * sysdeps/i386/fpu/math_private.h: Use it.
36907 (math_opt_barrier, math_force_eval): Remove.
36908 (libc_feholdexcept_setround_53bit): Remove.
36909 (libc_feupdateenv_53bit): Remove.
36910 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36911 (math_opt_barrier, math_force_eval): Remove.
36912 (libc_feholdexcept): Remove.
36913 (libc_feholdexcept_setround): Remove.
36914 (libc_fetestexcept, libc_fesetenv): Remove.
36915 (libc_feupdateenv_test): Remove.
36916 (libc_feupdateenv, libc_feholdsetround): Remove.
36917 (libc_feresetround): Remove.
36919 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36920 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36922 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36923 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36924 (libc_feupdateenv_testl): New.
36925 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36926 (libc_feupdateenv_testf): New.
36927 (libc_feupdateenv): Use libc_feupdateenv_test.
36928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36929 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36931 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36932 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36933 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36934 (libc_feresetround_noex): New.
36935 (libc_feresetround_noexf): New.
36936 (libc_feresetround_noexl): New.
36937 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36938 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36939 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36940 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36942 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36943 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36945 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36946 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36947 SET_RESTORE_ROUND_NOEX.
36948 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36949 SET_RESTORE_ROUND_NOEXF.
36950 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36951 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36952 (libc_feholdsetroundf): New.
36953 (libc_feresetround, libc_feresetroundf): New.
36955 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36956 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36957 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36959 * sysdeps/generic/math_private.h: Include <fenv.h>.
36960 (default_libc_feholdexcept): New.
36961 (default_libc_feholdexcept_setround): New.
36962 (default_libc_fesetenv, default_libc_feupdateenv): New.
36963 (libc_feholdexcept): Only define if undefined.
36964 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36965 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36966 (libc_feholdexcept_setroundl): Likewise.
36967 (libc_feholdexcept_setround_53bit): Likewise.
36968 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36969 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36970 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36971 (libc_feupdateenv_53bit): Likewise.
36972 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36973 (libc_feholdexcept): Convert from macro to inline function.
36974 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36975 (libc_fesetenv, libc_feupdateenv): Likewise.
36977 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36978 not previously defined.
36979 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36980 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36981 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36982 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36983 * sysdeps/ieee754/flt-32/math_private.h: New file.
36984 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36985 math_private.h below SET_FLOAT_WORD.
36986 (__isnan, __isinf_ns, __finite): Remove.
36987 (__isnanf, __isinf_nsf, __finitef): Remove.
36989 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36993 2012-03-17 David S. Miller <davem@davemloft.net>
36996 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36999 2012-03-16 David S. Miller <davem@davemloft.net>
37001 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37005 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37007 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37008 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37009 sysdep_routines when subdir is sysvipc.
37010 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37011 __getshmlba helper.
37013 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37015 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37017 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37020 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37022 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37023 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37024 (__lround): Renamed to ...
37025 (__llround): This. Replace long int with long long int.
37026 Define lround functions as aliases of llround functions.
37027 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37029 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37031 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37032 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37033 adresses to uintptr_t. Replace "long int" and "unsigned long
37034 int" with "greg_t" on va_arg.
37036 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37038 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37039 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37041 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37042 Move e_machine check before EI_CLASS check. Handle x32
37043 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37044 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37045 SKIP_EM_IA_64 and include
37046 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37048 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37049 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37050 (add_system_dir): New macro.
37052 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37053 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37055 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37066 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37068 * math/w_j0f.c (j0f): Likewise.
37070 * math/w_j0l.c (__j0l): Likewise.
37072 * math/w_j1.c (j1): Likewise.
37074 * math/w_j1f.c (j1f): Likewise.
37076 * math/w_j1l.c (__j1l): Likewise.
37078 * math/w_jn.c (jn): Likewise.
37080 * math/w_jnf.c (jnf): Likewise.
37082 * math/w_jnl.c (__jnl): Likewise.
37084 * math/libm-test.inc (j0_test): Add more tests.
37085 (j1_test): Likewise.
37086 (jn_test): Likewise. Add trailing semicolon to existing test.
37087 (y0_test): Likewise.
37088 (y1_test): Likewise.
37089 * sysdeps/i386/fpu/libm-test-ulps: Update.
37090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37094 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37095 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37096 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37097 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37098 (__tanl): Set errno for infinite argument.
37099 * sysdeps/i386/fpu/mptan.c: Remove.
37100 * sysdeps/i386/fpu/s_tan.S: Likewise.
37101 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37102 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37103 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37104 * math/libm-test.inc (tan_test): Add more tests and enable more
37105 tests for double and long double.
37106 * sysdeps/i386/fpu/libm-test-ulps: Update.
37107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37109 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37111 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37112 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37114 2012-03-16 Roland McGrath <roland@hack.frob.com>
37116 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37117 * configure.in: Use it for both main tree and add-ons.
37118 * configure: Regenerated.
37120 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37122 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37124 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37126 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37130 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37131 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37132 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37133 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37134 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37136 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37137 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37138 != 0 for prec == 2.
37139 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37140 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37141 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37142 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37143 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37144 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37145 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37146 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37147 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37148 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37149 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37150 * math/libm-test.inc (cos_test): Add more tests and enable more
37151 tests for long double.
37152 (sin_test): Likewise.
37153 (sincos_test): Likewise.
37154 * sysdeps/i386/fpu/libm-test-ulps: Update.
37155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37157 2012-03-16 David S. Miller <davem@davemloft.net>
37159 * sysdeps/sparc/fpu/math_private.h: New file.
37161 2012-03-15 David S. Miller <davem@davemloft.net>
37163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37173 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37177 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37178 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37180 * sysdeps/sparc/sparc-ifunc.h: New file.
37181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37219 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37220 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37221 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37222 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37223 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37224 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37226 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37228 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37232 2012-03-15 Andreas Jaeger <aj@suse.de>
37235 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37236 ieee754/flt-32 implementation for sin, cos and sincos.
37237 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37238 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37239 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37240 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37241 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37242 ieee754/flt-32 implementation for tan.
37244 * math/libm-test.inc (cos_test): Enable some large input tests for
37246 (sin_test): Likewise.
37247 (sincos_test): Likewise.
37248 (tan_test): Add tests for large input.
37250 * sysdeps/i386/fpu/libm-test-ulps: Update.
37252 2012-03-15 Andreas Jaeger <aj@suse.de>
37255 * math/libm-test.inc (cos_test): Add more test cases.
37256 (sin_test): Likewise.
37257 (sincos_test): Likewise.
37259 2012-03-15 Andreas Jaeger <aj@suse.de>
37262 * math/libm-test.inc (cos_test): Add a test case for large input
37264 (sin_test): Likewise.
37265 (sincos_test): Likewise.
37267 2012-03-15 Andreas Jaeger <aj@suse.de>
37268 Joseph Myers <joseph@codesourcery.com>
37271 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37272 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37273 * sysdeps/i386/fpu/branred.c: Likewise.
37274 * sysdeps/i386/fpu/dosincos.c: Likewise.
37275 * sysdeps/i386/fpu/mpa.c: Likewise.
37276 * sysdeps/i386/fpu/s_cos.S: Likewise.
37277 * sysdeps/i386/fpu/s_sin.S: Likewise.
37278 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37279 * sysdeps/i386/fpu/sincos32.c: Likewise.
37281 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37283 (libc_feupdateenv_53bit): Define.
37284 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37286 (libc_feupdateenv_53bit): Define.
37288 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37289 53 bit (without extend i386 double precision).
37291 * math/libm-test.inc (sincos_test): Add tests for large input.
37295 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37297 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37301 2012-03-15 David S. Miller <davem@davemloft.net>
37303 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37304 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37305 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37306 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37330 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37331 fmin/fmax sysdep routines.
37332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37334 2012-03-14 David S. Miller <davem@davemloft.net>
37336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37340 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37341 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37343 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37359 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37361 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37362 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37363 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37408 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37413 * sysdeps/sparc/configure.in: New file.
37414 * sysdeps/sparc/configure: Generate.
37415 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37416 * configure: Regenerate.
37417 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37418 * config.make.in (have-as-vis3): New.
37419 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37420 available use -Av9d instead of -Av9a.
37421 * sysdeps/sparc/sparc64/Makefile: Likewise.
37422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37431 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37432 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37433 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37434 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37435 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37437 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37438 fzeros/fnegs to load 0x80000000 into a float register instead of
37440 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37442 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37446 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37447 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37448 ($(inst_includedir)/bits/syscall.h): Remove rule.
37449 ($(objpfx)bits/syscall.d): Include instead of
37450 $(objpfx)syscall-list.d.
37451 (generated): Change syscall-list.h and syscall-list.d to
37452 bits/syscall.h and bits/syscall.d.
37454 2012-03-14 Roland McGrath <roland@hack.frob.com>
37457 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37459 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37462 * math/s_csqrt.c: Include <float.h>.
37463 (__csqrt): Scale large or subnormal inputs.
37464 * math/s_csqrtf.c: Likewise.
37465 * math/s_csqrtl.c: Likewise.
37466 * math/libm-test.inc (csqrt_test): Add more tests.
37467 * sysdeps/i386/fpu/libm-test-ulps: Update.
37468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37471 * math/libm-test.inc (hypot_test): Add more tests.
37473 2012-03-13 David S. Miller <davem@davemloft.net>
37476 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37477 double-precision for the calculation instead of scaling.
37479 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37481 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37482 manipulate bits before adding and subtracting TWO52[sx].
37483 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37484 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37486 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37488 2012-03-13 David S. Miller <davem@davemloft.net>
37490 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37491 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37493 rtld-global-offsets.h
37494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37496 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37499 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37501 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37502 'err' in the ifdef scope in which it is actually used.
37504 * nss/nss_db/db-init.c: Include string.h
37506 2012-03-12 David S. Miller <davem@davemloft.net>
37508 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37509 masking out of the most significant byte of random value used.
37510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37511 Fix coding style in previous change.
37513 * sysdeps/unix/sysv/linux/kernel-features.h
37514 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37515 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37517 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37520 2012-03-11 David S. Miller <davem@davemloft.net>
37522 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37523 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37525 for 'resultvar' otherwise things get truncated on 64-bit.
37527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37528 Fix masking out of the most significant byte of random value used.
37530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37532 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37536 2012-03-09 David S. Miller <davem@davemloft.net>
37538 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37539 variables with appropriate CPP guards.
37540 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37541 from the frame pointer, not the stack pointer. Correct layout
37542 comments. Fix test on resulting framesize and the management of
37543 the outregs buffer for pltexit. Preserve floating point return
37544 values across _dl_call_pltexit call.
37545 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37546 framesize and the management of the outregs buffer for pltexit.
37547 Preserve floating point return values across _dl_call_pltexit
37549 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37550 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37551 (la_sparc64_gnu_pltexit): New functions.
37552 (print_exit): Fix format string for return register value.
37554 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37556 * sunrpc/Makefile (others): Add rpcgen.
37557 ($(objpfx)rpcgen): Remove special build rule and dependency on
37559 * sunrpc/rpcgen.c: New file.
37561 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37564 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37565 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37566 * sysdeps/i386/crti.S: Likewise.
37567 * sysdeps/i386/crtn.S: Likewise.
37568 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37569 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37570 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37571 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37572 * sysdeps/sh/crti.S: Likewise.
37573 * sysdeps/sh/crtn.S: Likewise.
37574 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37577 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37579 * locale/programs/locfile-kw.gperf: Likewise.
37580 * locale/programs/charmap-kw.h: Regenerated.
37581 * locale/programs/locfile-kw.h: Likewise.
37584 * intl/plural.y: Replace FSF snail mail address with URL.
37585 * intl/plural.c: Regenerated.
37587 2012-03-09 Richard Henderson <rth@twiddle.net>
37589 * include/math_private.h: Remove file.
37590 * math/math_private.h: Move file ...
37591 * sysdeps/generic/math_private.h: ... here.
37593 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37594 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37595 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37597 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37598 and <math_private.h>.
37599 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37600 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37601 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37602 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37603 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37610 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37613 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37615 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37616 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37617 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37623 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37624 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37625 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37627 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37632 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37635 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37637 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37638 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37639 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37640 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37642 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37643 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37644 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37646 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37647 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37648 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37649 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37650 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37651 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37652 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37653 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37654 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37666 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37667 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37668 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37669 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37670 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37671 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37673 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37674 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37675 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37678 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37679 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37680 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37681 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37682 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37683 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37684 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37686 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37687 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37688 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37689 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37690 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37691 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37692 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37693 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37694 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37695 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37696 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37697 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37698 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37699 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37700 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37701 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37702 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37703 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37704 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37705 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37706 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37707 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37708 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37709 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37710 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37711 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37712 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37713 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37714 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37715 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37716 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37717 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37718 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37719 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37720 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37721 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37722 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37723 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37724 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37725 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37726 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37727 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37728 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37729 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37730 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37731 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37732 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37733 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37734 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37735 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37736 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37737 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37738 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37740 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37741 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37742 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37743 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37744 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37745 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37746 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37747 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37748 * sysdeps/ieee754/k_standard.c: Likewise.
37749 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37756 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37757 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37758 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37759 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37760 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37761 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37762 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37763 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37764 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37765 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37766 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37770 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37774 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37776 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37780 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37781 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37782 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37787 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37788 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37793 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37795 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37799 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37800 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37801 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37808 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37810 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37815 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37816 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37817 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37818 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37826 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37830 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37831 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37832 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37834 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37836 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37839 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37840 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37842 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37843 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37844 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37848 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37852 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37853 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37854 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37855 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37856 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37857 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37858 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37859 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37860 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37861 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37862 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37863 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37864 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37865 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37866 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37867 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37868 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37869 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37870 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37871 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37874 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37875 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37876 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37877 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37878 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37879 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37880 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37881 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37882 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37883 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37884 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37885 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37886 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37887 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37888 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37889 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37890 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37891 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37892 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37893 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37894 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37895 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37896 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37897 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37898 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37899 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37900 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37901 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37903 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37904 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37905 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37906 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37907 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37908 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37909 * sysdeps/ieee754/s_lib_version.c: Likewise.
37910 * sysdeps/ieee754/s_matherr.c: Likewise.
37911 * sysdeps/ieee754/s_signgam.c: Likewise.
37912 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37913 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37914 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37915 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37916 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37917 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37918 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37919 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37920 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37921 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37922 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37923 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37924 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37925 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37926 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37927 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37928 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37929 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37930 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37934 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37936 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37937 * sunrpc/rpc_main.c: Likewise.
37938 * sunrpc/rpc_svcout.c: Likewise.
37940 2012-03-09 David S. Miller <davem@davemloft.net>
37942 * include/math_private.h: New file.
37944 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37946 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37947 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37948 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37949 from <bits/socket_type.h>.
37950 (enum __socket_type): Don't define here.
37951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37953 bits/socket_type.h.
37956 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37957 checking __USE_GNU.
37959 * Makerules ($(inst_includedir)/%.h): New rule.
37960 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37961 (install-others): Remove variable setting.
37962 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37964 2012-03-08 Richard Henderson <rth@twiddle.net>
37966 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37967 from macro to inline function; merge with the
37968 !__LIBC_INTERNAL_MATH_INLINES version.
37969 (__ieee754_sqrtf): Likewise.
37971 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37972 to inline function.
37973 (__rintf, __floor, __floorf): Likewise.
37975 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37976 macro to inline function.
37977 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37979 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37980 not <math/math_private.h>.
37982 2012-03-08 David S. Miller <davem@davemloft.net>
37984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37986 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37988 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37990 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37992 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37993 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37995 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37997 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37998 be defined individually, they must be defined as a block. Define
37999 S for printing a string instead of hidint the different by using a
38000 macro for adding the 'l'.
38001 * stdio-common/tst-fphex-wide.c: Adjust.
38003 2012-03-07 Marek Polacek <polacek@redhat.com>
38005 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38007 2012-03-08 Marek Polacek <polacek@redhat.com>
38010 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38011 * stdio-common/tst-fphex.c: Define a few macros to make the
38012 test reusable. Use them.
38013 * stdio-common/tst-fphex-wide.c: New file.
38015 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38018 * manual/macros.texi (gnusystems): New macro.
38019 (nongnusystems): Likewise.
38020 (gnulinuxhurdsystems): Likewise.
38021 (gnuhurdsystems): Likewise..
38022 (gnulinuxsystems): Likewise.
38023 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38024 variants of the GNU system, not "GNU system".
38025 * manual/conf.texi: Likewise.
38026 * manual/errno.texi: Likewise. Update example of errno macro
38028 * manual/filesys.texi: Likewise.
38029 (getumask): Document as specific to GNU/Hurd.
38030 * manual/install.texi: Likewise. Reword some references to
38032 * manual/intro.texi: Likewise.
38033 * manual/io.texi: Likewise.
38034 (File Name Portability): Detail which constraints are inapplicable
38035 to all GNU systems and which are only inapplicable to GNU/Hurd.
38036 * manual/job.texi: Likewise.
38037 * manual/llio.texi: Likewise.
38038 (O_NOCTTY): Document as present on GNU/Linux.
38039 * manual/maint.texi: Likewise.
38040 * manual/memory.texi: Likewise.
38041 * manual/pattern.texi: Likewise.
38042 * manual/pipe.texi: Likewise.
38043 * manual/process.texi: Likewise.
38044 * manual/resource.texi: Likewise.
38045 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38047 * manual/setjmp.texi: Likewise.
38048 * manual/signal.texi: Likewise.
38049 * manual/startup.texi: Likewise.
38050 * manual/stdio.texi: Likewise.
38051 * manual/terminal.texi: Likewise.
38052 (ONLCR): Document as POSIX.
38053 (OXTABS): Document availability on GNU/Linux as XTABS.
38054 (ONOEOT): Document availability separately from other bits.
38055 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38056 * manual/time.texi: Likewise.
38057 * manual/users.texi: Likewise.
38058 * INSTALL: Regenerated.
38059 * sysdeps/gnu/errlist.c: Regenerated.
38061 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38062 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38063 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38065 * configure: Regenerated.
38067 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38069 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38070 default includes instead of AC_HEADER_CHECK.
38071 * sysdeps/i386/configure: Regenerated.
38074 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38075 * math/s_cacoshf.c (__cacoshf): Likewise.
38076 * math/s_cacoshl.c (__cacoshl): Likewise.
38077 * math/s_casinh.c (__casinh): Set signs of result from argument.
38078 * math/s_casinhf.c (__casinhf): Likewise.
38079 * math/s_casinhl.c (__casinhl): Likewise.
38080 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38081 (casinh_test): Add more tests.
38082 * sysdeps/i386/fpu/libm-test-ulps: Update.
38083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38085 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38087 * po/zh_TW.po: Update from translation team.
38089 * login/Makefile (distribute): Remove variable.
38090 * catgets/Makefile: Likewise.
38091 * mach/Makefile: Likewise.
38092 * malloc/Makefile: Likewise.
38093 * misc/Makefile: Likewise.
38094 * iconv/Makefile: Likewise.
38095 * nscd/Makefile: Likewise.
38096 * hurd/Makefile: Likewise.
38097 * manual/Makefile: Likewise.
38098 * locale/Makefile: Likewise.
38099 * intl/Makefile: Likewise.
38100 * conform/Makefile: Likewise.
38101 * nss/Makefile: Likewise.
38102 * time/Makefile: Likewise.
38103 * soft-fp/Makefile: Likewise.
38104 * dirent/Makefile: Likewise.
38105 * gmon/Makefile: Likewise.
38106 * po/Makefile: Likewise.
38107 * rt/Makefile: Likewise.
38108 * socket/Makefile: Likewise.
38109 * math/Makefile: Likewise.
38110 * signal/Makefile: Likewise.
38111 * debug/Makefile: Likewise.
38112 * elf/Makefile: Likewise.
38113 * timezone/Makefile: Likewise.
38114 * stdlib/Makefile: Likewise.
38115 * iconvdata/Makefile: Likewise.
38116 * sunrpc/Makefile: Likewise.
38117 * io/Makefile: Likewise.
38118 * argp/Makefile: Likewise.
38119 * inet/Makefile: Likewise.
38120 * hesiod/Makefile: Likewise.
38121 * grp/Makefile: Likewise.
38122 * csu/Makefile: Likewise.
38123 * wctype/Makefile: Likewise.
38124 * crypt/Makefile: Likewise.
38125 * libio/Makefile: Likewise.
38126 * string/Makefile: Likewise.
38127 * nis/Makefile: Likewise.
38128 * resolv/Makefile: Likewise.
38129 * stdio-common/Makefile: Likewise.
38130 * wcsmbs/Makefile: Likewise.
38131 * dlfcn/Makefile: Likewise.
38132 * posix/Makefile: Likewise.
38135 * timezone/Makefile: Don't install timezone files, just the programs
38138 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38140 * nss/databases.def: Add missing gshadow entry.
38142 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38144 2012-03-06 Marek Polacek <polacek@redhat.com>
38147 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38148 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38149 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38150 * stdio-common/tst-long-dbl-fphex.c: New file.
38152 2012-03-06 David S. Miller <davem@davemloft.net>
38154 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38155 (set_obp_int): New function.
38156 (get_obp_int): New function.
38157 (__get_clockfreq_via_dev_openprom): Likewise.
38158 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38159 Avoid unused variable warnings on 'val' and use builtin_expect.
38160 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38162 (INLINE_CLONE_SYSCALL): Likewise.
38164 2012-03-05 David S. Miller <davem@davemloft.net>
38166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38168 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38172 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38173 only for |x| >= 40.
38174 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38176 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38179 Replace gettimeofday with __vdso_gettimeofday.
38181 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38182 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38183 __vdso_clock_gettime and __vdso_getcpu.
38185 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38186 time with __vdso_time.
38188 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38190 * manual/lang.texi (size_t): Note types to which size_t may be
38191 equivalent with the GNU C Library, but do not describe when
38192 differences between them are significant.
38194 2012-03-05 Andreas Jaeger <aj@suse.de>
38196 * sysdeps/i386/fpu/libm-test-ulps: Update.
38198 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38201 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38202 (__ieee754_pow): Save and restore rounding mode and use
38203 round-to-nearest for main computations.
38204 * math/libm-test.inc (pow_test_tonearest): New function.
38205 (pow_test_towardzero): Likewise.
38206 (pow_test_downward): Likewise.
38207 (pow_test_upward): Likewise.
38208 (main): Call the new functions.
38209 * sysdeps/i386/fpu/libm-test-ulps: Update.
38210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38213 * math/libm-test.inc (cosh_test_tonearest): New function.
38214 (cosh_test_towardzero): Likewise.
38215 (cosh_test_downward): Likewise.
38216 (cosh_test_upward): Likewise.
38217 (sinh_test_tonearest): Likewise.
38218 (sinh_test_towardzero): Likewise.
38219 (sinh_test_downward): Likewise.
38220 (sinh_test_upward): Likewise.
38221 (main): Call the new functions.
38222 * sysdeps/i386/fpu/libm-test-ulps: Update.
38223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38225 2012-03-05 Tom de Vries <tom@codesourcery.com>
38227 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38228 default stack guard is set in last bytes.
38229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38231 2012-03-05 Kees Cook <keescook@chromium.org>
38233 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38236 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38237 possibly allocate from heap instead of stack.
38238 * stdio-common/bug-vfprintf-nargs.c: New file.
38239 * stdio-common/Makefile (tests): Add nargs overflow test.
38241 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38245 2012-03-03 Marek Polacek <polacek@redhat.com>
38247 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38248 * math/math_private.h: Likewise.
38249 * stdlib/tst-strtod.c: Likewise.
38250 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38251 * sysdeps/x86_64/bits/atomic.h: Likewise.
38253 2012-03-02 David S. Miller <davem@davemloft.net>
38255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38259 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38260 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38261 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38262 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38264 2012-03-02 Roland McGrath <roland@hack.frob.com>
38267 * manual/examples/README: New file, says the example source files
38268 can be used under GPL>=2.
38269 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38270 line containing just "*/".
38271 * manual/examples/add.c: Add copyright header (GPL>=2).
38272 * manual/examples/argp-ex1.c: Likewise.
38273 * manual/examples/argp-ex2.c: Likewise.
38274 * manual/examples/argp-ex3.c: Likewise.
38275 * manual/examples/argp-ex4.c: Likewise.
38276 * manual/examples/atexit.c: Likewise.
38277 * manual/examples/db.c: Likewise.
38278 * manual/examples/dir.c: Likewise.
38279 * manual/examples/dir2.c: Likewise.
38280 * manual/examples/execinfo.c: Likewise.
38281 * manual/examples/filecli.c: Likewise.
38282 * manual/examples/filesrv.c: Likewise.
38283 * manual/examples/fmtmsgexpl.c: Likewise.
38284 * manual/examples/genpass.c: Likewise.
38285 * manual/examples/inetcli.c: Likewise.
38286 * manual/examples/inetsrv.c: Likewise.
38287 * manual/examples/isockad.c: Likewise.
38288 * manual/examples/longopt.c: Likewise.
38289 * manual/examples/memopen.c: Likewise.
38290 * manual/examples/memstrm.c: Likewise.
38291 * manual/examples/mkfsock.c: Likewise.
38292 * manual/examples/mkisock.c: Likewise.
38293 * manual/examples/mygetpass.c: Likewise.
38294 * manual/examples/pipe.c: Likewise.
38295 * manual/examples/popen.c: Likewise.
38296 * manual/examples/rprintf.c: Likewise.
38297 * manual/examples/search.c: Likewise.
38298 * manual/examples/select.c: Likewise.
38299 * manual/examples/setjmp.c: Likewise.
38300 * manual/examples/sigh1.c: Likewise.
38301 * manual/examples/sigusr.c: Likewise.
38302 * manual/examples/stpcpy.c: Likewise.
38303 * manual/examples/strdupa.c: Likewise.
38304 * manual/examples/strftim.c: Likewise.
38305 * manual/examples/strncat.c: Likewise.
38306 * manual/examples/subopt.c: Likewise.
38307 * manual/examples/swapcontext.c: Likewise.
38308 * manual/examples/termios.c: Likewise.
38309 * manual/examples/testopt.c: Likewise.
38310 * manual/examples/testpass.c: Likewise.
38311 * manual/examples/timeval_subtract.c: Likewise.
38314 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38316 * manual/timeval_subtract.c.texi: ... here, new file.
38318 2012-03-02 David S. Miller <davem@davemloft.net>
38320 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38322 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38325 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38326 (__sin): Save and restore rounding mode and use round-to-nearest
38327 for all computations.
38328 (__cos): Save and restore rounding mode and use round-to-nearest
38329 for all computations.
38330 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38332 (tan): Save and restore rounding mode and use round-to-nearest for
38334 * math/libm-test.inc (cos_test_tonearest): New function.
38335 (cos_test_towardzero): Likewise.
38336 (cos_test_downward): Likewise.
38337 (cos_test_upward): Likewise.
38338 (sin_test_tonearest): Likewise.
38339 (sin_test_towardzero): Likewise.
38340 (sin_test_downward): Likewise.
38341 (sin_test_upward): Likewise.
38342 (tan_test_tonearest): Likewise.
38343 (tan_test_towardzero): Likewise.
38344 (tan_test_downward): Likewise.
38345 (tan_test_upward): Likewise.
38346 (main): Call the new functions.
38347 * sysdeps/i386/fpu/libm-test-ulps: Update.
38348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38351 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38352 small n, then large n, before computing and testing k+n.
38353 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38354 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38356 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38358 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38359 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38360 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38361 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38364 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38365 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38366 * math/libm-test.inc (scalbn_test): Add more tests.
38367 (scalbln_test): Likewise.
38369 * manual/filesys.texi (mode_t): Describe constraints on size and
38370 signedness, not exact equivalence to a particular type.
38372 (ino64_t): Likewise.
38374 (nlink_t): Likewise.
38375 (blkcnt_t): Likewise.
38376 (blkcnt64_t): Likewise.
38377 * manual/llio.texi (off_t): Likewise.
38380 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38381 (__ieee754_exp): Save and restore rounding mode and use
38382 round-to-nearest for all computations.
38383 * math/libm-test.inc (exp_test_tonearest): New function.
38384 (exp_test_towardzero): Likewise.
38385 (exp_test_downward): Likewise.
38386 (exp_test_upward): Likewise.
38387 (main): Call the new functions.
38388 * sysdeps/i386/fpu/libm-test-ulps: Update.
38389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38391 2012-03-01 Chris Demetriou <cgd@google.com>
38393 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38394 have predictable order.
38396 2012-03-01 David S. Miller <davem@davemloft.net>
38398 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38400 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38401 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38402 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38403 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38405 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38406 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38407 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38409 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38410 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38411 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38412 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38413 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38418 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38419 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38421 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38422 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38423 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38424 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38425 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38426 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38427 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38428 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38429 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38430 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38431 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38434 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38435 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38437 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38438 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38439 * sysdeps/sparc/elf/configure: Regenerated.
38441 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38443 * configure.in (AS, LD): Require binutils 2.20 or later.
38444 * configure: Regenerated.
38445 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38446 as required minimum version.
38447 * INSTALL: Regenerated.
38451 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38452 before squaring exponent.
38453 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38454 bottom long double and 27 bits of top long double before squaring
38456 * math/libm-test.inc (erfc_test): Add more tests.
38457 * sysdeps/i386/fpu/libm-test-ulps: Update.
38458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38461 2012-03-01 Kai Tietz <ktietz@redhat.com>
38463 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38464 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38465 containing bit-fields.
38466 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38467 * soft-fp/single.h (_FP_UNION_S): Likewise.
38468 * soft-fp/double.h (_FP_UNION_D): Likewise.
38470 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38473 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38474 not include ../strcmp.S.
38475 [USE_AS_STRNCASECMP_L]: Likewise.
38476 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38477 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38478 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38479 (__strncasecmp_l_ia32): Define as alias to
38480 __strncasecmp_l_nonascii.
38483 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38484 * sysdeps/i386/fpu/libm-test-ulps: Update.
38485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38487 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38490 2012-02-29 Jeff Law <law@redhat.com>
38492 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38493 out of bounds read.
38495 2012-02-29 Marek Polacek <polacek@redhat.com>
38498 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38499 * elf/Makefile: Add rules to run tst-unused-dep.out.
38501 2012-02-28 David S. Miller <davem@davemloft.net>
38503 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38504 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38505 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38506 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38507 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38508 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38510 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38512 * math/libm-test.inc (llround_test): Move one test from
38513 lround_test. Use TEST_f_L in moved test.
38514 (lround_test): Move misplaced test to llround_test. Add testcase
38517 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38519 * sysdeps/x86_64/fpu/e_expf.S: New file.
38520 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38522 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38525 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38526 of remain_len that may cause incomplete multi-byte character and
38528 * posix/bug-regex33.c: New file.
38529 * posix/Makefile (tests): Add bug-regex33.
38531 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38533 * manual/macros.texi: New file.
38534 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38535 * manual/libc.texinfo: Include macros.texi.
38536 * manual/creatute.texi: Likewise.
38537 * manual/install.texi: Likewise.
38538 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38539 @glibcadj{} in references to the GNU C Library.
38540 * manual/charset.texi: Likewise.
38541 * manual/conf.texi: Likewise.
38542 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38543 when not using those macros.
38544 * manual/creature.texi: Likewise.
38545 * manual/crypt.texi: Likewise.
38546 * manual/errno.texi: Likewise.
38547 * manual/filesys.texi: Likewise.
38548 * manual/header.texi: Likewise.
38549 * manual/install.texi: Likewise.
38550 * manual/intro.texi: Likewise.
38551 * manual/io.texi: Likewise.
38552 * manual/job.texi: Likewise.
38553 * manual/lang.texi: Likewise.
38554 * manual/libc.texiinfo: Likewise.
38555 * manual/llio.texi: Likewise.
38556 * manual/locale.texi: Likewise.
38557 * manual/maint.texi: Likewise.
38558 * manual/math.texi: Likewise.
38559 * manual/memory.texi: Likewise.
38560 * manual/message.texi: Likewise.
38561 * manual/nss.texi: Likewise.
38562 * manual/pattern.texi: Likewise.
38563 * manual/process.texi: Likewise.
38564 * manual/resource.texi: Likewise.
38565 * manual/search.texi: Likewise.
38566 * manual/setjmp.texi: Likewise.
38567 * manual/signal.texi: Likewise.
38568 * manual/socket.texi: Likewise.
38569 * manual/startup.texi: Likewise.
38570 * manual/stdio.texi: Likewise.
38571 * manual/string.texi: Likewise.
38572 * manual/sysinfo.texi: Likewise.
38573 * manual/syslog.texi: Likewise.
38574 * manual/terminal.texi: Likewise.
38575 * manual/time.texi: Likewise.
38576 * manual/users.texi: Likewise.
38577 * INSTALL: Regenerated.
38578 * NOTES: Regenerated.
38579 * sysdeps/gnu/errlist.c: Regenerated.
38581 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38583 * include/dirent.h: Include <dirstream.h> before
38586 2012-02-28 David S. Miller <davem@davemloft.net>
38588 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38589 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38590 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38591 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38593 2012-02-27 David S. Miller <davem@davemloft.net>
38595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38597 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38598 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38601 frame pointer instead of stack pointer relative arg slot.
38602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38603 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38604 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38606 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38609 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38611 2012-02-27 David S. Miller <davem@davemloft.net>
38613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38617 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38618 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38619 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38620 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38622 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38624 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38625 later. Allow versions 5-9.
38626 * configure: Regenerated.
38627 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38628 required minimum version and 4.6 as recommended version. Do not
38629 mention bugs in GCC 2.7 and 2.8.
38630 * INSTALL: Regenerated.
38632 2012-02-27 David S. Miller <davem@davemloft.net>
38634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38638 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38639 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38640 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38641 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38643 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38644 manipulate bits before adding and subtracting TWO112[sx].
38645 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38647 2012-02-27 Roland McGrath <roland@hack.frob.com>
38650 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38651 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38652 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38653 being in POSIX, because they are in 1003.1-2008.
38655 * rt/tst-aio.c: Include <fcntl.h>.
38656 * rt/tst-aio7.c: Likewise.
38657 * rt/tst-aio64.c: Likewise.
38659 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38661 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38663 * manual/install.texi (--with-headers): Describe headers as
38664 interface headers, not private headers.
38665 (Specific advice for GNU/Linux systems): Describe use of headers
38666 from "make headers_install", not private headers from older
38668 * INSTALL: Regenerated.
38669 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38671 * sysdeps/unix/sysv/linux/configure: Regenerated.
38673 * manual/llio.texi (fclean): Remove documentation.
38675 * manual/Makefile (libc-texi-generated): New variable. Include
38677 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38678 $(libc-texi-generated), not duplicated list of files.
38679 (version.texi, stamp-version): New rules.
38680 (realclean): Remove $(libc-texi-generated), not individual files
38681 from that list. Do not remove dir-add.texinfo.
38682 * manual/libc.texinfo: Comment out uses of edition numbers and
38683 references to printed manual. Remove last-updated dates.
38684 (EDITION): Comment out.
38686 (VERSION, UPDATED): Remove.
38687 (version.texi): Include.
38689 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38691 * sysdeps/posix/spawni.c: Include <signal.h>.
38692 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38693 * sysdeps/pthread/aio_fsync.c: Likewise.
38695 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38697 * conform/Makefile (tests): Run only when not cross-compiling and
38698 when fast-check is not defined.
38700 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38701 * conform/data/limits.h-data: Fixes for POSIX2008.
38702 * conform/run-conformtest.sh: Run all tests.
38703 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38705 * include/bits/dlfcn.h: Likewise.
38706 * include/langinfo.h: Likewise.
38707 * include/monetary.h: Likewise.
38708 * include/sys/poll.h: Likewise.
38710 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38712 * posix/spawn.h: Define __need_sigset_t.
38713 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38714 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38715 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38716 to get sigevent_t only.
38717 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38718 only for __USE_GNU.
38719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38720 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38721 process_vm_writev only for __USE_GNU.
38722 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38724 * conform/Makefile: For now ignore errors from run-conformtest.
38725 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38726 POSIX to avoid namespace pollution. Don't prepend headers.
38727 * conform/data/aio.h-data: Fixes for POSIX testing.
38728 * conform/data/fcntl.h-data: Likewise.
38729 * conform/data/glob.h-data: Likewise.
38730 * conform/data/grp.h-data: Likewise.
38731 * conform/data/pthread.h-data: Likewise.
38732 * conform/data/pwd.h-data: Likewise.
38733 * conform/data/signal.h-data: Likewise.
38734 * conform/data/spawn.h-data: Likewise.
38735 * conform/data/stdio.h-data: Likewise.
38736 * conform/data/stdlib.h-data: Likewise.
38737 * conform/data/stropts.h-data: Likewise.
38738 * conform/data/sys/mman.h-data: Likewise.
38739 * conform/data/sys/stat.h-data: Likewise.
38740 * conform/data/sys/types.h-data: Likewise.
38741 * conform/data/sys/wait.h-data: Likewise.
38742 * conform/data/time.h-data: Likewise.
38743 * conform/data/unistd.h-data: Likewise.
38744 * conform/data/utime.h-data: Likewise.
38746 * io/sys/stat.h: fchmod was always in POSIX.
38747 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38748 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38749 * rt/aio.h: Define __need_timespec before including <time.h>.
38750 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38751 struct. Add forward declaration of pthread_attr_t and use it in
38753 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38755 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38756 always remove CLK_TCK definition.
38758 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38760 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38762 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38764 * conform/run-conformtest.sh: New file.
38765 * conform/Makefile: Run run-conformtest for tests.
38766 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38769 * conform/data/uchar.h-data: New file.
38770 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38771 * conform/data/arpa/inet.h-data: Likewise.
38772 * conform/data/assert.h-data: Likewise.
38773 * conform/data/complex.h-data: Likewise.
38774 * conform/data/cpio.h-data: Likewise.
38775 * conform/data/ctype.h-data: Likewise.
38776 * conform/data/dirent.h-data: Likewise.
38777 * conform/data/dlfcn.h-data: Likewise.
38778 * conform/data/errno.h-data: Likewise.
38779 * conform/data/fcntl.h-data: Likewise.
38780 * conform/data/float.h-data: Likewise.
38781 * conform/data/fmtmsg.h-data: Likewise.
38782 * conform/data/fnmatch.h-data: Likewise.
38783 * conform/data/ftw.h-data: Likewise.
38784 * conform/data/glob.h-data: Likewise.
38785 * conform/data/grp.h-data: Likewise.
38786 * conform/data/iconv.h-data: Likewise.
38787 * conform/data/inttypes.h-data: Likewise.
38788 * conform/data/langinfo.h-data: Likewise.
38789 * conform/data/libgen.h-data: Likewise.
38790 * conform/data/limits.h-data: Likewise.
38791 * conform/data/locale.h-data: Likewise.
38792 * conform/data/math.h-data: Likewise.
38793 * conform/data/monetary.h-data: Likewise.
38794 * conform/data/mqueue.h-data: Likewise.
38795 * conform/data/ndbm.h-data: Likewise.
38796 * conform/data/net/if.h-data: Likewise.
38797 * conform/data/netdb.h-data: Likewise.
38798 * conform/data/netinet/in.h-data: Likewise.
38799 * conform/data/nl_types.h-data: Likewise.
38800 * conform/data/poll.h-data: Likewise.
38801 * conform/data/pthread.h-data: Likewise.
38802 * conform/data/pwd.h-data: Likewise.
38803 * conform/data/regex.h-data: Likewise.
38804 * conform/data/sched.h-data: Likewise.
38805 * conform/data/search.h-data: Likewise.
38806 * conform/data/semaphore.h-data: Likewise.
38807 * conform/data/setjmp.h-data: Likewise.
38808 * conform/data/signal.h-data: Likewise.
38809 * conform/data/spawn.h-data: Likewise.
38810 * conform/data/stdarg.h-data: Likewise.
38811 * conform/data/stdio.h-data: Likewise.
38812 * conform/data/stdlib.h-data: Likewise.
38813 * conform/data/string.h-data: Likewise.
38814 * conform/data/strings.h-data: Likewise.
38815 * conform/data/stropts.h-data: Likewise.
38816 * conform/data/sys/ipc.h-data: Likewise.
38817 * conform/data/sys/mman.h-data: Likewise.
38818 * conform/data/sys/msg.h-data: Likewise.
38819 * conform/data/sys/resource.h-data: Likewise.
38820 * conform/data/sys/select.h-data: Likewise.
38821 * conform/data/sys/sem.h-data: Likewise.
38822 * conform/data/sys/shm.h-data: Likewise.
38823 * conform/data/sys/socket.h-data: Likewise.
38824 * conform/data/sys/stat.h-data: Likewise.
38825 * conform/data/sys/statvfs.h-data: Likewise.
38826 * conform/data/sys/time.h-data: Likewise.
38827 * conform/data/sys/timeb.h-data: Likewise.
38828 * conform/data/sys/times.h-data: Likewise.
38829 * conform/data/sys/types.h-data: Likewise.
38830 * conform/data/sys/uio.h-data: Likewise.
38831 * conform/data/sys/un.h-data: Likewise.
38832 * conform/data/sys/utsname.h-data: Likewise.
38833 * conform/data/sys/wait.h-data: Likewise.
38834 * conform/data/syslog.h-data: Likewise.
38835 * conform/data/tar.h-data: Likewise.
38836 * conform/data/termios.h-data: Likewise.
38837 * conform/data/utime.h-data: Likewise.
38838 * conform/data/utmpx.h-data: Likewise.
38839 * conform/data/varargs.h-data: Likewise.
38840 * conform/data/wchar.h-data: Likewise.
38841 * conform/data/wctype.h-data: Likewise.
38842 * conform/data/wordexp.h-data: Likewise.
38844 * include/stropts.h: New file.
38845 * include/uchar.h: New file.
38846 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38847 * include/assert.h: Likewise.
38848 * include/ctype.h: Likewise.
38849 * include/dirent.h: Likewise.
38850 * include/dlfcn.h: Likewise.
38851 * include/fcntl.h: Likewise.
38852 * include/fnmatch.h: Likewise.
38853 * include/glob.h: Likewise.
38854 * include/grp.h: Likewise.
38855 * include/libio.h: Likewise.
38856 * include/locale.h: Likewise.
38857 * include/math.h: Likewise.
38858 * include/net/if.h: Likewise.
38859 * include/netdb.h: Likewise.
38860 * include/netinet/in.h: Likewise.
38861 * include/pthread.h: Likewise.
38862 * include/pwd.h: Likewise.
38863 * include/regex.h: Likewise.
38864 * include/sched.h: Likewise.
38865 * include/search.h: Likewise.
38866 * include/setjmp.h: Likewise.
38867 * include/signal.h: Likewise.
38868 * include/stdio.h: Likewise.
38869 * include/stdlib.h: Likewise.
38870 * include/string.h: Likewise.
38871 * include/sys/cdefs.h: Likewise.
38872 * include/sys/mman.h: Likewise.
38873 * include/sys/msg.h: Likewise.
38874 * include/sys/resource.h: Likewise.
38875 * include/sys/select.h: Likewise.
38876 * include/sys/socket.h: Likewise.
38877 * include/sys/stat.h: Likewise.
38878 * include/sys/statvfs.h: Likewise.
38879 * include/sys/time.h: Likewise.
38880 * include/sys/times.h: Likewise.
38881 * include/sys/uio.h: Likewise.
38882 * include/sys/utsname.h: Likewise.
38883 * include/sys/wait.h: Likewise.
38884 * include/termios.h: Likewise.
38885 * include/time.h: Likewise.
38886 * include/ulimit.h: Likewise.
38887 * include/unistd.h: Likewise.
38888 * include/utime.h: Likewise.
38889 * include/wchar.h: Likewise.
38890 * include/wctype.h: Likewise.
38891 * include/wordexp.h: Likewise.
38893 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38895 * time/time.h: TIME_UTC must be a macro.
38896 Make timespec_get available for ISO C11 only as well.
38898 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38900 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38901 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38903 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38905 * configure.in: Use -o not -a in test for unsupported multi-arch.
38907 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38909 * manual/texinfo.tex: Update to version 2012-01-19.16.
38911 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38913 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38915 2012-02-24 Roland McGrath <roland@hack.frob.com>
38918 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38919 * manual/fdl-1.3.texi: New file.
38920 * manual/fdl-1.1.texi: File removed.
38923 * manual/libc.texinfo (FDL_VERSION): New @set.
38924 Use it for mention of FDL in cover text.
38925 (Documentation License): Use it in @include file name.
38927 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38928 Roland McGrath <roland@hack.frob.com>
38931 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38932 (not LONG_LONG_MAX and LONG_LONG_MIN.
38933 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38934 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38936 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38938 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38942 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38943 manipulate bits before adding and subtracting TWO23[sx].
38944 * math/libm-test.inc (nearbyint_test): Add more tests.
38946 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38949 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38950 bits before adding and subtracting TWO23[sx].
38951 * math/libm-test.inc (rint_test): Add more tests.
38952 (rint_test_tonearest): Likewise.
38953 (rint_test_towardzero): Likewise.
38954 (rint_test_downward): Likewise.
38955 (rint_test_upward: Likewise.
38957 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38960 * include/stdc-predef.h: New file. Extracted from features.h.
38961 * include/features.h: Include stdc-predef.h.
38962 * Makefile (headers): Add stdc-predef.h.
38963 * CONFORMANCE (Compiler limitations): Update.
38965 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38967 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38969 2012-02-21 David S. Miller <davem@davemloft.net>
38971 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38972 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38974 2012-02-20 David S. Miller <davem@davemloft.net>
38976 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38977 using a normal save/restore sequence, rather than allocating a
38978 dummy stack frame just to store a frame pointer and restore.
38979 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38981 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38983 * manual/install.texi: Fix stray word in line-wrapped comment.
38985 2012-02-20 David S. Miller <davem@davemloft.net>
38987 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38988 both binutils and gcc support GOTDATA.
38990 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38991 "rd %pc" in the PIC register setup sequences.
38993 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38994 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38995 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38996 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38997 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38999 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39000 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39002 (SYSCALL_ERROR_HANDLER): Likewise.
39003 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39005 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39006 (SYSCALL_ERROR_HANDLER): Likewise.
39008 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39009 (HAVE_GCC_GOTDATA): New.
39010 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39011 relocation support in both binutils and gcc.
39012 * sysdeps/sparc/elf/configure: Regenerate.
39014 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39015 * sysdeps/sparc/sparc32/elf/configure: Delete.
39016 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39017 * sysdeps/sparc/sparc64/elf/configure: Delete.
39018 * sysdeps/sparc/elf/configure.in: New file.
39019 * sysdeps/sparc/elf/configure: Generate.
39021 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39022 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39023 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39024 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39025 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39027 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39029 * manual/install.texi: Do not mention specific glibc version
39031 * manual/libc.texinfo (VERSION, UPDATED): Update.
39032 (@copying): Use @copyright{} and range of years.
39034 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39037 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39038 [crti.S not in sysdirs] (generated): Do not append.
39039 [crti.S not in sysdirs] (omit-deps): Likewise.
39040 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39041 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39042 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39043 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39044 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39046 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39047 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39048 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39049 * csu/defs.awk: Remove file.
39050 * sysdeps/generic/initfini.c: Likewise.
39051 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39053 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39056 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39058 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39059 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39060 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39061 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39062 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39063 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39065 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39066 (__EPOLL_PACKED): Define to empty if not defined by
39068 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39072 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39074 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39075 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39076 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39077 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39079 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39083 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39085 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39087 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39088 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39089 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39092 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39094 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39095 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39097 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39099 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39100 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39102 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39104 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39107 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39109 * math/w_acos.c: Use non-signaling floating-point comparisons.
39110 * math/w_acosf.c: Likewise.
39111 * math/w_acosh.c: Likewise.
39112 * math/w_acoshf.c: Likewise.
39113 * math/w_acoshl.c: Likewise.
39114 * math/w_acosl.c: Likewise.
39115 * math/w_asin.c: Likewise.
39116 * math/w_asinf.c: Likewise.
39117 * math/w_asinl.c: Likewise.
39118 * math/w_atanh.c: Likewise.
39119 * math/w_atanhf.c: Likewise.
39120 * math/w_atanhl.c: Likewise.
39121 * math/w_exp2.c: Likewise.
39122 * math/w_exp2f.c: Likewise.
39123 * math/w_exp2l.c: Likewise.
39124 * math/w_j0.c: Likewise.
39125 * math/w_j0f.c: Likewise.
39126 * math/w_j0l.c: Likewise.
39127 * math/w_j1.c: Likewise.
39128 * math/w_j1f.c: Likewise.
39129 * math/w_j1l.c: Likewise.
39130 * math/w_jn.c: Likewise.
39131 * math/w_jnf.c: Likewise.
39132 * math/w_log.c: Likewise.
39133 * math/w_log10.c: Likewise.
39134 * math/w_log10f.c: Likewise.
39135 * math/w_log10l.c: Likewise.
39136 * math/w_log2.c: Likewise.
39137 * math/w_log2f.c: Likewise.
39138 * math/w_log2l.c: Likewise.
39139 * math/w_logf.c: Likewise.
39140 * math/w_logl.c: Likewise.
39141 * math/w_sqrt.c: Likewise.
39142 * math/w_sqrtf.c: Likewise.
39143 * math/w_sqrtl.c: Likewise.
39144 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39145 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39146 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39150 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39153 * manual/string.texi (strnlen): Use correct parameter name in
39154 equivalent expression.
39156 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39159 * manual/users.texi (seteuid): Consistently use neweuid for
39162 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39165 * manual/nss.texi (Services in the NSS configuration): Correct
39166 list of services in example configuration file.
39168 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39171 * manual/arith.texi: Remove statements about negative zero
39172 behaving identically to zero.
39174 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39177 * manual/install.texi: Do not document upgrading from libc5.
39179 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39182 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39184 2012-02-18 David S. Miller <davem@davemloft.net>
39186 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39187 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39188 %o7 across the call.
39189 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39191 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39192 SETUP_PIC_REG_LEAF.
39193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39194 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39195 * sysdeps/sparc/crtn.S: Likewise.
39197 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39199 * aout/Makefile: Remove.
39201 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39204 * manual/examples/argp-ex1.c (main): Format definition in GNU
39206 * manual/examples/argp-ex2.c (main): Likewise.
39207 * manual/examples/argp-ex3.c (main): Likewise.
39208 * manual/examples/argp-ex4.c (main): Likewise.
39209 * manual/examples/longopt.c (main): Use new-style prototype
39211 * manual/examples/strncat.c (main): Specify return type and use
39212 (void) for arguments.
39213 * manual/examples/subopt.c (main): Use char **argv argument.
39215 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39218 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39221 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39224 * manual/string.texi (strchr): Change when strchrnul is
39227 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39230 * manual/locale.texi (setlocale): Document LOCPATH.
39232 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39235 * manual/process.texi (execle): Move @dots{} before last argument.
39237 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39240 * manual/charset.texi (Generic Charset Conversion): Fix typo
39241 (LC_TYPE -> LC_CTYPE).
39243 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39246 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39247 (scalbnf): Likewise.
39248 (scalbnl): Likewise.
39249 (scalbln): Likewise.
39250 (scalblnf): Likewise.
39251 (scalblnl): Likewise.
39252 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39253 (vwarnx): Likewise.
39256 * manual/filesys.texi (telldir): Use braces around return type.
39257 * manual/llio.texi (mmap): Add space after comma.
39258 (mmap64): Likewise.
39259 * manual/math.texi (jn): Use @var{} on parameter names.
39265 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39267 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39269 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39270 (sched_get_priority_max): Likewise.
39271 * manual/signal.texi (sigvec): Add space after comma.
39272 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39274 (if_indextoname): Likewise.
39275 (if_freenameindex): Likewise.
39276 (sendto): Use ',' instead of '.' in prototype.
39277 * manual/startup.texi (syscall): Use @dots{} instead of literal
39279 * manual/stdio.texi (__fpending): Separate initial words of
39280 paragraph from @deftypefun line.
39281 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39283 (vsyslog): Use @var{} on parameter names.
39284 * manual/terminal.texi (stty): Use @var{} on parameter names.
39285 * manual/users.texi (getutmp): Use @var{} on parameter names.
39286 (getutmpx): Likewise.
39288 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39291 * manual/stdio.texi (fopen): Fix typos in description of
39294 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39297 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39298 get clock_id definition.
39300 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39303 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39304 (madvise): Cast every argument to void on its own.
39306 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39309 * manual/startup.texi (Exit Status): Fix typo.
39311 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39314 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39315 * manual/examples/argp-ex2.c: Likewise.
39316 * manual/examples/argp-ex3.c: Likewise.
39318 2012-02-16 Richard Henderson <rth@redhat.com>
39320 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39321 * sysdeps/s390/s390-32/initfini.c: Remove.
39322 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39323 * sysdeps/s390/s390-64/initfini.c: Remove.
39325 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39327 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39328 compiler output for sysdeps/generic/initfini.c.
39329 * sysdeps/sh/elf/initfini.c: Remove file.
39331 2012-02-16 David S. Miller <davem@davemloft.net>
39334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39336 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39337 * sysdeps/sparc/crti.S: New file.
39338 * sysdeps/sparc/crtn.S: New file.
39339 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39340 * sysdeps/sparc/sparc64/Makefile: Likewise.
39342 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39345 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39347 2012-02-15 Roland McGrath <roland@hack.frob.com>
39350 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39352 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39353 (write, read, close): Likewise.
39354 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39356 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39358 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39359 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39360 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39361 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39363 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39367 2012-02-14 Marek Polacek <polacek@redhat.com>
39369 * sysdeps/x86_64/crti.S: New file.
39370 * sysdeps/x86_64/crtn.S: New file.
39371 * sysdeps/x86_64/elf/initfini.c: Remove file.
39373 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39375 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39376 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39377 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39378 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39380 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39384 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39386 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39387 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39388 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39389 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39391 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39395 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39397 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39398 __feraiseexcept instead of feraiseexcept.
39400 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39401 nanosleep invocations.
39402 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39403 strings, and add error checking for a nanosleep invocations.
39405 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39407 Replace FSF snail mail address with URLs, as per GNU coding standards.
39408 Most of the snail mail addresses were wrong anyway, and omitting
39409 them makes the source code easier to maintain. Almost all of the
39410 changes are to license notices and to locale LC_IDENTIFICATION
39411 addresses, except for this one:
39412 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39413 not its snail mail address.
39415 2012-02-09 Richard Henderson <rth@twiddle.net>
39417 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39418 of kernel-features.h.
39420 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39422 2012-02-08 Marek Polacek <polacek@redhat.com>
39424 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39425 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39426 * sysdeps/gnu/_G_config.h: Likewise.
39427 * sysdeps/generic/_G_config.h: Likewise.
39429 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39431 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39435 * sysdeps/powerpc/powerpc32/crti.S: New file.
39436 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39437 * sysdeps/powerpc/powerpc64/crti.S: New file.
39438 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39440 * Makeconfig (have-initfini): Don't set.
39441 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39442 * configure.in (nopic_initfini): Don't substitute.
39443 * config.h.in (HAVE_INITFINI): Don't #undef.
39444 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39445 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39447 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39449 Support crti.S and crtn.S provided directly by architectures.
39450 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39451 [crti.S in sysdirs] (omit-deps): Likewise.
39452 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39453 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39454 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39455 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39456 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39457 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39458 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39459 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39460 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39461 compiler output for sysdeps/generic/initfini.c.
39462 * sysdeps/i386/elf/Makefile: Remove file.
39463 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39465 2012-02-07 Marek Polacek <polacek@redhat.com>
39467 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39468 * sysdeps/gnu/_G_config.h: Likewise.
39469 * sysdeps/mach/hurd/_G_config.h: Likewise.
39471 2012-02-07 Marek Polacek <polacek@redhat.com>
39473 * math/Makefile (tests): Add tst-CMPLX2.
39474 * math/tst-CMPLX2.c: New file.
39476 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39478 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39480 * math/libm-test.inc (jn_test): Add missing L suffix.
39482 2012-02-06 Marek Polacek <polacek@redhat.com>
39484 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39485 * sysdeps/i386/fpu/e_powf.S: Likewise.
39486 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39487 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39488 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39489 * sysdeps/i386/fpu/e_pow.S: Likewise.
39490 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39491 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39492 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39493 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39494 * sysdeps/i386/fpu/e_log2.S: Likewise.
39495 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39496 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39497 * sysdeps/i386/fpu/e_powl.S: Likewise.
39498 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39499 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39500 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39501 * sysdeps/i386/fpu/e_logl.S: Likewise.
39502 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39503 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39504 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39505 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39506 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39507 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39508 * sysdeps/i386/fpu/e_log.S: Likewise.
39509 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39510 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39511 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39512 * sysdeps/i386/fpu/e_logf.S: Likewise.
39513 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39514 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39515 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39516 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39517 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39518 * sysdeps/i386/fpu/e_log10.S: Likewise.
39519 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39520 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39521 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39522 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39523 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39524 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39525 * sysdeps/i386/asm-syntax.h: Likewise.
39526 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39527 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39528 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39529 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39530 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39531 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39532 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39533 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39534 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39535 * sysdeps/powerpc/sysdep.h: Likewise.
39536 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39537 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39539 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39542 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39544 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39546 * sysdeps/i386/sysdep.h: Include <features.h>.
39547 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39550 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39552 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39554 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39557 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39559 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39560 (SETUP_PIC_REG): Use GET_PC_THUNK.
39561 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39564 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39566 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39567 for non-PIC compilation.
39568 (SETUP_PIC_REG): Add .p2align directive.
39569 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39570 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39571 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39572 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39573 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39574 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39575 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39576 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39577 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39578 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39579 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39580 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39581 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39582 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39583 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39584 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39585 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39586 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39587 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39588 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39589 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39590 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39591 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39592 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39593 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39595 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39597 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39598 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39599 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39600 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39601 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39602 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39603 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39604 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39605 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39606 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39607 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39608 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39609 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39611 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39613 * math/tst-CMPLX.c: Include <stdio.h>.
39615 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39617 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39619 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39620 * sysdeps/sparc/bits/mathdef.h: Likewise.
39622 2012-01-31 Marek Polacek <polacek@redhat.com>
39624 * libio/libio.h: Don't define _PARAMS.
39625 * locale/programs/config.h: Don't define PARAMS.
39626 * stdlib/strtol_l.c: Likewise.
39627 (__strtol_l): Remove PARAMS from the prototype.
39629 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39631 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39632 names. Just use the correct names. Remove unnecessary wrapper
39634 * malloc/arena.c: Likewise.
39635 * malloc/hooks.c: Likewise.
39637 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39638 ARENA_TEST says not to. Simplify test for creation of a new arena.
39639 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39641 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39643 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39645 (update_get_addr): New function.
39646 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39647 GET_ADDR_MODULE parameter.
39649 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39651 * crypt/cert.c: Remove __STDC__ conditionals.
39652 * crypt/crypt-entry.c: Likewise.
39653 * crypt/crypt_util.c: Likewise.
39654 * libio/filedoalloc.c: Likewise.
39655 * libio/fileops.c: Likewise.
39656 * libio/genops.c: Likewise.
39657 * libio/iofclose.c: Likewise.
39658 * libio/iofdopen.c: Likewise.
39659 * libio/iofopen.c: Likewise.
39660 * libio/iofopen64.c: Likewise.
39661 * libio/iogetdelim.c: Likewise.
39662 * libio/iopopen.c: Likewise.
39663 * libio/obprintf.c: Likewise.
39664 * libio/oldfileops.c: Likewise.
39665 * libio/oldiofclose.c: Likewise.
39666 * libio/oldiofdopen.c: Likewise.
39667 * libio/oldiofopen.c: Likewise.
39668 * libio/oldiopopen.c: Likewise.
39669 * libio/wfiledoalloc.c: Likewise.
39670 * libio/wgenops.c: Likewise.
39671 * locale/programs/xmalloc.c: Likewise.
39672 * misc/syslog.c: Likewise.
39673 * stdio-common/xbug.c: Likewise.
39674 * string/memchr.c: Likewise.
39675 * string/memcmp.c: Likewise.
39676 * string/memrchr.c: Likewise.
39677 * string/rawmemchr.c: Likewise.
39678 * sysdeps/posix/getcwd.c: Likewise.
39679 * time/strftime_l.c: Likewise.
39681 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39683 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39684 * config.make.in (config-cflags-sse2avx): Define.
39685 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39688 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39690 * scripts/config.guess: Update from upstream config git repository.
39691 * scripts/config.sub: Likewise.
39693 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39695 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39697 (R_TILEPRO_*, R_TILEGX_*): New macros.
39699 * scripts/firstversions.awk: Fix bug in version range handling.
39701 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39703 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39705 * include/sys/epoll.h: New file.
39706 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39709 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39711 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39712 Avoid unnecessary __WORDSIZE == 64 test.
39713 (fmaxf): Use VEX format if possible.
39718 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39719 * math/math_private.h: Remove libc_fegetround* and
39721 * sysdeps/i386/configure.in: Check for -msse2avx.
39722 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39723 also if SSE2AVX is defined.
39724 Remove libc_fegetround* and libc_fesetround*.
39725 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39726 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39727 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39729 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39730 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39731 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39732 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39735 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39737 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39739 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39741 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39743 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39746 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39748 * Makeconfig (libm): Define.
39749 * elf/Makefile: Add rules to build and run tst-relsort1.
39750 * elf/tst-relsort1.c: New file.
39751 * elf/tst-relsort1mod1.c: New file.
39752 * elf/tst-relsort1mod2.c: New file.
39754 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39756 * math/s_ldexp.c: Remove __STDC__ conditionals.
39757 * math/s_ldexpf.c: Likewise.
39758 * math/s_ldexpl.c: Likewise.
39759 * math/s_nextafter.c: Likewise.
39760 * math/s_nexttowardf.c: Likewise.
39761 * math/s_significand.c: Likewise.
39762 * math/s_significandf.c: Likewise.
39763 * math/s_significandl.c: Likewise.
39764 * math/w_jnl.c: Likewise.
39765 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39766 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39767 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39768 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39769 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39771 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39772 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39773 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39774 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39775 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39776 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39777 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39778 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39779 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39780 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39781 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39782 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39784 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39785 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39786 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39787 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39788 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39789 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39790 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39791 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39792 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39793 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39794 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39795 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39796 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39797 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39798 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39799 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39800 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39801 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39802 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39803 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39804 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39805 * sysdeps/ieee754/k_standard.c: Likewise.
39806 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39808 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39809 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39810 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39811 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39812 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39813 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39815 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39816 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39817 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39818 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39819 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39829 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39830 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39832 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39833 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39835 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39838 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39842 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39843 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39844 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39845 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39846 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39848 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39849 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39850 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39851 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39852 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39853 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39854 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39855 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39856 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39857 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39858 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39859 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39860 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39861 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39862 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39863 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39864 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39865 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39866 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39867 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39868 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39869 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39870 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39871 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39872 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39873 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39874 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39875 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39876 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39877 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39878 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39879 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39880 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39881 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39882 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39883 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39884 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39885 * sysdeps/ieee754/s_matherr.c: Likewise.
39886 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39887 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39891 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39893 * crypt/md5.h: Remove __STDC__ conditionals.
39894 * libio/libioP.h: Likewise.
39895 * locale/programs/config.h: Likewise.
39896 * sysdeps/generic/sysdep.h: Likewise.
39897 * sysdeps/i386/asm-syntax.h: Likewise.
39898 * sysdeps/s390/asm-syntax.h: Likewise.
39899 * sysdeps/unix/sysdep.h: Likewise.
39900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39903 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39905 * libio/libio.h: Remove __STDC__ conditionals.
39906 * malloc/obstack.h: Likewise.
39907 * math/complex.h: Likewise.
39908 * math/math.h: Likewise.
39909 * sysdeps/generic/_G_config.h: Likewise.
39910 * sysdeps/gnu/_G_config.h: Likewise.
39911 * sysdeps/mach/hurd/_G_config.h: Likewise.
39912 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39913 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39914 * sysdeps/sparc/bits/mathdef.h: Likewise.
39916 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39919 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39920 Clean up HAS_* macros.
39921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39922 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39924 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39926 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39927 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39928 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39929 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39932 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39934 * elf/tst-unique3.cc (gets): Remove declaration.
39935 * elf/tst-unique3lib.cc (gets): Likewise.
39936 * elf/tst-unique3lib2.cc (gets): Likewise.
39937 * elf/tst-unique4.cc (gets): Likewise.
39939 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39941 * include/stdio.h: Add C++ protection. Add gets declarations and
39943 * debug/tst-chk1.c: Don't declare gets here.
39944 * stdio-common/tst-gets.c: Likewise.
39946 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39948 * posix/glob: Remove directory.
39950 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39952 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39954 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39956 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39957 of the non-standard EPFNOSUPPORT.
39959 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39961 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39962 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39963 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39965 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39967 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39969 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39971 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39973 * nscd/grpcache.c (cache_addgr): Likewise.
39974 * nscd/hstcache.c (cache_addhst): Likewise.
39975 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39976 * nscd/pwdcache.c (cache_addpw): Likewise.
39977 * nscd/servicescache.c (cache_addserv): Likewise.
39979 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39981 * malloc/malloc.c: Various cleanups.
39982 * malloc/hooks.c: Likewise.
39984 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39985 * stdlib/bug-fmtmsg1.c: New file.
39987 * stdlib/fmtmsg.c (init): Add missing unlock.
39988 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39990 2012-01-12 Marek Polacek <polacek@redhat.com>
39992 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39995 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39997 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39998 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39999 macro to ensure uniqueness of label name.
40000 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40001 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40003 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40005 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40007 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40008 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40009 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40010 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40012 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40014 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40016 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40017 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40018 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40020 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40022 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40023 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40024 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40027 * math/bits/math-finite.h: Add ldexp support.
40029 2012-01-10 Marek Polacek <polacek@redhat.com>
40031 * locale/programs/localedef.h (show_archive_content): Add noreturn
40034 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40036 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40038 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40040 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40042 * io/Makefile (headers): Add bits/poll2.h.
40044 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40047 typo #include statement.
40049 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40051 * include/sys/cdefs.h: Define __attribute_alloc_size.
40052 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40053 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40054 * elf/pldd.c: Likewise.
40055 * iconv/iconv_charmap.c: Likewise.
40056 * iconv/iconvconfig.c: Likewise.
40057 * iconv/strtab.c: Likewise.
40058 * locale/programs/locale.c: Likewise.
40059 * locale/programs/localedef.h: Likewise.
40060 * locale/programs/simple-hash.c: Likewise.
40061 * nscd/nscd.h: Likewise.
40062 * nss/makedb.c: Likewise.
40063 * sysdeps/generic/ldconfig.h: Likewise.
40064 * locale/programs/localedef.c: Remove xmalloc prototype.
40065 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40067 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40072 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40074 * math/Makefile (tests): Add tst-CMPLX.
40075 * math/tst-CMPLX.c: New file.
40077 * math/complex.h (CMPLXL): Fix typo.
40079 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40080 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40082 * debug/tst-chk1.c: Add poll and ppoll tests.
40083 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40084 * include/sys/poll.h: Add hidden proto for ppoll.
40085 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40086 * sysdeps/mach/hurd/ppoll.c: Likewise.
40087 * io/ppoll.c: Likewise.
40088 * debug/poll_chk.c: New file.
40089 * debug/ppoll_chk.c: New file.
40090 * include/bits/poll2.h: New file.
40091 * io/bits/poll2.h: New file.
40094 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40096 * configure.in: static is always set to yes. Remove.
40097 * config.make.in: Don't set build-static.
40098 * Makeconfig: Remove use of build-static.
40099 * dlfcn/Makefile: Likewise.
40100 * elf/Makefile: Likewise.
40101 * math/Makefile: Likewise.
40102 * misc/Makefile: Likewise.
40103 * nptl/Makefile: Likewise.
40104 * sysdeps/mach/hurd/Makefile: Likewise.
40106 * configure.in: PWD_P is not used anymore.
40107 * config.make.in: Remove PWD_P entry.
40109 * configure.in: Remove last remnants of RANLIB.
40110 No need to check for signed size_t anymore.
40111 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40113 Remove __builtin_expect test because we require at least gcc 3.4.
40114 * aclocal.m4: Likewise.
40116 * wcsmbs/mbrtoc16.c: Implement using towc function.
40117 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40118 * wcsmbs/wcsmbsload.c: Likewise.
40119 * iconv/gconv_simple.c: Likewise.
40120 * iconv/gconv_int.h: Likewise.
40121 * iconv/gconv_builtin.h: Likewise.
40122 * iconv/iconv_prog.c: Remove CHAR16 handling.
40124 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40126 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40128 * configure.in: Remove --with-elf and --enable-bounded options.
40129 Dont set base_machine for ia64. More non-ELF conditions removed.
40130 Remove testing and setting of leading underscore information.
40131 * config.make.in (build-bounded): Set to no.
40132 * config.h.in: Remove NO_UNDERSCORES entry.
40133 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40135 * csu/start.c: Remove !NO_UNDERSCORE code.
40136 * locale/localeinfo.h: Likewise.
40137 * sysdeps/generic/machine-gmon.h: Likewise.
40138 * sysdeps/generic/sysdep.h: Likewise.
40139 * sysdeps/i386/sysdep.h: Likewise.
40140 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40141 * sysdeps/mach/sysdep.h: Likewise.
40142 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40143 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40144 * sysdeps/sh/sysdep.h: Likewise.
40145 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40146 * sysdeps/unix/i386/sysdep.S: Likewise.
40147 * sysdeps/unix/sparc/start.c: Likewise.
40148 * sysdeps/unix/sparc/sysdep.S: Likewise.
40149 * sysdeps/unix/sparc/sysdep.h: Likewise.
40150 * sysdeps/unix/start.c: Likewise.
40151 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40152 * sysdeps/x86_64/sysdep.h: Likewise.
40154 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40157 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40159 * argp/argp-fmtstream.h: Use const instead __const.
40160 * argp/argp.h: Likewise.
40161 * assert/assert.h: Likewise.
40162 * bits/fenv.h: Likewise.
40163 * bits/sched.h: Likewise.
40164 * bits/sigset.h: Likewise.
40165 * bits/sigthread.h: Likewise.
40166 * catgets/nl_types.h: Likewise.
40167 * conform/data/pthread.h-data: Likewise.
40168 * crypt/crypt-private.h: Likewise.
40169 * crypt/crypt.h: Likewise.
40170 * crypt/crypt_util.c: Likewise.
40171 * ctype/ctype.h: Likewise.
40172 * debug/execinfo.h: Likewise.
40173 * debug/mbsnrtowcs_chk.c: Likewise.
40174 * debug/mbsrtowcs_chk.c: Likewise.
40175 * debug/wcsnrtombs_chk.c: Likewise.
40176 * debug/wcsrtombs_chk.c: Likewise.
40177 * debug/wcstombs_chk.c: Likewise.
40178 * dirent/dirent.h: Likewise.
40179 * dlfcn/dlfcn.h: Likewise.
40180 * elf/neededtest4.c: Likewise.
40181 * grp/grp.h: Likewise.
40182 * gshadow/gshadow.h: Likewise.
40183 * iconv/gconv.h: Likewise.
40184 * iconv/gconv_int.h: Likewise.
40185 * iconv/gconv_simple.c: Likewise.
40186 * iconv/iconv.h: Likewise.
40187 * iconv/loop.c: Likewise.
40188 * iconv/skeleton.c: Likewise.
40189 * include/aio.h: Likewise.
40190 * include/aliases.h: Likewise.
40191 * include/argz.h: Likewise.
40192 * include/arpa/inet.h: Likewise.
40193 * include/assert.h: Likewise.
40194 * include/dirent.h: Likewise.
40195 * include/dlfcn.h: Likewise.
40196 * include/execinfo.h: Likewise.
40197 * include/fcntl.h: Likewise.
40198 * include/fenv.h: Likewise.
40199 * include/glob.h: Likewise.
40200 * include/grp.h: Likewise.
40201 * include/libintl.h: Likewise.
40202 * include/mntent.h: Likewise.
40203 * include/netdb.h: Likewise.
40204 * include/pwd.h: Likewise.
40205 * include/rpc/netdb.h: Likewise.
40206 * include/sched.h: Likewise.
40207 * include/search.h: Likewise.
40208 * include/shadow.h: Likewise.
40209 * include/signal.h: Likewise.
40210 * include/stdio.h: Likewise.
40211 * include/stdlib.h: Likewise.
40212 * include/string.h: Likewise.
40213 * include/sys/socket.h: Likewise.
40214 * include/sys/stat.h: Likewise.
40215 * include/sys/statfs.h: Likewise.
40216 * include/sys/statvfs.h: Likewise.
40217 * include/sys/syslog.h: Likewise.
40218 * include/sys/time.h: Likewise.
40219 * include/sys/uio.h: Likewise.
40220 * include/time.h: Likewise.
40221 * include/unistd.h: Likewise.
40222 * include/utmp.h: Likewise.
40223 * include/wchar.h: Likewise.
40224 * include/wctype.h: Likewise.
40225 * inet/aliases.h: Likewise.
40226 * inet/arpa/inet.h: Likewise.
40227 * inet/netinet/ether.h: Likewise.
40228 * inet/netinet/in.h: Likewise.
40229 * intl/libintl.h: Likewise.
40230 * io/bits/fcntl2.h: Likewise.
40231 * io/fcntl.h: Likewise.
40232 * io/ftw.h: Likewise.
40233 * io/sys/poll.h: Likewise.
40234 * io/sys/stat.h: Likewise.
40235 * io/sys/statfs.h: Likewise.
40236 * io/sys/statvfs.h: Likewise.
40237 * io/utime.h: Likewise.
40238 * libio/bits/stdio.h: Likewise.
40239 * libio/bits/stdio2.h: Likewise.
40240 * libio/libio.h: Likewise.
40241 * libio/libioP.h: Likewise.
40242 * libio/stdio.h: Likewise.
40243 * locale/lc-ctype.c: Likewise.
40244 * locale/locale.h: Likewise.
40245 * login/utmp.h: Likewise.
40246 * malloc/arena.c: Likewise.
40247 * malloc/malloc.c: Likewise.
40248 * malloc/malloc.h: Likewise.
40249 * malloc/mcheck.c: Likewise.
40250 * malloc/mtrace.c: Likewise.
40251 * math/bits/mathcalls.h: Likewise.
40252 * math/fenv.h: Likewise.
40253 * math/math_private.h: Likewise.
40254 * misc/bits/error.h: Likewise.
40255 * misc/bits/syslog.h: Likewise.
40256 * misc/err.h: Likewise.
40257 * misc/error.h: Likewise.
40258 * misc/fstab.h: Likewise.
40259 * misc/mntent.h: Likewise.
40260 * misc/regexp.h: Likewise.
40261 * misc/search.h: Likewise.
40262 * misc/sgtty.h: Likewise.
40263 * misc/sys/mman.h: Likewise.
40264 * misc/sys/syslog.h: Likewise.
40265 * misc/sys/uio.h: Likewise.
40266 * misc/sys/xattr.h: Likewise.
40267 * misc/ttyent.h: Likewise.
40268 * nis/rpcsvc/ypclnt.h: Likewise.
40269 * nss/nss.h: Likewise.
40270 * posix/bits/unistd.h: Likewise.
40271 * posix/fnmatch.h: Likewise.
40272 * posix/glob.h: Likewise.
40273 * posix/sched.h: Likewise.
40274 * posix/spawn.h: Likewise.
40275 * posix/sys/wait.h: Likewise.
40276 * posix/unistd.h: Likewise.
40277 * posix/wordexp.h: Likewise.
40278 * pwd/pwd.h: Likewise.
40279 * resolv/netdb.h: Likewise.
40280 * resource/sys/resource.h: Likewise.
40281 * rt/aio.h: Likewise.
40282 * rt/bits/mqueue2.h: Likewise.
40283 * rt/mqueue.h: Likewise.
40284 * shadow/shadow.h: Likewise.
40285 * signal/signal.h: Likewise.
40286 * socket/send.c: Likewise.
40287 * socket/sendto.c: Likewise.
40288 * socket/sys/socket.h: Likewise.
40289 * stdio-common/printf.h: Likewise.
40290 * stdlib/bits/stdlib.h: Likewise.
40291 * stdlib/fmtmsg.h: Likewise.
40292 * stdlib/monetary.h: Likewise.
40293 * stdlib/stdlib.h: Likewise.
40294 * stdlib/ucontext.h: Likewise.
40295 * streams/stropts.h: Likewise.
40296 * string/argz.h: Likewise.
40297 * string/bits/string2.h: Likewise.
40298 * string/string.h: Likewise.
40299 * string/strings.h: Likewise.
40300 * sunrpc/rpc/auth.h: Likewise.
40301 * sunrpc/rpc/auth_des.h: Likewise.
40302 * sunrpc/rpc/clnt.h: Likewise.
40303 * sunrpc/rpc/netdb.h: Likewise.
40304 * sunrpc/rpc/pmap_clnt.h: Likewise.
40305 * sunrpc/rpc/xdr.h: Likewise.
40306 * sysdeps/generic/inttypes.h: Likewise.
40307 * sysdeps/generic/net/if.h: Likewise.
40308 * sysdeps/generic/sys/swap.h: Likewise.
40309 * sysdeps/gnu/net/if.h: Likewise.
40310 * sysdeps/gnu/utmpx.h: Likewise.
40311 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40312 * sysdeps/i386/i486/bits/string.h: Likewise.
40313 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40314 * sysdeps/s390/bits/string.h: Likewise.
40315 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40316 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40317 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40318 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40319 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40320 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40321 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40322 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40323 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40324 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40325 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40326 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40327 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40328 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40329 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40330 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40331 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40333 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40334 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40335 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40336 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40337 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40338 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40339 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40340 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40341 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40342 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40343 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40344 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40345 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40346 * sysvipc/sys/ipc.h: Likewise.
40347 * sysvipc/sys/msg.h: Likewise.
40348 * sysvipc/sys/sem.h: Likewise.
40349 * sysvipc/sys/shm.h: Likewise.
40350 * termios/termios.h: Likewise.
40351 * time/sys/time.h: Likewise.
40352 * time/time.h: Likewise.
40353 * wcsmbs/bits/wchar2.h: Likewise.
40354 * wcsmbs/uchar.h: Likewise.
40355 * wcsmbs/wchar.h: Likewise.
40356 * wctype/wctype.h: Likewise.
40359 * Makeconfig: Remove all but ELF support including AIX support.
40360 * Makerules: Likewise.
40361 * config.h.in: Likewise.
40362 * config.make.in: Likewise.
40363 * configure: Likewise.
40364 * configure.in: Likewise.
40365 * csu/Makefile: Likewise.
40366 * csu/version.c: Likewise.
40367 * debug/Makefile: Likewise.
40368 * dlfcn/Makefile: Likewise.
40369 * elf/Makefile: Likewise.
40370 * extra-lib.mk: Likewise.
40371 * iconv/Makefile: Likewise.
40372 * include/libc-symbols.h: Likewise.
40373 * include/shlib-compat.h: Likewise.
40374 * resolv/Makefile: Likewise.
40375 * resolv/res_libc.c: Likewise.
40376 * rt/Makefile: Likewise.
40377 * sysdeps/i386/asm-syntax.h: Likewise.
40378 * sysdeps/i386/sysdep.h: Likewise.
40379 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40380 * sysdeps/mach/sysdep.h: Likewise.
40381 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40382 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40383 * sysdeps/s390/asm-syntax.h: Likewise.
40384 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40386 * sysdeps/sh/sysdep.h: Likewise.
40387 * sysdeps/unix/sparc/sysdep.h: Likewise.
40388 * sysdeps/wordsize-32/divdi3.c: Likewise.
40389 * sysdeps/x86_64/sysdep.h: Likewise.
40391 * argp/Versions: Remove _argp_unlock_xxx.
40394 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40395 * abilist/libBrokenLocale.abilist: Likewise.
40396 * abilist/libanl.abilist: Likewise.
40397 * abilist/libc.abilist: Likewise.
40398 * abilist/libcrypt.abilist: Likewise.
40399 * abilist/libdl.abilist: Likewise.
40400 * abilist/libm.abilist: Likewise.
40401 * abilist/libnsl.abilist: Likewise.
40402 * abilist/libpthread.abilist: Likewise.
40403 * abilist/libresolv.abilist: Likewise.
40404 * abilist/librt.abilist: Likewise.
40405 * abilist/libthread_db.abilist: Likewise.
40406 * abilist/libutil.abilist: Likewise.
40407 * abilist/libnss_db.abilist: New file.
40409 * scripts/abilist.awk: Add support for indirect functions.
40411 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40413 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40415 * shlib-versions: Remove entries for ports architectures.
40417 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40419 * elf/stackguard-macros.h: Remove support for IA-64.
40420 * elf/tst-auditmod1.c: Likewise.
40421 * sysdeps/generic/ldsodefs.h: Likewise.
40423 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40424 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40428 * configure.in: Remove --enable-omitfp support.
40430 * config.make.in: Likewise.
40431 * Makeconfig: Likewise.
40432 * manual/install.texi: Likewise.
40434 In case anyone cares, the IA-64 architecture could move to ports.
40435 * sysdeps/ia64/*: Removed.
40436 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40437 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40440 * configure.in: Remove entries for unsupported architectures.
40443 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40444 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40446 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40447 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40448 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40449 fall back to using wcrtomb.
40450 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40451 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40453 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40454 * wcsmbs/tst-c16c32-1.c: New file.
40456 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40459 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40461 * elf/tst-unique3.cc: Add explicit declaration of gets.
40462 * elf/tst-unique3lib.cc: Likewise.
40463 * elf/tst-unique3lib2.cc: Likewise.
40464 * elf/tst-unique4.cc: Likewise.
40466 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40468 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40471 * assert/assert.h (static_assert): Don't define for C++.
40472 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40473 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40475 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40477 * iconv/loop.c (single loop): Fix assertion in storing of
40480 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40482 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40484 * posix/getconf.c: Update copyright year.
40485 * nss/getent.c: Likewise.
40486 * nss/makedb.c: Likewise.
40487 * iconv/iconvconfig.c: Likewise.
40488 * iconv/iconv_prog.c: Likewise.
40489 * elf/ldconfig.c: Likewise.
40490 * elf/pldd.c: Likewise.
40491 * elf/sotruss.ksh: Likewise.
40492 * catgets/gencat.c: Likewise.
40493 * csu/version.c: Likewise.
40494 * elf/ldd.bash.in: Likewise.
40495 * elf/sprof.c (print_version): Likewise.
40496 * locale/programs/locale.c: Likewise.
40497 * locale/programs/localedef.c: Likewise.
40498 * login/programs/pt_chown.c: Likewise.
40499 * nscd/nscd.c (print_version): Likewise.
40500 * debug/xtrace.sh: Likewise.
40501 * malloc/memusage.sh: Likewise.
40502 * malloc/mtrace.pl: Likewise.
40503 * debug/catchsegv.sh: Likewise.
40505 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40507 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40510 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40513 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40514 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40516 * iconv/gconv_int.h: Likewise.
40517 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40518 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40519 from libc for GLIBC_2.16.
40520 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40521 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40522 * wcsmbs/uchar.h: Really define mbstate_t.
40523 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40524 * wcsmbs/c16rtomb.c: New file.
40525 * wcsmbs/mbrtoc16.c: New file.
40526 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40527 for C/POSIX locale.
40528 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40529 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40531 * wcsmbs/wchar.h: Add missing __restrict.
40533 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40536 * time/Makefile (routines): Add timespec_get.
40537 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40538 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40539 timespec for ISO C11.
40540 * time/timespec_get.c: New file.
40541 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40542 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40545 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40546 * stdlib/stdlib.h: Declare aligned_alloc.
40547 * Versions.def: Add GLIBC_2.16 for libc.
40548 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40551 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40554 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40558 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40561 * assert/assert.h (static_assert): Define.
40563 * version.h: Update for 2.16 development version.
40566 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40569 * version.h (RELEASE): Bump for 2.15 release.
40570 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40572 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40573 Patch by Marek Polacek <mpolacek@redhat.com>.
40575 * bits/byteswap.h: Protect long long constants with __extension__.
40576 * sysdeps/i386/bits/byteswap.h: Likewise.
40577 * sysdeps/ia64/bits/byteswap.h: Likewise.
40578 * sysdeps/s390/bits/byteswap.h: Likewise.
40579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40581 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40584 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40585 destination buffer.
40586 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40588 2011-12-23 Marek Polacek <polacek@redhat.com>
40590 * elf/dl-addr.c (determine_info): Add inline keyword.
40591 * elf/tst-auditmod4b.c (check_avx): Likewise.
40592 * elf/tst-auditmod6b.c (check_avx): Likewise.
40593 * elf/tst-auditmod6c.c (check_avx): Likewise.
40594 * elf/tst-auditmod7b.c (check_avx): Likewise.
40596 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40598 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40601 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40604 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40605 processing for last bytes.
40607 2011-08-06 Bruno Haible <bruno@clisp.org>
40610 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40611 U+0385, not to U+1FEE.
40614 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40615 entry for U+00A5 U+0301.
40617 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40620 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40621 buffer for the output is too small.
40623 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40627 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40628 SSE flags if possible.
40630 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40633 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40634 processing for last bytes.
40636 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40638 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40639 (syscall-list-default-options, syscall-list-default-condition)
40640 (syscall-list-includes): Define.
40641 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40642 list of ABIs and options and #if conditions for each ABI. Do not
40643 handle common syscalls between ABIs specially.
40644 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40646 (syscall-list-variants, syscall-list-32bit-options)
40647 (syscall-list-32bit-condition, syscall-list-64bit-options)
40648 (syscall-list-64bit-condition): Define.
40649 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40650 (syscall-list-variants, syscall-list-32bit-options)
40651 (syscall-list-32bit-condition, syscall-list-64bit-options)
40652 (syscall-list-64bit-condition): Define.
40653 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40655 (syscall-list-variants, syscall-list-32bit-options)
40656 (syscall-list-32bit-condition, syscall-list-64bit-options)
40657 (syscall-list-64bit-condition): Define.
40658 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40660 (syscall-list-variants, syscall-list-32bit-options)
40661 (syscall-list-32bit-condition, syscall-list-64bit-options)
40662 (syscall-list-64bit-condition): Define.
40664 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40666 * locale/iso-639.def: Add brx entry.
40669 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40670 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40672 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40673 __feraiseexcept_renamed.
40675 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40678 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40679 EPOLLET with unsigned values.
40680 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40681 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40683 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40684 to large cancellation.
40685 * math/s_cacoshf.c: Likewise.
40686 * math/s_cacoshl.c: Likewise.
40688 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40692 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40693 * math/s_cacoshf.c: Likewise.
40694 * math/s_cacoshl.c: Likewise.
40696 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40699 * iconv/gconv.h: Define __GCONV_SWAP.
40700 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40701 * iconvdata/utf-16.c: Likewise.
40702 * iconvdata/utf-32.c: Likewise.
40704 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40707 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40708 numerator after shifting it by one limb.
40710 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40712 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40713 under [__USE_EXTERN_INLINES].
40715 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40718 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40720 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40722 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40723 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40725 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40726 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40727 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40728 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40729 for strncasecmp/strncasecmp_l compilation.
40730 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40731 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40733 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40736 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40739 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40742 * time/tzfile.c (__tzfile_read): Check values from file header.
40744 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40746 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40747 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40748 * powerpc/powerpc32/dl-start.S: Likewise.
40749 * powerpc/powerpc32/elf/start.S: Likewise.
40750 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40751 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40752 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40753 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40754 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40755 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40756 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40757 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40758 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40759 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40760 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40761 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40762 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40763 * powerpc/powerpc32/memset.S: Likewise.
40764 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40765 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40766 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40767 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40768 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40769 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40770 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40771 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40772 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40773 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40774 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40775 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40776 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40778 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40780 * math/libm-test.inc: Added more nearbyint tests.
40781 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40782 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40783 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40784 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40786 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40788 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40791 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40793 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40794 Add wcscpy-ssse3 wcscpy-c.
40795 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40796 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40797 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40798 * sysdeps/x86_64/wcschr.S: New file.
40799 * sysdeps/x86_64/wcsrchr.S: New file.
40800 * string/test-strcmp.c: Remove checking of wcscmp function for
40802 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40803 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40804 wcsrchr-sse2 wcsrchr-c.
40805 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40806 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40807 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40808 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40809 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40810 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40811 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40812 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40813 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40814 * wcsmbc/wcschr.c (WCSCHR): New macro.
40816 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40818 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40819 * wcsmbs/test-wcsrchr.c: New file.
40820 * string/test-strrchr.c: Add wcsrchr support.
40822 * wcsmbs/test-wcscpy.c: New file.
40823 * string/test-strcpy.c: Add wcscpy support.
40826 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40828 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40831 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40834 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40836 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40838 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40839 Minor optimizations.
40841 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40842 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40843 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40845 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40847 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40848 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40849 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40850 for gcc to avoid warnings.
40851 * inet/Makefile (tests): Add tst-checks.
40852 * inet/tst-checks.c: New file.
40854 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40857 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40860 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40861 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40863 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40865 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40867 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40870 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40872 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40874 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40875 conditional on GCC version.
40876 (__arch_compare_and_exchange_val_8_acq)
40877 (__arch_compare_and_exchange_val_16_acq)
40878 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40879 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40880 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40882 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40884 * sysdeps/sh/backtrace.c: New file.
40886 2011-12-02 Andreas Schwab <schwab@redhat.com>
40888 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40891 2011-12-01 Andreas Schwab <schwab@redhat.com>
40893 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40894 falling back to utime.
40896 2011-11-30 Andreas Schwab <schwab@redhat.com>
40898 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40899 expectations for float.
40901 2011-11-29 Andreas Schwab <schwab@redhat.com>
40903 * locale/weight.h (findidx): Add parameter len.
40904 * locale/weightwc.h (findidx): Likewise.
40905 * posix/fnmatch_loop.c (FCT): Adjust caller.
40906 * posix/regcomp.c (build_equiv_class): Likewise.
40907 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40908 * posix/regexec.c (check_node_accept_bytes): Likewise.
40909 * string/strcoll_l.c (STRCOLL): Likewise.
40910 * string/strxfrm_l.c (STRXFRM): Likewise.
40912 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40914 * Makefile.in: Remove CVSOPT handling.
40915 * configure.in: Remove use of AC_REVISION.
40916 * iconvdata/Makefile (distribute): No need to filter out CVS.
40917 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40920 2011-11-16 Andreas Schwab <schwab@redhat.com>
40922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40923 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40924 [USE_AS_STRNCASECMP_L]: Likewise.
40925 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40926 NO_TLS_DIRECT_SEG_REFS.
40927 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40928 Fix argument offsets for non-PIC.
40929 [USE_AS_STRNCASECMP_L]: Likewise.
40930 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40931 NO_TLS_DIRECT_SEG_REFS.
40933 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40935 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40937 * locale/loadlocale.c (_nl_load_locale): Likewise.
40939 2011-11-15 Andreas Schwab <schwab@redhat.com>
40941 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40942 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40943 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40944 (SYSCALL_GETTIME): Set errno on error.
40946 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40947 count references to noai6ai_cached.
40949 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40951 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40953 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40954 FD_CLOEXEC for /proc/self/maps.
40956 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40957 FD_CLOEXEC for /proc/meminfo.
40959 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40962 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40963 FD_CLOEXEC for given file.
40965 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40967 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40968 FD_CLOEXEC for /etc/hosts.
40969 (_gethtent): Likewise.
40971 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40973 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40974 cancellation and set FD_CLOEXEC for /etc/netgroup.
40976 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40977 reading /etc/publickey.
40979 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40980 allow cancellation when reading /etc/group.
40982 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40984 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40986 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40987 when using data file.
40989 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40991 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40992 (write_nis_obj): Use "c" and "e" in fopen.
40994 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40996 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40998 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41000 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41002 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41005 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41007 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41009 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41011 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41012 file parsing and set FD_CLOEXEC.
41014 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41016 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41018 2011-11-14 Andreas Schwab <schwab@redhat.com>
41020 * malloc/arena.c (arena_get2): Don't call reused_arena when
41021 _int_new_arena failed.
41023 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41025 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41026 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41028 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41029 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41030 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41031 to compile strcasecmp and strncasecmp.
41032 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41033 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41037 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41039 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41040 locale-defines.sym to gen-as-const-headers.
41041 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41042 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41043 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41044 to compile strcasecmp and strncasecmp.
41045 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41046 strcasecmp_l and strncasecmp_l.
41047 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41048 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41049 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41050 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41051 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41052 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41053 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41054 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41055 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41056 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41057 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41059 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41061 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41062 result of SYSDEP_GETTIME_CPU to retval.
41063 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41064 parameter list to macro. Remove trailing semicolon. Adjust users.
41066 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41069 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41071 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41073 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41074 from unused variable.
41076 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41078 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41081 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41084 * sunrpc/rpc_prot.c (rejected): Fix case value.
41086 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41087 unsigned long long int to avoid warnings in shift.
41089 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41091 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41094 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41095 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41096 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41098 * nis/nis_table.c (nis_list): Use variable of correct type for
41099 result of __follow_path call.
41101 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41103 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41104 of math functions ceil, trunc, floor, round, and sqrt, when
41105 avaliable on the platform.
41106 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41108 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41109 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41110 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41112 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41114 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41115 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41117 2011-11-11 Roland McGrath <roland@hack.frob.com>
41119 * include/unistd.h: Fix __readlink return type.
41120 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41122 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41124 * stdlib/ucontext.h: Undo last change for makecontext.
41126 2011-11-11 Andreas Schwab <schwab@redhat.com>
41128 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41130 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41131 * setjmp/setjmp.h: Mark functions as non-leaf.
41132 * setjmp/bits/setjmp2.h: Likewise.
41133 * stdlib/ucontext.h: Likewise.
41135 2011-11-10 Andreas Schwab <schwab@redhat.com>
41137 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41138 (reused_arena): Don't check arena limit.
41139 (arena_get2): Atomically check arena limit.
41141 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41143 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41144 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41149 2011-11-07 Andreas Schwab <schwab@redhat.com>
41151 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41152 handler when locking.
41154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41155 Fix size of allocated buffer.
41157 2011-11-04 Andreas Schwab <schwab@redhat.com>
41160 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41161 declarations for long double functions.
41162 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41164 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41166 2011-11-03 Andreas Schwab <schwab@redhat.com>
41168 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41171 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41174 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41176 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41178 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41180 * include/alloca.h (stackinfo_alloca_round): Define.
41181 (extend_alloca): Use it.
41182 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41183 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41186 * scripts/check-local-headers.sh: Ignore libaudit.h.
41188 * nscd/Makefile (extra-objs): Make recursively expanded.
41190 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41192 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41193 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41195 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41196 * posix/tst-rfc3484-2.c: Likewise.
41197 * posix/tst-rfc3484-3.c: Likewise.
41199 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41201 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41203 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41204 process_vm_writev from libc using GLIBC_2.15 version.
41206 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41208 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41210 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41213 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41216 * nss/getent.c (initgroups_keys): Show error message in case no group
41219 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41220 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41221 __bump_nl_timestamp.
41222 * nscd/connections (nscd_init): When host database is served open
41223 netlink socket and request notification about configuration changes.
41224 (main_loop_poll): Track netlink file descriptor and bump timestamp
41225 in case data becomes available.
41226 (main_loop_epoll): Likewise.
41227 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41228 (database_pers_head): Add extra_data fileds.
41229 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41230 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41231 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41234 in6ai data, call __free_in6ai.
41235 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41236 Add -DHAVE_NETLINK.
41237 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41238 interface information. Reuse previous data if netlink timestamp
41240 (__bump_nl_timestamp): New function.
41241 (__free_in6ai): New function.
41243 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41245 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41246 close_not_cancel_no_status here.
41247 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41249 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41252 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41255 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41256 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41257 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41259 2011-07-03 Andreas Jaeger <aj@suse.de>
41262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41263 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41264 * math/libm-test.inc (sin_test): Add test case.
41266 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41269 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41270 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41272 * elf/chroot_canon.c (chroot_canon): Cleanups.
41274 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41277 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41278 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41280 * string/test-strchr.c: Make usable for strchrnul testing.
41281 * string/test-strchrnul.c: New file.
41282 * string/Makefile (strop-tests): Add strchrnul.
41284 * po/it.po: Update from translation team.
41285 * po/es.po: Likewise.
41287 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41290 the three constants needed as parameters. Drop the others.
41291 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41292 __m128i_strloadu_tolower.
41293 Create and initialize variable zero and use it in all the places
41294 where _mm_setzero_si128 was used.
41296 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41297 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41298 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41301 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41302 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41303 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41304 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41305 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41306 __mpranred, __mptan.
41307 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41308 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41309 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41310 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41311 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41312 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41313 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41314 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41315 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41317 2011-10-28 Andreas Schwab <schwab@redhat.com>
41319 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41320 redefine if SHARED.
41321 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41324 wide char related routines to wcsmbs subdir.
41326 2011-10-27 Andreas Schwab <schwab@redhat.com>
41329 * misc/sys/cdefs.h (__THROWNL): Define.
41330 * posix/unistd.h: Use __THREADNL instead of __THREAD
41331 for memory synchronization functions.
41333 2011-10-26 Roland McGrath <roland@hack.frob.com>
41336 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41338 * manual/stdio.texi (Obstack Streams): Node removed.
41340 2011-10-26 Andreas Schwab <schwab@redhat.com>
41342 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41343 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41344 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41346 * math/math_private.h (math_force_eval): Allow non-addressable
41348 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41350 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41352 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41353 file is not needed.
41355 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41357 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41358 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41359 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41360 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41361 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41362 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41364 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41365 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41366 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41367 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41368 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41369 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41370 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41371 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41372 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41373 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41374 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41375 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41376 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41377 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41378 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41379 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41380 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41381 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41382 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41384 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41385 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41387 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41388 place. Use VEX encoding when compiling for AVX.
41390 2011-10-25 Andreas Schwab <schwab@redhat.com>
41392 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41393 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41395 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41397 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41399 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41400 useless if() expression.
41401 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41402 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41403 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41405 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41406 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41407 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41408 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41409 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41410 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41411 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41412 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41413 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41414 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41415 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41416 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41417 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41418 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41419 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41421 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41423 2011-10-25 Andreas Schwab <schwab@redhat.com>
41425 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41427 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41429 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41431 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41432 .text section. Avoid duplicate constants.
41433 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41435 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41441 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41442 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41443 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41444 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41445 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41446 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41447 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41448 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41449 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41450 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41451 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41453 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41454 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41455 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41456 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41457 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41458 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41459 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41460 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41461 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41462 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41463 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41464 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41465 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41466 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41467 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41468 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41469 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41470 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41471 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41472 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41473 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41474 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41475 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41476 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41477 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41479 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41481 * sysdeps/x86_64/dla.h: Move to ...
41482 * sysdeps/x86_64/fpu/dla.h: ...here.
41483 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41484 situations. Use __builtin_fma only for gcc 4.6 and up.
41486 * config.make.in: Add have-mfma4 entry.
41487 * configure.in: Substitute libc_cv_cc_fma4.
41488 * math/Makefile (dbl-only-routines): Add sincostab.
41489 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41490 Use __sincostab not sincos.
41491 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41493 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41498 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41499 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41500 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41501 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41503 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41504 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41506 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41507 define aliases when function name is a macro.
41508 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41509 sysdeps/ieee754/dbl-64/sincos.tbl.
41510 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41511 fma4-enabled routines.
41512 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41513 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41514 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41515 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41516 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41517 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41518 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41519 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41520 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41521 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41522 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41523 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41524 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41525 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41526 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41527 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41528 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41529 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41530 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41531 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41532 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41533 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41534 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41535 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41536 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41537 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41538 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41539 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41540 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41541 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41543 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41551 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41554 2011-10-24 Andreas Schwab <schwab@redhat.com>
41556 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41558 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41560 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41562 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41566 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41567 Remove unused variable magic_bits.
41568 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41570 * string/strnlen.c: Define and use STRNLEN macro.
41571 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41572 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41574 * wcsmbs/wcslen.c: Define and use WCSLEN.
41575 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41576 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41577 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41578 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41579 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41580 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41581 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41583 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41586 strnlen-sse2-no-bsf.
41587 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41588 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41589 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41590 Add strnlen support.
41591 (USE_AS_STRNLEN): New macro.
41592 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41593 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41594 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41595 * sysdeps/x86_64/wcslen.S: New file.
41597 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41599 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41600 XMM-moves are used for copying on small sizes.
41602 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41604 * wcsmbs/Makefile (strop-tests): Add wcschr.
41605 * wcsmbs/test-wcschr.c: New file.
41606 * string/test-strchr.c: Update.
41607 Add wcschr support.
41610 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41612 * wcsmbs/Makefile (strop-tests): Add wcslen.
41613 * wcsmbs/test-wcslen.c: New file.
41614 * string/test-strlen.c: Update.
41615 Add wcslen support.
41618 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41620 * po/it.po: Update from translation team.
41622 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41624 * sysdeps/x86_64/wcscmp.S: Update.
41625 Fix wrong comparison semantics.
41626 wcscmp shall use signed comparison not unsigned.
41627 Don't use substraction to avoid overflow bug.
41628 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41629 * wcsmbc/wcscmp.c: Likewise.
41630 * string/test-strcmp.c: Likewise.
41631 Add new tests to check cases with negative values.
41633 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41635 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41636 * sysdeps/x86_64/dla.h: ...here. New file.
41637 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41642 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41645 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41647 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41650 __ynl_finite aliases.
41652 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41656 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41658 [DLA_FMA] (EMULV): Use DLA_FMA.
41659 [DLA_FMA] (MUL12): Use EMULV.
41660 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41661 that are not needed.
41662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41665 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41667 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41670 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41672 * math/s_nan.c: Undef __nan.
41673 * math/s_nanf.c: Undef __nanf.
41674 * math/s_nanl.c: Undef __nanl.
41675 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41678 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41680 * math/s_catan.c: Add branch predictions.
41681 * math/s_catanf.c: Likewise.
41682 * math/s_catanh.c: Likewise.
41683 * math/s_catanhf.c: Likewise.
41684 * math/s_catanhl.c: Likewise.
41685 * math/s_catanl.c: Likewise.
41686 * math/s_cexp.c: Likewise.
41687 * math/s_cexpf.c: Likewise.
41688 * math/s_cexpl.c: Likewise.
41689 * math/s_clog.c: Likewise.
41690 * math/s_clog10.c: Likewise.
41691 * math/s_clog10f.c: Likewise.
41692 * math/s_clog10l.c: Likewise.
41693 * math/s_clogf.c: Likewise.
41694 * math/s_clogl.c: Likewise.
41695 * math/s_csqrt.c: Likewise.
41696 * math/s_csqrtf.c: Likewise.
41697 * math/s_csqrtl.c: Likewise.
41698 * math/s_ctanf.c: Likewise.
41699 * math/s_ctanh.c: Likewise.
41700 * math/s_ctanhf.c: Likewise.
41701 * math/s_ctanhl.c: Likewise.
41702 * math/s_ctanl.c: Likewise.
41704 * math/math_private.h: Define __nan, __nanf, __nanl.
41705 * math/s_cacosh.c: Include <math_private.h>.
41706 * math/s_cacoshl.c: Likewise.
41707 * math/s_casinh.c: Likewise.
41708 * math/s_casinhf.c: Likewise.
41709 * math/s_casinhl.c: Likewise.
41710 * math/s_ccos.c: Rely entire on ccosh.
41711 * math/s_ccosf.c: Rely entire on ccoshf.
41712 * math/s_ccosl.c: Rely entirely on ccoshl.
41713 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41714 Remove tests for FE_INVALID.
41715 * math/s_ccoshf.c: Likewise.
41716 * math/s_ccoshl.c: Likewise.
41717 * math/s_csin.c: Likewise.
41718 * math/s_csinf.c: Likewise.
41719 * math/s_csinh.c Likewise.
41720 * math/s_csinhf.c: Likewise.
41721 * math/s_csinhl.c: Likewise.
41722 * math/s_csinl.c: Likewise.
41723 * math/s_ctan.c: Likewise.
41724 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41725 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41726 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41728 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41731 compilation problems.
41733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41736 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41738 * sysdeps/i386/configure.in: Test for -mfma4 option.
41739 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41740 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41741 COMMON_CPUID_INDEX_80000001.
41742 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41743 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41744 use it if FMA3 is not supported.
41745 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41747 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41748 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41750 2011-10-20 Andreas Schwab <schwab@redhat.com>
41753 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41754 it would create a cycle with a link time dependency.
41756 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41758 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41760 * string/Makefile (strop-tests): Add rawmemchr.
41761 * string/test-rawmemchr.c: New file.
41763 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41765 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41766 when compiling str{,n}casecmp and when AVX is available. Hook up
41767 new optimized code in initializers.
41769 2011-10-19 Andreas Schwab <schwab@redhat.com>
41771 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41772 __feraiseexcept instead of feraiseexcept.
41774 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41776 * math/math_private.h: Define defaults for libc_fetestexcept and
41778 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41779 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41780 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41781 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41782 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41783 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41784 libc_fetestexcept and libc_feupdateenv.
41786 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41787 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41788 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41789 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41790 libc_feholdexcept_setround.
41792 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41793 Add s_nearbyint-c and s_nearbyintf-c.
41794 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41795 nearbyintf inlines.
41796 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41797 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41798 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41799 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41801 * math/math_private.h: Define defaults for libc_fegetround,
41802 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41803 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41804 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41805 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41806 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41807 standard functions.
41808 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41809 Remove comments and hacks for old compiler versions.
41810 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41811 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41812 libc_feholdexceptl.
41814 2011-10-18 Andreas Schwab <schwab@redhat.com>
41816 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41817 (__feraiseexcept_renamed): Add __NTH.
41818 (feraiseexcept): Add __NTH. Rename local variables to fix
41819 namespace violations.
41821 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41823 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41825 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41827 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41828 recently added interfaces.
41829 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41831 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41832 about macro parameter expansion.
41834 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41835 __NO_MATH_INLINES is defined. Cleanups.
41837 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41838 and __floorf is target has SSE4.1.
41839 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41840 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41841 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41842 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41844 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41846 (floorf): Likewise.
41848 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41850 2011-10-17 Andreas Schwab <schwab@redhat.com>
41852 * misc/sys/cdefs.h: Fix last change.
41854 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41857 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41859 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41861 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41863 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41864 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41866 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41867 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41868 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41869 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41870 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41871 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41872 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41873 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41874 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41875 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41876 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41877 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41878 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41879 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41880 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41881 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41882 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41884 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41885 ceil, ceilf, floor, floorf.
41887 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41888 Perform IRELATIVE relocations last.
41890 * elf/do-rel.h: Add another parameter nrelative, replacing the
41891 local variable with the same name. Change name of the function
41892 to end in Rel or Rela (uppercase).
41893 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41894 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41895 elf_dynamic_do_##reloc function.
41897 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41899 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41900 is sufficient, at least on modern CPUs.
41902 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41904 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41905 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41907 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41909 * math/bits/math-finite.h: Add entries for exp.
41910 * math/e_expl.c: Add __*_finite alias.
41911 * sysdeps/i386/fpu/e_exp.S: Likewise.
41912 * sysdeps/i386/fpu/e_expf.S: Likewise.
41913 * sysdeps/i386/fpu/e_expl.c: Likewise.
41914 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41915 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41916 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41919 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41920 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41922 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41923 is sufficient, at least on modern CPUs.
41925 * ctype/ctype-info.c (__ctype_init): Define.
41926 * include/ctype.h (__ctype_init): Declare.
41927 (__ctype_b_loc): The variable is always initialized.
41928 (__ctype_toupper_loc): Likewise.
41929 (__ctype_tolower_loc): Likewise.
41930 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41931 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41933 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41935 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41937 * configure.in: Also look in $cxxmachine/include for C++ system
41940 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41942 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41943 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41944 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41945 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41946 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41947 (USE_AS_WMEMCMP): New macro.
41949 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41950 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41951 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41952 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41954 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41955 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41956 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41957 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41958 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41959 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41960 (USE_AS_WMEMCMP): New macro.
41961 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41962 * sysdeps/string/test-memcmp.c: Update.
41963 Fix simple_wmemcmp.
41965 * wcsmbs/wmemcmp.c: Update.
41966 (WMEMCMP): New macro.
41969 2011-10-12 Andreas Jaeger <aj@suse.de>
41972 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41974 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41976 * libio/iofwide.c (do_length): Avoid warning.
41978 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41980 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41982 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41984 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41985 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41986 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41987 * sysdeps/i386/i686/fpu/e_log.S: New file.
41988 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41989 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41991 * ctype/ctype.h: Add support for inlined isXXX functions when
41992 compiling C++ code.
41994 2011-10-14 Andreas Schwab <schwab@redhat.com>
41996 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41998 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42000 2011-10-13 Roland McGrath <roland@hack.frob.com>
42003 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42005 2011-10-13 Andreas Schwab <schwab@redhat.com>
42007 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42008 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42011 * sysdeps/x86_64/memrchr.S: Check for zero size.
42013 * string/stratcliff.c: Add memrchr tests.
42015 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42018 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42019 rawmemchr-sse2 rawmemchr-sse2-bsf.
42020 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42021 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42022 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42023 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42024 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42025 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42026 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42027 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42028 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42029 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42030 * string/memrchr.c (MEMRCHR): New macro.
42032 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42034 Add integration with gcc's -ffinite-math-only and optimize wrapper
42036 * Versions.def: Define GLIBC_2.15 version for libm.
42037 * math/Makefile (headers): Add bits/math-finite.h.
42038 * math/bits/math-finite.h: New file.
42039 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42040 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42041 * math/e_acoshl.c: Add __*_finite alias.
42042 * math/e_acosl.c: Likewise.
42043 * math/e_asinl.c: Likewise.
42044 * math/e_atan2l.c: Likewise.
42045 * math/e_atanhl.c: Likewise.
42046 * math/e_coshl.c: Likewise.
42047 * math/e_exp10.c: Likewise.
42048 * math/e_exp10f.c: Likewise.
42049 * math/e_exp10l.c: Likewise.
42050 * math/e_exp2l.c: Likewise.
42051 * math/e_fmodl.c: Likewise.
42052 * math/e_gammal_r.c: Likewise.
42053 * math/e_hypotl.c: Likewise.
42054 * math/e_j0l.c: Likewise.
42055 * math/e_j1l.c: Likewise.
42056 * math/e_jnl.c: Likewise.
42057 * math/e_lgammal_r.c: Likewise.
42058 * math/e_log10l.c: Likewise.
42059 * math/e_log2l.c: Likewise.
42060 * math/e_logl.c: Likewise.
42061 * math/e_powl.c: Likewise.
42062 * math/e_sinhl.c: Likewise.
42063 * math/e_sqrtl.c: Likewise.
42064 * math/e_scalb.c: Completely rewritten and optimized.
42065 * math/e_scalbf.c: Likewise.
42066 * math/e_scalbl.c: Likewise.
42067 * math/w_acos.c: Likewise.
42068 * math/w_acosf.c: Likewise.
42069 * math/w_acosl.c: Likewise.
42070 * math/w_acosh.c: Likewise.
42071 * math/w_acoshf.c: Likewise.
42072 * math/w_acoshl.c: Likewise.
42073 * math/w_asin.c: Likewise.
42074 * math/w_asinf.c: Likewise.
42075 * math/w_asinl.c: Likewise.
42076 * math/w_atan2.c: Likewise.
42077 * math/w_atan2f.c: Likewise.
42078 * math/w_atan2l.c: Likewise.
42079 * math/w_atanh.c: Likewise.
42080 * math/w_atanhf.c: Likewise.
42081 * math/w_atanhl.c: Likewise.
42082 * math/w_exp10.c: Likewise.
42083 * math/w_exp10f.c: Likewise.
42084 * math/w_exp10l.c: Likewise.
42085 * math/w_fmod.c: Likewise.
42086 * math/w_fmodf.c: Likewise.
42087 * math/w_fmodl.c: Likewise.
42088 * math/w_j0.c: Likewise.
42089 * math/w_j0f.c: Likewise.
42090 * math/w_j0l.c: Likewise.
42091 * math/w_j1.c: Likewise.
42092 * math/w_j1f.c: Likewise.
42093 * math/w_j1l.c: Likewise.
42094 * math/w_jn.c: Likewise.
42095 * math/w_jnf.c: Likewise.
42096 * math/w_log.c: Likewise.
42097 * math/w_logf.c: Likewise.
42098 * math/w_logl.c: Likewise.
42099 * math/w_log10.c: Likewise.
42100 * math/w_log10f.c: Likewise.
42101 * math/w_log10l.c: Likewise.
42102 * math/w_log2.c: Likewise.
42103 * math/w_log2f.c: Likewise.
42104 * math/w_log2l.c: Likewise.
42105 * math/w_pow.c: Likewise.
42106 * math/w_powf.c: Likewise.
42107 * math/w_powl.c: Likewise.
42108 * math/w_remainder.c: Likewise.
42109 * math/w_remainderf.c: Likewise.
42110 * math/w_remainderl.c: Likewise.
42111 * math/w_scalb.c: Likewise.
42112 * math/w_scalbf.c: Likewise.
42113 * math/w_scalbl.c: Likewise.
42114 * math/w_sqrt.c: Likewise.
42115 * math/w_sqrtf.c: Likewise.
42116 * math/w_sqrtl.c: Likewise.
42117 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42118 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42120 * math/math_private.h: Declare __kernel_standard_f.
42121 * math/w_cosh.c: Remove cruft and optimize a bit.
42122 * math/w_coshf.c: Likewise.
42123 * math/w_coshl.c: Likewise.
42124 * math/w_exp2.c: Likewise.
42125 * math/w_exp2f.c: Likewise.
42126 * math/w_exp2l.c: Likewise.
42127 * math/w_hypot.c: Likewise.
42128 * math/w_hypotf.c: Likewise.
42129 * math/w_hypotl.c: Likewise.
42130 * math/w_lgamma.c: Likewise.
42131 * math/w_lgamma_r.c: Likewise.
42132 * math/w_lgammaf.c: Likewise.
42133 * math/w_lgammaf_r.c: Likewise.
42134 * math/w_lgammal.c: Likewise.
42135 * math/w_lgammal_r.c: Likewise.
42136 * math/w_sinh.c: Likewise.
42137 * math/w_sinhf.c: Likewise.
42138 * math/w_sinhl.c: Likewise.
42139 * math/w_tgamma.c: Likewise.
42140 * math/w_tgammaf.c: Likewise.
42141 * math/w_tgammal.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42143 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42144 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42145 Minor optimizations. Pretty printing. Remove cruft.
42146 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42147 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42148 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42149 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42150 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42151 * sysdeps/i386/fpu/e_asin.S: Likewise.
42152 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42153 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42154 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42155 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42156 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42157 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42158 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42159 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42160 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42161 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42162 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42163 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42164 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42165 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42166 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42167 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42168 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42169 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42170 * sysdeps/i386/fpu/e_log.S: Likewise.
42171 * sysdeps/i386/fpu/e_log10.S: Likewise.
42172 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42173 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42174 * sysdeps/i386/fpu/e_log2.S: Likewise.
42175 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42176 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42177 * sysdeps/i386/fpu/e_logf.S: Likewise.
42178 * sysdeps/i386/fpu/e_logl.S: Likewise.
42179 * sysdeps/i386/fpu/e_pow.S: Likewise.
42180 * sysdeps/i386/fpu/e_powf.S: Likewise.
42181 * sysdeps/i386/fpu/e_powl.S: Likewise.
42182 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42183 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42184 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42185 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42186 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42187 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42188 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42189 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42190 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42192 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42194 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42196 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42197 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42198 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42199 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42200 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42201 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42202 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42204 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42205 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42208 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42209 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42211 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42212 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42213 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42214 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42215 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42216 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42217 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42218 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42219 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42220 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42221 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42222 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42223 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42224 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42225 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42226 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42227 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42228 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42229 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42230 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42231 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42232 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42233 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42234 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42235 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42236 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42237 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42238 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42239 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42240 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42241 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42242 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42243 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42244 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42245 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42246 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42247 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42248 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42249 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42250 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42251 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42252 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42255 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42256 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42257 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42258 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42259 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42261 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42262 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42265 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42267 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42268 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42269 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42270 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42271 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42272 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42273 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42274 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42275 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42276 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42277 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42278 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42279 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42280 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42282 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42283 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42284 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42285 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42286 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42287 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42288 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42289 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42290 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42291 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42292 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42293 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42294 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42295 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42296 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42297 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42298 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42299 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42300 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42301 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42302 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42303 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42304 (__isnanf): Likewise.
42305 (__isinf_ns): Likewise.
42306 (__isinf_nsf): Likewise.
42307 (__finite): Likewise.
42308 (__finitef): Likewise.
42309 (__ieee754_sqrt): Define as macro.
42310 (__ieee754_sqrtf): Define as macro.
42311 (__ieee754_sqrtl): Define as macro.
42312 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42314 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42315 __FINITE_MATH_ONLY__ consistent.
42316 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42318 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42320 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42323 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42325 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42327 * po/ja.po: Update from translation team.
42329 2011-10-08 Roland McGrath <roland@hack.frob.com>
42331 * locale/programs/locarchive.c (prepare_address_space): New function.
42332 (create_archive, enlarge_archive, open_archive): Use it.
42334 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42335 inside [SHARED], where it is used.
42337 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42339 * nss/getent.c (netgroup_keys): Remove unused variable.
42340 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42342 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42344 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42345 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42347 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42348 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42349 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42350 * math/Makefile (libm-calls): Add s_isinf_ns.
42351 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42352 * math/multc3.c: Likewise.
42353 * math/s_casin.c: Likewise.
42354 * math/s_casinf.c: Likewise.
42355 * math/s_casinl.c: Likewise.
42356 * math/s_ccos.c: Likewise.
42357 * math/s_ccosf.c: Likewise.
42358 * math/s_ccosl.c: Likewise.
42359 * math/s_ctan.c: Likewise.
42360 * math/s_ctanf.c: Likewise.
42361 * math/s_ctanh.c: Likewise.
42362 * math/s_ctanhf.c: Likewise.
42363 * math/s_ctanhl.c: Likewise.
42364 * math/s_ctanl.c: Likewise.
42365 * math/w_fmod.c: Likewise.
42366 * math/w_fmodf.c: Likewise.
42367 * math/w_fmodl.c: Likewise.
42368 * math/w_remainder.c: Likewise.
42369 * math/w_remainderf.c: Likewise.
42370 * math/w_remainderl.c: Likewise.
42371 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42372 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42373 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42375 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42376 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42377 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42378 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42380 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42382 * stdio-common/printf_fphex.c: Likewise.
42383 * stdio-common/printf_size.c: Likewise.
42385 * math/e_exp10.c: Include math_private.h using <...> not "...".
42386 * math/e_exp10f.c: Likewise.
42387 * math/e_exp10l.c: Likewise.
42388 * math/e_exp2l.c: Likewise.
42389 * math/e_j0l.c: Likewise.
42390 * math/e_j1l.c: Likewise.
42391 * math/e_jnl.c: Likewise.
42392 * math/e_lgammal_r.c: Likewise.
42393 * math/e_rem_pio2l.c: Likewise.
42394 * math/e_scalb.c: Likewise.
42395 * math/e_scalbf.c: Likewise.
42396 * math/e_scalbl.c: Likewise.
42397 * math/k_cosl.c: Likewise.
42398 * math/k_sinl.c: Likewise.
42399 * math/k_tanl.c: Likewise.
42400 * math/s_cacoshf.c: Likewise.
42401 * math/s_catan.c: Likewise.
42402 * math/s_catanf.c: Likewise.
42403 * math/s_catanh.c: Likewise.
42404 * math/s_catanhf.c: Likewise.
42405 * math/s_catanhl.c: Likewise.
42406 * math/s_catanl.c: Likewise.
42407 * math/s_ccosh.c: Likewise.
42408 * math/s_ccoshf.c: Likewise.
42409 * math/s_ccoshl.c: Likewise.
42410 * math/s_cexp.c: Likewise.
42411 * math/s_cexpf.c: Likewise.
42412 * math/s_cexpl.c: Likewise.
42413 * math/s_clog.c: Likewise.
42414 * math/s_clog10.c: Likewise.
42415 * math/s_clog10f.c: Likewise.
42416 * math/s_clog10l.c: Likewise.
42417 * math/s_clogf.c: Likewise.
42418 * math/s_clogl.c: Likewise.
42419 * math/s_csin.c: Likewise.
42420 * math/s_csinf.c: Likewise.
42421 * math/s_csinh.c: Likewise.
42422 * math/s_csinhf.c: Likewise.
42423 * math/s_csinhl.c: Likewise.
42424 * math/s_csinl.c: Likewise.
42425 * math/s_csqrt.c: Likewise.
42426 * math/s_csqrtf.c: Likewise.
42427 * math/s_csqrtl.c: Likewise.
42428 * math/s_ctan.c: Likewise.
42429 * math/s_ctanf.c: Likewise.
42430 * math/s_ctanh.c: Likewise.
42431 * math/s_ctanhf.c: Likewise.
42432 * math/s_ctanhl.c: Likewise.
42433 * math/s_ctanl.c: Likewise.
42434 * math/s_ldexp.c: Likewise.
42435 * math/s_ldexpf.c: Likewise.
42436 * math/s_ldexpl.c: Likewise.
42437 * math/s_significand.c: Likewise.
42438 * math/s_significandf.c: Likewise.
42439 * math/s_significandl.c: Likewise.
42440 * math/w_acos.c: Likewise.
42441 * math/w_acosf.c: Likewise.
42442 * math/w_acosh.c: Likewise.
42443 * math/w_acoshf.c: Likewise.
42444 * math/w_acoshl.c: Likewise.
42445 * math/w_acosl.c: Likewise.
42446 * math/w_asin.c: Likewise.
42447 * math/w_asinf.c: Likewise.
42448 * math/w_asinl.c: Likewise.
42449 * math/w_atan2.c: Likewise.
42450 * math/w_atan2f.c: Likewise.
42451 * math/w_atan2l.c: Likewise.
42452 * math/w_atanh.c: Likewise.
42453 * math/w_atanhf.c: Likewise.
42454 * math/w_atanhl.c: Likewise.
42455 * math/w_cosh.c: Likewise.
42456 * math/w_coshf.c: Likewise.
42457 * math/w_coshl.c: Likewise.
42458 * math/w_dremf.c: Likewise.
42459 * math/w_exp10.c: Likewise.
42460 * math/w_exp10f.c: Likewise.
42461 * math/w_exp10l.c: Likewise.
42462 * math/w_exp2.c: Likewise.
42463 * math/w_exp2f.c: Likewise.
42464 * math/w_fmod.c: Likewise.
42465 * math/w_fmodf.c: Likewise.
42466 * math/w_fmodl.c: Likewise.
42467 * math/w_hypot.c: Likewise.
42468 * math/w_hypotf.c: Likewise.
42469 * math/w_hypotl.c: Likewise.
42470 * math/w_j0.c: Likewise.
42471 * math/w_j0f.c: Likewise.
42472 * math/w_j0l.c: Likewise.
42473 * math/w_j1.c: Likewise.
42474 * math/w_j1f.c: Likewise.
42475 * math/w_j1l.c: Likewise.
42476 * math/w_jn.c: Likewise.
42477 * math/w_jnf.c: Likewise.
42478 * math/w_jnl.c: Likewise.
42479 * math/w_lgamma.c: Likewise.
42480 * math/w_lgamma_r.c: Likewise.
42481 * math/w_lgammaf.c: Likewise.
42482 * math/w_lgammaf_r.c: Likewise.
42483 * math/w_lgammal.c: Likewise.
42484 * math/w_lgammal_r.c: Likewise.
42485 * math/w_log.c: Likewise.
42486 * math/w_log10.c: Likewise.
42487 * math/w_log10f.c: Likewise.
42488 * math/w_log10l.c: Likewise.
42489 * math/w_log2.c: Likewise.
42490 * math/w_log2f.c: Likewise.
42491 * math/w_log2l.c: Likewise.
42492 * math/w_logf.c: Likewise.
42493 * math/w_logl.c: Likewise.
42494 * math/w_pow.c: Likewise.
42495 * math/w_powf.c: Likewise.
42496 * math/w_powl.c: Likewise.
42497 * math/w_remainder.c: Likewise.
42498 * math/w_remainderf.c: Likewise.
42499 * math/w_remainderl.c: Likewise.
42500 * math/w_scalb.c: Likewise.
42501 * math/w_scalbf.c: Likewise.
42502 * math/w_scalbl.c: Likewise.
42503 * math/w_sinh.c: Likewise.
42504 * math/w_sinhf.c: Likewise.
42505 * math/w_sinhl.c: Likewise.
42506 * math/w_sqrt.c: Likewise.
42507 * math/w_sqrtf.c: Likewise.
42508 * math/w_sqrtl.c: Likewise.
42509 * math/w_tgamma.c: Likewise.
42510 * math/w_tgammaf.c: Likewise.
42511 * math/w_tgammal.c: Likewise.
42513 * po/ja.po: Update from translation team.
42515 2011-09-29 Andreas Jaeger <aj@suse.de>
42518 * sunrpc/netname.c (netname2host): Fix logic.
42522 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42524 * math/w_remainder.c (__remainder): Likewise.
42525 * math/w_remainderf.c (__remainderf): Likewise.
42526 * math/libm-test.inc (remainder_test): Add test cases.
42528 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42530 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42533 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42535 * string/test-memcmp.c: Avoid unncessary #defines.
42536 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42538 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42540 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42541 Use new sse2 version for core i3 - i7 as it's faster
42542 than sse42 version.
42543 (bit_Prefer_PMINUB_for_stringop): New.
42544 * sysdeps/x86_64/rawmemchr.S: Update.
42545 Replace with faster SSE2 version.
42546 * sysdeps/x86_64/memrchr.S: New file.
42547 * sysdeps/x86_64/memchr.S: Update.
42548 Replace with faster SSE2 version.
42550 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42552 * elf/dl-load.c (lose): Add cast to avoid warning.
42554 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42556 * po/ca.po: Update from translation team.
42558 * inet/getnetgrent_r.c: Hook up nscd.
42559 * nscd/Makefile (routines): Add nscd_netgroup.
42560 (nscd-modules): Add netgroupcache.
42561 (CFLAGS-netgroupcache.c): Define.
42562 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42563 (cache_search): Add const to second parameter.
42564 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42566 (dbs): Add netgrdb entry.
42567 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42568 (verify_persistent_db): Handle netgrdb.
42569 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42570 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42572 (netgroup_response_header): Define.
42573 (innetgroup_response_header): Define.
42574 (datahead): Add netgroup_response_header and innetgroup_response_header
42576 * nscd/nscd.conf: Add entries for netgroup cache.
42577 * nscd/nscd.h (dbtype): Add netgrdb.
42578 (_PATH_NSCD_NETGROUP_DB): Define.
42579 (netgroup_iov_disabled): Declare.
42580 (xmalloc, xcalloc, xrealloc): Move declarations here.
42581 (cache_search): Adjust prototype.
42582 Add netgroup-related prototypes.
42583 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42584 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42585 (__nscd_innetgr): Declare.
42586 * nscd/selinux.c (perms): Use access_vector_t as element type and
42587 add netgroup-related initializers.
42588 * nscd/netgroupcache.c: New file.
42589 * nscd/nscd_netgroup.c: New file.
42590 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42591 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42592 For four parameters use innetgr.
42593 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42594 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42595 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42596 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42598 * nscd/connections.c (register_traced_file): Don't register file
42599 for disabled databases.
42601 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42603 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42605 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42606 from tree and freeing node.
42608 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42610 * nss/nsswitch.c (__nss_database_lookup): Handle
42611 nss_parse_service_list out of memory case.
42613 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42615 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42616 out of memory case.
42618 2011-10-04 Andreas Schwab <schwab@redhat.com>
42620 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42621 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42623 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42624 elf_machine_rela, elf_machine_lazy_rel.
42625 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42626 (ELF_DYNAMIC_DO_REL): Likewise.
42627 (ELF_DYNAMIC_DO_RELA): Likewise.
42628 (ELF_DYNAMIC_RELOCATE): Likewise.
42629 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42630 to ELF_DYNAMIC_DO_REL.
42631 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42632 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42633 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42635 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42636 skip_ifunc, don't call ifunc function if non-zero.
42637 (elf_machine_rela): Likewise.
42638 (elf_machine_lazy_rel): Likewise.
42639 (elf_machine_lazy_rela): Likewise.
42640 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42641 (elf_machine_lazy_rel): Likewise.
42642 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42644 (elf_machine_lazy_rel): Likewise.
42645 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42647 (elf_machine_lazy_rel): Likewise.
42648 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42649 (elf_machine_lazy_rel): Likewise.
42650 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42651 (elf_machine_lazy_rel): Likewise.
42652 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42653 (elf_machine_lazy_rel): Likewise.
42654 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42655 (elf_machine_lazy_rel): Likewise.
42656 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42657 (elf_machine_lazy_rel): Likewise.
42658 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42659 (elf_machine_lazy_rel): Likewise.
42661 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42663 * nss/nss_files/files-init.c (_nss_files_init): Use static
42664 initialization for all the *_traced_file variables.
42666 2011-09-28 Andreas Schwab <schwab@redhat.com>
42668 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42670 2011-09-27 Roland McGrath <roland@hack.frob.com>
42673 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42675 2011-09-27 Andreas Schwab <schwab@redhat.com>
42677 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42678 Reread the line before reparsing it.
42680 2011-09-26 Andreas Schwab <schwab@redhat.com>
42682 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42684 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42685 Maxim Kuvyrkov <maxim@codesourcery.com>
42686 Joseph Myers <joseph@codesourcery.com>
42688 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42689 if needed for __stack_chk_guard.
42691 2011-09-19 Roland McGrath <roland@hack.frob.com>
42693 * sysdeps/posix/spawni.c (script_execute): Always define it.
42694 It will be optimized away if unused.
42695 (maybe_script_execute): New function.
42696 (__spawni): Call it.
42698 * Makerules: Don't include tls.make.
42699 (config-tls): Always set to thread.
42700 * tls.make.c: File removed.
42702 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42704 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42705 * config.make.in (CPPFLAGS-config): New substituted variable.
42707 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42709 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42712 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42713 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42715 2011-09-15 Roland McGrath <roland@hack.frob.com>
42717 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42718 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42720 (CALL_FAIL): Likewise.
42721 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42722 (CALL_FAIL): Macro removed.
42723 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42725 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42727 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42728 for __FINITE_MATH_ONLY__ == 1.
42730 2011-09-15 Andreas Schwab <schwab@redhat.com>
42732 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42733 __ieee754_sqrt instead of sqrt.
42734 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42735 __ieee754_sqrtf instead of sqrtf.
42736 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42737 __floorf instead of floorf.
42738 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42739 __floorf, __truncf instead of floorf, truncf.
42741 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42743 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42745 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42746 __extern_always_inline.
42747 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42750 2011-09-14 Andreas Schwab <schwab@redhat.com>
42752 * elf/rtld.c (dl_main): Also relocate in dependency order when
42753 doing symbol dependency testing.
42755 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42757 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42758 Always define `refsym'.
42760 2011-09-13 Andreas Schwab <schwab@redhat.com>
42762 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42763 (__FD_ELT): Renamed from __FDELT.
42764 * misc/bits/select2.h (__FD_ELT): Likewise.
42765 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42766 __FD_MASK instead of __FDELT, __FDMASK.
42767 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42769 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42772 * elf/Makefile (gen-ldd): Fix pattern.
42774 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42775 (init_tls): Likewise.
42777 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42781 2011-09-12 Andreas Schwab <schwab@redhat.com>
42783 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42784 `struct cmsghdr *' instead of `void *'.
42785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42788 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42790 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42792 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42793 ldd_rewrite_script.
42795 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42797 * configure.in: Remove --with-tls option.
42798 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42799 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42800 out in case it is missing.
42801 * sysdeps/ia64/elf/configure.in: Likewise.
42802 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42803 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42804 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42805 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42806 * sysdeps/sh/elf/configure.in: Likewise.
42807 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42808 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42809 * sysdeps/x86_64/elf/configure.in: Likewise.
42810 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42811 * sysdeps/mach/hurd/tls.h: Likewise.
42814 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42817 * configure.in: Fix use of AC_INIT.
42819 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42821 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42823 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42825 * malloc/hooks.c: Likewise.
42828 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42829 variables statically.
42830 (narenas): Initialize.
42831 (list_lock): Initialize.
42832 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42833 initializtion of main_arena and list_lock. Small cleanups.
42834 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42835 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42836 Add initializers to main_arena and mp_.
42837 (malloc_state): Remove pagesize member. Change all users to use
42840 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42841 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42842 is always initialized.
42844 * malloc/malloc.c: Removed unused configurations and dead code.
42845 * malloc/arena.c: Likewise.
42846 * malloc/hooks.c: Likewise.
42847 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42849 * include/tls.h: Removed. USE___THREAD must always be defined.
42850 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42851 * elf/dl-libc.c: Likewise.
42852 * elf/dl-tsd.c: Likewise.
42853 * include/errno.h: Likewise.
42854 * include/netdb.h: Likewise.
42855 * include/resolv.h: Likewise.
42856 * inet/herrno-loc.c: Likewise.
42857 * inet/herrno.c: Likewise.
42858 * malloc/arena.c: Likewise.
42859 * malloc/hooks.c: Likewise.
42860 * malloc/malloc.c: Likewise.
42861 * resolv/res-state.c: Likewise.
42862 * resolv/res_libc.c: Likewise.
42863 * sysdeps/i386/dl-machine.h: Likewise.
42864 * sysdeps/ia64/dl-machine.h: Likewise.
42865 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42866 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42867 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42868 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42869 * sysdeps/sh/dl-machine.h: Likewise.
42870 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42871 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42872 * sysdeps/unix/i386/sysdep.S: Likewise.
42873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42874 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42875 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42876 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42877 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42878 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42879 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42883 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42884 * sysdeps/x86_64/dl-machine.h: Likewise.
42885 * tls.make.c: Likewise.
42887 * configure.in: Remove --with-__thread option. Make tests for
42888 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42889 tls_model attribute fail if no support is available. Remove
42891 * Makeconfig: Adjust for dropped configure option. All features are
42893 * Makerules: Likewise.
42894 * Versions.def: Likewise.
42895 * argp/argp-fmtstream.c: Likewise.
42896 * argp/argp-fmtstream.h: Likewise.
42897 * argp/argp-help.c: Likewise.
42898 * assert/assert.c: Likewise.
42899 * config.h.in: Likewise.
42900 * config.make.in: Likewise.
42901 * configure: Likewise.
42902 * configure.in: Likewise.
42903 * csu/Versions: Likewise.
42904 * csu/init.c: Likewise.
42905 * elf/tst-audit2.c: Likewise.
42906 * elf/tst-tls10.c: Likewise.
42907 * elf/tst-tls10.h: Likewise.
42908 * elf/tst-tls11.c: Likewise.
42909 * elf/tst-tls12.c: Likewise.
42910 * elf/tst-tls14.c: Likewise.
42911 * elf/tst-tlsmod11.c: Likewise.
42912 * elf/tst-tlsmod12.c: Likewise.
42913 * elf/tst-tlsmod13.c: Likewise.
42914 * elf/tst-tlsmod13a.c: Likewise.
42915 * elf/tst-tlsmod14a.c: Likewise.
42916 * elf/tst-tlsmod15b.c: Likewise.
42917 * elf/tst-tlsmod16a.c: Likewise.
42918 * elf/tst-tlsmod16b.c: Likewise.
42919 * elf/tst-tlsmod7.c: Likewise.
42920 * elf/tst-tlsmod8.c: Likewise.
42921 * elf/tst-tlsmod9.c: Likewise.
42922 * gmon/gmon.c: Likewise.
42923 * grp/fgetgrent_r.c: Likewise.
42924 * grp/putgrent.c: Likewise.
42925 * hurd/fopenport.c: Likewise.
42926 * include/libc-symbols.h: Likewise.
42927 * include/tls.h: Likewise.
42928 * intl/gettextP.h: Likewise.
42929 * intl/loadinfo.h: Likewise.
42930 * locale/global-locale.c: Likewise.
42931 * locale/localeinfo.h: Likewise.
42932 * mach/devstream.c: Likewise.
42933 * malloc/arena.c: Likewise.
42934 * malloc/set-freeres.c: Likewise.
42935 * misc/err.c: Likewise.
42936 * misc/getttyent.c: Likewise.
42937 * misc/mntent_r.c: Likewise.
42938 * posix/getopt.c: Likewise.
42939 * posix/wordexp.c: Likewise.
42940 * pwd/fgetpwent_r.c: Likewise.
42941 * resolv/Versions: Likewise.
42942 * resolv/res_hconf.c: Likewise.
42943 * shadow/fgetspent_r.c: Likewise.
42944 * shadow/putspent.c: Likewise.
42945 * stdio-common/printf_fphex.c: Likewise.
42946 * stdio-common/tmpfile.c: Likewise.
42947 * stdlib/abort.c: Likewise.
42948 * stdlib/fmtmsg.c: Likewise.
42949 * sunrpc/auth_unix.c: Likewise.
42950 * sunrpc/clnt_perr.c: Likewise.
42951 * sunrpc/clnt_tcp.c: Likewise.
42952 * sunrpc/clnt_udp.c: Likewise.
42953 * sunrpc/clnt_unix.c: Likewise.
42954 * sunrpc/openchild.c: Likewise.
42955 * sunrpc/svc_simple.c: Likewise.
42956 * sunrpc/svc_tcp.c: Likewise.
42957 * sunrpc/svc_udp.c: Likewise.
42958 * sunrpc/svc_unix.c: Likewise.
42959 * sunrpc/xdr.c: Likewise.
42960 * sunrpc/xdr_array.c: Likewise.
42961 * sunrpc/xdr_rec.c: Likewise.
42962 * sunrpc/xdr_ref.c: Likewise.
42963 * sunrpc/xdr_stdio.c: Likewise.
42965 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42967 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42969 2011-07-03 Andreas Jaeger <aj@suse.de>
42971 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42972 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42973 regenerate with gen-libm-tests.pl.
42975 2010-05-12 Petr Baudis <pasky@suse.cz>
42978 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42979 around j0() zero points by switching to j1().
42980 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42983 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42985 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42987 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42989 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42991 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42992 Patch in part by Pavel Roskin <proski@gnu.org>.
42995 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42997 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42998 Free memory block if necessary.
43001 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43002 be NULL. Don't lock in this case.
43004 2011-09-09 Roland McGrath <roland@hack.frob.com>
43006 * elf/elf.h (ELFOSABI_GNU): New macro.
43007 (ELFOSABI_LINUX): Define to that.
43009 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43011 * string/strncat.c (strncat): Undef the symbol in case it has been
43012 defined in bits/string.h.
43014 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43016 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43018 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43021 2011-08-17 Andreas Jaeger <aj@suse.de>
43023 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43025 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43026 Ian Lance Taylor <iant@google.com>
43028 * math/libm-test.inc (lround_test): New testcase.
43029 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43031 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43033 * Makefile: Remove support for automatic cvs check-ins.
43034 * Makerules: Likewise.
43035 * config.make.in: Likewise.
43036 * configure.in: Likewise.
43037 * intl/Makefile: Likewise.
43038 * locale/Makefile: Likewise.
43039 * po/Makefile: Likewise.
43040 * posix/Makefile: Likewise.
43041 * sysdeps/gnu/Makefile: Likewise.
43042 * sysdeps/mach/hurd/Makefile: Likewise.
43043 * sysdeps/sparc/sparc32/Makefile: Likewise.
43046 * posix/Makefile (bug-regex32-ENV): Define.
43047 Patch by John Stanley <jpsinthemix@verizon.net>.
43049 * misc/Makefile (headers): Add bits/select2.h.
43050 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43051 * misc/bits/select2.h: New file.
43052 * include/bits/select2.h: New file.
43053 * debug/Makefile (routines): Add fdelt_chk.
43054 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43055 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43057 * debug/fdelt_chk.c: New file.
43059 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43060 * wcsmbs/test-wmemcmp.c: Likewise.
43061 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43062 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43064 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43066 * string/Makefile (strop-tests): Add memcmp.
43067 * string/test-wmemcmp.c: New file.
43068 * string/test-memcmp.c: Add wmemcmp support.
43070 2011-09-08 Roland McGrath <roland@hack.frob.com>
43073 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43076 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43077 garbage value in a __mach_port_mod_refs call in the cases of the
43078 task-self and thread-self ports.
43080 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43082 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43084 2011-09-08 Andreas Schwab <schwab@redhat.com>
43086 * elf/dl-load.c (lose): Check for non-null L.
43088 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43090 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43092 * elf/dl-libc.c (dlerror_run): Pass back error code from
43096 * elf/dl-load.c (lose): Free l_origin if it is valid.
43098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43100 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43101 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43102 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43103 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43104 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43105 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43107 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43109 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43110 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43111 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43112 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43113 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43114 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43115 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43116 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43117 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43118 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43120 2011-08-15 Alan Modra <amodra@gmail.com>
43123 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43124 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43125 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43126 ppc_mcount to static-only-routines.
43127 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43129 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43130 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43132 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43134 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43135 for finite and infinity parameters.
43137 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43139 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43140 and add nop instructions for throughput optimization.
43141 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43143 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43145 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43146 aligned copy for power7 with vector-scalar instructions.
43147 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43149 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43154 2011-09-07 Andreas Schwab <schwab@redhat.com>
43157 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43160 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43162 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43163 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43164 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43165 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43168 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43170 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43171 Forgot to demangle the pointer.
43173 * sysdeps/i386/sysdep.h: Define atom_text_section.
43174 * sysdeps/x86_64/sysdep.h: Likewise.
43175 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43176 section with atom_text_section.
43177 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43178 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43179 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43180 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43181 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43183 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43184 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43185 already be defined. Change to take two parameters and don't assign
43186 result to variable. Adjust all users.
43187 Define INTERNAL_GETTIME if not already defined.
43188 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43191 HAVE_CLOCK_GETTIME_VSYSCALL.
43192 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43195 gettimeofday vsyscall, just use time.
43197 2011-09-06 Andreas Schwab <schwab@redhat.com>
43199 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43202 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43204 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43208 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43209 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43210 syscall if possible.
43212 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43214 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43215 e_ident. Don't pass to find_mapsXX.
43216 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43218 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43221 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43222 * sysdeps/x86_64/multiarch/strchr.S: Update.
43223 Check bit_slow_BSF bit.
43224 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43225 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43226 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43228 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43231 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43233 (tryshell): Define.
43234 (__spawni): Change last parameter to be flag. Test
43235 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43236 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43237 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43238 * posix/spawni.c: Likewise.
43239 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43240 * posix/spawnp.c: Likewise. Change normal version to use
43241 SPAWN_XFLAGS_USE_PATH.
43242 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43243 SPAWN_XFLAGS_TRY_SHELL.
43246 * posix/glob.h: Remove gcc 1.x support.
43249 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43251 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43253 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43254 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43256 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43257 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43258 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43259 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43260 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43261 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43263 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43265 * sysdeps/x86_64/wcscmp.S: New file.
43267 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43268 wcscmp-c wcscmp-sse2
43269 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43270 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43271 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43272 * wcsmbs/wcscmp.c: Allow renaming.
43274 2011-09-05 David S. Miller <davem@davemloft.net>
43276 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43277 stack slot, rather than the struct return pointer slot.
43278 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43279 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43281 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43283 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43285 * po/ja.po: Update from translation team.
43288 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43289 kernel in 64-bit binaries.
43291 2011-09-01 David S. Miller <davem@davemloft.net>
43293 * elf/elf.h (HWCAP_SPARC_*): Move to..
43294 * sysdeps/sparc/sysdep.h: this new file and add new values.
43295 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43296 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43297 _DL_HWCAP_COUNT to 24.
43298 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43300 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43301 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43302 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43304 instead of magic constants.
43305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43307 2011-08-31 David S. Miller <davem@davemloft.net>
43309 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43310 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43311 Reimplement to do errno handling inline.
43312 (SYSCALL_ERROR_HANDLER): New macro.
43313 (__SYSCALL_STRING): Do not do errno handling in asm.
43314 (__CLONE_SYSCALL_STRING): Delete.
43315 (__INTERNAL_SYSCALL_STRING): Delete.
43316 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43317 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43318 (PSEUDO): Reimplement to do errno handling inline.
43319 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43320 (SYSCALL_ERROR_HANDLER): New macro.
43321 (__SYSCALL_STRING): Do not do errno handling in asm.
43322 (__CLONE_SYSCALL_STRING): Delete.
43323 (__INTERNAL_SYSCALL_STRING): Delete.
43324 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43325 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43327 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43328 (inline_syscall*): Add 'err' argument.
43329 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43330 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43331 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43332 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43334 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43335 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43337 2011-08-30 Andreas Schwab <schwab@redhat.com>
43339 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43341 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43343 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43346 2011-08-24 David S. Miller <davem@davemloft.net>
43348 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43350 2011-08-24 Andreas Schwab <schwab@redhat.com>
43352 * elf/Makefile: Add rules to build and run unload8 test.
43353 * elf/unload8.c: New file.
43354 * elf/unload8mod1.c: New file.
43355 * elf/unload8mod1x.c: New file.
43356 * elf/unload8mod2.c: New file.
43357 * elf/unload8mod3.c: New file.
43359 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43362 2011-08-23 David S. Miller <davem@davemloft.net>
43364 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43365 subtract stack bias.
43366 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43367 %sp not %fp in calculations.
43368 (_JMPBUF_UNWINDS_ADJ): Likewise.
43370 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43371 (aio_suspend): Call it to force an exception region around the
43372 AIO_MISC_WAIT() invocation.
43374 2011-08-23 Andreas Schwab <schwab@redhat.com>
43376 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43379 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43381 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43383 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43384 and <dl-machine.h>.
43385 (Elf64_FuncDesc): Remove.
43387 2011-08-22 David S. Miller <davem@davemloft.net>
43389 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43390 sigaltstack check, add missing cfi directives.
43391 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43392 missing cfi directives, and sigaltstack handling.
43394 2011-08-16 Andreas Schwab <schwab@redhat.com>
43397 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43398 object is seen twice.
43399 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43401 * elf/Makefile (distribute): Add tst-initorder2.c.
43402 (tests): Add tst-initorder2.
43403 (modules-names): Add tst-initorder2a tst-initorder2b
43404 tst-initorder2c tst-initorder2d. Add rules to build them.
43405 ($(objpfx)tst-initorder2.out): New rule.
43406 * elf/tst-initorder2.c: New file.
43407 * elf/tst-initorder2.exp: New file.
43409 2011-08-22 Andreas Schwab <schwab@redhat.com>
43411 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43413 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43414 dependencies back to end of function.
43416 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43417 $(elfobjdir)/ld.so.
43419 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43421 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43422 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43424 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43425 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43426 of __vdso_gettimeofday.
43427 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43428 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43430 (_libc_vdso_platform_setup): Remove initialization of
43431 __vdso_gettimeofday and __vdso_time.
43433 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43435 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43436 and fgetc_unlocked.
43437 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43440 * elf/dl-open.c (add_to_global): Report additions to the global scope
43441 for LD_DEBUG=scopes.
43442 (dl_open_worker): Also print scope of newly loaded dependencies.
43443 (_dl_show_scope): Indicate if there is no scope.
43446 * stdio-common/Makefile (tests): Add bug24.
43447 * stdio-common/bug24.c: New file.
43449 2011-08-19 Andreas Jaeger <aj@suse.de>
43452 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43453 non-existant file when using close-on-exec mode.
43455 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43458 the very first instruction.
43460 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43461 the CFI state in the end.
43462 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43463 inclusion of dl-trampoline.h.
43464 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43466 2011-08-19 Andreas Schwab <schwab@redhat.com>
43468 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43469 expectations for long double.
43471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43472 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43474 2011-08-14 David S. Miller <davem@davemloft.net>
43476 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43477 artificual limit depends upon the system page size.
43479 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43481 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43482 * resolv/Makefile: Define CFLAGS-libresolv.
43484 2011-08-17 Andreas Schwab <schwab@redhat.com>
43486 * nss/makedb.c (compute_tables): Make variables used in nested
43489 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43491 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43492 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43493 if buffer was too small.
43495 * elf/pldd.c (main): Attach to all threads in the process.
43496 Rewrite /proc handling to use *at functions.
43498 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43500 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43501 specifies first scope to show.
43502 (dl_open_worker): Update callers. Move printing scope of new
43503 object to before the relocation.
43504 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43505 * sysdeps/generic/ldsodefs.h: Update declaration.
43507 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43508 string for the scope number.
43510 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43512 * nscd/servicescache.c (cache_addserv): Make sure written is always
43515 2011-08-14 Roland McGrath <roland@hack.frob.com>
43517 * sysdeps/i386/i486/bits/atomic.h
43518 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43519 statement expression, so as to suppress "set but not used" warning.
43520 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43522 * string/strncat.c (STRNCAT): Use prototype definition.
43524 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43525 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43527 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43528 (localedef-modules): Add localedef.
43529 (locale-modules): Add locale.
43531 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43532 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43533 to avoid a warning.
43535 2011-08-14 David S. Miller <davem@davemloft.net>
43537 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43538 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43540 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43542 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43543 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43544 * elf/rtld.c (dl_main): Set l_name of vDSO.
43545 Call _dl_show_scope when DL_DEBUG_SCOPES.
43546 (process_dl_debug): Recognize scopes flag and also set it for all.
43547 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43548 Declare _dl_show_scope.
43550 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43551 (do_dlopen): Pass caller_dlopen to dl_open.
43552 (__libc_dlopen_mode): Initialize caller_dlopen.
43554 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43555 of libc. Make tolower call locale-independent. Optimize a bit by
43556 using isdigit instead of isalnum.
43557 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43559 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43561 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43562 was a dependency or dynamically loaded.
43564 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43566 * intl/l10nflist.c: Allow architecture-specific pop function.
43567 * sysdeps/x86_64/l10nflist.c: New file.
43569 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43572 2011-08-10 Andreas Schwab <schwab@redhat.com>
43574 * include/dirent.h: Add libc_hidden_proto for scandirat and
43575 scandirat64. Don't declare __scandirat64.
43576 * dirent/scandirat.c: Add libc_hidden_def.
43577 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43578 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43580 2011-08-10 David S. Miller <davem@davemloft.net>
43582 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43584 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43585 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43586 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43588 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43590 * Versions.def [libc]: Add GLIBC_2.15.
43591 * dirent/Makefile (routines): Add scandirat and scandirat64.
43592 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43594 * dirent/dirent.h: Declare scandirat and scandirat64.
43595 * dirent/scandirat.c: New file.
43596 * dirent/scandirat64.c: New file.
43597 * sysdeps/wordsize-64/scandirat.c: New file.
43598 * sysdeps/wordsize-64/scandirat64.c: New file.
43599 * dirent/opendir.c: Define opendirat.
43600 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43602 * dirent/scandir64.c: Adjust for scandir.c change.
43603 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43604 __scandirat64, and __scandir_cancel_handler.
43605 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43606 additional parameter and use openat instead of open (outside of ld.so).
43607 Add new __opendir as wrapper around __opendirat.
43608 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43609 here without requiring old scandirat implementation.
43611 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43613 * dirent/scandir.c (cancel_handler): Renamed to
43614 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43615 defined. Adjust users.
43616 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43617 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43619 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43621 * string/test-string.h (IMPL): Use __STRING to expand name and then
43624 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43627 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43629 * string/Makefile: Update.
43630 (strop-tests): Append strncat.
43631 * string/test-wcscmp.c: New file.
43632 New comprehensive test for wcscmp.
43633 * string/test-strcmp.c: Update.
43634 (WIDE): New define.
43636 2011-07-22 Andreas Schwab <schwab@redhat.com>
43638 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43641 2011-07-26 Andreas Schwab <schwab@redhat.com>
43643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43644 encoding to ACE if AI_IDN.
43646 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43649 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43651 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43653 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43654 Fix overflow bug in strncat.
43655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43657 * string/test-strncat.c: Update.
43658 Add new tests for checking overflow bugs.
43660 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43663 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43664 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43665 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43666 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43667 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43668 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43669 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43670 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43672 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43673 (USE_AS_STRCAT): Define.
43674 Add strcat and strncat support.
43675 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43677 2011-07-25 Andreas Schwab <schwab@redhat.com>
43679 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43680 __n bigger than INT_MAX+1.
43681 (__strncmp_g): Likewise.
43683 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43685 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43686 * libio/stido.h: Likewise.
43688 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43693 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43694 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43696 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43697 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43700 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43705 (_dl_x86_64_save_sse): Likewise.
43707 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43711 (_dl_x86_64_save_sse): Likewise.
43713 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43715 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43717 2011-07-21 Andreas Schwab <schwab@redhat.com>
43719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43721 (_dl_x86_64_save_sse): Use correct AVX check.
43723 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43725 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43726 bug in strncpy/strncat.
43727 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43729 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43731 * string/tester.c (test_strcat): Add tests for different alignments
43732 of source and destination.
43733 (test_strncat): Likewise.
43735 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43738 * posix/glob.c (glob): Check passed in values before using them in
43739 expressions to avoid some overflows.
43740 (glob_in_dir): Likewise.
43743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43744 check for AVX enablement so that we don't crash with old kernels and
43746 * elf/tst-audit4.c: Add same checks here.
43747 * elf/tst-audit6.c: Likewise.
43749 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43751 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43753 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43755 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43757 * po/cs.po: Update from translation team.
43758 * po/bg.po: Likewise.
43760 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43762 * misc/sys/cdefs.h: Add support for const attribute.
43763 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43764 to gnu_dev_{major,minor,makedev} functions.
43766 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43768 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43770 2011-07-20 Andreas Schwab <schwab@redhat.com>
43772 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43775 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43777 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43778 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43779 register in order to avoid conflicts with the soft frame pointer
43780 being held in r11 when necessary.
43781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43782 (INTERNAL_VSYSCALL_NCS): Likewise.
43784 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43786 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43787 * elf/dl-fini.c (_dl_fini): Adjust caller.
43788 * elf/dl-close.c (_dl_close_worker): Likewise.
43789 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43791 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43793 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43794 "aux_cache->nlibs < 0".
43796 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43797 in the reload-count case.
43799 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43802 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43803 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43804 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43805 * sysdeps/x86_64/multiarch/strcat.S: New file.
43806 * sysdeps/x86_64/multiarch/strncat.S: New file.
43807 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43808 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43809 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43810 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43811 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43812 (USE_AS_STRCAT): Define.
43813 Add strcat and strncat support.
43814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43815 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43816 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43817 * string/strncat.c: Update.
43818 (USE_AS_STRNCAT): Define.
43819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43820 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43822 * sysdeps/x86_64/multiarch/init-arch.h
43823 (bit_Prefer_PMINUB_for_stringop): New.
43824 (index_Prefer_PMINUB_for_stringop): Likewise.
43825 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43826 bit_Prefer_PMINUB_for_stringop.
43828 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43830 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43832 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43833 of casting of buffer.
43834 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43835 buffer32 and buffer64.
43836 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43837 writes instead of casting of buffer.
43838 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43840 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43843 2011-07-19 Andreas Schwab <schwab@redhat.com>
43845 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43847 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43849 * nscd/nscd.c (termination_handler): Don't do anything for a database
43850 if it has not yet been initialized.
43852 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43854 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43856 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43858 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43860 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43862 * po/nl.po: Update from translation team.
43863 * po/sv.po: Likewise.
43865 2011-07-16 Roland McGrath <roland@hack.frob.com>
43867 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43868 now disallowed by GCC.
43870 * configure.in (use-default-link): Default to yes if a test -shared
43871 link meets our qualifications.
43872 * configure: Regenerated.
43874 * config.make.in (output-format): New variable.
43875 * configure.in: Check for ld --print-output-format support.
43876 * configure: Regenerated.
43877 * Makerules ($(common-objpfx)format.lds)
43878 [$(output-format) != unknown]: Just use $(output-format),
43879 instead of the linker-script munging.
43881 2011-07-14 Roland McGrath <roland@hack.frob.com>
43883 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43884 of $(common-objpfx)shlib.lds.
43885 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43887 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43888 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43890 * configure.in (-z relro check): Adjust test code to add a large
43891 writable data section after it.
43892 * configure: Regenerated.
43894 2011-07-11 Roland McGrath <roland@hack.frob.com>
43896 * configure.in (-z relro check): Fix test code to make the variable
43898 * configure: Regenerated.
43900 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43902 * nscd/nscd.h (struct traced_file): Define.
43903 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43904 elements. Add traced_files.
43905 (inotify_fd): Declare.
43906 (register_traced_file): Declare.
43907 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43908 (inotify_fd): Export.
43909 (resolv_conf_descr): Remove.
43910 (nscd_init): Move inotify descriptor creation to main.
43911 Don't register files for notification here.
43912 (register_traced_file): New function.
43913 (invalidate_cache): Don't use reset_res to determine whether to call
43914 res_init, go through the list of registered files.
43915 (main_loop_poll): The inotify descriptors are now stored in the
43916 structures for the traced files.
43917 (main_loop_epoll): Likewise
43918 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43919 to __nss_disable_nscd.
43920 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43921 for a database anymore. Check the records for all the registered
43923 * nss/Makefile (libnss_files-routines): Add files-init.
43924 (libnss_db-routines): Add db-init.
43925 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43926 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43927 * nss/nss_db/db-init.c: New file.
43928 * nss/nss_files/files-init.c: New file.
43929 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43930 __nss_lookup_function.
43931 (__nss_lookup_function): Call nss_load_library.
43932 (nss_load_all_libraries): New function.
43933 (__nss_disable_nscd): Take parameter with callback function for files
43934 to register. Set is_nscd. Load all the DSOs for the NSS modules
43935 used for the cached services.
43936 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43937 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43938 options for features to all the files in nscd.
43940 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43942 2011-07-10 Roland McGrath <roland@hack.frob.com>
43944 * csu/elf-init.c (__libc_csu_init): Comment typo.
43946 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43948 * po/pl.po: Update from translation team.
43949 * po/ja.po: Likewise.
43950 * po/ru.po: Likewise.
43951 * po/ko.po: Likewise.
43952 * po/fr.po: Likewise.
43954 2011-07-09 Roland McGrath <roland@hack.frob.com>
43956 * configure.in (.ctors/.dtors header and trailer check):
43957 Use an empirical test on a built program.
43958 * configure: Regenerated.
43960 * configure.in (-z relro check): Use an empirical test on a built DSO.
43961 Detect, but do not require, on ia64.
43962 * configure: Regenerated.
43964 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43965 Update tests that use readelf to use $READELF instead.
43966 * configure: Regenerated.
43968 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43970 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43971 if the result is not used.
43973 2011-07-05 Andreas Jaeger <aj@suse.de>
43976 * stdlib/tst-strtod.c: Add testcase.
43978 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43980 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43981 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43982 The latter has a higher limit. Take additional parameter to pass to
43984 (__pathconf): Pass file to __statfs_link_max.
43985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43987 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43991 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43992 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43994 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43995 (__statfs_filesize_max): Likewise.
43996 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43998 2011-07-05 Andreas Jaeger <aj@suse.de>
44000 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44002 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44004 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44006 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44009 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44011 * Makefile (strop-tests): Add strncat.
44012 * string/test-strncat.c: New file.
44014 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44016 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44018 2011-06-21 Andreas Jaeger <aj@suse.de>
44020 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44021 Copy rule from iconvdata/Makefile.
44023 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44026 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44027 but no long options are defined, just return 'W'.
44029 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44032 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44034 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44036 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44038 (innetgr): Likewise.
44040 2011-07-05 Roland McGrath <roland@hack.frob.com>
44042 * config.make.in (install_root): Default to $(DESTDIR).
44044 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44046 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44048 2011-07-02 Roland McGrath <roland@hack.frob.com>
44050 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44052 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44053 containing directory rather than embedding absolute directory names.
44055 * scripts/check-local-headers.sh: Rewritten using awk.
44056 Match by word, not by line. Print error messages for matches.
44057 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44059 * Makerules [shlib-lds-flags empty]:
44060 ($(common-objpfx)libc_pic.opts): New target.
44061 ($(common-objpfx)libc_pic.os.clean): New target.
44062 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44064 * config.make.in (OBJCOPY): New variable.
44065 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44066 * configure: Regenerated.
44068 * config.make.in (use-default-link): New variable.
44069 * configure.in (use_default_link): Grok --with-default-link to set it.
44070 * configure: Regenerated.
44071 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44072 (shlib-lds, shlib-lds-flags): Define to empty.
44074 * Makerules (shlib-lds): New variable.
44075 (shlib-lds-flags): New variable.
44076 (build-shlib, build-moduile, build-module-asneeded): Use it.
44077 ($(common-objpfx)libc.so): Use $(shlib-lds).
44078 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44079 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44081 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44082 DT_FLAGS/DT_FLAGS_1 with zero flags.
44084 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44085 linker script munging.
44087 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44089 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44091 * crypt/sha512.c (sha512_process_block): Perform total addition using
44092 128-bit if possible.
44093 (__sha512_finish_ctx): Likewise.
44094 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44096 * crypt/sha256.c (SWAP64): Define.
44097 (sha256_process_block): Perform total addition using 64-bit if
44099 (__sha256_finish_ctx): Likewise.
44101 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44103 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44104 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44105 * nscd/hstcache.c (cache_addhst): Likewise.
44106 * nscd/grpcache.c (cache_addgr): Likewise.
44107 * nscd/aicache.c (addhstaiX): Likewise
44108 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44110 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44112 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44113 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44114 * nscd/hstcache.c (cache_addhst): Likewise.
44115 * nscd/grpcache.c (cache_addgr): Likewise.
44116 * nscd/aicache.c (addhstaiX): Likewise
44118 2011-07-01 Andreas Schwab <schwab@redhat.com>
44120 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44121 domain only when needed.
44123 2011-06-30 Andreas Schwab <schwab@redhat.com>
44125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44126 is always restored.
44128 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44130 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44131 are re-adding the entry.
44132 * nscd/servicescache.c (cache_addserv): Likewise.
44134 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44136 * sysdeps/generic/dl-irel.h: fix protection against multiple
44138 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44140 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44143 * malloc/memusage.sh: Fix quoting in message.
44144 * debug/xtrace.sh: Likewise.
44146 * configure.in: Remove support for --experimental-malloc option, make
44148 * config.make.in: Likewise.
44149 * malloc/Makefile: Likewise.
44151 2011-06-27 Andreas Schwab <schwab@redhat.com>
44153 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44154 two-byte characters.
44156 2011-06-27 Roland McGrath <roland@hack.frob.com>
44158 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44159 AC_CACHE_CHECK invocation.
44160 * configure: Regenerated.
44162 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44164 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44167 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44168 bit from old_res_options.
44170 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44172 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44173 value type for setfct.
44175 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44178 __gettimeofday instead of gettimeofday.
44180 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44182 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44184 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44186 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44191 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44194 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44195 strcpy-sse2-unaligned strncpy-sse2-unaligned
44196 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44197 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44198 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44199 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44200 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44201 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44202 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44203 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44204 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44205 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44206 (STRCPY): Support SSE2 and SSSE3 versions.
44208 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44211 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44212 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44213 kernels which artificially limit size of requests.
44215 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44218 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44219 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44220 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44221 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44222 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44223 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44224 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44225 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44226 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44227 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44228 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44229 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44230 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44231 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44233 Enable unaligned load optimization for Intel Core i3, i5 and i7
44235 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44237 (index_Fast_Unaligned_Load): Define.
44238 (HAS_FAST_UNALIGNED_LOAD): Define.
44240 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44242 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44244 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44247 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44248 until it is clear that the information is realy needed.
44249 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44251 2011-06-22 Andreas Schwab <schwab@redhat.com>
44253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44255 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44257 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44258 /sys/devices/system/cpu/online if it is usable.
44260 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44261 reading the information from the /proc filesystem to once a second.
44263 2011-06-21 Andreas Jaeger <aj@suse.de>
44265 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44266 NULL after inclusion of kernel headers.
44268 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44270 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44271 calls to internal_setent.
44274 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44275 addresses using gethostbyname4_r ignore IPv4 addresses.
44277 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44278 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44280 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44282 2011-06-20 David S. Miller <davem@davemloft.net>
44284 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44286 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44288 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44289 (elf_irel): Use it.
44290 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44291 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44292 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44293 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44294 * sysdeps/x86_64/dl-irel.h: Likewise.
44296 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44297 * elf/dl-sym.c: Likewise.
44299 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44301 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44302 need to dereference resplen2.
44304 2011-06-14 Andreas Schwab <schwab@redhat.com>
44306 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44308 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44310 * Makeconfig: Define vardbdir and inst_vardbdir.
44311 * nss/Makefile: Add rules to install db-Makefile.
44313 * nss/nss_db/db-XXX.c: Cleanup.
44315 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44316 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44318 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44319 * nss/makedb.c: Implement -g option to specify that value strings
44320 are generated and should not be added to table iterated over for
44322 * nss/nss_db/db-initgroups.c: New file.
44324 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44327 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44328 (internal_getgrouplist): Adjust to name change.
44329 Update use_initgroups_entry if this is not the first call.
44330 * nss/databases.def: Add initgroups entry.
44332 * nss/makedb.c (compute_tables): Check result of multiple hash table
44333 sizes to minimize maximum chain length.
44335 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44337 * Versions.def: Add entry for libnss_db.
44338 * shlib-versions: Likewise.
44339 * nss/Makefile: Add rules to build libnss_db.
44340 * nss/Versions: Add libnss_db information. Organize libnss_files
44342 * nss/db-Makefile: Add gshadow support. Change rules for the new
44343 makedb progra. Some minor improvements to generate smaller files.
44344 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44346 * nss/makedb.c: ...here.
44347 Improve database format to be smaller and require less memory at
44349 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44351 * nss/nss_db/db-netgrp.c: Likewise.
44352 * nss/nss_db/db-open.c: Likewise.
44353 * nss/nss_files/flies-XXX.x: Adjust comments.
44354 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44355 * nss/nss_files/files-grp.c: Likewise.
44356 * nss/nss_files/files-hosts.c: Likewise.
44357 * nss/nss_files/files-network.c: Likewise.
44358 * nss/nss_files/files-proto.c: Likewise.
44359 * nss/nss_files/files-pwd.c: Likewise.
44360 * nss/nss_files/files-rpc.c: Likewise.
44361 * nss/nss_files/files-service.c: Likewise.
44362 * nss/nss_files/files-sgrp.c: Likewise.
44363 * nss/nss_files/files-spwd.c: Likewise.
44364 * nss/nss_db/db-alias.c: Removed.
44365 * nss/nss_db/dummy-db.h: Removed.
44367 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44369 * nss/makedb.c: Rewritten to not use database library.
44370 * nss/Makefile: Update to build new makedb program.
44372 2011-06-14 Andreas Jaeger <aj@suse.de>
44374 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44375 memset declaration.
44377 2011-06-10 Andreas Schwab <schwab@redhat.com>
44379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44382 2011-06-10 Roland McGrath <roland@hack.frob.com>
44384 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44385 * elf/Makefile ($(objpfx)ld.so): Likewise.
44387 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44388 Don't list ld.so twice in dependencies.
44390 * posix/bug-regex31.c: Include <stdlib.h>.
44392 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44394 * nis/nss_compat/compat-spwd.c
44395 (getspent_next_nss_netgr): Remove unused variable.
44396 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44398 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44399 nonmembers" output to use the right array.
44401 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44403 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44405 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44406 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44407 * catgets/gencat.c (read_input_file): Likewise.
44408 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44410 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44411 variable definition inside #if's controlling its use.
44413 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44415 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44417 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44419 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44422 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44424 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44425 * configure: Regenerated.
44427 * Makerules: Revert last change.
44428 * elf/Makefile: Likewise.
44430 2011-06-09 Roland McGrath <roland@hack.frob.com>
44432 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44433 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44434 (reloc-link): Likewise.
44436 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44438 * elf/Makefile: Add rules to build pldd.
44439 * elf/pldd.c: New file.
44440 * elf/pldd-xx.c: New file.
44442 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44444 * version.h: Update for 2.15 development version.
44446 2011-06-07 David S. Miller <davem@davemloft.net>
44448 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44451 elf_machine_lazy_rel): Likewise.
44452 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44453 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44454 elf_machine_lazy_rel): Likewise.
44455 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44456 dl_hwcap via passed in argument.
44457 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44460 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44462 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44464 2011-06-06 Roland McGrath <roland@hack.frob.com>
44467 * manual/fdl-1.1.texi: New file, verbatim from:
44468 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44469 * manual/lgpl-2.1.texi: New file, verbatim from:
44470 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44471 * manual/Makefile (licenses): New variable, list those new file names.
44473 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44475 * manual/fdl.texi: File removed.
44476 * manual/lesser.texi: File removed.
44477 * manual/libc.texinfo (Copying, Documentation License):
44478 Use new @include file names, put @appendix directive before @include.
44480 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44483 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44484 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44485 (mq_open): Add __NTH.
44487 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44490 Assume Intel Core i3/i5/i7 processor if AVX is available.
44492 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44497 2011-05-31 Andreas Schwab <schwab@redhat.com>
44499 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44500 memory. Use alloca_account. Fix memory leak when retrying.
44502 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44504 * version.h (RELEASE): Bump for 2.14 release.
44505 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44507 * config.make.in (RANLIB): Remove entry.
44509 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44511 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44512 (libc.pot): Work around missing support for .ksh extension in xgettext.
44515 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44516 if both request failed.
44517 (send_dg): In case of server errors clear resplen or *resplen2.
44520 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44521 when there are multiple maps.
44522 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44523 (_dl_fini): Remove test here.
44525 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44527 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44530 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44531 bit from old_res_options.
44532 (gaih_inet): Likewise.
44535 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44538 * resolv/res_init.c (res_setoptions): Make the code more compact.
44541 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44545 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44547 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44550 * malloc/malloc.h: Declare malloc hook variables as volatile.
44552 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44556 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44557 raise in the comment.
44558 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44559 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44560 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44562 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44565 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44566 grow the buffers more if it already has to be sufficient.
44567 (build_wcs_upper_buffer): Likewise.
44568 * posix/regexec.c (check_matching): Likewise.
44569 (clean_state_log_if_needed): Likewise.
44570 (extend_buffers): Don't enlarge buffers beyond size of the input
44572 Patches mostly by Emil Wojak <emil@wojak.eu>.
44573 * posix/bug-regex32.c: New file.
44574 * posix/Makefile (tests): Add bug-regex32.
44576 * locale/findlocale.c (_nl_find_locale): Return right away if
44577 _nl_explode_name failed.
44578 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44580 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44582 * debug/xtrace.sh: Unify messages.
44583 * malloc/memusage.sh: Likewise.
44586 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44587 time symbol from vDSO. Substitute with vsyscall if not available.
44588 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44591 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44592 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44593 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44594 Add sendmmsg and internal_sendmmsg.
44595 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44596 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44597 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44599 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44600 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44601 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44603 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44606 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44607 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44613 * iconvdata/Makefile (tests): Add bug-iconv9.
44614 * iconvdata/bug-iconv9.c: New file.
44616 2011-05-27 Andreas Schwab <schwab@redhat.com>
44619 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44621 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44624 (struct user_regs_struct): Change intcs field back to cs.
44626 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44628 * po/ja.po: Update from translation team.
44630 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44633 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44634 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44636 2011-05-20 Andreas Schwab <schwab@redhat.com>
44638 * stdlib/longlong.h: Update from GCC.
44640 2011-05-23 Andreas Schwab <schwab@redhat.com>
44642 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44644 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44645 Add parameter name.
44646 (__sysconf): Pass it down.
44648 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44651 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44653 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44654 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44655 add in in __libc_use_alloca calls. Adjust callers.
44656 (glob): Use malloc in some situations.
44658 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44659 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44662 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44664 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44665 and CLOCK_BOOTTIME_ALARM.
44668 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44671 * string/_strerror.c (__strerror_r): Print negative errors as signed
44675 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44676 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44677 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44679 * configure.in: Fix typo in redirection and correct removal of test
44680 files in two cases.
44683 * locale/setlocale.c (new_composite_name): Fix test to check for
44684 identical name of all categories.
44687 * libio/filedoalloc.c (local_isatty): New function.
44688 (_IO_file_doallocate): Use local_isatty.
44689 * stdio-common/perror.c (perror): In case a new stream is used
44690 forward the stream error.
44691 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44694 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44699 * include/alloca.h (extend_alloca_account): Define.
44702 * posix/regex.h: Fix comments with documentation of user-accessible
44703 fields after compilation and describe correct free'ing of pattern
44704 after re_compile_pattern.
44705 Patch by Reuben Thomas <rrt@sc3d.org>.
44707 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44709 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44710 and -mno-altivec to prevent the compiler from using Altivec and/or
44711 VSX instructions when the corresponding registers are not available.
44713 2011-05-19 Andreas Schwab <schwab@redhat.com>
44715 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44717 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44719 * libio/freopen.c (freopen): Use __dup2, not dup2.
44720 * libio/freopen64.c (freopen64): Likewise.
44722 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44725 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44726 * math/Makefile (tests): Add test-powl.
44727 (CFLAGS-test-powl.c): Define.
44728 * math/test-powl.c: New file.
44730 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44732 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44734 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44737 * iconvdata/gb18030.c: Update to GB18020-2005.
44739 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44741 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44742 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44743 Patch by Aharon Robbins <arnold@skeeve.com>.
44746 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44750 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44751 through underflows.
44754 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44755 point to strings before performing equality test for error_one_per_line
44759 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44762 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44763 (struct user_fpregs_struct): Avoid __uint*_t types.
44766 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44767 symbol info. Use it instead of calling _dl_addr locally.
44768 (lock_and_info): New function.
44769 (tr_freehook): Call lock_and_info and pass symbol info as additional
44770 parameter to tr_where.
44771 (tr_mallochook): Likewise.
44772 (tr_reallochook): Likewise.
44773 (tr_memalignhook): Likewise.
44775 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44776 used and couldn't be at all thread-safe.
44778 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44780 * libio/freopen.c (freopen): Don't close old file descriptor
44781 before the new one is opened. Instead dup the new file descriptor
44782 to the old one after the new stream is created.
44783 * libio/freopen64.c (freopen64): Likewise.
44784 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44785 * libio/fileops.c (_IO_new_file_close_it): Handle new
44786 _IO_FLAGS2_NOCLOSE flag.
44787 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44788 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44789 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44790 _IO_FLAGS2_NOCLOSE flag.
44791 * include/unistd.h: Add hidden_proto for dup3.
44792 Define __have_dup3.
44793 * io/dup3.c: Define hidden symbol.
44794 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44797 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44798 when an incomplete long option is used.
44799 * posix/tst-getopt_long1.c: New file.
44800 * posix/Makefile (tests): Add tst-getopt_long1.
44803 * scripts/config.guess: Update from autoconf-2.68.
44804 * scripts/config.sub: Likewise.
44807 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44809 (has_cpuclock): ...this. New function.
44810 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44811 macro here based on has_cpuclock code.
44814 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44815 First byte (not low byte) is now always NUL.
44816 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44819 Use non-cancelable interfaces.
44822 * locale/iso-639.def: Add entry for Sorani.
44825 * include/stdlib.h: Move include protection to the right place.
44826 Define abort_msg_s. Declare __abort_msg with it.
44827 * stdlib/abort.c (__abort_msg): Adjust type.
44828 * assert/assert.c (__assert_fail_base): New function. Majority
44829 of code from __assert_fail. Allocate memory for __abort_msg with
44831 (__assert_fail): Now call __assert_fail_base.
44832 * assert/assert-perr.c: Remove bulk of implementation. Use
44833 __assert_fail_base.
44834 * include/assert.hL Declare __assert_fail_base.
44835 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44837 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44839 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44843 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44844 until all modules are registered in the DTV.
44845 * elf/Makefile: Add rules to build and run tst-tls19.
44846 * elf/tst-tls19.c: New file.
44847 * elf/tst-tls19mod1.c: New file.
44848 * elf/tst-tls19mod2.c: New file.
44849 * elf/tst-tls19mod3.c: New file.
44850 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44853 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44857 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44858 two-byte sequence errors.
44859 * iconvdata/Makefile (tests): Add bug-iconv8.
44860 * iconvdata/bug-iconv8.c: New file.
44863 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44866 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44869 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44870 (dummy_getcfa): New function.
44871 (init): Get _Unwind_GetCFA address, use dummy if not found.
44872 (backtrace_helper): In recursion check, also check whether CFA changes.
44873 (__backtrace): Completely initialize arg.
44875 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44876 storing incomplete byte sequence in state object. Avoid testing for
44877 guaranteed too small input if we know there is enough data available.
44879 2011-05-11 Andreas Schwab <schwab@redhat.com>
44881 * Makeconfig (+link-pie): Indent.
44882 * Rules (binaries-pie): Define if $(have-fpie) and
44884 (binaries-shared): Also filter out $(binaries-pie).
44885 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44886 * nscd/Makefile (others-pie): Add nscd.
44887 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44888 ($(objpfx)nscd): Remove command override.
44889 * login/Makefile (others-pie): Add pt_chown.
44890 ($(objpfx)pt_chown): Remove command override.
44891 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44892 remove command overrides.
44894 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44896 * libio/tst_putwc.c: Fix error messages.
44899 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44900 currently writing and seek to current position when not.
44901 * libio/Makefile (tests): Add bug-fclose1.
44902 * libio/bug-fclose1.c: New file.
44904 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44907 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44908 don't set DF_1_NODELETE here.
44909 (do_lookup_x): When entering new entry test for copy relocation
44910 and if necessary set DF_1_NODELETE flag.
44911 * elf/tst-unique4.cc: New file.
44912 * elf/tst-unique4.h: New file.
44913 * elf/tst-unique4lib.cc: New file.
44914 * elf/Makefile: Add rules to build and run tst-unique4.
44915 Patch by Piotr Bury <pbury@goahead.com>.
44917 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44920 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44923 * misc/mntent_r.c (addmntent): Flush the stream after the output
44926 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44927 (is_trusted_path_normalize): Skip initial colon. Append slash
44928 to empty buffer. Duplicate is_trusted_path code but allow
44929 constructed patch to be prefix.
44930 (is_dst): Allow $ORIGIN followed by /.
44931 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44932 Correct testing of result of is_trusted_path_normalize
44933 (decompose_rpath): Fix warning.
44935 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44938 * grp/initgroups.c (internal_getgrouplist): When we found the service
44939 list through the initgroups entry in nsswitch.conf do not always
44940 continue on a successful lookup. Don't always use the
44941 __nss_group_database value if it is set.
44942 * nss/nsswitch.conf (initgroups): Change action for successful db
44943 lookup to continue for compatibility.
44945 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44948 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44950 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44952 * iconvdata/tst-tables.sh: Likewise.
44953 * iconvdata/cp770.c: New file.
44954 * iconvdata/cp771.c: New file.
44955 * iconvdata/cp772.c: New file.
44956 * iconvdata/cp773.c: New file.
44957 * iconvdata/cp774.c: New file.
44958 * iconvdata/testdata/CP770: New file.
44959 * iconvdata/testdata/CP770..UTF8: New file.
44960 * iconvdata/testdata/CP771: New file.
44961 * iconvdata/testdata/CP771..UTF8: New file.
44962 * iconvdata/testdata/CP772: New file.
44963 * iconvdata/testdata/CP772..UTF8: New file.
44964 * iconvdata/testdata/CP773: New file.
44965 * iconvdata/testdata/CP773..UTF8: New file.
44966 * iconvdata/testdata/CP774: New file.
44967 * iconvdata/testdata/CP774..UTF8: New file.
44969 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44971 * iconvdata/gen-8bit-gap.sh: Likewise.
44972 * iconvdata/gen-8bit.sh: Likewise.
44974 * locale/iso-639.def: Add ary entry.
44977 * locale/C-translit.h.in: Add U20A1 transliteration.
44980 * locale/iso-639.def: Add wae entry.
44981 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44984 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44988 * locale/C-translit.h.in: Add entry for U20B9.
44989 Patch by pravin.d.s@gmail.com.
44991 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44994 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44995 ENAMETOOLONG use generic getcwd.
44996 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44997 in rtld. Use *stat64.
44998 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44999 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45000 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45001 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45002 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45003 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45004 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45005 __fstatat64 macros.
45006 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45007 * dirent/rewinddir.c: Add libc_hidden_def.
45008 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45009 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45011 * include/dirent.h (__alloc_dir): Add flags parameter.
45012 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45013 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45015 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45016 from fdopendir if O_CLOEXEC is already set.
45018 2011-03-15 Alan Modra <amodra@gmail.com>
45020 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45021 l_tls_firstbyte_offset non-zero. Save padding offset in
45022 l_tls_firstbyte_offset for later use.
45023 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45024 freeing static tls block.
45026 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45028 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45029 where #ifdef was intended. The intent is to prevent ARG_MAX from
45030 being defined by the kernel headers.
45032 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45035 * resolv/resolv.h: Define RES_NOTLDQUERY.
45036 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45037 no-tld-query and set RES_NOTLDQUERY.
45038 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45039 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45040 modern BIND to search name as TLD unless forbidden.
45042 2011-05-07 Petr Baudis <pasky@suse.cz>
45043 Ulrich Drepper <drepper@gmail.com>
45046 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45047 (is_trusted_path): ...to here.
45048 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45049 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45050 using is_trusted_path_normalize() in setuid scripts.
45052 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45054 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45055 __BEGIN/__END_DECLS.
45057 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45059 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45060 NSS_STATUS_NOTFOUND if no record was found.
45062 2011-05-05 Andreas Schwab <schwab@redhat.com>
45064 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45065 (headers-not-in-tirpc): Remove rpc/netdb.h
45066 * resolv/netdb.h: Revert last change.
45068 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45070 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45071 circular dependency between libgcc.a and libc.a.
45073 2011-05-05 Andreas Schwab <schwab@redhat.com>
45075 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45076 * nis/Makefile: Don't install rpcsvc/*.
45077 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45078 instead of <rpc/types.h>.
45079 (MAXHOSTNAMELEN): Define.
45081 2011-05-03 Andreas Schwab <schwab@redhat.com>
45083 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45085 2011-04-28 Maciej Babinski <mbabinski@google.com>
45088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45089 gethostbyname4_r when IPv6 results are possible.
45091 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45094 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45095 _PC_PIPE_BUF handling.
45097 2011-04-30 Bruno Haible <bruno@clisp.org>
45100 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45101 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45103 * inet/getnameinfo.c (getnameinfo): Likewise.
45105 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45107 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45108 to groups setting in database lookup.
45109 * nss/nsswitch.conf: Add initgroups entry.
45111 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45114 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45116 Patch by Eric Blake <eblake@redhat.com>.
45118 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45120 * sunrpc/Makefile (need-export-routines): Add svc_run.
45121 (routines): Remove svc_run.
45122 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45123 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45124 * sunrpc/svc_run.c (svc_run): Likewise.
45125 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45127 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45129 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45130 problem in reallocation in last patch.
45132 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45134 * sunrpc/Makefile: Move inclusion of Rules.
45136 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45138 * nss/nss_files/files-initgroups.c: New file.
45139 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45140 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45141 _nss_files_initgroups_dyn.
45143 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45145 * elf/elf.h (R_ARM_IRELATIVE): Define.
45147 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45149 * po/ru.po: Update from translation team.
45151 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45153 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45156 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45159 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45160 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45161 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45162 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45165 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45167 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45169 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45170 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45171 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45173 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45176 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45178 * stdlib/bug-getcontext.c: New file.
45179 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45181 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45183 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45184 instructions into .machine "z9-109".
45185 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45186 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45188 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45190 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45191 between environment variables and auxiliary vector.
45193 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45195 * Makefile: Add rules to build linkobj/libc.so.
45196 * include/libc-symbols.h: Define libc_hidden_nolink.
45197 * include/rpc/auth.h: Mark functions which are to be hidden.
45198 * include/rpc/auth_des.h: Likewise.
45199 * include/rpc/auth_unix.h: Likewise.
45200 * include/rpc/clnt.h: Likewise.
45201 * include/rpc/des_crypt.h: Likewise.
45202 * include/rpc/key_prot.h: Likewise.
45203 * include/rpc/pmap_clnt.h: Likewise.
45204 * include/rpc/pmap_prot.h: Likewise.
45205 * include/rpc/pmap_rmt.h: Likewise.
45206 * include/rpc/rpc_msg.h: Likewise.
45207 * include/rpc/svc.h: Likewise.
45208 * include/rpc/svc_auth.h: Likewise.
45209 * include/rpc/xdr.h: Likewise.
45210 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45211 * nss/Makefile: Likewise.
45212 * sunrpc/Makefile: Don't install headers. Build library with normal
45213 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45214 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45215 for the compat linking library. Remove use of INTDEF/INTUSE.
45216 * sunrpc/auth_none.c: Likewise.
45217 * sunrpc/auth_unix.c: Likewise.
45218 * sunrpc/authdes_prot.c: Likewise.
45219 * sunrpc/authuxprot.c: Likewise.
45220 * sunrpc/clnt_gen.c: Likewise.
45221 * sunrpc/clnt_perr.c: Likewise.
45222 * sunrpc/clnt_raw.c: Likewise.
45223 * sunrpc/clnt_simp.c: Likewise.
45224 * sunrpc/clnt_tcp.c: Likewise.
45225 * sunrpc/clnt_udp.c: Likewise.
45226 * sunrpc/clnt_unix.c: Likewise.
45227 * sunrpc/des_crypt.c: Likewise.
45228 * sunrpc/des_soft.c: Likewise.
45229 * sunrpc/get_myaddr.c: Likewise.
45230 * sunrpc/key_call.c: Likewise.
45231 * sunrpc/key_prot.c: Likewise.
45232 * sunrpc/netname.c: Likewise.
45233 * sunrpc/pm_getmaps.c: Likewise.
45234 * sunrpc/pm_getport.c: Likewise.
45235 * sunrpc/pmap_clnt.c: Likewise.
45236 * sunrpc/pmap_prot.c: Likewise.
45237 * sunrpc/pmap_prot2.c: Likewise.
45238 * sunrpc/pmap_rmt.c: Likewise.
45239 * sunrpc/publickey.c: Likewise.
45240 * sunrpc/rpc_cmsg.c: Likewise.
45241 * sunrpc/rpc_common.c: Likewise.
45242 * sunrpc/rpc_dtable.c: Likewise.
45243 * sunrpc/rpc_prot.c: Likewise.
45244 * sunrpc/rpc_thread.c: Likewise.
45245 * sunrpc/rtime.c: Likewise.
45246 * sunrpc/svc.c: Likewise.
45247 * sunrpc/svc_auth.c: Likewise.
45248 * sunrpc/svc_authux.c: Likewise.
45249 * sunrpc/svc_raw.c: Likewise.
45250 * sunrpc/svc_run.c: Likewise.
45251 * sunrpc/svc_simple.c: Likewise.
45252 * sunrpc/svc_tcp.c: Likewise.
45253 * sunrpc/svc_udp.c: Likewise.
45254 * sunrpc/svc_unix.c: Likewise.
45255 * sunrpc/svcauth_des.c: Likewise.
45256 * sunrpc/xcrypt.c: Likewise.
45257 * sunrpc/xdr.c: Likewise.
45258 * sunrpc/xdr_array.c: Likewise.
45259 * sunrpc/xdr_float.c: Likewise.
45260 * sunrpc/xdr_intXX_t.c: Likewise.
45261 * sunrpc/xdr_mem.c: Likewise.
45262 * sunrpc/xdr_rec.c: Likewise.
45263 * sunrpc/xdr_ref.c: Likewise.
45264 * sunrpc/xdr_sizeof.c: Likewise.
45265 * sunrpc/xdr_stdio.c: Likewise.
45267 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45270 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45271 * sysdeps/ia64/dl-tls.h: Likewise.
45272 * sysdeps/powerpc/dl-tls.h: Likewise.
45273 * sysdeps/s390/dl-tls.h: Likewise.
45274 * sysdeps/sh/dl-tls.h: Likewise.
45275 * sysdeps/sparc/dl-tls.h: Likewise.
45276 * sysdeps/x86_64/dl-tls.h: Likewise.
45277 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45279 2011-03-14 Andreas Schwab <schwab@redhat.com>
45281 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45282 rpath element also skip the following colon.
45283 (expand_dynamic_string_token): Add is_path parameter and pass
45284 down to DL_DST_REQUIRED and _dl_dst_substitute.
45285 (decompose_rpath): Call expand_dynamic_string_token with
45286 non-zero is_path. Ignore empty rpaths.
45287 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45290 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45295 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45298 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45299 Patch by Filipe David Manana <fdmanana@apache.org>.
45301 2011-04-07 Andreas Schwab <schwab@redhat.com>
45303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45304 Maintain aligned stack.
45305 (CHECK_RSP): Remove unused macro.
45307 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45309 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45310 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45312 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45314 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45316 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45318 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45321 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45322 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45323 * sysdeps/x86_64/memmove.c: New file.
45324 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45325 (memcpy): Renamed to ...
45326 (__new_memcpy): This.
45327 (memcpy): Provide GLIBC_2_14 memcpy.
45328 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45329 (memcpy): Provide GLIBC_2_2_5 memcpy.
45331 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45334 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45336 2011-03-30 Andreas Schwab <schwab@redhat.com>
45338 * misc/syncfs.c: New file.
45339 * misc/Makefile (routines): Add syncfs.
45340 * posix/unistd.h: Declare syncfs.
45341 * sysdeps/unix/syscalls.list: Add syncfs.
45343 2011-04-01 Andreas Schwab <schwab@redhat.com>
45345 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45348 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45352 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45353 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45355 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45357 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45358 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45359 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45361 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45365 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45366 sync_file_range.c with -fexceptions.
45367 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45368 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45369 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45370 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45371 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45372 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45374 sync_file_range as cancellation point
45375 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45376 now a wrapper around __call_sync_file_range with cancellation handling.
45377 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45378 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45379 function name to __call_sync_file_range.
45380 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45381 Add call_sync_file_range.
45383 2011-04-01 Andreas Schwab <schwab@redhat.com>
45385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45388 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45390 * iconv/iconv.h: Fix typo in comment.
45391 * io/fcntl.h: Likewise.
45392 * libio/stdio.h: Likewise.
45393 * posix/spawn.h: Likewise.
45394 * posix/unistd.h: Likewise.
45395 * stdlib/stdlib.h: Likewise.
45396 * time/time.h: Likewise.
45397 * wcsmbs/wchar.h: Likewise.
45399 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45400 open_by_handle): Add.
45401 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45402 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45403 Augment a few comments.
45404 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45408 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45409 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45412 * io/fcntl.h (AT_EMPTY_PATH): Define.
45414 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45416 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45417 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45418 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45420 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45421 * Versions.def: Add GLIBC_2.14.
45422 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45425 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45427 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45429 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45431 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45434 * string/test-strncmp.c (do_page_test): New function.
45435 (check2): Likewise.
45436 (test_main): Call check2.
45437 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45439 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45442 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45443 Handle cache information in CPU leaf 4.
45444 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45446 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45449 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45450 character representation.
45451 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45453 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45455 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45456 END(__isnan) to END(__isnanf) to match function entry point/label
45457 EALIGN(__isnanf,...).
45459 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45461 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45463 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45466 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45467 copy from the symbol referenced in the relocation to initialize the
45469 Patch by Piotr Bury <pbury@goahead.com>.
45470 * elf/Makefile: Add rules to build and tst-unique3.
45471 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45472 * elf/tst-unique3.cc: New file.
45473 * elf/tst-unique3.h: New file.
45474 * elf/tst-unique3lib.cc: New file.
45475 * elf/tst-unique3lib2.cc: New file.
45477 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45479 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45481 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45482 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45485 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45487 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45488 to-be-loaded object along a path to loader is ld.so.
45490 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45491 Ulrich Drepper <drepper@gmail.com>
45493 * sysdeps/x86_64/memset.S: After aligning destination, code
45494 branches to different locations depending on the value of
45495 misalignment, when multiarch is enabled. Fix this.
45497 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45499 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45500 Set _x86_64_preferred_memory_instruction for AMD processsors.
45501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45502 Set bit_Prefer_SSE_for_memop for AMD processors.
45504 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45506 * libio/fmemopen.c (fmemopen): Optimize a bit.
45508 2011-03-03 Andreas Schwab <schwab@redhat.com>
45510 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45512 2011-03-03 Roland McGrath <roland@redhat.com>
45514 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45516 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45518 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45519 __bzero_ultra1 instead of __memset_ultra1.
45521 2011-02-23 Andreas Schwab <schwab@redhat.com>
45522 Ulrich Drepper <drepper@gmail.com>
45525 * include/link.h (struct link_map): Add l_orig_initfini.
45526 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45527 returning unsuccessfully.
45528 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45529 close of a file loaded at startup, restore the original l_initfini
45531 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45532 list, store the pointer.
45533 * elf/Makefile ($(objpfx)noload-mem): New rule.
45534 (noload-ENV): Define.
45535 (tests): Add $(objpfx)noload-mem.
45536 * elf/noload.c: Include <memcheck.h>.
45537 (main): Call mtrace. Close all opened handles.
45539 2011-02-17 Andreas Schwab <schwab@redhat.com>
45542 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45543 dependencies are missing.
45545 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45547 Fix __if_freereq crash: Unlike the generic version which uses free,
45549 * sysdeps/mach/hurd/ifreq.h: New file.
45551 2011-01-27 Petr Baudis <pasky@suse.cz>
45552 Ulrich Drepper <drepper@gmail.com>
45555 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45556 to extend_alloca().
45557 * stdio-common/bug23.c: New file.
45558 * stdio-common/Makefile (tests): Add bug23.
45560 2010-09-28 Andreas Schwab <schwab@redhat.com>
45561 Ulrich Drepper <drepper@gmail.com>
45564 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45565 before performing relro protection. At old place add assertion
45566 to make sure nothing changed.
45568 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45569 Glauber de Oliveira Costa <glommer@gmail.com>
45571 * elf/elf.h: Add new ARM TLS relocs.
45573 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45576 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45578 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45580 * sysdeps/wordsize-64/tst-writev.c: New file.
45582 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45584 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45585 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45586 insns in _dl_start to prevent a TOC reference before relocs are
45589 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45592 * Makeconfig: Remove RANLIB definition.
45593 * Makerules: Don't use RANLIB.
45594 * aclocal.m4: Remove ranlib test.
45595 * configure.in: No need to check for ranlib.
45596 * elf/rtld-Rules: Don't use RANLIB.
45598 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45600 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45602 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45603 inclusion protection macro.
45605 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45606 SIGRTMIN and SIGRTMAX and print information in that case only when
45607 SIGRTMIN is defined.
45609 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45611 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45612 arginfo fn returning -1.
45614 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45615 and thousands string is zero terminated.
45617 2011-02-03 Andreas Schwab <schwab@redhat.com>
45619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45620 sysdeps/unix/sysv/linux/bits/socket.h.
45622 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45624 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45625 (__CPU_COUNT): Remove old macros.
45626 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45627 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45628 (__CPU_ALLOC, __CPU_FREE): Add macros.
45629 (__sched_cpualloc, __sched_cpufree): Add declarations.
45631 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45633 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45634 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45635 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45636 (readdhstai): Return value of addhstaiX call.
45637 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45638 (addgrbyX): Return value returned by cache_addgr.
45639 (readdgrbyname): Return value returned by addgrbyX.
45640 (readdgrbygid): Likewise.
45641 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45642 (addpwbyX): Return value returned by cache_addpw.
45643 (readdpwbyname): Return value returned by addhstbyX.
45644 (readdpwbyuid): Likewise.
45645 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45646 (addservbyX): Return value returned by cache_addserv.
45647 (readdservbyname): Return value returned by addservbyX:
45648 (readdservbyport): Likewise.
45649 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45650 (addhstbyX): Return value returned by cache_addhst.
45651 (readdhstbyname): Return value returned by addhstbyX.
45652 (readdhstbyaddr): Likewise.
45653 (readdhstbynamev6): Likewise.
45654 (readdhstbyaddrv6): Likewise.
45655 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45656 (readdinitgroups): Return value returned by addinitgroupsX.
45657 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45658 (prune_cache): Keep track of timeout value of re-added entries.
45659 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45660 * nscd/nscd.h: Adjust prototypes of readd* functions.
45662 2011-02-04 Roland McGrath <roland@redhat.com>
45664 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45665 (nis_stats): Likewise.
45666 * nis/nis_modify.c (nis_modify): Likewise.
45667 * nis/nis_remove.c (nis_remove): Likewise.
45668 * nis/nis_add.c (nis_add): Likewise.
45670 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45672 * posix/fnmatch_loop.c: Add some consts.
45674 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45676 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45679 * config.make.in (config-cflags-novzeroupper): Define.
45680 * configure.in: Substitute libc_cv_cc_novzeroupper.
45681 * elf/Makefile (AVX-CFLAGS): Define.
45682 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45683 (CFLAGS-tst-auditmod4a.c): Likewise.
45684 (CFLAGS-tst-auditmod4b.c): Likewise.
45685 (CFLAGS-tst-auditmod6b.c): Likewise.
45686 (CFLAGS-tst-auditmod6c.c): Likewise.
45687 (CFLAGS-tst-auditmod7b.c): Likewise.
45688 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45690 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45692 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45693 function to the callback.
45694 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45696 2011-02-02 Andreas Schwab <schwab@redhat.com>
45698 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45701 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45704 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45706 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45708 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45711 * elf/Makefile: Add rules to build and run new test.
45712 * elf/tst-initorder.c: New file.
45713 * elf/tst-initorder.exp: New file.
45714 * elf/tst-initordera1.c: New file.
45715 * elf/tst-initordera2.c: New file.
45716 * elf/tst-initordera3.c: New file.
45717 * elf/tst-initordera4.c: New file.
45718 * elf/tst-initorderb1.c: New file.
45719 * elf/tst-initorderb2.c: New file.
45720 * elf/tst-order-a1.c: New file.
45721 * elf/tst-order-a2.c: New file.
45722 * elf/tst-order-a3.c: New file.
45723 * elf/tst-order-a4.c: New file.
45724 * elf/tst-order-b1.c: New file.
45725 * elf/tst-order-b2.c: New file.
45726 * elf/tst-order-main.c: New file.
45727 New test case by George Gensure <werkt0@gmail.com>.
45729 2010-10-01 Andreas Schwab <schwab@redhat.com>
45731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45732 decoding ACE if AI_CANONIDN.
45734 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45736 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45738 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45740 * version.h (RELEASE): Bump for 2.13 release.
45741 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45743 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45745 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45747 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45748 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45750 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45752 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45754 * posix/getconf.c: Update copyright year.
45755 * catgets/gencat.c: Likewise.
45756 * csu/version.c: Likewise.
45757 * debug/catchsegv.sh: Likewise.
45758 * debug/xtrace.sh: Likewise.
45759 * elf/ldconfig.c: Likewise.
45760 * elf/ldd.bash.in: Likewise.
45761 * elf/sprof.c (print_version): Likewise.
45762 * iconv/iconv_prog.c: Likewise.
45763 * iconv/iconvconfig.c: Likewise.
45764 * locale/programs/locale.c: Likewise.
45765 * locale/programs/localedef.c: Likewise.
45766 * malloc/memusage.sh: Likewise.
45767 * malloc/mtrace.pl: Likewise.
45768 * nscd/nscd.c (print_version): Likewise.
45769 * nss/getent.c: Likewise.
45771 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45772 PF_CAIF, and PF_ALG.
45773 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45775 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45777 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45778 (modules-names): Use them.
45779 (ifunc-test-modules, ifunc-pie-tests): Define.
45780 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45781 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45782 (test-extras): Likewise.
45783 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45784 $(compile-command.c).
45785 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45786 (all-built-dso): Define.
45787 (check-textrel.out, check-execstack.out): Depend on it.
45789 * configure.in: Don't override --enable-multi-arch.
45791 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45794 * nscd/hstcache.c (tryagain): Define.
45795 (cache_addhst): Return tryagain not notfound for temporary errors.
45796 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45799 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45802 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45803 to make the syscall.
45804 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45807 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45808 and fall back to matching as normal character if the string ends before
45809 the matching ']' is found. This is what POSIX requires.
45810 * posix/testfnm.c: Adjust test result.
45811 * posix/globtest.sh: Adjust test result. Add new test.
45812 * posix/tst-fnmatch.input: Likewise.
45813 * posix/tst-fnmatch2.c: Add new test.
45815 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45817 * elf/Makefile (check-execstack): Revert last change. Depend on
45819 (check-execstack.h): New target.
45820 (generated): Add check-execstack.h.
45821 * elf/check-execstack.c: Include "check-execstack.h".
45822 (main): Revert last change.
45823 (handle_file): Return zero if GNU_STACK is absent and
45824 DEFAULT_STACK_PERMS doesn't include PF_X.
45826 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45828 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45829 in child fails because the descriptor is already closed.
45830 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45831 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45832 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45835 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45839 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45840 temporary buffer used to handle multi lookups locally.
45841 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45843 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45845 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45848 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45850 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45851 alignment for SSE2.
45853 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45856 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45857 characters. When rounding increased number of integer digits recompute
45859 * stdio-common/tst-grouping.c: New file.
45860 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45862 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45864 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45865 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45867 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45869 * bits/select.h: Likewise.
45871 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45873 * po/ja.po: Update from translation team.
45875 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45878 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45879 implementation just like for lxstat, fxstatat, et al.
45881 2010-12-27 Jim Meyering <meyering@redhat.com>
45884 * posix/regexec.c (build_trtable): Return failure indication upon
45885 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45887 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45890 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45891 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45892 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45893 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45896 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45899 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45900 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45902 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45904 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45905 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45906 script has SORT_BY_INIT_PRIORITY.
45907 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45908 NO_CTORS_DTORS_SECTIONS is defined.
45909 * elf/soinit.c: Likewise.
45910 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45911 NO_CTORS_DTORS_SECTIONS is defined.
45912 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45913 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45914 * sysdeps/sh/init-first.c: Likewise.
45915 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45917 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45919 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45920 always use the slow path.
45922 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45924 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45925 similar rule which adds the sysdep directories to the header search in
45926 order to pick up the correct platform stackinfo.h.
45927 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45928 perform test if it is, otherwise return successfully without testing.
45929 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45930 DEFAULT_STACK_PERMS define in stackinfo.h.
45931 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45932 defined in stackinfo.h.
45933 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45934 DEFAULT_STACK_PERMS defined in stackinfo.h.
45935 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45936 * sysdeps/ia64/stackinfo.h: Likewise.
45937 * sysdeps/s390/stackinfo.h: Likewise.
45938 * sysdeps/sh/stackinfo.h: Likewise.
45939 * sysdeps/sparc/stackinfo.h: Likewise.
45940 * sysdeps/x86_64/stackinfo.h: Likewise.
45941 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45942 PF_X for powerpc64. Retain PF_X for powerpc32.
45944 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45946 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45948 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45949 GETDENTS_64BIT_ALIGNED.
45951 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45953 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45955 2010-12-10 Andreas Schwab <schwab@redhat.com>
45957 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45960 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45961 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45963 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45964 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45966 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45969 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45972 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45974 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45976 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45978 * po/it.po: Update from translation team.
45980 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45985 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45987 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45989 2010-11-24 Andreas Schwab <schwab@redhat.com>
45991 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45993 (gaih_getanswer_slice): Likewise.
45995 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45999 2010-05-31 Petr Baudis <pasky@suse.cz>
46002 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46003 silently even in the chroot mode.
46005 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46007 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46008 last patch a bit. Pretty printing
46010 2010-05-31 Petr Baudis <pasky@suse.cz>
46013 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46014 initialization of skip_initgroups_dyn.
46016 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46018 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46019 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46021 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46023 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46025 2010-11-11 Andreas Schwab <schwab@redhat.com>
46027 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46028 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46029 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46030 ($(objpfx)tst-fnmatch-mem): New rule.
46031 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46032 * posix/tst-fnmatch.c (main): Call mtrace.
46034 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46037 Support Intel processor model 6 and model 0x2c.
46039 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46041 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46044 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46047 * string/test-strncasecmp.c (check_result): New function.
46048 (do_one_test): Use it.
46049 (check1): New function.
46050 (test_main): Use it.
46051 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46052 Support strcasecmp and strncasecmp.
46054 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46057 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46058 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46060 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46062 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46066 * sysdeps/x86_64/multiarch/bzero.S: New file.
46067 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46068 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46069 * sysdeps/x86_64/multiarch/memset.S: New file.
46070 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46072 Set bit_Prefer_SSE_for_memop for Intel processors.
46073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46075 (index_Prefer_SSE_for_memop): Define.
46076 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46078 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46080 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46081 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46083 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46086 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46087 (__x86_64_raw_data_cache_size_half): Likewise.
46088 (__x86_64_raw_shared_cache_size): Likewise.
46089 (__x86_64_raw_shared_cache_size_half): Likewise.
46091 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46092 (__x86_64_raw_data_cache_size_half): Likewise.
46093 (__x86_64_raw_shared_cache_size): Likewise.
46094 (__x86_64_raw_shared_cache_size_half): Likewise.
46095 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46096 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46097 and __x86_64_raw_shared_cache_size_half. Round
46098 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46099 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46100 to multiple of 256 bytes.
46102 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46105 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46106 of inacessible symlinks. Verify result of symlink before returning it.
46107 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46108 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46110 2010-10-28 Erich Ritz <erichritz@gmail.com>
46112 * math/math.h (isinf): Fix typo in comment.
46114 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46116 * po/da.po: Update from translation team.
46118 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46120 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46121 is added to the list.
46123 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46124 Ulrich Drepper <drepper@gmail.com>
46126 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46127 the global list here. Move code to...
46128 (_dl_add_to_namespace_list): ...here. New function.
46129 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46130 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46131 * elf/dl-load.c (lose): Don't remove the element from the list.
46132 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46133 (_dl_map_object): Likewise.
46135 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46138 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46139 into all bytes of SSE register.
46140 Patch by Richard Li <richardpku@gmail.com>.
46142 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46145 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46148 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46150 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46151 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46152 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46153 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46158 2010-10-22 Andreas Schwab <schwab@redhat.com>
46160 * include/dlfcn.h (__RTLD_SECURE): Define.
46161 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46162 mode & __RTLD_SECURE instead.
46163 (open_path): Rename preloaded parameter to secure.
46164 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46165 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46166 * elf/dl-deps.c (openaux): Likewise.
46167 * elf/rtld.c (struct map_args): Remove is_preloaded.
46168 (map_doit): Don't use it.
46169 (dl_main): Likewise.
46170 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46171 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46173 2010-09-09 Andreas Schwab <schwab@redhat.com>
46175 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46176 (sysd-rules-targets): Remove duplicates.
46177 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46178 rtld-%.$o dependency.
46180 2010-10-18 Andreas Schwab <schwab@redhat.com>
46182 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46183 _dl_map_object do it.
46185 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46187 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46188 fast fma builtins, define the macros in the C99 standard.
46189 (FP_FAST_FMAF): Likewise.
46190 (FP_FAST_FMAL): Likewise.
46191 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46193 * bits/mathdef.h: Update copyright year.
46194 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46196 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46198 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46199 builtins, define the macros in the C99 standard.
46200 (FP_FAST_FMAF): Likewise.
46201 (FP_FAST_FMAL): Likewise.
46202 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46204 (FP_FAST_FMAF): Likewise.
46206 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46209 * math/libm-test.inc (fma_test): Some new testcases.
46210 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46211 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46212 y and infinite z. Do multiplication by C already in long double.
46213 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46215 y and infinite z. Do bitwise or of inexact bit into u.d.
46216 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46217 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46218 * sysdeps/i386/fpu/s_fma.S: Removed.
46219 * sysdeps/i386/fpu/s_fmal.S: Removed.
46221 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46224 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46226 computation is not scheduled after fetestexcept. Fix value
46227 of minimum denormal long double.
46229 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46232 * math/libm-test.inc (fma_test): Add some more tests.
46233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46236 2010-10-15 Andreas Schwab <schwab@redhat.com>
46238 * scripts/data/localplt-s390-linux-gnu.data: New file.
46239 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46241 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46244 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46245 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46247 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46249 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46251 if one of x and y is very large and the other is subnormal.
46252 * sysdeps/s390/fpu/s_fmaf.c: New file.
46253 * sysdeps/s390/fpu/s_fma.c: New file.
46254 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46255 * sysdeps/powerpc/fpu/s_fma.S: New file.
46256 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46257 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46258 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46260 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46263 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46265 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46266 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46267 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46268 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46269 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46270 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46271 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46273 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46276 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46277 * posix/bug-regex31.input: Add test case.
46279 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46281 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46282 * posix/bug-regex31.input: New file.
46285 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46286 (parse_sub_exp): Fix last change, use postorder.
46288 * posix/bug-regex31.c: New file.
46289 * posix/Makefile: Add rules to build and run bug-regex31.
46291 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46294 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46297 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46298 to have entries in sys_siglist.
46301 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46304 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46307 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46308 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46309 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46310 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46311 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46312 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46313 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46314 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46315 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46316 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46317 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46318 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46319 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46320 * math/ftestexcept.c (fetestexcept): Likewise.
46321 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46322 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46323 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46324 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46325 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46326 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46327 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46329 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46332 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46335 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46337 * string/bug-strstr1.c: New file.
46338 * string/Makefile: Add rules to build and run bug-strstr1.
46340 2010-10-05 Eric Blake <eblake@redhat.com>
46343 * string/str-two-way.h (two_way_long_needle): Always clear memory
46344 when skipping input due to the shift table.
46346 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46349 * malloc/mcheck.c: Handle large requests.
46352 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46353 for strncmp and strncasecmp.
46354 * string/stratcliff.c: Add tests for strcmp and strncmp.
46355 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46357 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46359 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46362 2010-09-30 Andreas Jaeger <aj@suse.de>
46364 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46365 (CGROUP_SUPER_MAGIC): Define.
46366 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46367 Handle btrfs and cgroup file systems.
46368 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46371 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46373 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46374 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46376 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46379 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46380 trying to locate the ELF header.
46382 2010-09-27 Andreas Schwab <schwab@redhat.com>
46385 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46386 Mask out sign-bit copies when constructing f_fsid.
46388 2010-09-24 Petr Baudis <pasky@suse.cz>
46390 * debug/stack_chk_fail_local.c: Add missing licence exception.
46391 * debug/warning-nop.c: Likewise.
46393 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46395 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46396 implementing getdents64 using getdents syscall, set d_type if
46397 __ASSUME_GETDENTS32_D_TYPE.
46399 2010-09-16 Andreas Schwab <schwab@redhat.com>
46401 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46402 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46404 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46407 * posix/unistd.h: Undo change of feature selection for ftruncate from
46410 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46412 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46415 2010-09-20 Andreas Schwab <schwab@redhat.com>
46417 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46419 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46421 2010-09-14 Andreas Schwab <schwab@redhat.com>
46423 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46424 variables after CHECK_SP call.
46425 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46427 2010-09-13 Andreas Schwab <schwab@redhat.com>
46428 Ulrich Drepper <drepper@redhat.com>
46430 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46431 re-relocationg ld.so.
46432 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46433 _dl_init_paths call.
46434 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46437 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46439 * resolv/res_init.c (__res_vinit): Count the default server we added.
46441 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46442 Ulrich Drepper <drepper@redhat.com>
46445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46446 (____longjmp_chk): Use %ebx for saving value across system call.
46449 2010-09-06 Andreas Schwab <schwab@redhat.com>
46451 * manual/Makefile: Don't mix pattern rules with normal rules.
46453 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46455 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46457 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46458 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46459 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46460 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46461 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46464 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46467 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46468 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46470 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46472 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46473 * sysdeps/x86_64/addmul_1.S: Likewise.
46474 * sysdeps/x86_64/lshift.S: Likewise.
46475 * sysdeps/x86_64/mul_1.S: Likewise.
46476 * sysdeps/x86_64/rshift.S: Likewise.
46477 * sysdeps/x86_64/sub_n.S: Likewise.
46478 * sysdeps/x86_64/submul_1.S: Likewise.
46480 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46482 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46483 Define __sched_param instead of SCHED_* and sched_param when
46484 <bits/sched.h> is included with __need_schedparam defined.
46485 * bits/sched.h [__need_schedparam]
46486 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46487 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46488 (__defined_schedparam): Define to 1.
46489 (__sched_param): New structure, identical to sched_param.
46490 (__need_schedparam): Undefine.
46492 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46494 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46495 (epoll_create1): Declare.
46497 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46499 2010-08-31 Andreas Schwab <schwab@redhat.com>
46502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46503 shifting retval into place.
46505 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46507 * nis/rpcsvc/nis.h: Update copyright notice.
46508 * nis/rpcsvc/nis.x: Likewise.
46509 * nis/rpcsvc/nis_callback.h: Likewise.
46510 * nis/rpcsvc/nis_callback.x: Likewise.
46511 * nis/rpcsvc/nis_object.x: Likewise.
46512 * nis/rpcsvc/nis_tags.h: Likewise.
46513 * nis/rpcsvc/yp.h: Likewise.
46514 * nis/rpcsvc/yp.x: Likewise.
46515 * nis/rpcsvc/ypupd.h: Likewise.
46516 * nis/yp_xdr.c: Likewise.
46517 * nis/ypupdate_xdr.c: Likewise.
46519 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46520 mainly the body of pmap_getport. Add parameters to specify timeouts.
46521 (pmap_getport): Use __libc_rpc_getport.
46522 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46523 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46524 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46526 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46531 2010-08-27 Roland McGrath <roland@redhat.com>
46533 * sysdeps/i386/i686/multiarch/Makefile
46534 (CFLAGS-varshift.c): New variable.
46536 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46538 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46539 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46541 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46543 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46545 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46547 * sysdeps/x86_64/strlen.S: Unroll the loop.
46548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46549 strlen-sse2 strlen-sse2-bsf.
46550 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46551 __strlen_no_bsf if bit_Slow_BSF is set.
46552 (__strlen_sse42): Removed.
46553 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46554 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46556 2010-08-25 Roland McGrath <roland@redhat.com>
46558 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46559 * sysdeps/x86_64/multiarch/varshift.c: New file.
46560 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46561 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46562 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46563 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46565 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46568 strlen-sse2 strlen-sse2-bsf.
46569 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46570 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46571 (__strlen_sse2): Removed.
46572 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46575 bit_Slow_BSF for Atom.
46576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46577 (index_Slow_BSF): Define.
46578 (HAS_SLOW_BSF): Define.
46580 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46583 * resolv/res_init.c (__res_vinit): When no server address at all
46584 is given default to loopback.
46586 2010-08-24 Roland McGrath <roland@redhat.com>
46588 * configure.in: Remove config-name.h generation.
46589 * configure: Regenerated.
46590 * config-name.in: File removed.
46591 * scripts/config-uname.sh: New file.
46592 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46593 ($(objdir)config-name.h): New target.
46595 * sunrpc/rpc_parse.h: Avoid nested comment.
46597 2010-08-24 Richard Henderson <rth@redhat.com>
46598 Ulrich Drepper <drepper@redhat.com>
46599 H.J. Lu <hongjiu.lu@intel.com>
46601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46603 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46604 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46605 _mm_alignr_epi8 with _mm_loadu_si128.
46606 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46607 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46608 (__m128i_shift_right): Removed.
46609 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46610 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46611 * sysdeps/x86_64/multiarch/varshift.h: New file.
46612 * sysdeps/x86_64/multiarch/varshift.S: New file.
46614 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46616 * configure.in: Move assembler checks to before sysdep dir checking.
46618 2010-08-20 Petr Baudis <pasky@suse.cz>
46620 * LICENSES: Sync the sunrpc license.
46622 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46624 * sunrpc/auth_des.c: Update copyright notice once again.
46625 * sunrpc/auth_none.c: Likewise.
46626 * sunrpc/auth_unix.c: Likewise.
46627 * sunrpc/authdes_prot.c: Likewise.
46628 * sunrpc/authuxprot.c: Likewise.
46629 * sunrpc/bindrsvprt.c: Likewise.
46630 * sunrpc/clnt_gen.c: Likewise.
46631 * sunrpc/clnt_perr.c: Likewise.
46632 * sunrpc/clnt_raw.c: Likewise.
46633 * sunrpc/clnt_simp.c: Likewise.
46634 * sunrpc/clnt_tcp.c: Likewise.
46635 * sunrpc/clnt_udp.c: Likewise.
46636 * sunrpc/clnt_unix.c: Likewise.
46637 * sunrpc/des_crypt.c: Likewise.
46638 * sunrpc/des_soft.c: Likewise.
46639 * sunrpc/get_myaddr.c: Likewise.
46640 * sunrpc/getrpcport.c: Likewise.
46641 * sunrpc/key_call.c: Likewise.
46642 * sunrpc/key_prot.c: Likewise.
46643 * sunrpc/openchild.c: Likewise.
46644 * sunrpc/pm_getmaps.c: Likewise.
46645 * sunrpc/pm_getport.c: Likewise.
46646 * sunrpc/pmap_clnt.c: Likewise.
46647 * sunrpc/pmap_prot.c: Likewise.
46648 * sunrpc/pmap_prot2.c: Likewise.
46649 * sunrpc/pmap_rmt.c: Likewise.
46650 * sunrpc/rpc/auth.h: Likewise.
46651 * sunrpc/rpc/auth_unix.h: Likewise.
46652 * sunrpc/rpc/clnt.h: Likewise.
46653 * sunrpc/rpc/des_crypt.h: Likewise.
46654 * sunrpc/rpc/key_prot.h: Likewise.
46655 * sunrpc/rpc/netdb.h: Likewise.
46656 * sunrpc/rpc/pmap_clnt.h: Likewise.
46657 * sunrpc/rpc/pmap_prot.h: Likewise.
46658 * sunrpc/rpc/pmap_rmt.h: Likewise.
46659 * sunrpc/rpc/rpc.h: Likewise.
46660 * sunrpc/rpc/rpc_des.h: Likewise.
46661 * sunrpc/rpc/rpc_msg.h: Likewise.
46662 * sunrpc/rpc/svc.h: Likewise.
46663 * sunrpc/rpc/svc_auth.h: Likewise.
46664 * sunrpc/rpc/types.h: Likewise.
46665 * sunrpc/rpc/xdr.h: Likewise.
46666 * sunrpc/rpc_clntout.c: Likewise.
46667 * sunrpc/rpc_cmsg.c: Likewise.
46668 * sunrpc/rpc_common.c: Likewise.
46669 * sunrpc/rpc_cout.c: Likewise.
46670 * sunrpc/rpc_dtable.c: Likewise.
46671 * sunrpc/rpc_hout.c: Likewise.
46672 * sunrpc/rpc_main.c: Likewise.
46673 * sunrpc/rpc_parse.c: Likewise.
46674 * sunrpc/rpc_parse.h: Likewise.
46675 * sunrpc/rpc_prot.c: Likewise.
46676 * sunrpc/rpc_sample.c: Likewise.
46677 * sunrpc/rpc_scan.c: Likewise.
46678 * sunrpc/rpc_scan.h: Likewise.
46679 * sunrpc/rpc_svcout.c: Likewise.
46680 * sunrpc/rpc_tblout.c: Likewise.
46681 * sunrpc/rpc_util.c: Likewise.
46682 * sunrpc/rpc_util.h: Likewise.
46683 * sunrpc/rpcinfo.c: Likewise.
46684 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46685 * sunrpc/rpcsvc/key_prot.x: Likewise.
46686 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46687 * sunrpc/rpcsvc/mount.x: Likewise.
46688 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46689 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46690 * sunrpc/rpcsvc/rex.x: Likewise.
46691 * sunrpc/rpcsvc/rstat.x: Likewise.
46692 * sunrpc/rpcsvc/rusers.x: Likewise.
46693 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46694 * sunrpc/rpcsvc/spray.x: Likewise.
46695 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46696 * sunrpc/rtime.c: Likewise.
46697 * sunrpc/svc.c: Likewise.
46698 * sunrpc/svc_auth.c: Likewise.
46699 * sunrpc/svc_authux.c: Likewise.
46700 * sunrpc/svc_raw.c: Likewise.
46701 * sunrpc/svc_run.c: Likewise.
46702 * sunrpc/svc_simple.c: Likewise.
46703 * sunrpc/svc_tcp.c: Likewise.
46704 * sunrpc/svc_udp.c: Likewise.
46705 * sunrpc/svc_unix.c: Likewise.
46706 * sunrpc/svcauth_des.c: Likewise.
46707 * sunrpc/xcrypt.c: Likewise.
46708 * sunrpc/xdr.c: Likewise.
46709 * sunrpc/xdr_array.c: Likewise.
46710 * sunrpc/xdr_float.c: Likewise.
46711 * sunrpc/xdr_mem.c: Likewise.
46712 * sunrpc/xdr_rec.c: Likewise.
46713 * sunrpc/xdr_ref.c: Likewise.
46714 * sunrpc/xdr_sizeof.c: Likewise.
46715 * sunrpc/xdr_stdio.c: Likewise.
46717 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46720 2010-08-19 Andreas Schwab <schwab@redhat.com>
46722 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46724 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46726 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46727 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46728 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46729 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46730 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46731 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46732 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46733 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46734 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46735 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46736 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46737 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46738 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46739 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46741 2010-07-26 Anton Blanchard <anton@samba.org>
46743 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46744 * malloc/arena.c (heap_trim): Likewise.
46746 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46748 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46751 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46753 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46755 * sysdeps/i386/elf/Makefile: New file.
46757 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46759 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46760 from fanotify_init.
46761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46762 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46764 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46766 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46768 * sysdeps/multiarch/strcmp.S: Likewise.
46770 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46772 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46773 strncase_l-nonascii.
46774 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46775 Add strncase_l-ssse3.
46776 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46777 * sysdeps/x86_64/strcmp.S: Likewise.
46778 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46779 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46780 * sysdeps/x86_64/strncase.S: New file.
46781 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46782 * sysdeps/x86_64/strncase_l.S: New file.
46783 * string/Makefile (strop-tests): Add strncasecmp.
46784 * string/test-strncasecmp.c: New file.
46786 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46789 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46790 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46792 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46794 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46796 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46798 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46799 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46800 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46802 2010-05-01 Alan Modra <amodra@gmail.com>
46804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46805 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46806 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46807 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46808 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46809 tidying. Don't tail-call __sigjmp_save for static lib.
46810 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46812 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46813 (CALL_MCOUNT): Add eh info, and nop after bl.
46814 (TAIL_CALL_SYSCALL_ERROR): New macro.
46815 (PSEUDO_RET): Use it.
46816 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46817 Correct save location of integer regs and cr.
46818 (_dl_profile_resolve): Correct cr save location. Delete nops
46819 after bl when SHARED. Reduce cfi size a little by better
46820 placement of cfi directives.
46821 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46822 make a stack frame. Instead use parm save area as a temp.
46823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46824 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46826 Don't make a stack frame for parent, use parm save area.
46827 Increase child stack frame to 112 bytes. Don't save unused reg,
46828 and adjust reg usage. Set up cfi on error recovery and
46829 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46831 (__makecontext): Add dummy nop after jump to exit.
46832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46833 Use correct parm save area and cr save, reduce stack frame.
46834 Correct cfi for possible PSEUDO_RET frame setup.
46835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46836 Branch to local label emitted by PSEUDO_RET rather than
46839 2010-08-12 Andreas Schwab <schwab@redhat.com>
46842 * locale/programs/locale.c (print_assignment): New function.
46843 (show_locale_vars): Use it.
46845 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46847 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46849 (struct statfs64): Likewise.
46850 (_STATFS_F_FLAGS): Define.
46851 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46852 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46853 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46854 (ST_VALID): Define locally.
46855 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46856 __statvfs_getflags, use the provided value.
46857 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46858 __ASSUME_STATFS_F_FLAGS.
46860 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46862 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46863 Add sys/fanotify.h.
46864 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46865 fanotify_mask for GLIBC_2.13.
46866 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46867 fanotify_init and fanotify_mark.
46868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46869 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46871 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46873 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46874 prlimit64 for GLIBC_2.13.
46875 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46877 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46880 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46881 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46882 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46883 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46885 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46888 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46889 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46891 * nss/Makefile: Add rules to build and run tst-nss-test1.
46892 * shlib-versions: Add entry for libnss_test1.
46893 * nss/nss_test1.c: New file.
46894 * nss/tst-nss-test1.c: New file.
46896 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46897 (__nss_configure_lookup): Set appropriate entry in
46898 __nss_configure_lookup to true.
46899 * nss/nsswitch.h: Define enum with indeces of databases in
46900 databases and __nss_database_custom arrays. Declare
46901 __nss_database_custom.
46902 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46903 to avoid using nscd when custom rules are installed.
46904 * nss/getXXbyYY_r.c: Likewise.
46905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46907 * nss/nss_files/files-parse.c: Whitespace fixes.
46909 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46912 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46913 * posix/fnmatch_loop.c: Likewise.
46915 2010-07-17 Andi Kleen <ak@linux.intel.com>
46917 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46918 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46919 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46920 * Versions.def [GLIBC_2.13]: Add.
46922 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46924 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46925 Also fail if tpwd after pwuid call is NULL.
46927 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46929 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46930 when converting to ms.
46932 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46934 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46935 EOPNOTSUPP errors with ENOTTY.
46936 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46937 EOPNOTSUPP errors with ENOTTY.
46939 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46941 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46942 Add strcasecmp_l-ssse3.
46943 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46945 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46946 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46947 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46949 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46951 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46953 * string/Makefile (strop-tests): Add strcasecmp.
46954 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46955 strcasecmp_l-nonascii.
46956 (gen-as-const-headers): Add locale-defines.sym.
46957 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46958 * sysdeps/x86_64/strcasecmp.S: New file.
46959 * sysdeps/x86_64/strcasecmp_l.S: New file.
46960 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46961 * sysdeps/x86_64/locale-defines.sym: New file.
46962 * string/test-strcasecmp.c: New file.
46964 * string/test-strcasestr.c: Test both ends of the range of characters.
46965 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46967 2010-07-29 Roland McGrath <roland@redhat.com>
46970 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46972 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46974 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46977 2010-07-27 Andreas Schwab <schwab@redhat.com>
46979 * manual/memory.texi (Malloc Tunable Parameters): Document
46982 2010-07-26 Roland McGrath <roland@redhat.com>
46985 * configure.in (-fgnu89-inline check): Set and substitute
46986 gnu89_inline, not libc_cv_gnu89_inline.
46987 * configure: Regenerated.
46988 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46990 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46992 * string/test-strnlen.c: New file.
46993 * string/Makefile (strop-tests): Add strnlen.
46994 * string/tester.c (test_strnlen): Add a few more test cases.
46995 * string/tst-strlen.c: Better error reporting.
46997 * sysdeps/x86_64/strnlen.S: New file.
46999 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47001 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47002 lower-latency instructions.
47004 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47006 * string/test-strcasestr.c: New file.
47007 * string/test-strstr.c: New file.
47008 * string/Makefile (strop-tests): Add strstr and strcasestr.
47009 * string/str-two-way.h: Don't undefine MAX.
47010 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47012 2010-07-21 Andreas Schwab <schwab@redhat.com>
47014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47015 strcasestr-nonascii.
47016 (CFLAGS-strcasestr-nonascii.c): Define.
47017 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47018 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47019 Remove unused attribute.
47021 2010-07-20 Roland McGrath <roland@redhat.com>
47023 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47024 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47025 ld.so.cache was broken. With it, there is no way to disable dsocaps
47026 like LD_HWCAP_MASK can disable hwcaps.
47028 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47030 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47032 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47034 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47035 call in strcasestr.
47036 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47037 __strcasestr_sse42_nonascii.
47038 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47039 strcasestr-nonascii.c.
47040 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47042 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47044 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47045 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47046 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47047 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47049 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47051 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47054 2010-07-06 Andreas Schwab <schwab@redhat.com>
47057 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47060 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47062 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47063 _PC_PIPE_BUF using F_GETPIPE_SZ.
47065 2010-07-05 Roland McGrath <roland@redhat.com>
47067 * manual/arith.texi (Rounding Functions): Fix rint description
47068 implicit in round description.
47070 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47072 * elf/Makefile: Fix linking for a few tests to make recent linker
47075 2010-06-30 Andreas Schwab <schwab@redhat.com>
47077 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47078 $(common-objpfx)libc_nonshared.a.
47080 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47082 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47083 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47084 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47085 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47086 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47087 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47088 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47089 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47104 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47105 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47106 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47107 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47108 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47109 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47110 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47111 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47112 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47113 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47114 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47115 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47131 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47133 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47134 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47135 * string/memmove.c (memmove): Renamed to ...
47136 (MEMMOVE): ...this. Default to memmove.
47137 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47138 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47141 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47142 mempcpy-ssse3-back memmove-ssse3-back.
47143 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47144 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47145 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47146 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47147 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47148 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47149 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47150 * sysdeps/x86_64/multiarch/memmove.c: New file.
47151 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47152 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47153 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47154 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47155 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47156 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47158 (index_Fast_Copy_Backward): Define.
47159 (HAS_ARCH_FEATURE): Define.
47160 (HAS_FAST_REP_STRING): Define.
47161 (HAS_FAST_COPY_BACKWARD): Define.
47163 2010-06-21 Andreas Schwab <schwab@redhat.com>
47165 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47166 Restore proper fallback handling.
47168 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47171 * posix/group_member.c (__group_member): Correct checking loop.
47173 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47174 OOM in getpwuid_r correctly. Return error number when the caller
47175 should return, otherwise -1.
47176 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47177 call returning > 0 value.
47178 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47180 2010-06-07 Andreas Schwab <schwab@redhat.com>
47182 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47183 libc_nonshared.a from targets in modules-names.
47185 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47187 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47190 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47192 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47193 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47194 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47195 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47197 2010-06-02 Andreas Schwab <schwab@redhat.com>
47199 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47201 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47203 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47205 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47206 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47209 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47210 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47212 2010-06-14 Roland McGrath <roland@redhat.com>
47214 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47216 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47218 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47219 __REDIRECT followed by __THROW.
47220 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47221 * posix/getopt.h (getopt): Likewise.
47223 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47225 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47226 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47227 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47229 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47230 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47232 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47234 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47236 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47240 Properly check family and model.
47242 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47244 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47246 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47248 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47250 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47252 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47255 2010-05-19 Andreas Schwab <schwab@redhat.com>
47257 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47260 2010-05-21 Andreas Schwab <schwab@redhat.com>
47262 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47263 and internal_recvmmsg.
47264 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47265 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47266 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47267 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47269 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47270 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47271 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47273 2010-05-20 Andreas Schwab <schwab@redhat.com>
47275 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47277 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47279 POWER7 optimizations.
47280 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47281 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47283 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47285 * version.h: Update for 2.13 development version.
47287 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47289 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47290 exceptions. Return 0.
47292 2010-05-07 Roland McGrath <roland@redhat.com>
47294 * elf/ldconfig.c (main): Add a const.
47296 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47298 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47299 (args_options): Add no-idn option.
47300 (ahosts_keys_int): Add idn_flags to ai_flags.
47301 (parse_option): Handle 'i' option to clear idn_flags.
47303 * malloc/malloc.c (_int_free): Possible race in the most recently
47304 added check. Only act on the data if no current modification
47307 See ChangeLog.17 for earlier changes.