1 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5 return the argument for normal arguments with exponent below -64.
6 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8 * math/auto-libm-test-in: Add another test of expm1.
9 * math/auto-libm-test-out: Regenerated.
12 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13 calling __erfcl for arguments at least 16.
14 * math/auto-libm-test-in: Add more tests of erf.
15 * math/auto-libm-test-out: Regenerated.
17 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18 individual architectures.
19 * sysdeps/unix/sysv/linux/configure: Regenerated.
20 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
21 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
22 * sysdeps/unix/sysv/linux/powerpc/configure.ac
23 (ldd_rewrite_script): Define variable.
24 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
27 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
31 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
34 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
35 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
41 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
42 Rename member __data.d to __data.__elision_data.
44 2014-06-24 Wilco <wdijkstr@arm.com>
46 * NEWS: Add 16918 to fixed bug list.
48 2014-06-24 Wilco <wdijkstr@arm.com>
50 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
52 2014-06-24 Wilco <wdijkstr@arm.com>
54 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
55 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
56 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
57 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
58 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
59 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
60 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
63 2014-06-24 Wilco <wdijkstr@arm.com>
65 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
67 2014-06-24 Wilco <wdijkstr@arm.com>
69 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
70 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
71 * sysdeps/arm/fesetround.c (fesetround): Remove space.
72 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
74 2014-06-24 Wilco <wdijkstr@arm.com>
77 * sysdeps/arm/feupdateenv.c (feupdateenv):
78 Rewrite to reduce FPSCR accesses and fix return value.
80 2014-06-24 Wilco <wdijkstr@arm.com>
82 * sysdeps/arm/fclrexcpt.c (feclearexcept):
83 Optimize to avoid unnecessary FPSCR writes.
84 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
85 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
86 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
87 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
89 2014-06-24 Wilco <wdijkstr@arm.com>
91 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
92 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
93 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
94 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
95 Call libc_fetestexcept_vfp.
96 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
97 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
98 __SOFTFP__ ifdef so that they can be built for softfp.
100 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
102 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
103 argument type signed char.
105 * Makerules (check-abi): Dump diff of symlist if the test
108 2014-06-23 Roland McGrath <roland@hack.frob.com>
110 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
113 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
114 Remove unused variable ST.
116 2014-06-23 Joseph Myers <joseph@codesourcery.com>
120 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
121 small arguments before calling __expm1.
122 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
123 small arguments before calling __expm1f.
124 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
125 small arguments before calling __expm1l.
126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
128 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
129 * math/auto-libm-test-in: Add more cosh tests. Do not allow
130 spurious underflow for some cosh tests.
131 * math/auto-libm-test-out: Regenerated.
132 * sysdeps/i386/fpu/libm-test-ulps: Update.
135 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
136 (__ieee754_y1): Set errno if return value overflows.
137 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
138 (__ieee754_y1f): Set errno if return value overflows.
139 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
140 (__ieee754_y1l): Set errno if return value overflows.
141 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
142 (__ieee754_y1l): Set errno if return value overflows.
143 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
144 * math/auto-libm-test-out: Regenerated.
146 * math/gen-auto-libm-tests.c: Document use of
147 ignore-zero-inf-sign.
148 (input_flag_type): Add value flag_ignore_zero_inf_sign.
149 (input_flags): Add ignore-zero-inf-sign.
150 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
151 * math/gen-libm-test.pl (generate_testfile): Handle
152 ignore-zero-inf-sign.
153 * math/auto-libm-test-in: Mark some cpow tests with
154 ignore-zero-inf-sign and some with xfail-rounding.
155 * math/auto-libm-test-out: Regenerated.
156 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
157 * sysdeps/i386/fpu/libm-test-ulps: Update.
158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
161 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
162 overflowing or underflowing operations take place with sign of
164 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
165 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
166 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
167 (__ieee754_pow): Recompute overflowing and underflowing results in
168 original rounding mode.
169 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
170 (__powl_helper): Allow negative argument X and scale negated value
171 as needed. Avoid passing value outside [-1, 1] to f2xm1.
172 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
173 overflowing or underflowing operations take place with sign of
175 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
177 * math/auto-libm-test-in: Add more tests of pow.
178 * math/auto-libm-test-out: Regenerated.
179 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
180 (pow_tonearest_test_data): Remove.
181 (pow_test_tonearest): Likewise.
182 (pow_towardzero_test_data): Likewise.
183 (pow_test_towardzero): Likewise.
184 (pow_downward_test_data): Likewise.
185 (pow_test_downward): Likewise.
186 (pow_upward_test_data): Likewise.
187 (pow_test_upward): Likewise.
188 (main): Don't call removed functions.
189 * sysdeps/i386/fpu/libm-test-ulps: Update.
190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
192 2014-06-23 Roland McGrath <roland@hack.frob.com>
194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
368 2014-06-23 Will Newton <will.newton@linaro.org>
369 Wilco <wdijkstr@arm.com>
371 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
372 implementation. Include get-rounding-mode.h.
373 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
374 [!libc_feholdsetround_noex_ctx]: Define
375 libc_feholdsetround_noex_ctx.
376 [!libc_feholdsetround_noexf_ctx]: Define
377 libc_feholdsetround_noexf_ctx.
378 [!libc_feholdsetround_noexl_ctx]: Define
379 libc_feholdsetround_noexl_ctx.
380 (libc_feholdsetround_ctx): New function.
381 (libc_feresetround_ctx): New function.
382 (libc_feholdsetround_noex_ctx): New function.
383 (libc_feresetround_noex_ctx): New function.
385 2014-06-23 Roland McGrath <roland@hack.frob.com>
387 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
388 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
389 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
390 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
391 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
392 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
394 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
395 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
396 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
397 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
398 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
399 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
400 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
401 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
402 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
403 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
404 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
406 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
408 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
409 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
411 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
412 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
414 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
415 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
416 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
417 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
418 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
419 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
420 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
421 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
423 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
424 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
426 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
427 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
428 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
429 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
431 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
432 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
433 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
434 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
435 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
436 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
437 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
438 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
439 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
442 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
444 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
445 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
446 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
447 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
448 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
449 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
450 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
451 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
452 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
453 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
454 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
455 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
456 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
458 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
459 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
460 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
461 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
462 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
463 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
465 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
466 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
467 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
468 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
469 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
471 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
472 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
473 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
475 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
477 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
478 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
480 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
481 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
482 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
483 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
484 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
485 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
486 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
487 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
488 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
489 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
490 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
491 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
492 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
493 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
494 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
495 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
496 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
497 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
500 2014-06-23 Joseph Myers <joseph@codesourcery.com>
502 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
503 (FALLOC_FL_COLLAPSE_RANGE): New macro.
504 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
505 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
506 (IPV6_PMTUDISC_INTERFACE): Likewise.
507 (IPV6_PMTUDISC_OMIT): Likewise.
509 2014-06-23 Andreas Schwab <schwab@suse.de>
511 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
512 Remove unused errout label.
514 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
516 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
517 macro: hardware supports Vector Crypto instructions.
519 2014-06-23 Will Newton <will.newton@linaro.org>
521 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
522 rather than __builtin_expect.
524 * elf/dl-lookup.c (undefined_msg): Remove variable.
525 (_dl_lookup_symbol_x): Replace undefined_msg with string
528 * elf/dl-lookup.c (do_lookup_unique): New function.
529 (do_lookup_x): Move STB_GNU_UNIQUE handling code
530 to a separate function.
532 2014-06-23 Andreas Schwab <schwab@suse.de>
535 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
536 before reading the next line.
538 2014-06-23 Will Newton <will.newton@linaro.org>
540 * test-skeleton.c (signal_handler): Use printf and %m
541 rather than perror. Use printf rather than fprintf to
542 stderr. Use puts rather than fputs to stderr.
545 2014-06-22 Ludovic Courtès <ludo@gnu.org>
547 * nscd/nscd.c (thread_info_t): Remove typedef.
548 (thread_info): Remove variable.
550 2014-06-21 Allan McRae <allan@archlinux.org>
552 * NEWS: Mention CVE-2014-4043.
554 2014-06-20 Roland McGrath <roland@hack.frob.com>
556 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
557 * nptl/smp.h: ... here.
559 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
561 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
562 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
563 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
564 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
566 * nptl/allocatestack.c: Include <stack-aliasing.h>.
567 * nptl/stack-aliasing.h: New file.
568 * sysdeps/i386/i686/stack-aliasing.h: New file.
569 * sysdeps/i386/i686/nptl/Makefile: File removed.
570 * sysdeps/x86_64/stack-aliasing.h: New file.
571 * sysdeps/x86_64/nptl/Makefile
572 (CFLAGS-pthread_create.c): Variable removed.
574 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
575 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
577 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
578 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
581 2014-06-21 Joseph Myers <joseph@codesourcery.com>
583 * sysdeps/unix/sysv/linux/arm/kernel-features.h
584 (__ASSUME_SIGFRAME_V2): Remove macro.
585 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
586 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
587 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
588 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
589 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
590 Declare as function. Remove conditional macro definitions.
591 (__default_rt_sa_restorer): Likewise.
592 (__default_sa_restorer_v1): Remove declaration.
593 (__default_sa_restorer_v2): Likewise.
594 (__default_rt_sa_restorer_v1): Likewise.
595 (__default_rt_sa_restorer_v2): Likewise.
596 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
597 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
598 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
600 2014-06-20 Roland McGrath <roland@hack.frob.com>
602 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
603 (libpthread-routines): Add sysdep.
604 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
605 * sysdeps/unix/sysv/linux/sparc/Versions
606 (libpthread: GLIBC_2.3.3): New version set.
607 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
608 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
609 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
610 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
611 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
612 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
614 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
615 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
616 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
617 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
618 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
619 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
620 * sysdeps/sparc/nptl/sem_init.c: ... here.
621 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
622 * sysdeps/sparc/nptl/sem_post.c: ... here.
623 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
624 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
625 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
626 * sysdeps/sparc/nptl/sem_wait.c: ... here.
627 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
628 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
629 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
630 (libpthread-routines): Add cpu_relax.
631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
633 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
634 (librt: GLIBC_2.3.3): New version set.
635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
636 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
637 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
638 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
640 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
641 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
644 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
646 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
648 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
650 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
652 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
655 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
659 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
663 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
667 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
671 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
675 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
678 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
680 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
684 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
686 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
689 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
690 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
691 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
693 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
695 2014-06-20 Joseph Myers <joseph@codesourcery.com>
697 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
698 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
699 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
700 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
701 * nscd/nscd.c: Likewise.
702 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
703 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
704 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
705 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
707 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
709 (init_mq_netlink): Remove conditional have_sock_cloexec
710 definitions. Remove code conditional on have_sock_cloexec < 0.
711 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
712 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
713 * sysdeps/unix/sysv/linux/opensock.c: Do not include
715 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
716 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
718 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
721 Add tests for memset_chk and memset.
723 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
726 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
729 * elf/tst-dl-iter-static.c: New file.
730 * elf/Makefile (tests-static): Add tst-dl-iter-static.
732 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
735 2014-06-20 Joseph Myers <joseph@codesourcery.com>
737 * sysdeps/unix/sysv/linux/kernel-features.h
738 (__ASSUME_F_GETOWN_EX): Remove macro.
739 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
741 (miss_F_GETOWN_EX): Remove variable or macro.
742 (do_fcntl): Do not check miss_F_GETOWN_EX.
743 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
745 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
748 [!__ASSUME_AT_RANDOM]: Remove conditional code.
749 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
751 * sysdeps/unix/sysv/linux/kernel-features.h
752 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
753 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
754 [ADJ_OFFSET_SS_READ]: Make code unconditional.
755 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
757 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
760 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
761 Fix calculation of the symbol's value.
762 * sysdeps/arm/tst-armtlsdescloc.c: New file.
763 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
764 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
765 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
766 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
767 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
768 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
769 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
770 (modules-names): Add `tst-armtlsdescmod',
771 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
772 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
773 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
774 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
775 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
776 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
777 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
778 ($(objpfx)tst-armtlsdescloc): New dependency.
779 ($(objpfx)tst-armtlsdescextnow): Likewise.
780 ($(objpfx)tst-armtlsdescextlazy): Likewise.
781 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
783 * sysdeps/arm/configure: Regenerate.
785 2014-06-20 Joseph Myers <joseph@codesourcery.com>
787 * include/fcntl.h (__atfct_seterrno): Remove prototype.
788 (__atfct_seterrno_2): Likewise.
789 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
791 (__ASSUME_ATFCTS): Do not undefine and redefine.
792 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
793 (__have_atfcts): Remove conditional definition.
794 (__fxstatat([__NR_fstatat64]: Make code unconditional.
795 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
796 unreachable if [__ASSUME_ATFCTS].
797 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
798 not undefine and redefine.
799 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
801 (faccessat) [__NR_faccessat]: Make code unconditional.
802 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
803 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
805 (fchmodat) [__NR_fchmodat]: Make code unconditional.
806 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
807 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
809 (fchownat) [__NR_fchownat]: Make code unconditional.
810 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
811 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
813 (futimesat) [__NR_futimesat]: Make code unconditional.
814 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
815 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
817 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
818 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
819 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
821 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
822 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
823 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
824 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
826 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
827 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
828 * sysdeps/unix/sysv/linux/linkat.c: Do not include
830 (linkat) [__NR_linkat]: Make code unconditional.
831 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
832 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
833 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
835 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
836 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
837 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
839 (mkdirat) [__NR_mkdirat]: Make code unconditional.
840 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
841 * sysdeps/unix/sysv/linux/openat.c: Do not include
843 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
844 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
845 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
846 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
847 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
848 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
850 (readlinkat) [__NR_readlinkat]: Make code unconditional.
851 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
852 result of INLINE_SYSCALL directly, not via int variable.
853 * sysdeps/unix/sysv/linux/renameat.c: Do not include
855 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
856 (renameat) [__NR_renameat]: Make code unconditional.
857 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
858 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
859 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
860 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
861 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
862 (__ASSUME_ATFCTS): Do not undefine and redefine.
863 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
865 (symlinkat) [__NR_symlinkat]: Make code unconditional.
866 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
867 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
869 (unlinkat) [__NR_unlinkat]: Make code unconditional.
870 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
871 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
872 (__ASSUME_ATFCTS): Do not undefine and redefine.
873 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
875 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
876 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
877 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
879 (__xmknodat) [__NR_mknodat]: Make code unconditional.
880 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
882 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
884 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
886 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
889 * posix/regcomp.c (parse_reg_exp): Deallocate partially
890 constructed tree before returning error.
891 * posix/bug-regexp36.c: Expand test case.
893 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
896 * math/libm-test.inc (scalbln_test_date):
897 Add errno expectations.
898 * math/w_scalblnf.c: New File.
899 Add wrapper which checks for setting errno to ERANGE.
900 Add weak_alias for corresponding scalbln function.
901 * math/w_scalbln.c: Likewise.
902 * math/w_scalblnl.c: Likewise.
903 * math/Makefile (libm-calls): Add w_scalbln.
904 * sysdeps/ieee754/flt-32/s_scalblnf.c:
905 Remove weak_alias for corresponding scalbln function.
906 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
908 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
909 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
910 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
911 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
912 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
913 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
914 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
915 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
916 Remove long_double_symbol for scalblnl function in libm, libc.
917 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
918 Add wrapper which checks for setting errno to ERANGE.
919 Add long_double_symbol for scalblnl function in libm, libc.
920 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
921 Remove long_double_symbol for scalblnl in libm.
922 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
923 Add wrapper which checks for setting errno to ERANGE.
924 Add long_double_symbol for scalblnl function in libm.
925 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
926 Do not use wrapper because of own implementation.
928 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
930 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
931 3 bytes for __pad1 for x32.
932 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
934 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
935 H.J. Lu <hongjiu.lu@intel.com>
937 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
938 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
939 * sysdeps/x86_64/multiarch/memset.S: Likewise.
940 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
941 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
943 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
946 * posix/regcomp.c (parse_expression): Deallocate partially
947 constructed tree before returning error.
948 * posix/Makefile.c (tests): Add bug-regex36.
949 (generated): Add bug-regex36.mtrace.
950 (tests-special): Add $(objpfx)bug-regex36-mem.out
951 (bug-regex36-ENV): New variable.
952 ($(objpfx)bug-regex36-mem.out): New rule.
953 * posix/bug-regex36.c: New file.
955 2014-06-19 Will Newton <will.newton@linaro.org>
957 * malloc/malloc.c (systrim): If extra is zero then return
960 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
962 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
964 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
966 * sysdeps/aarch64/strchr.S: New file.
968 2014-06-18 Joseph Myers <joseph@codesourcery.com>
971 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
972 from arguments -2 or below.
973 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
974 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
976 2014-06-18 Andreas Schwab <schwab@suse.de>
979 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
980 of a bracket expr not to run off the end of the string.
981 * posix/Makefile (tests): Add tst-fnmatch3.
982 * posix/tst-fnmatch3.c: New file.
984 2014-06-18 Joseph Myers <joseph@codesourcery.com>
986 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
987 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
988 [$(cross-compiling) = no]: Likewise.
989 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
990 [$(cross-compiling) = no]: Likewise.
992 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
995 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
996 double, adjusted for any remainder from the high double.
997 * math/libm-test.inc (nearbyint): Add tests.
1000 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1002 * nptl/sysdeps/powerpc/Makefile: Moved ...
1003 * sysdeps/powerpc/nptl/Makefile: ... here.
1004 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1005 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1006 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1007 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1008 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1009 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1010 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1011 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1012 * nptl/sysdeps/powerpc/tls.h: Moved ...
1013 * sysdeps/powerpc/nptl/tls.h: ... here.
1015 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1018 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1019 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1020 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1021 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1022 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1023 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1024 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1025 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1026 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1028 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1030 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1032 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1034 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1037 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1040 2014-06-16 Florian Weimer <fweimer@redhat.com>
1043 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1044 non-executed part of the test.
1046 2014-06-16 Andreas Schwab <schwab@suse.de>
1048 * string/bits/string2.h (strdup, strndup): Update feature guard.
1050 2014-06-14 David S. Miller <davem@davemloft.net>
1052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1054 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1056 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1057 that was previously under [RESET_PID].
1058 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1060 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1061 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1062 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1063 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1064 (__libc_vfork): New strong alias.
1065 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1067 2014-06-14 Andi Kleen <ak@linux.intel.com>
1069 * sysdeps/generic/elide.h: New file.
1071 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1073 * Makefile (installed-headers): Adjust path of pthread.h header.
1075 2014-06-13 Roland McGrath <roland@hack.frob.com>
1077 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1078 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1079 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1080 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1082 * nptl/sysdeps/s390/Makefile: Moved ...
1083 * sysdeps/s390/nptl/Makefile: ... here.
1084 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1085 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1086 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1087 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1088 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1089 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1090 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1091 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1092 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1093 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1094 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1095 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1096 * nptl/sysdeps/s390/tls.h: Moved ...
1097 * sysdeps/s390/nptl/tls.h: ... here.
1099 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1100 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1102 2014-06-13 David S. Miller <davem@davemloft.net>
1104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1106 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1107 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1111 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1112 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1113 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1114 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1115 Remove RESET_PID cpp guards.
1116 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1117 Remove RESET_PID cpp guards.
1118 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1120 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1122 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1125 2014-06-13 Andi Kleen <ak@linux.intel.com>
1127 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1128 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1129 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1130 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1131 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1132 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1133 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1134 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1135 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1136 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1137 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1138 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1139 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1140 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1141 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1142 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1143 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1144 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1145 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1146 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1148 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1149 (pthread_rwlock_rdlock): Add elision.
1150 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1151 (pthread_rwlock_wrlock): Add elision.
1152 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1153 (pthread_rwlock_trywrlock): Add elision.
1154 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1155 (pthread_rwlock_tryrdlock): Add elision.
1156 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1157 (pthread_rwlock_tryrdlock): Add elision unlock.
1158 * nptl/sysdeps/pthread/pthread.h:
1159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1160 (PTHREAD_RWLOCK_INITIALIZER,
1161 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1162 Handle new elision field.
1163 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1164 * sysdeps/arm/nptl/bits/pthreadtypes.h
1165 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1166 * sysdeps/sh/nptl/bits/pthreadtypes.h
1167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1168 * sysdeps/tile/nptl/bits/pthreadtypes.h
1169 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1170 * sysdeps/a/nptl/bits/pthreadtypes.h
1171 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1172 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1174 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1175 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1176 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1178 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1179 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1180 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1182 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1183 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1184 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1185 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1186 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1187 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1188 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1189 (elision_init): Set try_xbegin to zero when no RTM.
1190 * sysdeps/x86/nptl/bits/pthreadtypes.h
1191 (pthread_rwlock_t): Change __pad1 to __rwelision.
1192 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1194 2014-06-13 Andi Kleen <ak@linux.intel.com>
1196 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1197 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1198 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1199 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1201 2014-06-13 Meador Inge <meadori@codesourcery.com>
1204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1205 that the cached result has been set before returning it.
1207 2014-06-12 Roland McGrath <roland@hack.frob.com>
1209 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1210 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1211 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1212 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1213 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1214 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1216 * nptl/sysdeps/sparc/Makefile: Moved ...
1217 * sysdeps/sparc/nptl/Makefile: ... here.
1218 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1219 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1220 * nptl/sysdeps/sparc/tls.h: Moved ...
1221 * sysdeps/sparc/nptl/tls.h: ... here.
1222 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1223 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1224 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1225 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1226 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1227 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1228 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1229 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1230 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1231 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1232 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1233 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1234 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1235 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1236 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1237 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1238 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1239 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1241 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1242 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1244 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1245 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1247 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1248 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1251 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1253 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1254 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1256 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1257 (struct list_links): Type removed.
1258 (struct thread_node, struct timer_node): Replace struct list_links
1259 with struct list_head.
1260 (list_unlink_ip): Likewise.
1261 * sysdeps/pthread/timer_routines.c
1262 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1263 (list_append, list_insbefore): Likewise.
1264 (list_init): Function removed.
1265 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1266 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1267 * sysdeps/pthread/Makefile: ... here, new file.
1269 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1270 * sysdeps/nptl/Implies: ... here.
1271 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1272 * nptl/sysdeps/pthread/list.h: Moved ...
1273 * include/list.h: ... here.
1274 * nptl/sysdeps/pthread/createthread.c: Moved ...
1275 * nptl/createthread.c: ... here.
1276 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1277 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1278 * nptl/pt-longjmp.c: ... here.
1279 * nptl/sysdeps/pthread/Makefile: Moved ...
1280 * sysdeps/nptl/Makefile: ... here.
1281 * nptl/sysdeps/pthread/Subdirs: Moved ...
1282 * sysdeps/nptl/Subdirs: ... here.
1283 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1284 * sysdeps/nptl/aio_misc.h: ... here.
1285 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1286 * sysdeps/nptl/bits/libc-lock.h: ... here.
1287 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1288 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1289 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1290 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1291 * nptl/sysdeps/pthread/configure: Moved ...
1292 * sysdeps/nptl/configure: ... here.
1293 * nptl/sysdeps/pthread/configure.ac: Moved ...
1294 * sysdeps/nptl/configure.ac: ... here.
1295 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1296 * sysdeps/nptl/gai_misc.h: ... here.
1297 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1298 * sysdeps/nptl/librt-cancellation.c: ... here.
1299 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1300 * sysdeps/nptl/malloc-machine.h: ... here.
1301 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1302 * sysdeps/nptl/pthread-functions.h: ... here.
1303 * nptl/sysdeps/pthread/pthread.h: Moved ...
1304 * sysdeps/nptl/pthread.h: ... here.
1305 * nptl/sysdeps/pthread/setxid.h: Moved ...
1306 * sysdeps/nptl/setxid.h: ... here.
1307 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1308 * sysdeps/nptl/sigfillset.c: ... here.
1309 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1310 * sysdeps/nptl/tcb-offsets.h: ... here.
1311 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1312 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1313 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1314 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1315 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1316 * sysdeps/pthread/allocalim.h: ... here.
1317 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1318 * sysdeps/pthread/bits/sigthread.h: ... here.
1319 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1320 * sysdeps/pthread/flockfile.c: ... here.
1321 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1322 * sysdeps/pthread/ftrylockfile.c: ... here.
1323 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1324 * sysdeps/pthread/funlockfile.c: ... here.
1325 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1326 * sysdeps/pthread/posix-timer.h: ... here.
1327 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1328 * sysdeps/pthread/timer_create.c: ... here.
1329 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1330 * sysdeps/pthread/timer_delete.c: ... here.
1331 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1332 * sysdeps/pthread/timer_getoverr.c: ... here.
1333 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1334 * sysdeps/pthread/timer_gettime.c: ... here.
1335 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1336 * sysdeps/pthread/timer_routines.c: ... here.
1337 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1338 * sysdeps/pthread/timer_settime.c: ... here.
1339 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1340 * sysdeps/pthread/tst-timer.c: ... here.
1341 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1342 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1344 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1345 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1347 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1348 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1349 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1350 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1351 Update #include target.
1352 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1353 * sysdeps/i386/i686/nptl/Makefile: ... here.
1354 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1355 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1356 Update #include target.
1357 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1358 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1359 * nptl/sysdeps/i386/Makefile: Moved ...
1360 * sysdeps/i386/nptl/Makefile: ... here.
1361 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1362 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1363 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1364 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1365 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1366 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1367 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1368 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1369 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1370 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1371 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1372 * nptl/sysdeps/i386/tls.h: Moved ...
1373 * sysdeps/i386/nptl/tls.h: ... here.
1375 * sysdeps/sh/Makefile [$(subdir) = csu]
1376 (gen-as-const-headers): Add tcb-offsets.sym.
1377 * nptl/sysdeps/sh/Makefile: File removed.
1378 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1379 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1380 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1381 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1382 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1383 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1384 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1385 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1386 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1387 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1388 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1389 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1390 * nptl/sysdeps/sh/tls.h: Moved ...
1391 * sysdeps/sh/nptl/tls.h: ... here.
1392 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1393 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1394 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1395 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1396 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1397 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1398 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1399 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1400 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1401 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1402 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1403 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1404 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1405 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1406 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1407 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1408 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1409 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1410 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1411 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1412 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1413 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1415 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1416 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1418 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1419 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1421 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1422 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1423 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1424 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1425 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1426 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1427 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1428 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1429 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1430 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1431 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1432 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1433 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1434 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1435 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1436 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1437 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1438 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1439 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1441 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1443 * posix/spawn_faction_addopen.c: Include string.h.
1445 2014-06-11 Roland McGrath <roland@hack.frob.com>
1447 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1448 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1449 * nptl/sysdeps/x86_64/Makefile: Moved ...
1450 * sysdeps/x86_64/nptl/Makefile: ... here.
1451 * nptl/sysdeps/x86_64/configure: Moved ...
1452 * sysdeps/x86_64/nptl/configure: ... here.
1453 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1454 * sysdeps/x86_64/nptl/configure.ac: ... here.
1455 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1456 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1457 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1458 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1459 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1460 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1461 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1462 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1463 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1464 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1465 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1466 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1467 * nptl/sysdeps/x86_64/tls.h: Moved ...
1468 * sysdeps/x86_64/nptl/tls.h: ... here.
1469 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1470 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1471 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1472 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1474 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1476 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1480 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1482 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1484 [POSIX] (off_t): Likewise.
1485 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1486 [POSIX] (S_ISBLK): Require macro.
1487 [POSIX] (S_ISCHR): Likewise.
1488 [POSIX] (S_ISDIR): Likewise.
1489 [POSIX] (S_ISFIFO): Likewise.
1490 [POSIX] (S_ISREG): Likewise.
1491 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1493 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1495 [POSIX] (time_t): Likewise.
1496 [POSIX] (timer_t): Likewise.
1498 2014-06-11 Florian Weimer <fweimer@redhat.com>
1501 * posix/spawn_int.h (struct __spawn_action): Make the path string
1502 non-const to support deallocation.
1503 * posix/spawn_faction_addopen.c
1504 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1505 * posix/spawn_faction_destroy.c
1506 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1507 path in all spawn_do_open actions.
1508 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1509 posix_spawn_file_actions_addopen.
1511 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1513 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1514 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1515 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1516 conditional code always true.
1517 (__libc_vfork): New alias.
1519 2014-06-11 Roland McGrath <roland@hack.frob.com>
1521 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1522 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1524 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1526 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1527 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1529 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1530 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1532 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1533 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1535 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1537 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1538 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1539 multiarch strcmp for PPC64.
1540 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1541 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1543 multiarch optimizations.
1544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1545 (__libc_ifunc_impl_list): Likewise.
1547 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1549 * benchtests/scripts/validate_benchout.py: New script.
1550 * benchtests/Makefile (bench-func): Call it.
1551 * benchtests/scripts/benchout.schema.json: New file.
1553 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1555 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1556 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1557 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1558 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1559 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1560 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1561 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1562 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1563 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1564 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1565 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1566 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1567 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1568 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1569 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1570 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1674 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1675 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1677 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1680 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1682 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1683 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1685 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1687 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1688 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1689 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1690 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1691 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1692 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1693 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1694 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1696 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1697 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1699 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1700 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1701 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1702 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1704 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1705 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1706 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1707 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1708 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1709 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1710 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1712 2014-06-10 Wilco <wdijkstr@arm.com>
1714 * math/test-fenv-return.c: New file.
1715 * math/Makefile: Add new test test-fenv-return.
1717 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1720 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1722 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1723 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1724 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1725 0.0L for an argument of 1.0L.
1726 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1728 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1729 value when x - 1 is zero.
1730 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1731 * sysdeps/i386/fpu/libm-test-ulps: Update.
1732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1734 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1737 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1739 2014-06-09 Roland McGrath <roland@hack.frob.com>
1741 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1742 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1744 2014-06-09 Roland McGrath <roland@hack.frob.com>
1746 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1747 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1749 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1750 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1752 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1753 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1755 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1756 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1758 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1759 if not already defined.
1760 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1761 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1762 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1763 (TLS_INIT_TP): Use it.
1764 (TLS_DEFINE_INIT_TP): New macro.
1765 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1767 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1769 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1771 [POSIX] (IXANY): Likewise.
1772 [POSIX] (OLCUC): Likewise.
1773 [POSIX || POSIX2008] (CBAUD): Do not allow.
1774 [POSIX || POSIX2008] (DEFECHO): Likewise.
1775 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1776 [POSIX || POSIX2008] (ECHOKE): Likewise.
1777 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1778 [POSIX || POSIX2008] (EXTA): Likewise.
1779 [POSIX || POSIX2008] (EXTB): Likewise.
1780 [POSIX || POSIX2008] (FLUSHO): Likewise.
1781 [POSIX || POSIX2008] (LOBLK): Likewise.
1782 [POSIX || POSIX2008] (PENDIN): Likewise.
1783 [POSIX || POSIX2008] (SWTCH): Likewise.
1784 [POSIX || POSIX2008] (VDISCARD): Likewise.
1785 [POSIX || POSIX2008] (VDSUSP): Likewise.
1786 [POSIX || POSIX2008] (VLNEXT): Likewise.
1787 [POSIX || POSIX2008] (VREPRINT): Likewise.
1788 [POSIX || POSIX2008] (VSTATUS): Likewise.
1789 [POSIX || POSIX2008] (VWERASE): Likewise.
1790 (B*): Change to B[0123456789]*.
1791 * conform/data/time.h-data [POSIX || UNIX98]
1792 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1793 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1794 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1795 [POSIX] (tm_*): Do not allow.
1797 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1799 * Makefile (install): Don't set LANGUAGE.
1800 * Makefile.in (install): Likewise.
1801 * assert/Makefile (test-assert-ENV): Remove variable.
1802 (test-assert-perr-ENV): Likewise.
1803 * elf/Makefile (neededtest4-ENV): Likewise.
1804 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1805 [$(cross-compiling) = no]: Don't set LANGUAGE.
1806 * io/ftwtest-sh (LANG): Remove variable.
1807 * libio/Makefile (tst-widetext-ENV): Likewise.
1808 * manual/install.texi (Running make install): Don't refer to
1809 environment settings for make install.
1810 * INSTALL: Regenerated.
1811 * nptl/tst-tls6.sh: Don't set LANG.
1812 * posix/globtest.sh (LANG): Remove variable.
1813 * string/Makefile (tester-ENV): Likewise.
1814 (inl-tester-ENV): Likewise.
1815 (noinl-tester-ENV): Likewise.
1816 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1817 [$(cross-compiling) = no]: Don't set LANGUAGE.
1818 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1819 without explicit environment settings.
1821 2014-06-06 Roland McGrath <roland@hack.frob.com>
1823 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1824 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1825 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1826 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1828 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1830 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1831 other files in the crypt directory.
1832 * crypt/crypt.c: Remove duplicate includes.
1833 * crypt/crypt-entry.c: Likewise.
1834 * crypt/crypt_util.c: Likewise.
1836 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1838 * Makeconfig (run-program-env): New variable.
1839 (run-program-prefix-before-env): Likewise.
1840 (run-program-prefix-after-env): Likewise.
1841 (run-program-prefix): Define in terms of new variables.
1842 (built-program-cmd-before-env): New variable.
1843 (built-program-cmd-after-env): Likewise.
1844 (built-program-cmd): Define in terms of new variables.
1845 (test-program-prefix-before-env): New variable.
1846 (test-program-prefix-after-env): Likewise.
1847 (test-program-prefix): Define in terms of new variables.
1848 (test-program-cmd-before-env): New variable.
1849 (test-program-cmd-after-env): Likewise.
1850 (test-program-cmd): Define in terms of new variables.
1851 * Rules (make-test-out): Use $(run-program-env).
1852 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1853 (help): Do not mention environment variables. Mention
1854 --timeoutfactor option.
1855 (timeoutfactor): New variable.
1856 (blacklist_exports): Remove function.
1857 (exports): Remove variable.
1858 (command): Do not include ${exports}.
1859 * manual/install.texi (Configuring and compiling): Do not mention
1860 test wrappers preserving environment variables. Mention that last
1861 assignment to a variable must take precedence.
1862 * INSTALL: Regenerated.
1863 * benchtests/Makefile (run-bench): Use $(run-program-env).
1864 * catgets/Makefile ($(objpfx)test1.cat): Use
1865 $(built-program-cmd-before-env), $(run-program-env) and
1866 $(built-program-cmd-after-env).
1867 ($(objpfx)test2.cat): Do not specify environment variables
1869 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1870 $(run-program-env) and $(built-program-cmd-after-env).
1871 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1872 $(run-program-env) and $(test-program-cmd-after-env).
1873 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1875 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1876 run_program_env and test_program_cmd_after_env arguments.
1877 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1878 * elf/tst-pathopt.sh: Use run_program_env argument.
1879 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1880 $(test-wrapper-env) and $(run-program-env).
1881 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1882 run_program_env arguments.
1883 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1884 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1885 $(test-program-prefix-before-env), $(run-program-env) and
1886 $(test-program-prefix-after-env).
1887 ($(objpfx)tst-gettext2.out): Likewise.
1888 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1889 run_program_env and test_program_prefix_after_env arguments.
1890 * intl/tst-gettext2.sh: Likewise.
1891 * intl/tst-gettext4.sh: Do not set environment variables
1893 * intl/tst-gettext6.sh: Likewise.
1894 * intl/tst-translit.sh: Likewise.
1895 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1896 $(test-program-prefix-before-env), $(run-program-env) and
1897 $(test-program-prefix-after-env).
1898 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1899 run_program_env and test_program_prefix_after_env arguments.
1900 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1901 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1902 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1903 explicitly with each use of ${test_wrapper_env}.
1904 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1905 $(test-program-prefix-before-env), $(run-program-env) and
1906 $(test-program-prefix-after-env).
1907 * posix/tst-getconf.sh: Do not set environment variables
1909 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1910 run_program_env and test_program_prefix_after_env arguments.
1911 * stdio-common/tst-printf.sh: Do not set environment variables
1913 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1914 $(test-program-prefix-before-env), $(run-program-env) and
1915 $(test-program-prefix-after-env).
1916 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1917 run_program_env and test_program_prefix_after_env arguments.
1918 Split $test calls into $test_pre and $test.
1919 * timezone/Makefile (build-testdata): Use
1920 $(built-program-cmd-before-env), $(run-program-env) and
1921 $(built-program-cmd-after-env).
1923 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1926 strlen for non SHARED builds.
1928 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1930 * nptl/allocatestack.c (check_list): Inlined function...
1931 (__reclaim_stacks): ... here.
1933 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1936 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1939 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1941 * Rules (make-test-out): Include
1942 LOCPATH=$(common-objpfx)localedata in default environment.
1943 * debug/Makefile (tst-chk1-ENV): Remove variable.
1944 (tst-chk2-ENV): Likewise.
1945 (tst-chk3-ENV): Likewise.
1946 (tst-chk4-ENV): Likewise.
1947 (tst-chk5-ENV): Likewise.
1948 (tst-chk6-ENV): Likewise.
1949 (tst-lfschk1-ENV): Likewise.
1950 (tst-lfschk2-ENV): Likewise.
1951 (tst-lfschk3-ENV): Likewise.
1952 (tst-lfschk4-ENV): Likewise.
1953 (tst-lfschk5-ENV): Likewise.
1954 (tst-lfschk6-ENV): Likewise.
1955 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1956 (tst-iconv7-ENV): Likewise.
1957 * intl/Makefile (LOCPATH-ENV): Likewise.
1958 (tst-codeset-ENV): Likewise.
1959 (tst-gettext3-ENV): Likewise.
1960 (tst-gettext5-ENV): Likewise.
1961 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1962 (tst-fopenloc-ENV): Likewise.
1963 (tst-fgetws-ENV): Remove variable.
1964 (tst-ungetwc1-ENV): Likewise.
1965 (tst-ungetwc2-ENV): Likewise.
1966 (bug-ungetwc2-ENV): Likewise.
1967 (tst-swscanf-ENV): Likewise.
1968 (bug-ftell-ENV): Likewise.
1969 (tst-fgetwc-ENV): Likewise.
1970 (tst-fseek-ENV): Likewise.
1971 (tst-ftell-partial-wide-ENV): Likewise.
1972 (tst-ftell-active-handler-ENV): Likewise.
1973 (tst-ftell-append-ENV): Likewise.
1974 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1975 (tst-regexloc-ENV): Likewise.
1976 (bug-regex1-ENV): Likewise.
1977 (tst-regex-ENV): Likewise.
1978 (tst-regex2-ENV): Likewise.
1979 (bug-regex5-ENV): Likewise.
1980 (bug-regex6-ENV): Likewise.
1981 (bug-regex17-ENV): Likewise.
1982 (bug-regex18-ENV): Likewise.
1983 (bug-regex19-ENV): Likewise.
1984 (bug-regex20-ENV): Likewise.
1985 (bug-regex22-ENV): Likewise.
1986 (bug-regex23-ENV): Likewise.
1987 (bug-regex25-ENV): Likewise.
1988 (bug-regex26-ENV): Likewise.
1989 (bug-regex30-ENV): Likewise.
1990 (bug-regex32-ENV): Likewise.
1991 (bug-regex33-ENV): Likewise.
1992 (bug-regex34-ENV): Likewise.
1993 (bug-regex35-ENV): Likewise.
1994 (tst-rxspencer-ENV): Likewise.
1995 (tst-rxspencer-no-utf8-ENV): Likewise.
1996 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1997 (tst-sscanf-ENV): Likewise.
1998 (tst-swprintf-ENV): Likewise.
1999 (tst-swscanf-ENV): Likewise.
2000 (test-vfprintf-ENV): Likewise.
2001 (scanf13-ENV): Likewise.
2002 (bug14-ENV): Likewise.
2003 (tst-grouping-ENV): Likewise.
2004 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2005 (tst-strtod3-ENV): Likewise.
2006 (tst-strtod4-ENV): Likewise.
2007 (tst-strtod5-ENV): Likewise.
2008 (testmb2-ENV): Likewise./
2009 * string/Makefile (tst-strxfrm-ENV): Likewise.
2010 (tst-strxfrm2-ENV): Likewise.
2011 (bug-strcoll1-ENV): Likewise.
2012 (test-strcasecmp-ENV): Likewise.
2013 (test-strncasecmp-ENV): Likewise.
2014 * time/Makefile (tst-strptime-ENV): Likewise.
2015 (tst-ftime_l-ENV): Likewise.
2016 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2017 (tst-mbrtowc-ENV): Likewise.
2018 (tst-wcrtomb-ENV): Likewise.
2019 (tst-mbrtowc2-ENV): Likewise.
2020 (tst-c16c32-1-ENV): Likewise.
2021 (tst-mbsnrtowcs-ENV): Likewise.
2023 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2025 * manual/resource.texi (How to get information about the memory
2026 subsystem?): Fix typo.
2027 Reported by Peon de la Parra Ivan <peon@keba.com>
2029 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2032 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2033 (pthread_spin_lock): Branch out of spin loop to proper location.
2034 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2035 (pthread_spin_lock): Likewise.
2037 * nptl/tst-spin4.c: New test.
2038 * nptl/Makefile (tests): Add tst-spin4.
2040 2014-06-03 Andreas Schwab <schwab@suse.de>
2043 * resolv/res_send.c (send_dg): Reload file descriptor after
2046 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2048 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2050 2014-06-03 Richard Henderson <rth@redhat.com>
2052 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2053 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2054 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2055 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2056 in the SAVE_PID block.
2057 (__libc_vfork): New alias.
2058 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2060 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2061 child in registers, not on the stack. Remove RESET_PID conditionals.
2062 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2064 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2066 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2068 2014-06-03 Wilco <wdijkstr@arm.com>
2070 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2071 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2072 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2073 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2074 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2077 2014-06-03 Wilco <wdijkstr@arm.com>
2079 * sysdeps/aarch64/fpu/math_private.h
2080 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2081 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2082 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2083 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2086 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2088 * crypt/crypt-private.h: Include ufc-crypt.h.
2089 (__b64_from_24bit): Declare extern.
2090 * crypt/crypt_util.c(__b64_from_24bit): New function.
2091 (b64t): New static const variable.
2092 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2093 (b64t): Remove variable.
2094 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2095 * crypt/sha256-crypt.c: Include crypt-private.h.
2096 (b64t): Remove variable.
2097 (__sha256_crypt_r): Remove b64_from_24bit and replace
2098 with __b64_from_24bit.
2099 * crypt/sha512-crypt.c: Likewise.
2101 2014-06-02 Roland McGrath <roland@hack.frob.com>
2103 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2104 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2105 Label the code __libc_vfork rather than __vfork.
2106 [!NOT_IN_libc] (vfork): Define as weak alias.
2107 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2108 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2109 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2111 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2113 * malloc/malloc.c (malloc_info): Fix format specifier for
2116 2014-06-02 Wilco <wdijkstr@arm.com>
2118 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2121 2014-06-02 Wilco <wdijkstr@arm.com>
2124 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2125 Rewrite to reduce FPCR/FPSR accesses.
2127 2014-06-01 David S. Miller <davem@davemloft.net>
2129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2131 2014-05-31 David S. Miller <davem@davemloft.net>
2133 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2134 to occur in round to nearest mode when |x| >= 2.0
2136 2014-05-30 Richard Henderson <rth@twiddle.net>
2138 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2139 (PSEUDO_RET_NOERRNO): Remove.
2140 (ret): Don't redefine.
2141 (ret_NOERRNO): Define in terms of ret.
2142 (ret_ERRVAL): Likewise.
2144 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2145 use of PSEUDO_RET; perform the error check directly.
2147 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2149 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2152 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2154 * malloc/malloc (malloc_info): Fix formatting.
2156 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2157 Roland McGrath <roland@hack.frob.com>
2159 * malloc/malloc (malloc_info): Also print mmapped statistics.
2161 2014-05-30 Roland McGrath <roland@hack.frob.com>
2163 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2164 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2166 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2168 * malloc/malloc.c (malloc_info): Inline mi_arena.
2170 2014-05-29 Richard Henderson <rth@twiddle.net>
2172 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2173 Remove comma before expanding ASM_ARGS_##nr.
2174 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2175 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2177 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2178 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2179 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2180 (ASM_ARGS_1): Add leading comma.
2182 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2183 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2184 to __errno_location.
2185 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2186 Remove the expected plt for __errno_location.
2188 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2189 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2192 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2193 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2194 it and break it down.
2195 (DOCARGS_0, DOCARGS_1): Do nothing.
2196 (DOCARGS_2): Update to store into the new stack frame.
2197 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2198 (UNDOCARGS_1): Update to restore from the new stack frame.
2199 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2200 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2202 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2203 (SINGLE_THREAD_P): New parameter for result regno.
2204 (PSEUDO): Update to match; use cbz instead of beq.
2206 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2207 Use ENTRY to define the _nocancel entry point. Share the syscall
2208 and syscall error check paths with the cancel path.
2211 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2212 whitespace; tabs before and after asm mnemonics.
2214 2014-05-29 Eric Wong <normalperson@yhbt.net>
2217 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2218 Call fstat64 or stat64 internally, depending on arguments passed.
2219 Replace stat buffer argument with file descriptor argument.
2220 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2221 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2222 Pass fd to __internal_statvfs instead of calling fstat64.
2223 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2224 Pass fd to __internal_statvfs64 instead of calling fstat64.
2225 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2226 Pass -1 to __internal_statvfs instead of calling stat64.
2227 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2228 Pass -1 to __internal_statvfs64 instead of calling stat64.
2230 2014-05-28 Roland McGrath <roland@hack.frob.com>
2232 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2233 that was previously under [RESET_PID].
2234 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2236 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2237 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2239 2014-05-27 Roland McGrath <roland@hack.frob.com>
2241 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2243 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2244 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2246 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2248 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2250 2014-05-27 Andreas Schwab <schwab@suse.de>
2252 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2254 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2255 * elf/rtld.c (init_tls, dl_main): Likewise.
2256 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2257 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2258 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2259 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2260 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2261 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2262 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2263 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2264 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2265 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2266 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2267 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2268 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2269 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2270 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2271 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2272 * sysdeps/generic/tls.h: Update description.
2274 2014-05-27 Will Newton <will.newton@linaro.org>
2277 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2278 and restore r2 rather than just restoring.
2280 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2283 * libio/tst-ftell-append.c: New test case.
2284 * libio/Makefile (tests): Add test case.
2285 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2287 * libio/wfileops.c (do_ftell_wide): Likewise.
2289 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2293 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2297 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2298 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2299 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2300 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2301 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2302 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2303 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2306 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2309 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2310 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2311 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2312 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2313 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2315 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2316 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2318 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2320 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2322 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2323 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2324 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2326 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2327 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2328 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2329 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2331 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2334 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2340 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2344 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2347 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2352 conditional [RESET_PID].
2353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2354 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2361 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2362 (__libc_vfork): New strong alias.
2363 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2365 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2370 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2371 (__libc_vfork): New strong alias.
2372 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2374 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2377 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2379 * malloc/malloc.c (mi_arena): New function.
2380 (malloc_info): Remove nested function mi_arena. Call non-nosted
2383 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2385 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2387 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2388 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2389 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2390 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2391 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2392 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2393 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2395 2014-05-26 Andreas Schwab <schwab@suse.de>
2398 * locale/programs/repertoire.c (repertoire_read): Add slash
2399 between I18NPATH element and file name.
2400 * locale/programs/locfile.c (locfile_read): Likewise.
2402 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2404 * nptl/pthread_mutexattr_settype.c
2405 (__pthread_mutexattr_settype):
2406 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2408 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2410 * nptl/tst-mutex5 (do_test):
2411 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2413 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2415 * benchtests/README: Document 'init' directive.
2416 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2418 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2419 (parse_file): Recognize 'init' directive.
2421 2014-05-26 Kyle McMartin <kyle@redhat.com>
2424 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2425 alignment of struct pthread.
2427 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2430 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2431 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2432 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2433 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2435 2014-05-25 Richard Henderson <rth@twiddle.net>
2437 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2438 (SINGLE_THREAD_P_PIC): Remove.
2439 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2440 (SINGLE_THREAD_P_PIC): Remove.
2442 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2443 branch to syscall error ...
2445 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2446 from __local_syscall_error to .Lsyscall_error.
2447 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2448 (SYSCALL_ERROR): Update label name.
2450 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2451 Do not use DOARGS/UNDOARGS.
2452 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2453 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2454 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2455 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2456 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2458 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2461 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2462 define if !NOT_IN_libc.
2463 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2464 define with non-default symbol versions.
2466 2014-05-23 Richard Henderson <rth@twiddle.net>
2468 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2469 (vfork, __vfork): Define via compat_symbol.
2471 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2472 [!HAVE_IFUNC] (vfork_compat): Remove.
2473 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2475 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2478 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2479 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2482 2014-05-23 Richard Henderson <rth@twiddle.net>
2484 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2485 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2486 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2487 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2489 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2490 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2491 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2492 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2493 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2494 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2495 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2496 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2497 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2498 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2499 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2500 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2501 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2502 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2503 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2504 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2505 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2506 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2507 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2508 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2510 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2512 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2513 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2514 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2515 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2516 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2517 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2518 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2519 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2520 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2521 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2522 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2523 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2524 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2525 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2526 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2527 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2528 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2529 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2530 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2531 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2532 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2533 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2534 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2535 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2536 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2537 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2538 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2539 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2540 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2541 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2542 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2543 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2544 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2546 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2547 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2548 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2549 before exiting on error.
2550 (__libc_vfork): New strong alias.
2551 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2552 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2554 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2555 that was previously under [RESET_PID].
2556 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2558 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2560 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2563 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2564 value when x - 1 is zero.
2565 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2566 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2567 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2568 0.0L for an argument of 1.0L.
2569 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2571 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2572 value when x - 1 is zero.
2573 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2574 * sysdeps/i386/fpu/libm-test-ulps: Update.
2575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2577 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2579 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2580 alphasort and versionsort.
2582 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2584 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2586 [copysignf]: Likewise.
2588 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2590 * crypt/md5-crypt.c: Fix formatting.
2592 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2594 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2595 (b64_from_24bit): New function.
2597 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2599 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2600 libc_hidden_builtin_def to ifunc.
2601 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2602 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2604 2014-05-21 Roland McGrath <roland@hack.frob.com>
2606 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2607 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2609 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2611 * nscd/Depend (linuxthreads): Remove.
2613 * resolv/Depend (linuxthreads): Remove.
2614 * rt/Depend (linuxthreads): Remove.
2616 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2617 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2618 $(common-objpfx)elf/.
2619 (link-libc-before-gnulib): Likewise.
2620 (elfobjdir): Remove variable.
2621 * Makefile (install): Use $(elf-objpfx) instead of
2622 $(common-objpfx)elf/.
2623 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2625 (link-libc-deps): Likewise.
2626 ($(common-objpfx)libc.so): Likewise.
2627 ($(common-objpfx)linkobj/libc.so): Likewise.
2628 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2629 instead of $(common-objpfx)elf/.
2630 (symbolic-link-list): Likewise.
2631 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2632 [$(cross-compiling) = no]: Likewise.
2633 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2635 (static-gnulib-arch): Likewise.
2636 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2637 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2638 $(common-objpfx)elf/.
2640 2014-05-21 Richard Henderson <rth@redhat.com>
2642 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2643 (SINGLE_THREAD_P): Use the correct width load. Fold
2644 into the ldr offset.
2646 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2647 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2649 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2651 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2652 (libgcc_s_resume): Use __attribute_used__.
2653 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2656 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2658 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2659 optimization when used with float constants.
2661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2663 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2666 * locale/nl_langinfo_l.c: Make direct reference to every
2667 _nl_current_CATEGORY symbol.
2668 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2669 (tests-static): Add tst-langinfo-static.
2670 (tests-special): Add tst-langinfo-static.out.
2671 ($(objpfx)tst-langinfo.out): Redirect output.
2672 ($(objpfx)tst-langinfo-static.out): New.
2673 * localedata/tst-langinfo.sh: Send output to stdout.
2674 * localedata/tst-langinfo-static.c: New file.
2677 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2678 when the shift amount is modulo the limb size.
2680 2014-05-20 Richard Henderson <rth@redhat.com>
2683 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2684 Change type of sa_flags from unsigned int to int.
2687 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2689 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2691 2014-05-20 Will Newton <will.newton@linaro.org>
2693 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2694 Test the return value of the system call in the nocancel case.
2696 2014-05-20 Will Newton <will.newton@linaro.org>
2697 Yvan Roux <yvan.roux@linaro.org>
2699 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2700 #include of asm/ptrace.h.
2701 (PTRACE_GET_THREAD_AREA): Remove #undef.
2702 (PTRACE_GETHBPREGS): Likewise.
2703 (PTRACE_SETHBPREGS): Likewise.
2704 (struct user_regs_struct): New structure.
2705 (struct user_fpsimd_struct): New structure.
2706 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2707 #include of asm/ptrace.h and second #include of sys/user.h.
2708 (PTRACE_GET_THREAD_AREA): Remove #undef.
2709 (PTRACE_GETHBPREGS): Likewise.
2710 (PTRACE_SETHBPREGS): Likewise.
2711 (ELF_NGREG): Use new struct user_regs_struct.
2712 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2714 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2716 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2717 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2719 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2722 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2723 membar to avoid block loads/stores to overlap previous stores.
2725 2014-05-17 Richard Henderson <rth@redhat.com>
2727 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2728 Create the __##syscall_name##_nocancel entry point.
2729 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2730 Remove; let the sysdep-cancel.h code create it.
2732 2014-05-17 David S. Miller <davem@davemloft.net>
2734 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2735 Protect with __USE_GNU.
2736 (TIOCSET_TEMPT): Likewise.
2737 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2738 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2739 these are already provided in bits/ioctl-types.h
2741 2014-05-16 Roland McGrath <roland@hack.frob.com>
2743 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2744 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2746 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2747 Use wait4 regardless of [__NR_waitpid].
2749 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2752 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2753 (_FP_NANSIGN_Q): Set the quiet bit.
2755 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2757 * benchtests/Makefile
2758 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2759 not $(common-objpfx)math/libm.so.
2760 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2761 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2762 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2763 $(common-objpfx)dlfcn/libdl.so.
2764 ($(objpfx)tst-audit8): Depend on $(libm), not
2765 $(common-objpfx)math/libm.so.
2766 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2767 not $(common-objpfx)dlfcn/libdl.so.
2769 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2770 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2771 [$(build-shared) = yes].
2772 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2773 $(common-objpfx)nptl/libpthread.so.
2774 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2775 $(common-objpfx)math/libm.so$(libm.so-version) or
2776 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2777 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2778 $(common-objpfx)dlfcn/libdl.so.
2779 * setjmp/Makefile (link-libm): Remove variable.
2780 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2781 * stdio-common/Makefile (link-libm): Remove variable.
2782 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2783 * stdlib/Makefile (link-libm): Remove variable.
2784 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2785 ($(objpfx)tst-strtod-round): Likewise.
2786 ($(objpfx)tst-tininess): Likewise.
2787 ($(objpfx)tst-strtod-underflow): Likewise.
2788 ($(objpfx)tst-strtod6): Likewise.
2789 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2790 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2791 $(common-objpfx)dlfcn/libdl.so.
2793 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2795 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2796 BSD terminal modes definitions.
2798 2014-05-16 Roland McGrath <roland@hack.frob.com>
2800 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2801 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2803 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2804 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2805 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2806 Don't do #include_next.
2807 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2808 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2809 Don't do #include_next.
2810 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2811 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2812 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2813 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2815 2014-05-16 Allan McRae <allan@archlinux.org>
2817 * po/sv.po: Update Swedish translation from translation project.
2819 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2822 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2825 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2826 errno if the TIOCGPTN ioctl fails with an error different than
2828 * login/tst-ptsname.c: New file.
2829 * login/Makefile (tests): Add tst-ptsname.
2832 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2835 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2839 herrno to return EAI_AGAIN.
2841 2014-05-14 Roland McGrath <roland@hack.frob.com>
2843 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2844 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2845 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2850 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2854 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2855 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2856 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2857 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2858 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2859 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2860 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2861 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2862 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2863 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2864 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2865 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2866 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2867 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2868 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2869 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2870 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2871 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2872 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2874 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2876 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2879 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2881 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2883 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2885 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2887 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2889 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2891 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2893 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2895 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2897 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2899 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2901 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2903 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2905 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2908 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2910 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2912 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2914 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2916 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2918 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2920 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2922 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2924 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2926 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2929 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2931 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2933 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2934 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2935 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2936 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2937 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2938 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2939 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2940 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2941 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2942 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2943 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2944 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2945 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2946 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2947 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2948 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2949 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2950 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2951 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2952 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2953 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2954 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2955 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2956 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2957 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2958 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2959 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2960 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2961 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2962 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2963 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2965 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2966 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2968 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2969 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2970 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2972 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2973 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2975 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2976 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2978 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2979 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2981 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2982 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2984 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2985 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2986 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2987 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2989 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2990 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2991 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2992 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2993 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2994 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2995 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2996 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2998 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2999 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3001 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3003 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3004 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3005 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3006 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3007 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3009 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3011 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3013 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3014 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3015 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3016 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3017 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3018 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3020 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3021 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3023 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3024 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3026 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3027 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3029 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3031 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3034 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3035 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3036 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3037 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3038 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3039 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3040 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3041 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3043 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3046 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3048 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3049 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3050 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3051 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3052 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3054 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3056 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3058 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3059 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3060 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3061 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3062 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3063 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3064 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3066 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3067 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3069 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3070 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3072 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3075 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3076 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3078 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3080 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3081 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3082 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3083 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3085 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3086 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3087 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3088 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3089 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3090 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3091 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3092 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3094 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3097 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3099 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3100 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3102 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3105 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3107 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3109 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3110 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3111 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3112 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3113 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3114 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3115 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3116 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3117 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3118 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3119 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3121 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3122 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3124 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3125 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3127 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3128 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3129 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3130 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3131 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3132 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3133 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3134 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3135 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3136 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3137 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3138 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3139 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3140 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3141 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3143 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3146 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3147 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3148 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3149 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3151 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3152 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3153 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3154 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3155 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3156 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3157 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3158 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3160 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3161 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3163 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3164 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3165 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3166 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3167 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3168 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3169 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3170 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3171 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3172 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3173 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3174 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3175 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3177 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3179 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3181 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3182 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3183 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3184 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3185 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3187 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3188 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3189 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3190 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3191 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3192 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3193 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3194 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3195 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3196 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3198 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3199 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3201 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3202 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3203 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3204 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3205 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3206 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3207 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3208 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3209 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3210 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3211 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3212 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3213 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3214 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3217 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3219 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3225 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3227 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3229 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3235 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3236 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3237 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3238 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3239 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3240 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3241 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3242 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3243 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3244 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3245 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3246 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3247 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3248 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3249 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3251 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3252 that was previously under [RESET_PID].
3253 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3254 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3255 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3257 * sysdeps/i386/nptl/Implies: New file.
3258 * sysdeps/x86_64/nptl/Implies: New file.
3259 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3260 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3261 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3262 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3264 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3265 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3266 (__libc_vfork): New strong alias.
3267 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3268 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3270 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3271 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3272 (__libc_vfork): New strong alias.
3273 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3274 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3276 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3277 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3278 (__libc_vfork): New strong alias.
3279 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3280 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3281 * nptl/pt-vfork.c: New file.
3282 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3283 (libpthread: GLIBC_2.20): New version set (empty).
3285 2014-05-14 Will Newton <will.newton@linaro.org>
3287 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3290 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3293 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3294 arguments with exponent 65 or above.
3295 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3296 arguments 0x1p113L or above.
3297 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3298 to arguments 0x1p107L or above.
3299 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3300 positive arguments with exponent 65 or above.
3301 * math/auto-libm-test-in: Add more tests of log1p.
3302 * math/auto-libm-test-out: Regenerated.
3305 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3306 non-finite arguments is +0.
3307 * math/s_cacosf.c (__cacosf): Likewise.
3308 * math/s_cacosl.c (__cacosl): Likewise.
3309 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3310 * sysdeps/i386/fpu/libm-test-ulps: Update.
3311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3314 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3316 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3317 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3318 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3319 for explicit high bit of mantissa when testing for argument equal
3321 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3322 * sysdeps/i386/fpu/libm-test-ulps: Update.
3323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3326 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3327 (__erf): Scale by 16 instead of 8 in potentially underflowing
3328 case. Ensure exception if result actually underflows.
3329 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3330 (__erff): Scale by 16 instead of 8 in potentially underflowing
3331 case. Ensure exception if result actually underflows.
3332 * sysdeps/ieee754/ldbl-128/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 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3337 (efx8): Remove variable.
3338 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3339 case. Ensure exception if result actually underflows.
3340 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3341 (efx8): Remove variable.
3342 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3343 case. Ensure exception if result actually underflows.
3344 * math/auto-libm-test-in: Add more tests of erf.
3345 * math/auto-libm-test-out: Regenerated.
3347 2014-05-14 Andreas Schwab <schwab@suse.de>
3349 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3350 Remove code conditionalized on USE___THREAD.
3352 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3353 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3356 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3358 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3359 Define unconditionally.
3360 (__ASSUME_O_CLOEXEC): Likewise.
3361 (__ASSUME_SOCK_CLOEXEC): Likewise.
3362 (__ASSUME_IN_NONBLOCK): Likewise.
3363 (__ASSUME_PIPE2): Likewise.
3364 (__ASSUME_EVENTFD2): Likewise.
3365 (__ASSUME_SIGNALFD4): Likewise.
3366 (__ASSUME_DUP3): Likewise.
3367 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3368 (__ASSUME_DUP3): Do not define.
3369 (__ASSUME_EVENTFD2): Likewise.
3370 (__ASSUME_IN_NONBLOCK): Likewise.
3371 (__ASSUME_O_CLOEXEC): Likewise.
3372 (__ASSUME_PIPE2): Likewise.
3373 (__ASSUME_SIGNALFD4): Likewise.
3374 (__ASSUME_SOCK_CLOEXEC): Likewise.
3375 (__ASSUME_UTIMES): Undefine.
3376 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3377 (__ASSUME_UTIMES): Do not define.
3378 (__ASSUME_O_CLOEXEC): Likewise.
3379 (__ASSUME_SOCK_CLOEXEC): Likewise.
3380 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3381 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3383 (__ASSUME_PIPE2): Likewise.
3384 (__ASSUME_EVENTFD2): Likewise.
3385 (__ASSUME_SIGNALFD4): Likewise.
3386 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3387 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3389 (__ASSUME_EVENTFD2): Likewise.
3390 (__ASSUME_SIGNALFD4): Likewise.
3391 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3392 (__ASSUME_32BITUIDS): Likewise.
3393 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3394 (__ASSUME_IPC64): Likewise.
3395 (__ASSUME_ST_INO_64_BIT): Likewise.
3396 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3397 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3398 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3399 (__ASSUME_UTIMES): Do not define.
3400 (__ASSUME_PSELECT): Likewise.
3401 (__ASSUME_PPOLL): Likewise.
3402 (__ASSUME_O_CLOEXEC): Likewise.
3403 (__ASSUME_SOCK_CLOEXEC): Likewise.
3404 (__ASSUME_IN_NONBLOCK): Likewise.
3405 (__ASSUME_PIPE2): Likewise.
3406 (__ASSUME_EVENTFD2): Likewise.
3407 (__ASSUME_SIGNALFD4): Likewise.
3408 (__ASSUME_DUP3): Likewise.
3409 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3410 (__ASSUME_UTIMES): Likewise.
3411 (__ASSUME_O_CLOEXEC): Likewise.
3412 (__ASSUME_SOCK_CLOEXEC): Likewise.
3413 (__ASSUME_IN_NONBLOCK): Likewise.
3414 (__ASSUME_PIPE2): Likewise.
3415 (__ASSUME_EVENTFD2): Likewise.
3416 (__ASSUME_SIGNALFD4): Likewise.
3417 (__ASSUME_DUP3): Likewise.
3418 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3419 (__ASSUME_UTIMES): Likewise.
3420 (__ASSUME_O_CLOEXEC): Likewise.
3421 (__ASSUME_SOCK_CLOEXEC): Likewise.
3422 (__ASSUME_IN_NONBLOCK): Likewise.
3423 (__ASSUME_PIPE2): Likewise.
3424 (__ASSUME_EVENTFD2): Likewise.
3425 (__ASSUME_SIGNALFD4): Likewise.
3426 (__ASSUME_DUP3): Likewise.
3427 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3429 (__ASSUME_UTIMES): Likewise.
3430 (__ASSUME_EVENTFD2): Likewise.
3431 (__ASSUME_SIGNALFD4): Likewise.
3432 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3433 (__ASSUME_O_CLOEXEC): Likewise.
3434 (__ASSUME_SOCK_CLOEXEC): Likewise.
3435 (__ASSUME_IN_NONBLOCK): Likewise.
3436 (__ASSUME_PIPE2): Likewise.
3437 (__ASSUME_EVENTFD2): Likewise.
3438 (__ASSUME_SIGNALFD4): Likewise.
3439 (__ASSUME_DUP3): Likewise.
3440 (__ASSUME_UTIMES): Undefine.
3442 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3443 feclearexcept. Remove symbol versioning code.
3444 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3445 symbol versioning code.
3446 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3447 symbol versioning code.
3448 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3449 feupdateenv. Remove symbol versioning code.
3450 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3451 fegetexceptflag. Remove symbol versioning code.
3452 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3453 fesetexceptflag. Remove symbol versioning code.
3454 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3455 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3456 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3457 (__posix_fadvise64_l32): Remove prototype.
3458 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3461 2014-05-13 Roland McGrath <roland@hack.frob.com>
3463 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3464 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3465 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3466 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3468 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3470 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3471 current working directory
3473 2014-05-13 Roland McGrath <roland@hack.frob.com>
3475 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3476 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3477 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3478 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3479 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3480 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3481 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3482 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3483 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3484 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3485 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3486 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3487 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3488 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3489 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3490 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3491 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3492 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3493 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3494 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3495 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3496 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3497 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3498 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3499 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3500 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3501 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3502 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3503 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3504 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3505 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3506 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3507 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3508 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3509 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3510 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3511 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3512 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3513 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3514 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3515 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3516 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3518 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3519 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3521 * sysdeps/unix/sysv/linux/arm/Makefile
3522 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3523 Add rt-aeabi_unwind_cpp_pr1.
3524 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3525 Add nptl-aeabi_unwind_cpp_pr1.
3526 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3527 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3528 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3529 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3530 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3531 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3533 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3534 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3535 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3536 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3538 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3539 Deconditionalize the code that was previously under [RESET_PID].
3540 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3542 * sysdeps/generic/exit-thread.h: New file.
3543 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3544 * include/unistd.h (__exit_thread): Remove declaration.
3545 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3546 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3547 * csu/libc-start.c: Include <exit-thread.h>.
3548 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3549 * nptl/pthread_create.c: Include <exit-thread.h>.
3550 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3551 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3552 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3553 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3554 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3555 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3556 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3557 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3558 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3559 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3560 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3561 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3562 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3563 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3564 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3565 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3566 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3568 2014-05-13 Andreas Schwab <schwab@suse.de>
3570 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3572 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3574 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3575 (__ASSUME_UTIMES): Do not condition on kernel version.
3576 (__ASSUME_PSELECT): Define unconditionally.
3577 (__ASSUME_PPOLL): Likewise.
3578 (__ASSUME_ATFCTS): Likewise.
3579 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3580 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3581 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3582 (__ASSUME_UTIMENSAT): Define unconditionally.
3583 (__ASSUME_PRIVATE_FUTEX): Likewise.
3584 (__ASSUME_FALLOCATE): Likewise.
3585 (__ASSUME_O_CLOEXEC): Likewise.
3586 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3587 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3588 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3589 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3590 (__ASSUME_IN_NONBLOCK): Likewise.
3591 (__ASSUME_PIPE2): Likewise.
3592 (__ASSUME_EVENTFD2): Likewise.
3593 (__ASSUME_SIGNALFD4): Likewise.
3594 (__ASSUME_DUP3): Likewise.
3595 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3596 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3597 (__ASSUME_AT_RANDOM): Likewise.
3598 (__ASSUME_PREADV): Likewise.
3599 (__ASSUME_PWRITEV): Likewise.
3600 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3601 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3602 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3603 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3604 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3605 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3606 (__ASSUME_O_CLOEXEC): Define unconditionally.
3607 (__ASSUME_PSELECT): Do not undefine conditionally.
3608 (__ASSUME_PPOLL): Likewise.
3609 (__ASSUME_ATFCTS): Likewise.
3610 (__ASSUME_SET_ROBUST_LIST): Likewise.
3611 (__ASSUME_UTIMENSAT): Likewise.
3612 (__ASSUME_FDATASYNC): Define unconditionally.
3613 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3614 (__ASSUME_SIGFRAME_V2): Likewise.
3615 )__ASSUME_EVENTFD2): Likewise.
3616 (__ASSUME_SIGNALFD4): Likewise.
3617 (__ASSUME_PSELECT): Do not undefine conditionally.
3618 (__ASSUME_PPOLL): Likewise.
3619 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3620 (__ASSUME_PSELECT): Define unconditionally.
3621 (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
3630 (__ASSUME_O_CLOEXEC): Likewise.
3631 (__ASSUME_SOCK_CLOEXEC): Likewise.
3632 (__ASSUME_IN_NONBLOCK): Likewise.
3633 (__ASSUME_PIPE2): Likewise.
3634 (__ASSUME_EVENTFD2): Likewise.
3635 (__ASSUME_SIGNALFD4): Likewise.
3636 (__ASSUME_DUP3): Likewise.
3637 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3638 (__ASSUME_EVENTFD2): Likewise.
3639 (__ASSUME_SIGNALFD4): Likewise.
3640 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3642 2014-05-12 Andreas Schwab <schwab@suse.de>
3645 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3646 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3647 than maximum RPC packet size.
3648 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3649 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3650 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3651 (_nss_nis_getservbyport_r): Likewise.
3653 2014-05-12 Will Newton <will.newton@linaro.org>
3655 * malloc/Makefile (tests): Add tst-mallopt.
3656 * malloc/tst-mallopt.c: New file.
3658 2014-05-09 Roland McGrath <roland@hack.frob.com>
3660 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3661 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3663 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3665 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3666 (tst-tlsmod6.so): Likewise.
3668 2014-05-09 Roland McGrath <roland@hack.frob.com>
3670 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3672 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3675 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3676 and <dl-procinfo.h>.
3677 (__fegetenv): Save SSE state in envp->__eip if supported.
3678 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3679 envp->__eip if supported.
3680 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3681 and <dl-procinfo.h>.
3682 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3683 __data_offset and __data_selector in environment to 0. Set SSE
3685 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3687 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3689 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3691 2014-05-09 Will Newton <will.newton@linaro.org>
3693 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3694 and libc_relro_required for ARM.
3695 * sysdeps/arm/preconfigure: Regenerate.
3697 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3698 Stefan Liebler <stli@linux.vnet.ibm.com>
3700 * config.make.in (enable-lock-elision): New Makefile variable.
3701 * configure.ac: Likewise.
3702 * configure: Regenerate.
3703 * sysdeps/s390/configure.ac:
3704 Add check for gcc transactions support.
3705 * sysdeps/s390/configure: Regenerate.
3706 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3707 Build elision files if enabled.
3708 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3709 Add lock elision support for s390.
3710 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3711 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3712 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3713 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3714 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3715 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3716 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3718 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3720 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3722 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3724 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3725 (__lll_timedlock_elision, __lll_lock_elision)
3726 (__lll_unlock_elision, __lll_trylock_elision)
3727 (lll_timedlock_elision, lll_lock_elision)
3728 (lll_unlock_elision, lll_trylock_elision): Add.
3729 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3730 (pthread_mutex_t): Add lock elision support for s390.
3732 2014-05-14 Wilco <wdijkstr@arm.com>
3734 * sysdeps/arm/fclrexcpt.c: Cleanup.
3735 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3736 * sysdeps/arm/feenablxcpt.c: Cleanup.
3737 * sysdeps/arm/fegetenv.c: Cleanup.
3738 * sysdeps/arm/fegetexcept.c: Cleanup.
3739 * sysdeps/arm/fegetround.c: Cleanup.
3740 * sysdeps/arm/feholdexcpt.c: Cleanup.
3741 * sysdeps/arm/fesetenv.c: Cleanup.
3742 * sysdeps/arm/fesetround.c: Cleanup.
3743 * sysdeps/arm/feupdateenv.c: Cleanup.
3744 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3745 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3746 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3747 * sysdeps/arm/ftestexcept.c: Cleanup.
3748 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3749 * sysdeps/arm/setfpucw.c: Cleanup.
3751 2014-05-09 Will Newton <will.newton@linaro.org>
3753 * sysdeps/arm/armv7/strcmp.S: New file.
3754 * NEWS: Mention addition of ARMv7 optimized strcmp.
3756 2014-05-08 Roland McGrath <roland@hack.frob.com>
3758 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3759 look for %.ac rather than %.in.
3761 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3762 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3763 * sysdeps/mach/hurd/configure: Regenerated.
3764 * sysdeps/unix/sysv/linux/configure: Regenerated.
3766 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3768 2014-05-07 Steve Ellcey <sellcey@mips.com>
3771 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3775 2014-05-07 Andreas Schwab <schwab@suse.de>
3777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3778 when skipping over non-matching result from nscd.
3780 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3783 * nptl/sockperf.c (client): Check socket return value.
3786 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3787 nscd security class.
3789 2014-05-06 Roland McGrath <roland@hack.frob.com>
3791 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3792 * sysdeps/arm/unwind.h: ... here.
3794 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3797 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3800 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3802 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3803 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3804 multiarch strncpy for PPC64.
3805 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3806 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3808 multiarch optimizations.
3809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3810 (__libc_ifunc_impl_list): Likewise.
3811 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3812 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3813 multiarch stpncpy for PPC64.
3814 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3815 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3817 2014-05-06 Andreas Schwab <schwab@suse.de>
3820 * gmon/mcount.c (_MCOUNT_DECL): Use
3821 atomic_compare_and_exchange_bool_acq instead of
3822 catomic_compare_and_exchange_bool_acq.
3824 2014-05-05 Roland McGrath <roland@hack.frob.com>
3826 * elf/Makefile (others, install-bin): Remove pldd.
3827 (pldd-modules): Variable removed.
3828 ($(objpfx)pldd): Target removed.
3829 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3830 (others, install-bin): Append pldd here.
3831 ($(objpfx)pldd): New target.
3833 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3834 to 0, so the first #if test emitted later doesn't see it undefined.
3835 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3836 * sysdeps/gnu/errlist.c: Regenerated.
3838 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3840 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3841 [libc_hidden_builtin_def]: Define to empty value.
3842 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3843 [libc_hidden_builtin_def]: Likewise.
3844 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3845 [libc_hidden_builtin_def]: Likewise.
3846 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3847 [libc_hidden_builtin_def]: Likewise.
3848 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3849 __redirect_memcpy and define ifunc as default hidden symbol.
3850 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3851 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3853 2014-05-04 Adam Conrad <adconrad@0c3.net>
3855 * locale/iso-4217.def: Reintroduce XDR currency.
3857 2014-05-04 Allan McRae <allan@archlinux.org>
3859 * po/eo.po: Update Esperanto translation from translation project.
3861 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3863 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3864 and FEATURE_INDEX_MAX to 1.
3865 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3867 2014-05-01 Steve Ellcey <sellcey@mips.com>
3869 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3870 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3871 * iconvdata/big5.c (ONE_DIRECTION): Define.
3872 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3873 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3874 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3875 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3876 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3877 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3878 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3879 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3880 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3881 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3882 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3883 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3884 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3885 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3886 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3887 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3888 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3889 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3890 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3891 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3892 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3893 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3894 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3895 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3896 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3897 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3898 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3899 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3900 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3901 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3902 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3903 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3904 * iconvdata/johab.c (ONE_DIRECTION): Define.
3905 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3906 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3907 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3908 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3909 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3910 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3911 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3912 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3913 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3914 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3916 2014-05-01 Roland McGrath <roland@hack.frob.com>
3918 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3919 (_IO_JUMPS_OFFSET): Define to 0.
3921 * nptl/sysdeps/pthread/bits/libc-lock.h
3922 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3923 (__libc_lock_define_initialized_recursive): Always define using
3924 initializer. Modern compilers treat uninitialized (implicit zero) and
3925 explicit zero initializers the same (i.e. put the datum in bss).
3927 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3929 * nscd/nscd-client.h: Include <string.h>.
3931 2014-05-01 David S. Miller <davem@davemloft.net>
3934 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3935 multiple zero bytes exist at the end of a string.
3936 Reported by Aurelien Jarno <aurelien@aurel32.net>
3938 * string/test-strcmp.c (check): Add explicit test for situations where
3939 there are multiple zero bytes after the first.
3941 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3944 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3945 when compiling wprintf.
3946 * stdio-common/tstdiomisc.c (t3): New function.
3949 2014-05-01 Steve Ellcey <sellcey@mips.com>
3951 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3952 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3953 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3954 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3956 2014-05-01 Steve Ellcey <sellcey@mips.com>
3958 * stdlib/longlong.h: Updated from GCC.
3960 2014-05-01 Will Newton <will.newton@linaro.org>
3961 Bernard Ogden <bernie.ogden@linaro.org>
3963 * NEWS: Update fixed bug list.
3966 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3968 2014-04-30 David S. Miller <davem@davemloft.net>
3970 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3971 (libc_feholdexcept_setround_sparc_ctx): New function.
3972 (libc_fesetenv_sparc_ctx): Likewise.
3973 (libc_feupdateenv_sparc_ctx): Likewise.
3974 (libc_feholdsetround_sparc_ctx): Likewise.
3975 (libc_feholdexcept_setround_ctx): Define.
3976 (libc_feholdexcept_setroundf_ctx): Likewise.
3977 (libc_feholdexcept_setroundl_ctx): Likewise.
3978 (libc_fesetenv_ctx): Likewise.
3979 (libc_fesetenvf_ctx): Likewise.
3980 (libc_fesetenvl_ctx): Likewise.
3981 (libc_feupdateenv_ctx): Likewise.
3982 (libc_feupdateenvf_ctx): Likewise.
3983 (libc_feupdateenvl_ctx): Likewise.
3984 (libc_feresetround_ctx): Likewise.
3985 (libc_feresetroundf_ctx): Likewise.
3986 (libc_feresetroundl_ctx): Likewise.
3987 (libc_feholdsetround_ctx): Likewise.
3988 (libc_feholdsetroundf_ctx): Likewise.
3989 (libc_feholdsetroundl_ctx): Likewise.
3991 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3992 with __USE_GNU instead of XOPEN cpp guards.
3994 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3997 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3998 with XOPEN cpp guards.
4000 2014-04-30 Julian Brown <julian@codesourcery.com>
4003 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4006 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4009 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4011 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4012 * sysdeps/unix/sysv/linux/configure: Regenerated.
4013 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4014 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4015 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4016 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4017 * README: Update reference to required Linux kernel version.
4018 * manual/install.texi (Linux): Update reference to required Linux
4019 kernel headers version.
4020 * INSTALL: Regenerated.
4022 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4024 [POSIX] (limits.h): Likewise.
4025 [POSIX] (math.h): Likewise.
4026 [POSIX] (sys/wait.h): Likewise.
4027 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4029 [POSIX] (stddef.h): Do not allow header inclusion.
4031 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4033 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4035 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4037 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4038 Return immediately after lll_futex_wake.
4040 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4043 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4045 (datahead_init_pos): Call datahead_init_common early.
4046 (datahead_init_neg): Likewise.
4048 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4049 datahead_init_neg): New functions.
4050 * nscd/aicache.c (addhstaiX): Use them.
4051 * nscd/grpcache.c (cache_addgr): Likewise.
4052 * nscd/hstcache.c (cache_addhst): Likewise.
4053 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4054 * nscd/netgroupcache.c (do_notfound): Likewise.
4055 (addgetnetgrentX): Likewise.
4056 (addinnetgrX): Likewise.
4057 * nscd/pwdcache.c (cache_addpw): Likewise.
4058 * nscd/servicescache.c (cache_addserv): Likewise.
4060 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4061 Atsushi Onoe <atsushi@onoe.org>
4066 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4067 one response is valid.
4068 * resolv/res_send.c (send_dg): Check for validity of other
4069 response if the current response is a referral.
4071 2014-04-29 Steve Ellcey <sellcey@mips.com>
4073 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4075 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4078 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4079 Always divide by positive zero when computing -Inf result.
4080 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4081 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4083 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4085 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4086 FPSCR if value do not change.
4087 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4088 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4089 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4090 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4091 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4092 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4095 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4097 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4098 * sysdeps/unix/sysv/linux/hppa: Move directory from
4099 ports/systeps/unix/sysv/linux/hppa.
4100 * README: Update listing for hppa-*-linux-gnu.
4102 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4105 * manual/stdio.texi (Hook functions): Fix types of stream hook
4108 * socket/sys/socket.h: Fix typo in comment.
4110 2014-04-28 Wilco <wdijkstr@arm.com>
4112 * sysdeps/arm/fenv_private.h: New file.
4113 * sysdeps/arm/math_private.h: New file.
4114 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4116 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4118 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4120 (La_x86_64_retval): Likewise.
4122 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4124 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4125 fpsr if value didn't change.
4126 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4127 to fpcr if value didn't change.
4128 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4129 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4130 fpsr or fpcr if value didn't change.
4131 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4132 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4133 fpcr if value didn't change.
4134 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4135 to fpsr if value didn't change.
4137 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4139 * nptl/tst-sem3.c: Use test-skeleton.c
4140 (main): Rename to do_test. Use return instead of
4142 * nptl/tst-sem4.c: Use test-skeleton.c
4143 (main): Rename to do_test.
4145 2014-04-22 David S. Miller <davem@davemloft.net>
4147 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4148 (struct sigaction): New struct member __glibc_reserved0, change
4149 type of sa_flags to int.
4151 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4153 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4154 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4156 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4158 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4159 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4161 2014-04-22 Will Newton <will.newton@linaro.org>
4162 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4164 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4165 (__longjmp): Add longjmp and longjmp_target SystemTap
4167 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4168 (__sigsetjmp): Add setjmp SystemTap probe.
4170 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4172 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4175 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4177 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4179 * sysdeps/powerpc/fpu/fenv_private.h
4180 (libc_feholdexcept_setroundl_ctx): Define to
4181 libc_feholdexcept_setround_ppc_ctx.
4182 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4183 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4184 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4185 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4187 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4189 * sysdeps/aarch64/math-tests.h: New file.
4191 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4193 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4196 Check and set bit_AVX2_Usable.
4197 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4199 (bit_AVX2): Likewise.
4200 (index_AVX2_Usable): Likewise.
4201 (CPUID_AVX2): Likewise.
4202 (HAS_AVX2): Likewise.
4204 2014-04-17 Will Newton <will.newton@linaro.org>
4206 * manual/setjmp.texi (System V contexts): Add note that
4207 calling setcontext on a context created by a call to a
4208 signal handler is undefined. Update text to note that
4209 setcontext from a signal handler is possible but not
4213 * stdlib/tst-setcontext.c: Include signal.h.
4214 (main): Check that the signal stack before and
4215 after swapcontext is the same.
4217 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4218 Re-implement to restore registers in user code and avoid
4219 rt_sigreturn system call.
4221 2014-04-17 Wilco <wdijkstr@arm.com>
4223 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4224 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4225 * math/test-fenv.c: Skip exception trap tests on targets which only
4226 support non-stop mode.
4228 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4229 Wilco Dijkstra <wilco.dijkstra@arm.com>
4231 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4232 (libc_feholdsetround_aarch64_ctx)
4233 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4234 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4235 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4236 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4237 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4238 (libc_feresetround_noexl_ctx): Define.
4240 2014-04-16 Richard Henderson <rth@redhat.com>
4242 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4244 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4247 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4248 const from the non-libc, non-ldso copy.
4250 * sysdeps/alpha/libm-test-ulps: Regenerate.
4252 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4253 Wilco Dijkstra <wilco.dijkstra@arm.com>
4255 * sysdeps/aarch64/fpu/math_private.h: New file.
4257 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4259 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4261 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4263 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4264 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4266 Intel MPX bound registers before _dl_profile_fixup.
4267 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4268 registers after _dl_profile_fixup. Save and restore bound
4269 registers bnd0/bnd1 when calling _dl_call_pltexit.
4270 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4271 (LR_BND_OFFSET): Likewise.
4272 (LRV_BND0_OFFSET): Likewise.
4273 (LRV_BND1_OFFSET): Likewise.
4275 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4277 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4279 * sysdeps/mach/hurd/i386/tls.h: ... here.
4280 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4281 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4284 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4286 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4288 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4290 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4292 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4295 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4296 * sysdeps/s390/configure: Regenerate.
4299 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4300 Set round-to-nearest internally to reduce error accumulation.
4302 2014-04-16 Alan Modra <amodra@gmail.com>
4306 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4307 * math/libm-test.inc (frexp_test_data): Add tests.
4308 * NEWS: Update fixed bug list.
4310 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4312 * benchtests/Makefile: Depend on libraries in build directory.
4313 (bench-math): Separate out math tests.
4314 (bench-pthread): Separate out pthread tests.
4315 (bench): Include math and pthread tests.
4317 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4320 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4321 _dl_debug_initialize.
4323 * configure.ac: Remove SELinux header check.
4324 * configure: Regenerate.
4325 * nscd/selinux.c (perms): Array of const char* to permission names.
4326 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4327 default policy. Call string_to_security_class and string_to_av_perm to
4328 translate strings. Enforce default policy and call avs_has_perm with
4329 results of translated strings.
4331 2014-04-13 David S. Miller <davem@davemloft.net>
4333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4335 2014-04-12 Allan McRae <allan@archlinux.org>
4338 * manual/string.texi (Collation Functions): Fix qsort argument
4340 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4342 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4344 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4345 Make the test a no-op if there are no exceptions defined.
4347 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4349 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4350 enable-hardcoded-path-in-tests
4352 2014-04-11 Will Newton <will.newton@linaro.org>
4354 * benchtests/Makefile (extra-objs): Add json-lib.o.
4355 (bench-func): Tidy up JSON output.
4356 * benchtests/bench-skeleton.c: Include json-lib.h.
4357 (main): Use JSON library functions to do output of
4359 * benchtests/bench-timing-type.c (main): Output the
4360 timing type simply, leaving formatting to the user.
4361 * benchtests/json-lib.c: New file.
4362 * benchtests/json-lib.h: Likewise.
4364 2014-04-11 Torvald Riegel <triegel@redhat.com>
4367 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4368 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4369 memory barriers. Add comments.
4370 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4371 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4372 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4373 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4374 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4375 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4377 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4379 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4380 * sysdeps/s390/s390-64/configure.ac: ... this ...
4381 * sysdeps/s390/configure.ac: ... to here.
4382 * sysdeps/s390/s390-32/configure: Delete file.
4383 * sysdeps/s390/s390-64/configure: Delete file.
4384 * sysdeps/s390/configure: Regenerate.
4386 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4388 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4390 2014-04-11 Will Newton <will.newton@linaro.org>
4392 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4393 to zero if it is not defined elsewhere. (mtrim): Test
4394 the value of MALLOC_DEBUG with #if rather than #ifdef.
4396 2014-04-10 Torvald Riegel <triegel@redhat.com>
4398 * benchtests/pthread_once-inputs: New file.
4399 * benchtests/pthread_once-source.c: New file.
4400 * benchtests/README: Update documentation.
4402 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4403 H.J. Lu <hongjiu.lu@intel.com>
4405 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4406 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4407 * sysdeps/x86_64/configure: Regenerated.
4408 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4410 (REGISTER_SAVE_RAX): Likewise.
4411 (REGISTER_SAVE_RCX): Likewise.
4412 (REGISTER_SAVE_RDX): Likewise.
4413 (REGISTER_SAVE_RSI): Likewise.
4414 (REGISTER_SAVE_RDI): Likewise.
4415 (REGISTER_SAVE_R8): Likewise.
4416 (REGISTER_SAVE_R9): Likewise.
4417 (REGISTER_SAVE_BND0): Likewise.
4418 (REGISTER_SAVE_BND1): Likewise.
4419 (REGISTER_SAVE_BND2): Likewise.
4420 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4421 bound registers when calling _dl_fixup.
4423 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4425 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4426 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4428 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4429 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4430 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4431 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4432 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4433 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4434 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4436 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4439 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4440 pathconf(_PC_NAME_MAX).
4442 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4444 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4446 (__PTHREAD_SPINS): Move definition to ...
4447 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4448 (__PTHREAD_SPINS): ... here.
4449 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4450 (__PTHREAD_SPIN): Likewise.
4451 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4452 (__PTHREAD_SPIN): Likewise.
4453 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4454 (__PTHREAD_SPIN): Likewise.
4455 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4456 (__PTHREAD_SPIN): Likewise.
4457 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4458 (__PTHREAD_SPIN): Likewise.
4459 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4460 (__PTHREAD_SPIN): Likewise.
4461 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4462 (__PTHREAD_SPIN): Likewise.
4463 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4464 (__PTHREAD_SPIN): Likewise.
4465 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4466 (__PTHREAD_SPIN): Likewise.
4467 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4468 (__PTHREAD_SPIN): Likewise.
4469 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4470 (__PTHREAD_SPIN): Likewise.
4471 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4472 (__PTHREAD_SPIN): Likewise.
4474 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4475 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4476 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4477 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4479 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4480 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4481 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4482 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4484 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4485 strlen symbol for non multi-arch builds.
4486 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4487 missing hidden_def and weak_alias.
4489 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4491 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4493 2014-04-07 Will Newton <will.newton@linaro.org>
4495 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4496 and contents. [!_LIBC] Remove #ifndef and contents.
4497 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4498 * string/memccpy.c (__memccpy): Use ANSI prototype.
4499 * string/memfrob.c (memfrob): Likewise.
4500 * string/strcoll.c (STRCOLL): Likewise.
4501 * string/strlen.c (strlen): Likewise.
4502 * string/strtok.c (STRTOK): Likewise.
4503 * string/strcat.c: Remove unused #include of memcopy.h.
4504 (strcat): Use ANSI prototype.
4505 * string/strchr.c: Remove unused #include of memcopy.h.
4506 (strchr): Use ANSI prototype.
4507 * string/strcmp.c: Remove unused #include of memcopy.h.
4508 (strcmp): Use ANSI prototype.
4509 * string/strcpy.c: Remove unused #include of memcopy.h.
4510 (strcpy): Use ANSI prototype.
4512 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4514 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4515 * config.make.in (config-extra-cppflags): Set it from
4516 libc_extra_cppflags.
4517 * configure.ac (libc_extra_cflags): Make it accumulate over
4518 configure fragments.
4519 (libc_extra_cppflags): New flag.
4520 * configure. Regenerate.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4522 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4523 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4527 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4528 result for FE_DOWNWARD rounding mode.
4529 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4533 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4535 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4536 in function argument name.
4538 2014-04-03 David Svoboda <svoboda@cert.org>
4541 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4544 2014-04-03 Roland McGrath <roland@hack.frob.com>
4546 * elf/dl-unmap-segments.h: New file.
4547 * sysdeps/generic/ldsodefs.h
4548 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4549 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4550 * elf/dl-fptr.c: Likewise.
4551 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4552 * sysdeps/aarch64/tlsdesc.c: Likewise.
4553 * sysdeps/arm/tlsdesc.c: Likewise.
4554 * sysdeps/i386/tlsdesc.c: Likewise.
4555 * sysdeps/tile/dl-runtime.c: Likewise.
4556 * sysdeps/x86_64/tlsdesc.c: Likewise.
4557 * elf/dl-load.h: New file.
4558 * elf/dl-load.c: Include it.
4559 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4560 Macros moved to dl-load.h.
4561 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4562 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4563 Use _dl_unmap_segments in place of __munmap.
4564 Break out segment-mapping loop into ...
4565 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4567 2014-04-03 Will Newton <will.newton@linaro.org>
4569 * elf/dl-lookup.c (do_lookup_x): Remove comment
4570 referring to nested function and move variable
4571 declarations down to before first use.
4573 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4577 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4579 * math/s_catanf.c (__catanf): Likewise.
4580 * math/s_catanh.c (__catanh): Likewise.
4581 * math/s_catanhf.c (__catanhf): Likewise.
4582 * math/s_catanhl.c (__catanhl): Likewise.
4583 * math/s_catanl.c (__catanl): Likewise.
4584 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4585 by positive zero when computing -Inf result.
4586 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4587 (catanh_test): Likewise.
4588 * sysdeps/i386/fpu/libm-test-ulps: Update.
4589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4592 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4593 instead of using underflowing value in computing result.
4594 * math/s_clog10.c (__clog10): Likewise.
4595 * math/s_clog10f.c (__clog10f): Likewise.
4596 * math/s_clog10l.c (__clog10l): Likewise.
4597 * math/s_clogf.c (__clogf): Likewise.
4598 * math/s_clogl.c (__clogl): Likewise.
4599 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4600 (clog10_test): Likewise.
4601 * sysdeps/i386/fpu/libm-test-ulps: Update.
4602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4604 2014-04-02 Alan Modra <amodra@gmail.com>
4607 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4608 output when value is near a power of two. Use int64_t for lx and
4609 remove casts. Use decimal rather than hex exponent constants.
4610 Don't use long double multiplication when double will suffice.
4611 * math/libm-test.inc (nextafter_test_data): Add tests.
4612 * NEWS: Add 16739 and 16786 to bug list.
4614 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4616 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4618 2014-04-01 Will Newton <will.newton@linaro.org>
4620 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4621 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4623 2014-04-01 Florian Weimer <fweimer@redhat.com>
4626 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4627 * nptl/tst-setuid2.c: New file.
4628 * nptl/Makefile (xtests): Add tst-setuid2.
4630 2014-04-01 Alan Modra <amodra@gmail.com>
4633 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4635 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4639 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4640 set errno as appropriate.
4641 * math/w_scalbf.c (__scalbf): Likewise.
4642 * math/w_scalbl.c (__scalbl): Likewise.
4643 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4644 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4645 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4649 * math/w_atan2.c: Include <errno.h>.
4650 (__atan2): Set errno for result underflowing to zero.
4651 * math/w_atan2f.c: Include <errno.h>.
4652 (__atan2f): Set errno for result underflowing to zero.
4653 * math/w_atan2l.c: Include <errno.h>.
4654 (__atan2l): Set errno for result underflowing to zero.
4655 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4657 * math/auto-libm-test-out: Regenerated.
4659 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4661 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4662 Encode instruction correctly in little endian.
4663 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4665 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4667 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4669 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4672 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4675 * sysdeps/unix/sysv/linux/kernel-features.h
4676 [__sparc__ && !__arch64__ && !__sparc_v9__]
4677 (__ASSUME_SET_ROBUST_LIST): Do not define.
4678 [__sparc__ && !__arch64__ && !__sparc_v9__]
4679 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4680 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4682 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4683 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4684 (__ASSUME_REQUEUE_PI): Likewise.
4685 (__ASSUME_SET_ROBUST_LIST): Likewise.
4686 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4687 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4689 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4690 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4692 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4694 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4696 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4697 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4699 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4700 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4704 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4705 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4706 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4708 2014-03-31 Will Newton <will.newton@linaro.org>
4710 * benchtests/Makefile (bench): Add ffs and ffsll to list
4712 * benchtests/ffs-inputs: New file.
4713 * benchtests/ffsll-inputs: Likewise.
4715 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4718 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4719 too large before casting to int.
4720 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4721 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4722 * math/libm-test.inc (scalb_test_data): Add more tests.
4724 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4726 * benchtests/Makefile (DETAILED_OPT): New make option.
4727 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4729 * benchtests/bench-skeleton.c: Include stdbool.h.
4730 (main): Store and print timings per input.
4731 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4732 member to each argument value.
4733 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4734 (_print_arg_data): Initialize per-input timing to 0.
4736 * benchtests/Makefile (timing-type): New binary.
4737 (bench-clean): Also remove bench-timing-type.
4738 (bench): New target for timing-type.
4739 (bench-func): Print output in JSON format.
4740 * benchtests/bench-skeleton.c (main): Print output in JSON
4742 * benchtests/bench-timing-type.c: New file.
4743 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4744 (TIMING_PRINT_STATS): Remove.
4745 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4748 * benchtests/bench-modf.c: Remove.
4749 * benchtests/modf-inputs: New inputs file.
4751 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4754 * math/s_clog10.c (M_PI_LOG10E): New macro.
4755 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4756 imaginary parts are 0.
4757 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4758 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4759 imaginary parts are 0.
4760 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4761 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4762 imaginary parts are 0.
4763 * math/libm-test.inc (clog10_test_data): Update expected results
4764 for when real and imaginary parts are 0.
4766 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4768 * elf/dl-load.c: Finish conversion of __builtin_expect into
4771 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4774 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4775 1+x for argument with exponent below -67.
4776 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4778 * math/auto-libm-test-in: Add more tests of exp.
4779 * math/auto-libm-test-out: Regenerated.
4781 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4784 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4785 (nscd_getnetgrent): Use it.
4788 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4791 2014-03-27 Andi Kleen <ak@linux.intel.com>
4793 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4794 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4795 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4796 (lll_robust_unlock): Remove out of line section. Use cfi
4798 (LLL_STUB_UNWIND_INFO*): Remove.
4799 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4800 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4801 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4802 (lll_robust_unlock): Remove out of line section. Use cfi
4804 (LLL_STUB_UNWIND_INFO*): Remove.
4806 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4809 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4812 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4814 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4816 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4819 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4821 * math/test-fenv-preserve.c: New file.
4822 * math/Makefile (tests): Add test-fenv-preserve.
4824 2014-03-26 Will Newton <will.newton@linaro.org>
4826 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4828 2014-03-25 Roland McGrath <roland@hack.frob.com>
4830 * scripts/versionlist.awk: Partition the version sets and emit all
4831 GLIBC_* (sorted) before all others (sorted).
4833 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4835 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4836 GLIBC_2.2.5 version.
4838 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4840 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4843 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4848 2014-03-25 Andreas Schwab <schwab@suse.de>
4850 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4851 label to be used after in6ailist is initialized.
4853 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4855 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4856 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4858 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4862 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4864 (fp_formats): Update initializers.
4865 (init_fp_formats): Initialize new field.
4866 (output_for_one_input_case): Allow underflow for results up to
4868 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4869 * math/auto-libm-test-in: Don't mark some underflows from asin and
4871 * math/auto-libm-test-out: Regenerated.
4872 * sysdeps/i386/fpu/libm-test-ulps: Update.
4873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4875 2014-03-25 Andreas Schwab <schwab@suse.de>
4877 * libio/Makefile (tst-ftell-partial-wide-ENV)
4878 (tst-ftell-active-handler-ENV): Define.
4880 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4882 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4884 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4886 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4888 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4890 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4891 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4892 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4894 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4897 * elf/dl-load.c (open_verify): Add mode parameter.
4898 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4899 (open_path): Change from boolean 'secure' to complete flag 'mode'
4900 (_dl_map_object): Adjust.
4901 * elf/Makefile (tests): Add tst-dlopen-aout.
4902 * elf/tst-dlopen-aout.c: New test.
4904 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4907 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4908 (struct stat): Rename member pad0 to __glibc_reserved0.
4911 * sysdeps/s390/s390-32/bits/wordsize.h
4912 (__WORDSIZE32_SIZE_ULONG): New define.
4913 * sysdeps/s390/s390-64/bits/wordsize.h
4914 (__WORDSIZE32_SIZE_ULONG): Likewise.
4915 * sysdeps/generic/stdint.h (SIZE_MAX):
4916 Define as UL if __WORDSIZE32_SIZE_ULONG.
4919 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4920 (__glibc_reserved0): New variable.
4921 (sa_flags): Change type to int.
4923 * posix/Makefile (before-compile): Use += before-compile instead
4926 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4927 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4929 2014-03-20 Andreas Schwab <schwab@suse.de>
4932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4933 non-matching result from nscd.
4935 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4937 * scripts/bench.py: Moved to ...
4938 * benchtests/scripts/bench.py: ... here.
4939 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4941 2014-03-24 Andreas Schwab <schwab@suse.de>
4944 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4945 alloca_account and account alloca use for struct in6ailist.
4947 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4950 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4951 rounding mode to recompute results that overflow to infinity or
4953 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4955 * math/auto-libm-test-out: Regenerated.
4956 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4957 (ccosh_test): Likewise.
4958 (csin_test_data): Use plus_oflow.
4959 (csin_test): Use ALL_RM_TEST.
4960 (csinh_test_data): Use plus_oflow.
4961 (csinh_test): Use ALL_RM_TEST.
4962 * sysdeps/i386/fpu/libm-test-ulps: Update.
4963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4965 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4967 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4968 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4969 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4972 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4974 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4975 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4976 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4977 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4979 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4980 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4982 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4983 * sysdeps/i386/fpu/libm-test-ulps: Update.
4984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4986 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4988 * scripts/bench.pl: Remove file.
4989 * scripts/bench.py: New benchmark script.
4990 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4991 * benchtests/README: Mention python dependency.
4992 * scripts/pylintrc: New file.
4993 * scripts/pylint: New file.
4995 * bits/mathdef.h: Use #ifdef instead of #if.
4996 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4997 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4998 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4999 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5000 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5001 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5003 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5004 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5006 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5008 and strpbrk-ppc64 objects.
5009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5010 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5011 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5012 multiarch strpbrk for POWER7.
5013 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5014 multiarch strpbrk for PPC64.
5015 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5017 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5020 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5022 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5023 (atan_test): Likewise.
5024 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5025 (atanh_test): Use ALL_RM_TEST.
5026 (atan2_test_data): Likewise.
5027 (cabs_test): Likewise.
5028 (cacosh_test): Likewise.
5029 (carg_test): Likewise.
5030 (casin_test): Likewise.
5031 (casinh_test): Likewise.
5032 (cbrt_test): Likewise.
5033 (csqrt_test): Likewise.
5034 (erf_test): Likewise.
5035 (erfc_test): Likewise.
5036 (pow10_test): Likewise.
5037 (exp2_test): Likewise.
5038 (hypot_test): Likewise.
5039 (j0_test): Likewise.
5040 (j1_test): Likewise.
5041 (lgamma_test): Likewise.
5042 (gamma_test): Likewise.
5043 (sincos_test): Likewise.
5044 (tanh_test): Likewise.
5045 (y0_test): Likewise.
5046 (y1_test): Likewise.
5047 * sysdeps/i386/fpu/libm-test-ulps: Update.
5048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5050 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5052 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5054 and strcspn-ppc64 objects.
5055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5056 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5057 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5058 multiarch strcspn for POWER7.
5059 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5060 multiarch strcspn for PPC64.
5061 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5063 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5066 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5068 * math/gen-libm-test.pl (generate_testfile): Expect only function
5069 name as argument to AUTO_TESTS_* and pass results for all rounding
5070 modes to parse_args.
5071 (parse_auto_input): Separate inputs of automatic tests from
5072 outputs before storing in %auto_tests.
5073 * math/libm-test.inc (acos_test_data): Update call to
5075 (acos_test): Use ALL_RM_TEST.
5076 (acos_tonearest_test_data): Remove.
5077 (acos_test_tonearest): Likewise.
5078 (acos_towardzero_test_data): Likewise.
5079 (acos_test_towardzero): Likewise.
5080 (acos_downward_test_data): Likewise.
5081 (acos_test_downward): Likewise.
5082 (acos_upward_test_data): Likewise.
5083 (acos_test_upward): Likewise.
5084 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5085 (asin_test_data): Likewise.
5086 (asin_test): Use ALL_RM_TEST.
5087 (asin_tonearest_test_data): Remove.
5088 (asin_test_tonearest): Likewise.
5089 (asin_towardzero_test_data): Likewise.
5090 (asin_test_towardzero): Likewise.
5091 (asin_downward_test_data): Likewise.
5092 (asin_test_downward): Likewise.
5093 (asin_upward_test_data): Likewise.
5094 (asin_test_upward): Likewise.
5095 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5096 (atan_test_data): Likewise.
5097 (atanh_test_data): Likewise.
5098 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5099 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5100 (carg_test_data): Likewise.
5101 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5102 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5103 (ccosh_test_data): Likewise.
5104 (cexp_test_data): Likewise.
5105 (clog_test_data): Likewise.
5106 (clog10_test_data): Likewise.
5107 (cos_test_data): Update call to AUTO_TESTS_f_f.
5108 (cos_test): Use ALL_RM_TEST.
5109 (cos_tonearest_test_data): Remove.
5110 (cos_test_tonearest): Likewise.
5111 (cos_towardzero_test_data): Likewise.
5112 (cos_test_towardzero): Likewise.
5113 (cos_downward_test_data): Likewise.
5114 (cos_test_downward): Likewise.
5115 (cos_upward_test_data): Likewise.
5116 (cos_test_upward): Likewise.
5117 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5118 (cosh_test): Use ALL_RM_TEST.
5119 (cosh_tonearest_test_data): Remove.
5120 (cosh_test_tonearest): Likewise.
5121 (cosh_towardzero_test_data): Likewise.
5122 (cosh_test_towardzero): Likewise.
5123 (cosh_downward_test_data): Likewise.
5124 (cosh_test_downward): Likewise.
5125 (cosh_upward_test_data): Likewise.
5126 (cosh_test_upward): Likewise.
5127 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5128 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5129 (ctan_test_data): Likewise.
5130 (ctan_test): Use ALL_RM_TEST.
5131 (ctan_tonearest_test_data): Remove.
5132 (ctan_test_tonearest): Likewise.
5133 (ctan_towardzero_test_data): Likewise.
5134 (ctan_test_towardzero): Likewise.
5135 (ctan_downward_test_data): Likewise.
5136 (ctan_test_downward): Likewise.
5137 (ctan_upward_test_data): Likewise.
5138 (ctan_test_upward): Likewise.
5139 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5140 (ctanh_test): Use ALL_RM_TEST.
5141 (ctanh_tonearest_test_data): Remove.
5142 (ctanh_test_tonearest): Likewise.
5143 (ctanh_towardzero_test_data): Likewise.
5144 (ctanh_test_towardzero): Likewise.
5145 (ctanh_downward_test_data): Likewise.
5146 (ctanh_test_downward): Likewise.
5147 (ctanh_upward_test_data): Likewise.
5148 (ctanh_test_upward): Likewise.
5149 (erf_test_data): Update call to AUTO_TESTS_f_f.
5150 (erfc_test_data): Likewise.
5151 (exp_test_data): Likewise.
5152 (exp_test): Use ALL_RM_TEST.
5153 (exp_tonearest_test_data): Remove.
5154 (exp_test_tonearest): Likewise.
5155 (exp_towardzero_test_data): Likewise.
5156 (exp_test_towardzero): Likewise.
5157 (exp_downward_test_data): Likewise.
5158 (exp_test_downward): Likewise.
5159 (exp_upward_test_data): Likewise.
5160 (exp_test_upward): Likewise.
5161 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5162 (exp10_test): Use ALL_RM_TEST.
5163 (exp10_tonearest_test_data): Remove.
5164 (exp10_test_tonearest): Likewise.
5165 (exp10_towardzero_test_data): Likewise.
5166 (exp10_test_towardzero): Likewise.
5167 (exp10_downward_test_data): Likewise.
5168 (exp10_test_downward): Likewise.
5169 (exp10_upward_test_data): Likewise.
5170 (exp10_test_upward): Likewise.
5171 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5172 (expm1_test_data): Likewise.
5173 (expm1_test): Use ALL_RM_TEST.
5174 (expm1_tonearest_test_data): Remove.
5175 (expm1_test_tonearest): Likewise.
5176 (expm1_towardzero_test_data): Likewise.
5177 (expm1_test_towardzero): Likewise.
5178 (expm1_downward_test_data): Likewise.
5179 (expm1_test_downward): Likewise.
5180 (expm1_upward_test_data): Likewise.
5181 (expm1_test_upward): Likewise.
5182 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5183 (fma_test): Use ALL_RM_TEST.
5184 (fma_towardzero_test_data): Remove.
5185 (fma_test_towardzero): Likewise.
5186 (fma_downward_test_data): Likewise.
5187 (fma_test_downward): Likewise.
5188 (fma_upward_test_data): Likewise.
5189 (fma_test_upward): Likewise.
5190 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5191 (j0_test_data): Update call to AUTO_TESTS_f_f.
5192 (j1_test_data): Likewise.
5193 (jn_test_data): Update call to AUTO_TESTS_if_f.
5194 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5195 (log_test_data): Update call to AUTO_TESTS_f_f.
5196 (log10_test_data): Likewise.
5197 (log1p_test_data): Likewise.
5198 (log2_test_data): Likewise.
5199 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5200 (pow_tonearest_test_data): Likewise.
5201 (sin_test_data): Update call to AUTO_TESTS_f_f.
5202 (sin_test): Use ALL_RM_TEST.
5203 (sin_tonearest_test_data): Remove.
5204 (sin_test_tonearest): Likewise.
5205 (sin_towardzero_test_data): Likewise.
5206 (sin_test_towardzero): Likewise.
5207 (sin_downward_test_data): Likewise.
5208 (sin_test_downward): Likewise.
5209 (sin_upward_test_data): Likewise.
5210 (sin_test_upward): Likewise.
5211 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5212 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5213 (sinh_test): Use ALL_RM_TEST.
5214 (sinh_tonearest_test_data): Remove.
5215 (sinh_test_tonearest): Likewise.
5216 (sinh_towardzero_test_data): Likewise.
5217 (sinh_test_towardzero): Likewise.
5218 (sinh_downward_test_data): Likewise.
5219 (sinh_test_downward): Likewise.
5220 (sinh_upward_test_data): Likewise.
5221 (sinh_test_upward): Likewise.
5222 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5223 (sqrt_test): Use ALL_RM_TEST.
5224 (sqrt_tonearest_test_data): Remove.
5225 (sqrt_test_tonearest): Likewise.
5226 (sqrt_towardzero_test_data): Likewise.
5227 (sqrt_test_towardzero): Likewise.
5228 (sqrt_downward_test_data): Likewise.
5229 (sqrt_test_downward): Likewise.
5230 (sqrt_upward_test_data): Likewise.
5231 (sqrt_test_upward): Likewise.
5232 (tan_test_data): Update call to AUTO_TESTS_f_f.
5233 (tan_test): Use ALL_RM_TEST.
5234 (tan_tonearest_test_data): Remove.
5235 (tan_test_tonearest): Likewise.
5236 (tan_towardzero_test_data): Likewise.
5237 (tan_test_towardzero): Likewise.
5238 (tan_downward_test_data): Likewise.
5239 (tan_test_downward): Likewise.
5240 (tan_upward_test_data): Likewise.
5241 (tan_test_upward): Likewise.
5242 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5243 (tgamma_test_data): Likewise.
5244 (y0_test_data): Likewise.
5245 (y1_test_data): Likewise.
5246 (yn_test_data): Update call to AUTO_TESTS_if_f.
5247 (main): Do not call removed functions.
5249 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5251 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5252 (ldexp_test_data): Remove.
5253 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5255 (scalb_test): Use ALL_RM_TEST.
5257 2014-03-19 Andreas Schwab <schwab@suse.de>
5259 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5261 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5264 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5265 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5266 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5267 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5268 (__ASSUME_PREADV): Undefine.
5269 (__ASSUME_PWRITEV): Likewise.
5271 2014-03-18 Roland McGrath <roland@hack.frob.com>
5273 * bits/mman-linux.h: Add comment about non-Linux use.
5274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5275 bits/mman-linux.h resting place.
5277 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5278 * bits/mman-linux.h: ... here.
5280 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5282 * conform/conformtest.pl: Add standard definition when calling C
5283 preprocessor on data files.
5284 (checknamespace): Remove unused variable.
5286 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5288 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5289 minus_oflow, plus_uflow and minus_uflow in expected results.
5290 * math/libm-test.inc (scalbn_test_data): Add more tests of
5291 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5293 (scalbn_test): Use ALL_RM_TEST.
5294 (scalbln_test_data): Add more tests of negative arguments. Use
5295 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5296 (scalbln_test): Use ALL_RM_TEST.
5298 2014-03-18 Roland McGrath <roland@hack.frob.com>
5300 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5302 2014-03-18 Will Newton <will.newton@linaro.org>
5304 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5307 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5309 * Makerules [!subdir] (check-abi): Exit with error status if a
5312 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5314 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5315 for rint. Include results for all rounding modes.
5316 (nearbyint_test): Use ALL_RM_TEST.
5317 (rint_test_data): Include all tests used for nearbyint.
5319 2014-03-17 Will Newton <will.newton@linaro.org>
5321 * nptl/sysdeps/pthread/pthread.h: Revert previous
5324 * sysdeps/generic/ldsodefs.h: Revert previous
5327 * libio/genops.c: Revert previous change.
5328 * libio/libioP.h: Likewise.
5329 * stdio-common/vfprintf.c: Likewise.
5331 * sysdeps/generic/math_private.h: Revert previous
5334 * sysdeps/generic/math_private.h: Check whether
5335 HAVE_RM_CTX is defined with #ifdef rather
5338 * argp/argp-fmtstream.h: Check whether
5339 __STRICT_ANSI__ is defined with #ifdef rather
5341 * argp/argp.h: Likewise.
5343 * libio/genops.c: Check whether
5344 _IO_JUMPS_OFFSET is defined with #ifdef rather
5346 * libio/libioP.h: Likewise.
5347 * stdio-common/vfprintf.c: Likewise.
5349 * sysdeps/generic/ldsodefs.h: Check whether
5350 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5353 * nptl/sysdeps/pthread/pthread.h: Check
5354 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5357 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5359 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5361 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5365 * libio/fileops.c (_IO_file_open): Seek to end of file but
5366 don't cache the offset.
5367 (get_file_offset): Remove function.
5368 (do_ftell): Use cached offset when available.
5369 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5370 don't cache the offset.
5371 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5373 (do_one_test): Call it.
5374 (do_ftell_test): Fix up expected old offset for a+ mode.
5375 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5378 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5379 up test status with function return status.
5380 (do_write_test): Likewise.
5381 (do_append_test): Likewise.
5383 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5384 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5387 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5389 * math/gen-libm-test.pl (parse_args): Handle results specified for
5390 each rounding mode separately.
5391 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5392 tests and results from lrint_tonearest_test_data,
5393 lrint_towardzero_test_data, lrint_downward_test_data and
5394 lrint_upward_test_data.
5395 (lrint_test): Use ALL_RM_TEST.
5396 (lrint_tonearest_test_data): Remove.
5397 (lrint_test_tonearest): Likewise.
5398 (lrint_towardzero_test_data): Likewise.
5399 (lrint_test_towardzero): Likewise.
5400 (lrint_downward_test_data): Likewise.
5401 (lrint_test_downward): Likewise.
5402 (lrint_upward_test_data): Likewise.
5403 (lrint_test_upward): Likewise.
5404 (llrint_test_data): Merge in per-rounding-mode tests and results
5405 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5406 llrint_downward_test_data and llrint_upward_test_data.
5407 (llrint_test): Use ALL_RM_TEST.
5408 (llrint_tonearest_test_data): Remove.
5409 (llrint_test_tonearest): Likewise.
5410 (llrint_towardzero_test_data): Likewise.
5411 (llrint_test_towardzero): Likewise.
5412 (llrint_downward_test_data): Likewise.
5413 (llrint_test_downward): Likewise.
5414 (llrint_upward_test_data): Likewise.
5415 (llrint_test_upward): Likewise.
5416 (rint_test_data): Merge in per-rounding-mode tests and results
5417 from rint_tonearest_test_data, rint_towardzero_test_data,
5418 rint_downward_test_data and rint_upward_test_data. Add
5419 per-rounding-mode results for tests not in those arrays.
5420 (rint_test): Use ALL_RM_TEST.
5421 (rint_tonearest_test_data): Remove.
5422 (rint_test_tonearest): Likewise.
5423 (rint_towardzero_test_data): Likewise.
5424 (rint_test_towardzero): Likewise.
5425 (rint_downward_test_data): Likewise.
5426 (rint_test_downward): Likewise.
5427 (rint_upward_test_data): Likewise.
5428 (rint_test_upward): Likewise.
5429 (main): Don't call removed functions.
5431 2014-03-14 Roland McGrath <roland@hack.frob.com>
5433 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5434 "Compiled on ..." crapola. It is anti-useful.
5436 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5438 * scripts/evaluate-test.sh: Handle fourth argument to determine
5439 whether test run should stop on failure.
5440 * Makeconfig (stop-on-test-failure): New variable.
5441 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5442 $(stop-on-test-failure).
5443 * Makefile (tests): Give a summary of results from testing and
5444 exit with failure status if they include an ERROR or FAIL.
5446 * manual/install.texi (Configuring and compiling): Mention
5447 stop-on-test-failure=y.
5448 * INSTALL: Regenerated.
5450 2014-03-14 Roland McGrath <roland@hack.frob.com>
5452 * scripts/versionlist.awk: New file.
5453 * Makerules [$(build-shared) = yes]
5454 (postclean-generated): Add Versions.def, not Versions.def.v and
5456 ($(common-objpfx)Versions.def.v.i): Target removed.
5457 ($(common-objpfx)Versions.def): New target.
5458 ($(common-objpfx)Versions.all): Depend on that rather that
5459 $(common-objpfx)Versions.def.v.
5460 * Versions.def: File removed.
5462 * Makeconfig (+gccwarn): Add -Wundef.
5463 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5464 a dl-sysdep.h breaking its contract.
5465 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5466 * include/stackinfo.h: New file.
5467 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5468 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5469 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5470 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5471 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5472 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5473 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5474 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5475 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5476 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5477 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5478 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5479 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5480 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5481 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5483 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5486 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5488 * math/libm-test.inc (round_test_data): Add more tests.
5491 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5493 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5496 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5498 * math/libm-test.inc (ceil_test_data): Add more tests.
5500 * math/libm-test.inc (trunc_test_data): Add more tests related to
5503 2014-03-14 Roland McGrath <roland@hack.frob.com>
5505 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5506 with #if rather than #ifdef.
5507 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5509 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5511 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5512 first. Disable AVX-512 GCC support if assembler doesn't support
5514 * sysdeps/x86_64/configure: Regenerated.
5516 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5518 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5519 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5520 (__old_pthread_attr_setstack): Likewise.
5521 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5522 [!_STACK_GROWS_DOWN]: Likewise.
5524 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5526 * config.make.in (have-bash2): Delete.
5527 * configure.ac (libc_cv_have_bash2): Delete.
5528 * configure: Regenerate.
5529 * elf/Makefile (common-ldd-rewrite): Rename to ...
5530 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5531 (sh-ldd-rewrite): Delete.
5532 (bash-ldd-rewrite): Delete.
5533 (have-bash2): Delete checks.
5534 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5537 * config.make.in (have-ksh): Delete.
5539 * configure.ac (libc_cv_have_ksh): Delete.
5540 * configure: Regenerate.
5542 * elf/Makefile: Delete $(have-ksh) check.
5543 ($(objpfx)sotruss): Change KSH to BASH.
5544 * elf/sotruss.ksh: Rename to ...
5545 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5546 function style to match POSIX. Drop ksh vim mode setting.
5548 * manual/time.texi (Specifying the Time Zone with TZ): Change
5549 Tuesday to Thursday.
5551 * debug/tst-longjmp_chk2.c: Update header comment.
5552 (stackoverflow_handler): Add comment. Call assert on pass value.
5554 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5556 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5557 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5558 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5559 (La_x86_64_vector): Add zmm.
5560 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5561 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5562 ($(objpfx)tst-audit10): New target.
5563 ($(objpfx)tst-audit10.out): Likewise.
5564 (tst-audit10-ENV): New.
5565 (AVX512-CFLAGS): Likewise.
5566 (CFLAGS-tst-audit10.c): Likewise.
5567 (CFLAGS-tst-auditmod10a.c): Likewise.
5568 (CFLAGS-tst-auditmod10b.c): Likewise.
5569 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5570 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5571 * sysdeps/x86_64/configure: Regenerated.
5572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5573 AVX-512 zmm register support.
5574 (_dl_x86_64_save_sse): Likewise.
5575 (_dl_x86_64_restore_sse): Likewise.
5576 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5577 size vector registers.
5578 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5579 (ZMM_SIZE): Likewise.
5580 * sysdeps/x86_64/tst-audit10.c: New file.
5581 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5582 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5584 2014-03-13 Roland McGrath <roland@hack.frob.com>
5586 * configure.ac (HAVE_EHDR_START): New check.
5587 * configure: Regenerated.
5588 * config.h.in (HAVE_EHDR_START): New #undef.
5589 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5590 assuming the lowest-addressed segment maps the start of the file.
5592 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5594 * INSTALL: Regenerated.
5596 2014-03-13 Will Newton <will.newton@linaro.org>
5598 * manual/setjmp.texi (System V contexts): Improve
5599 clarity and grammar of documentation.
5601 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5604 * elf/Makefile (tests): Add tst-pie2.
5605 (tests-pie): Add tst-pie2.
5606 * elf/tst-pie2.c: New file.
5607 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5609 * elf/rtld.c (map_doit): Load executable as lt_executable.
5610 (dl_main): Likewise.
5612 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5615 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5616 (__ASSUME_PSELECT): Undefine.
5618 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5621 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5622 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5624 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5625 selector for static builds.
5627 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5630 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5633 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5635 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5636 IFUNC selector for static builds.
5638 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5640 * sysdeps/mips/math_private.h [__mips_hard_float]
5641 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5642 libc_feresetround_mips_ctx.
5643 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5644 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5645 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5648 * math/s_nextafter.c (__nextafter): Do not return value from
5649 overflowing computation.
5650 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5651 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5652 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5654 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5656 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5657 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5659 2014-03-11 Roland McGrath <roland@hack.frob.com>
5661 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5662 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5663 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5664 the new mov targetting sp.
5666 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5669 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5670 Define it for static builds as well.
5671 (NO_BZERO_IMPL): Likewise.
5673 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5675 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5676 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5677 multiarch strspn for PPC64.
5678 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5679 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5681 (__libc_ifunc_impl_list): Likewise.
5682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5683 multiarch optimizations
5684 * string/strspn.c (strspn): Using macro to redefine symbol name.
5686 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5687 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5689 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5690 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5691 multiarch strncat for PPC64.
5692 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5693 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5695 (__libc_ifunc_impl_list): Likewise.
5696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5697 multiarch optimizations
5699 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5702 * nscd/nscd.service: Make service type forking.
5704 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5706 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5707 sign in non default rounding modes.
5708 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5710 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5712 * math/libm-test.inc (ALL_RM_TEST): New macro.
5713 (ceil_test): Use ALL_RM_TEST.
5714 (cimag_test): Likewise.
5715 (conj_test): Likewise.
5716 (copysign_test): Likewise.
5717 (cproj_test): Likewise.
5718 (creal_test): Likewise.
5719 (fabs_test): Likewise.
5720 (floor_test): Likewise.
5721 (fmax_test): Likewise.
5722 (fmin_test): Likewise.
5723 (fmod_test): Likewise.
5724 (fpclassify_test): Likewise.
5725 (frexp_test): Likewise.
5726 (ilogb_test): Likewise.
5727 (isfinite_test): Likewise.
5728 (finite_test): Likewise.
5729 (isgreater_test): Likewise.
5730 (isgreaterequal_test): Likewise.
5731 (isinf_test): Likewise.
5732 (isless_test): Likewise.
5733 (islessequal_test): Likewise.
5734 (islessgreater_test): Likewise.
5735 (isnan_test): Likewise.
5736 (isnormal_test): Likewise.
5737 (issignaling_test): Likewise.
5738 (isunordered_test): Likewise.
5739 (logb_test): Likewise.
5740 (logb_downward_test_data): Remove.
5741 (logb_test_downward): Likewise.
5742 (lround_test): Use ALL_RM_TEST.
5743 (llround_test): Likewise.
5744 (modf_test): Likewise.
5745 (nexttoward_test): Likewise.
5746 (remainder_test): Likewise.
5747 (drem_test): Likewise.
5748 (remainder_tonearest_test_data): Likewise.
5749 (remainder_test_tonearest): Likewise.
5750 (drem_test_tonearest): Likewise.
5751 (remainder_towardzero_test_data): Likewise.
5752 (remainder_test_towardzero): Likewise.
5753 (drem_test_towardzero): Likewise.
5754 (remainder_downward_test_data): Likewise.
5755 (remainder_test_downward): Likewise.
5756 (drem_test_downward): Likewise.
5757 (remainder_upward_test_data): Likewise.
5758 (remainder_test_upward): Likewise.
5759 (drem_test_upward): Likewise.
5760 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5761 (round_test): Use ALL_RM_TEST.
5762 (signbit_test): Likewise.
5763 (trunc_test): Likewise.
5764 (significand_test): Likewise.
5765 (main): Don't call removed functions.
5767 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5770 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5772 (ILL_ILLOPN): Likewise.
5773 (ILL_ILLADR): Likewise.
5774 (ILL_ILLTRP): Likewise.
5775 (ILL_PRVOPC): Likewise.
5776 (ILL_PRVREG): Likewise.
5777 (ILL_COPROC): Likewise.
5778 (ILL_BADSTK): Likewise.
5779 (FPE_INTDIV): Likewise.
5780 (FPE_INTOVF): Likewise.
5781 (FPE_FLTDIV): Likewise.
5782 (FPE_FLTOVF): Likewise.
5783 (FPE_FLTUND): Likewise.
5784 (FPE_FLTRES): Likewise.
5785 (FPE_FLTINV): Likewise.
5786 (FPE_FLTSUB): Likewise.
5787 (SEGV_MAPERR): Likewise.
5788 (SEGV_ACCERR): Likewise.
5789 (BUS_ADRALN): Likewise.
5790 (BUS_ADRERR): Likewise.
5791 (BUS_OBJERR): Likewise.
5792 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5793 (TRAP_TRACE): Likewise.
5794 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5796 (CLD_KILLED): Likewise.
5797 (CLD_DUMPED): Likewise.
5798 (CLD_TRAPPED): Likewise.
5799 (CLD_STOPPED): Likewise.
5800 (CLD_CONTINUED): Likewise.
5801 (POLL_IN): Likewise.
5802 (POLL_OUT): Likewise.
5803 (POLL_MSG): Likewise.
5804 (POLL_ERR): Likewise.
5805 (POLL_PRI): Likewise.
5806 (POLL_HUP): Likewise.
5807 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5809 (ILL_ILLOPN): Likewise.
5810 (ILL_ILLADR): Likewise.
5811 (ILL_ILLTRP): Likewise.
5812 (ILL_PRVOPC): Likewise.
5813 (ILL_PRVREG): Likewise.
5814 (ILL_COPROC): Likewise.
5815 (ILL_BADSTK): Likewise.
5816 (FPE_INTDIV): Likewise.
5817 (FPE_INTOVF): Likewise.
5818 (FPE_FLTDIV): Likewise.
5819 (FPE_FLTOVF): Likewise.
5820 (FPE_FLTUND): Likewise.
5821 (FPE_FLTRES): Likewise.
5822 (FPE_FLTINV): Likewise.
5823 (FPE_FLTSUB): Likewise.
5824 (SEGV_MAPERR): Likewise.
5825 (SEGV_ACCERR): Likewise.
5826 (BUS_ADRALN): Likewise.
5827 (BUS_ADRERR): Likewise.
5828 (BUS_OBJERR): Likewise.
5829 (BUS_MCEERR_AR): Likewise.
5830 (BUS_MCEERR_AO): Likewise.
5831 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5832 (TRAP_TRACE): Likewise.
5833 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5835 (CLD_KILLED): Likewise.
5836 (CLD_DUMPED): Likewise.
5837 (CLD_TRAPPED): Likewise.
5838 (CLD_STOPPED): Likewise.
5839 (CLD_CONTINUED): Likewise.
5840 (POLL_IN): Likewise.
5841 (POLL_OUT): Likewise.
5842 (POLL_MSG): Likewise.
5843 (POLL_ERR): Likewise.
5844 (POLL_PRI): Likewise.
5845 (POLL_HUP): Likewise.
5846 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5847 (ILL_ILLOPN): Likewise.
5848 (ILL_ILLADR): Likewise.
5849 (ILL_ILLTRP): Likewise.
5850 (ILL_PRVOPC): Likewise.
5851 (ILL_PRVREG): Likewise.
5852 (ILL_COPROC): Likewise.
5853 (ILL_BADSTK): Likewise.
5854 (FPE_INTDIV): Likewise.
5855 (FPE_INTOVF): Likewise.
5856 (FPE_FLTDIV): Likewise.
5857 (FPE_FLTOVF): Likewise.
5858 (FPE_FLTUND): Likewise.
5859 (FPE_FLTRES): Likewise.
5860 (FPE_FLTINV): Likewise.
5861 (FPE_FLTSUB): Likewise.
5862 (SEGV_MAPERR): Likewise.
5863 (SEGV_ACCERR): Likewise.
5864 (BUS_ADRALN): Likewise.
5865 (BUS_ADRERR): Likewise.
5866 (BUS_OBJERR): Likewise.
5867 (BUS_MCEERR_AR): Likewise.
5868 (BUS_MCEERR_AO): Likewise.
5869 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5870 (TRAP_TRACE): Likewise.
5871 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5873 (CLD_KILLED): Likewise.
5874 (CLD_DUMPED): Likewise.
5875 (CLD_TRAPPED): Likewise.
5876 (CLD_STOPPED): Likewise.
5877 (CLD_CONTINUED): Likewise.
5878 (POLL_IN): Likewise.
5879 (POLL_OUT): Likewise.
5880 (POLL_MSG): Likewise.
5881 (POLL_ERR): Likewise.
5882 (POLL_PRI): Likewise.
5883 (POLL_HUP): Likewise.
5884 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5886 (ILL_ILLOPN): Likewise.
5887 (ILL_ILLADR): Likewise.
5888 (ILL_ILLTRP): Likewise.
5889 (ILL_PRVOPC): Likewise.
5890 (ILL_PRVREG): Likewise.
5891 (ILL_COPROC): Likewise.
5892 (ILL_BADSTK): Likewise.
5893 (ILL_BADIADDR): Likewise.
5894 (ILL_BREAK): Likewise.
5895 (FPE_INTDIV): Likewise.
5896 (FPE_INTOVF): Likewise.
5897 (FPE_FLTDIV): Likewise.
5898 (FPE_FLTOVF): Likewise.
5899 (FPE_FLTUND): Likewise.
5900 (FPE_FLTRES): Likewise.
5901 (FPE_FLTINV): Likewise.
5902 (FPE_FLTSUB): Likewise.
5903 (FPE_DECOVF): Likewise.
5904 (FPE_DECDIV): Likewise.
5905 (FPE_DECERR): Likewise.
5906 (FPE_INVASC): Likewise.
5907 (FPE_INVDEC): Likewise.
5908 (SEGV_MAPERR): Likewise.
5909 (SEGV_ACCERR): Likewise.
5910 (SEGV_PSTKOVF): Likewise.
5911 (BUS_ADRALN): Likewise.
5912 (BUS_ADRERR): Likewise.
5913 (BUS_OBJERR): Likewise.
5914 (BUS_MCEERR_AR): Likewise.
5915 (BUS_MCEERR_AO): Likewise.
5916 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5917 (TRAP_TRACE): Likewise.
5918 (TRAP_BRANCH): Likewise.
5919 (TRAP_HWBKPT): Likewise.
5920 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5922 (CLD_KILLED): Likewise.
5923 (CLD_DUMPED): Likewise.
5924 (CLD_TRAPPED): Likewise.
5925 (CLD_STOPPED): Likewise.
5926 (CLD_CONTINUED): Likewise.
5927 (POLL_IN): Likewise.
5928 (POLL_OUT): Likewise.
5929 (POLL_MSG): Likewise.
5930 (POLL_ERR): Likewise.
5931 (POLL_PRI): Likewise.
5932 (POLL_HUP): Likewise.
5933 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5934 (ILL_ILLOPN): Likewise.
5935 (ILL_ILLADR): Likewise.
5936 (ILL_ILLTRP): Likewise.
5937 (ILL_PRVOPC): Likewise.
5938 (ILL_PRVREG): Likewise.
5939 (ILL_COPROC): Likewise.
5940 (ILL_BADSTK): Likewise.
5941 (FPE_INTDIV): Likewise.
5942 (FPE_INTOVF): Likewise.
5943 (FPE_FLTDIV): Likewise.
5944 (FPE_FLTOVF): Likewise.
5945 (FPE_FLTUND): Likewise.
5946 (FPE_FLTRES): Likewise.
5947 (FPE_FLTINV): Likewise.
5948 (FPE_FLTSUB): Likewise.
5949 (SEGV_MAPERR): Likewise.
5950 (SEGV_ACCERR): Likewise.
5951 (BUS_ADRALN): Likewise.
5952 (BUS_ADRERR): Likewise.
5953 (BUS_OBJERR): Likewise.
5954 (BUS_MCEERR_AR): Likewise.
5955 (BUS_MCEERR_AO): Likewise.
5956 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5957 (TRAP_TRACE): Likewise.
5958 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5960 (CLD_KILLED): Likewise.
5961 (CLD_DUMPED): Likewise.
5962 (CLD_TRAPPED): Likewise.
5963 (CLD_STOPPED): Likewise.
5964 (CLD_CONTINUED): Likewise.
5965 (POLL_IN): Likewise.
5966 (POLL_OUT): Likewise.
5967 (POLL_MSG): Likewise.
5968 (POLL_ERR): Likewise.
5969 (POLL_PRI): Likewise.
5970 (POLL_HUP): Likewise.
5971 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5972 (ILL_ILLOPN): Likewise.
5973 (ILL_ILLADR): Likewise.
5974 (ILL_ILLTRP): Likewise.
5975 (ILL_PRVOPC): Likewise.
5976 (ILL_PRVREG): Likewise.
5977 (ILL_COPROC): Likewise.
5978 (ILL_BADSTK): Likewise.
5979 (FPE_INTDIV): Likewise.
5980 (FPE_INTOVF): Likewise.
5981 (FPE_FLTDIV): Likewise.
5982 (FPE_FLTOVF): Likewise.
5983 (FPE_FLTUND): Likewise.
5984 (FPE_FLTRES): Likewise.
5985 (FPE_FLTINV): Likewise.
5986 (FPE_FLTSUB): Likewise.
5987 (SEGV_MAPERR): Likewise.
5988 (SEGV_ACCERR): Likewise.
5989 (BUS_ADRALN): Likewise.
5990 (BUS_ADRERR): Likewise.
5991 (BUS_OBJERR): Likewise.
5992 (BUS_MCEERR_AR): Likewise.
5993 (BUS_MCEERR_AO): Likewise.
5994 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5995 (TRAP_TRACE): Likewise.
5996 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5998 (CLD_KILLED): Likewise.
5999 (CLD_DUMPED): Likewise.
6000 (CLD_TRAPPED): Likewise.
6001 (CLD_STOPPED): Likewise.
6002 (CLD_CONTINUED): Likewise.
6003 (POLL_IN): Likewise.
6004 (POLL_OUT): Likewise.
6005 (POLL_MSG): Likewise.
6006 (POLL_ERR): Likewise.
6007 (POLL_PRI): Likewise.
6008 (POLL_HUP): Likewise.
6009 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6010 (ILL_ILLOPN): Likewise.
6011 (ILL_ILLADR): Likewise.
6012 (ILL_ILLTRP): Likewise.
6013 (ILL_PRVOPC): Likewise.
6014 (ILL_PRVREG): Likewise.
6015 (ILL_COPROC): Likewise.
6016 (ILL_BADSTK): Likewise.
6017 (FPE_INTDIV): Likewise.
6018 (FPE_INTOVF): Likewise.
6019 (FPE_FLTDIV): Likewise.
6020 (FPE_FLTOVF): Likewise.
6021 (FPE_FLTUND): Likewise.
6022 (FPE_FLTRES): Likewise.
6023 (FPE_FLTINV): Likewise.
6024 (FPE_FLTSUB): Likewise.
6025 (SEGV_MAPERR): Likewise.
6026 (SEGV_ACCERR): Likewise.
6027 (BUS_ADRALN): Likewise.
6028 (BUS_ADRERR): Likewise.
6029 (BUS_OBJERR): Likewise.
6030 (BUS_MCEERR_AR): Likewise.
6031 (BUS_MCEERR_AO): Likewise.
6032 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6033 (TRAP_TRACE): Likewise.
6034 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6036 (CLD_KILLED): Likewise.
6037 (CLD_DUMPED): Likewise.
6038 (CLD_TRAPPED): Likewise.
6039 (CLD_STOPPED): Likewise.
6040 (CLD_CONTINUED): Likewise.
6041 (POLL_IN): Likewise.
6042 (POLL_OUT): Likewise.
6043 (POLL_MSG): Likewise.
6044 (POLL_ERR): Likewise.
6045 (POLL_PRI): Likewise.
6046 (POLL_HUP): Likewise.
6047 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6048 (ILL_ILLOPN): Likewise.
6049 (ILL_ILLADR): Likewise.
6050 (ILL_ILLTRP): Likewise.
6051 (ILL_PRVOPC): Likewise.
6052 (ILL_PRVREG): Likewise.
6053 (ILL_COPROC): Likewise.
6054 (ILL_BADSTK): Likewise.
6055 (ILL_DBLFLT): Likewise.
6056 (ILL_HARDWALL): Likewise.
6057 (FPE_INTDIV): Likewise.
6058 (FPE_INTOVF): Likewise.
6059 (FPE_FLTDIV): Likewise.
6060 (FPE_FLTOVF): Likewise.
6061 (FPE_FLTUND): Likewise.
6062 (FPE_FLTRES): Likewise.
6063 (FPE_FLTINV): Likewise.
6064 (FPE_FLTSUB): Likewise.
6065 (SEGV_MAPERR): Likewise.
6066 (SEGV_ACCERR): Likewise.
6067 (BUS_ADRALN): Likewise.
6068 (BUS_ADRERR): Likewise.
6069 (BUS_OBJERR): Likewise.
6070 (BUS_MCEERR_AR): Likewise.
6071 (BUS_MCEERR_AO): Likewise.
6072 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6073 (TRAP_TRACE): Likewise.
6074 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6076 (CLD_KILLED): Likewise.
6077 (CLD_DUMPED): Likewise.
6078 (CLD_TRAPPED): Likewise.
6079 (CLD_STOPPED): Likewise.
6080 (CLD_CONTINUED): Likewise.
6081 (POLL_IN): Likewise.
6082 (POLL_OUT): Likewise.
6083 (POLL_MSG): Likewise.
6084 (POLL_ERR): Likewise.
6085 (POLL_PRI): Likewise.
6086 (POLL_HUP): Likewise.
6087 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6088 (ILL_ILLOPN): Likewise.
6089 (ILL_ILLADR): Likewise.
6090 (ILL_ILLTRP): Likewise.
6091 (ILL_PRVOPC): Likewise.
6092 (ILL_PRVREG): Likewise.
6093 (ILL_COPROC): Likewise.
6094 (ILL_BADSTK): Likewise.
6095 (FPE_INTDIV): Likewise.
6096 (FPE_INTOVF): Likewise.
6097 (FPE_FLTDIV): Likewise.
6098 (FPE_FLTOVF): Likewise.
6099 (FPE_FLTUND): Likewise.
6100 (FPE_FLTRES): Likewise.
6101 (FPE_FLTINV): Likewise.
6102 (FPE_FLTSUB): Likewise.
6103 (SEGV_MAPERR): Likewise.
6104 (SEGV_ACCERR): Likewise.
6105 (BUS_ADRALN): Likewise.
6106 (BUS_ADRERR): Likewise.
6107 (BUS_OBJERR): Likewise.
6108 (BUS_MCEERR_AR): Likewise.
6109 (BUS_MCEERR_AO): Likewise.
6110 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6111 (TRAP_TRACE): Likewise.
6112 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6114 (CLD_KILLED): Likewise.
6115 (CLD_DUMPED): Likewise.
6116 (CLD_TRAPPED): Likewise.
6117 (CLD_STOPPED): Likewise.
6118 (CLD_CONTINUED): Likewise.
6119 (POLL_IN): Likewise.
6120 (POLL_OUT): Likewise.
6121 (POLL_MSG): Likewise.
6122 (POLL_ERR): Likewise.
6123 (POLL_PRI): Likewise.
6124 (POLL_HUP): Likewise.
6125 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6126 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6129 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6130 before #include of <time.h>.
6131 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6132 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6133 (test-xfail-UNIX98/sched.h/conform): Likewise.
6135 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6137 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6138 error absence of trapping exception support.
6139 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6141 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6143 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6144 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6145 * timezone/Makefile (testdata): Move definition above include of
6147 (test-zones): New variable.
6148 (tests-special): Add zone files.
6149 (build-testdata): Use $(evaluate-test).
6151 * elf/Makefile (tests-special): Rename tests to end with .out.
6152 ($(objpfx)noload-mem): Likewise.
6153 ($(objpfx)tst-leaks1-mem): Likewise.
6154 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6155 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6156 $(objpfx)test-iconvconfig.out.
6157 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6158 set -e inside subshell and redirect output to file.
6159 * iconvdata/Makefile (generated): Rename tests to end with .out.
6161 (tests-special): Rename tests to end with .out.
6162 ($(objpfx)mtrace-tst-loading): Likewise.
6163 * intl/Makefile (generated): Likewise.
6164 (tests-special): Likewise.
6165 ($(objpfx)mtrace-tst-gettext): Likewise.
6166 * misc/Makefile (generated): Likewise.
6167 (tests-special): Likewise.
6168 ($(objpfx)tst-error1-mem): Likewise.
6169 * nptl/Makefile (tests-special): Likewise.
6170 ($(objpfx)tst-stack3-mem): Likewise.
6171 (generated): Likewise.
6172 * posix/Makefile (generated): Likewise.
6173 (tests-special): Likewise.
6174 (xtests-special): Likewise.
6175 ($(objpfx)tst-fnmatch-mem): Likewise.
6176 ($(objpfx)bug-regex2-mem): Likewise.
6177 ($(objpfx)bug-regex14-mem): Likewise.
6178 ($(objpfx)bug-regex21-mem): Likewise.
6179 ($(objpfx)bug-regex31-mem): Likewise.
6180 ($(objpfx)tst-vfork3-mem): Likewise.
6181 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6182 ($(objpfx)tst-pcre-mem): Likewise.
6183 ($(objpfx)tst-boost-mem): Likewise.
6184 ($(objpfx)bug-ga2-mem): Likewise.
6185 ($(objpfx)bug-glob2-mem): Likewise.
6186 * resolv/Makefile (generate): Likewise.
6187 (tests-special): Likewise.
6188 (xtests-special): Likewise.
6189 (generated): Likewise.
6190 ($(objpfx)mtrace-tst-leaks): Likewise.
6191 ($(objpfx)mtrace-tst-leaks2): Likewise.
6193 * scripts/merge-test-results.sh: New file.
6194 * Makefile (tests-special-notdir): New variable.
6195 (tests): Run merge-test-results.sh.
6197 * Rules (tests-special-notdir): New variable.
6198 (xtests-special-notdir): Likewise.
6199 (tests): Run merge-test-results.sh
6202 * Makeconfig (test-xfail-name): New variable.
6203 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6204 compute variable name for expected failures.
6205 * conform/Makefile (conformtest-headers-data): New variable.
6206 (conformtest-standards): Likewise.
6207 (conformtest-headers-ISO): Likewise.
6208 (conformtest-headers-ISO99): Likewise.
6209 (conformtest-headers-ISO11): Likewise.
6210 (conformtest-headers-POSIX): Likewise.
6211 (conformtest-headers-XPG3): Likewise.
6212 (conformtest-headers-XPG4): Likewise.
6213 (conformtest-headers-UNIX98): Likewise.
6214 (conformtest-headers-XOPEN2K): Likewise.
6215 (conformtest-headers-POSIX2008): Likewise.
6216 (conformtest-headers-XOPEN2K8): Likewise.
6217 (conformtest-header-list-base): Likewise.
6218 (conformtest-header-list-tests): Likewise.
6219 (conformtest-header-base): Likewise.
6220 (conformtest-header-tests): Likewise.
6221 (tests-special): Add $(conformtest-header-list-tests). If
6222 [$(fast-check) && !$(cross-compiling)], add
6223 $(conformtest-header-tests) instead of
6224 $(objpfx)run-conformtest.out.
6225 (generated): Add $(conformtest-header-list-base). If
6226 [$(fast-check) && !$(cross-compiling)], add
6227 $(conformtest-header-base). Remove previous setting.
6228 ($(conformtest-header-list-tests)): New target.
6229 (test-xfail-run-conformtest): Remove variable.
6230 ($(objpfx)run-conformtest.out): Remove target.
6231 (test-xfail-ISO11/complex.h/conform): New variable.
6232 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6233 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6234 (test-xfail-XPG3/varargs.h/conform): Likewise.
6235 (test-xfail-XPG4/varargs.h/conform): Likewise.
6236 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6237 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6238 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6239 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6240 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6241 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6242 (test-xfail-XPG3/ftw.h/conform): Likewise.
6243 (test-xfail-XPG3/grp.h/conform): Likewise.
6244 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6245 (test-xfail-XPG3/limits.h/conform): Likewise.
6246 (test-xfail-XPG3/pwd.h/conform): Likewise.
6247 (test-xfail-XPG3/search.h/conform): Likewise.
6248 (test-xfail-XPG3/signal.h/conform): Likewise.
6249 (test-xfail-XPG3/stdio.h/conform): Likewise.
6250 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6251 (test-xfail-XPG3/string.h/conform): Likewise.
6252 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6253 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6254 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6255 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6256 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6257 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6258 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6259 (test-xfail-XPG3/termios.h/conform): Likewise.
6260 (test-xfail-XPG3/time.h/conform): Likewise.
6261 (test-xfail-XPG3/unistd.h/conform): Likewise.
6262 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6263 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6264 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6265 (test-xfail-XPG4/netdb.h/conform): Likewise.
6266 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6267 (test-xfail-XPG4/signal.h/conform): Likewise.
6268 (test-xfail-XPG4/stdio.h/conform): Likewise.
6269 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6270 (test-xfail-XPG4/stropts.h/conform): Likewise.
6271 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6272 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6273 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6274 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6275 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6276 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6277 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6278 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6279 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6280 (test-xfail-XPG4/termios.h/conform): Likewise.
6281 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6282 (test-xfail-XPG4/unistd.h/conform): Likewise.
6283 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6284 (test-xfail-POSIX/sched.h/conform): Likewise.
6285 (test-xfail-POSIX/signal.h/conform): Likewise.
6286 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6287 (test-xfail-POSIX/tar.h/conform): Likewise.
6288 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6289 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6290 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6291 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6292 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6293 (test-xfail-UNIX98/sched.h/conform): Likewise.
6294 (test-xfail-UNIX98/signal.h/conform): Likewise.
6295 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6296 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6297 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6298 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6299 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6300 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6301 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6302 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6303 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6304 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6305 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6306 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6307 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6308 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6309 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6310 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6311 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6312 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6313 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6314 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6315 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6316 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6317 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6318 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6319 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6320 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6321 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6322 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6323 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6324 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6325 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6326 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6327 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6328 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6329 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6330 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6331 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6332 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6333 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6334 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6335 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6336 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6337 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6338 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6339 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6340 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6341 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6342 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6343 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6344 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6345 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6346 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6347 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6348 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6349 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6350 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6351 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6352 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6353 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6354 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6355 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6356 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6357 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6358 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6359 (conformtest-cc-flags): Likewise.
6360 ($(conformtest-header-tests): New target.
6361 * conform/check-header-lists.sh: New file.
6362 * conform/run-conformtest.sh: Remove.
6364 * conform/conformtest.pl: Allow ' and \ in values given for
6366 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6368 [POSIX] (sys/types.h): Likewise.
6369 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6371 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6373 * conform/data/signal.h-data (SIGIO): Remove expectation.
6374 [XPG3] (SIGBUS): Do not expect.
6375 [POSIX || XPG3] (SIGPOLL): Likewise.
6376 [POSIX || XPG3] (SIGPROF): Likewise.
6377 [POSIX || XPG3] (SIGSYS): Likewise.
6378 [XPG3] (SIGTRAP): Likewise.
6379 [POSIX || XPG3] (SIGURG): Likewise.
6380 [POSIX || XPG3] (SIGVTALRM): Likewise.
6381 [POSIX || XPG3] (SIGXCPU): Likewise.
6382 [POSIX || XPG3] (SIGXFSZ): Likewise.
6383 [POSIX] (SA_SIGINFO): Expect.
6384 [XPG3] (siginfo_t): Do not expect type or contents.
6385 [POSIX] (si_pid): Do not expect element.
6386 [POSIX] (si_uid): Likewise.
6387 [POSIX] (si_addr): Likewise.
6388 [POSIX] (si_status): Likewise.
6389 [POSIX] (si_band): Likewise.
6390 [XPG4] (si_value): Likewise.
6391 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6392 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6393 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6394 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6395 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6396 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6397 [POSIX || XPG3] (ILL_COPROC): Likewise.
6398 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6399 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6400 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6401 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6402 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6403 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6404 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6405 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6406 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6407 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6408 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6409 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6410 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6411 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6412 [POSIX || XPG3] (CLD_EXITED): Likewise.
6413 [POSIX || XPG3] (CLD_KILLED): Likewise.
6414 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6415 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6416 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6417 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6418 [POSIX || XPG3] (POLL_IN): Likewise.
6419 [POSIX || XPG3] (POLL_OUT): Likewise.
6420 [POSIX || XPG3] (POLL_MSG): Likewise.
6421 [POSIX || XPG3] (POLL_ERR): Likewise.
6422 [POSIX || XPG3] (POLL_PRI): Likewise.
6423 [POSIX || XPG3] (POLL_HUP): Likewise.
6424 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6425 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6426 (SIG*): Do not allow.
6427 [XPG3] (si_*): Likewise.
6428 [XPG3] (SI_*): Likewise.
6429 [XPG3 || XPG4] (sigev_*): Likewise.
6430 [XPG3 || XPG4] (SIGEV_*): Likewise.
6431 [XPG3 || XPG4] (sival_*): Likewise.
6432 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6433 [POSIX || XPG3] (BUS_*): Likewise.
6434 [POSIX || XPG3] (CLD_*): Likewise.
6435 [POSIX || XPG3] (FPE_*): Likewise.
6436 [POSIX || XPG3] (ILL_*): Likewise.
6437 [POSIX || XPG3] (POLL_*): Likewise.
6438 [POSIX || XPG3] (SEGV_*): Likewise.
6439 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6440 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6441 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6442 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6443 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6444 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6445 Specify type and value.
6446 (TVERSLEN): Likewise.
6447 (REGTYPE): Likewise.
6448 (AREGTYPE): Likewise.
6449 (LNKTYPE): Likewise.
6450 (SYMTYPE): Likewise.
6451 (CHRTYPE): Likewise.
6452 (BLKTYPE): Likewise.
6453 (DIRTYPE): Likewise.
6454 (FIFOTYPE): Likewise.
6455 (CONTTYPE): Likewise.
6460 (TUWRITE): Likewise.
6463 (TGWRITE): Likewise.
6466 (TOWRITE): Likewise.
6468 [POSIX] (TSVTX): Expect constant.
6470 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6472 * Makefile (tests): Change dependencies to ....
6473 (tests-special): ... additions to this variable.
6474 (tests): Depend on $(tests-special).
6475 * Makerules (check-abi-list): New variable.
6476 (check-abi): Depend on $(check-abi-list).
6477 [$(subdir) = elf] (tests-special): Add
6478 $(objpfx)check-abi-libc.out.
6479 [$(build-shared) = yes && subdir] (tests-special): Add
6481 [$(build-shared) = yes && subdir] (tests): Do not depend on
6483 * Rules (tests): Depend on $(tests-special).
6484 (xtests): Depend on $(xtests-special).
6485 * catgets/Makefile (tests): Change dependencies to ....
6486 (tests-special): ... additions to this variable.
6487 * conform/Makefile (tests): Change dependencies to ....
6488 (tests-special): ... additions to this variable.
6489 * elf/Makefile (tests): Change dependencies to ....
6490 (tests-special): ... additions to this variable.
6491 * grp/Makefile (tests): Change dependencies to ....
6492 (tests-special): ... additions to this variable.
6493 * iconv/Makefile (xtests): Change dependencies to ....
6494 (xtests-special): ... additions to this variable.
6495 * iconvdata/Makefile (tests): Change dependencies to ....
6496 (tests-special): ... additions to this variable.
6497 * intl/Makefile (tests): Change dependencies to ....
6498 (tests-special): ... additions to this variable. Also add
6499 $(objpfx)tst-gettext.out.
6500 * io/Makefile (tests): Change dependencies to ....
6501 (tests-special): ... additions to this variable.
6502 * libio/Makefile (tests): Change dependencies to ....
6503 (tests-special): ... additions to this variable.
6504 * malloc/Makefile (tests): Change dependencies to ....
6505 (tests-special): ... additions to this variable.
6506 * misc/Makefile (tests): Change dependencies to ....
6507 (tests-special): ... additions to this variable.
6508 * nptl/Makefile (tests): Change dependencies to ....
6509 (tests-special): ... additions to this variable.
6510 * nptl_db/Makefile (tests): Change dependencies to ....
6511 (tests-special): ... additions to this variable.
6512 * posix/Makefile (tests): Change dependencies to ....
6513 (tests-special): ... additions to this variable.
6514 (xtests): Change dependencies to ....
6515 (xtests-special): ... additions to this variable.
6516 * resolv/Makefile (tests): Change dependencies to ....
6517 (tests-special): ... additions to this variable.
6518 (xtests): Change dependencies to ....
6519 (xtests-special): ... additions to this variable.
6520 * stdio-common/Makefile (tests): Change dependencies to ....
6521 (tests-special): ... additions to this variable.
6522 (do-tst-unbputc): Remove target.
6523 (do-tst-printf): Likewise.
6524 * stdlib/Makefile (tests): Change dependencies to ....
6525 (tests-special): ... additions to this variable.
6526 * string/Makefile (tests): Change dependencies to ....
6527 (tests-special): ... additions to this variable.
6528 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6529 (tests-special): ... additions to this variable.
6531 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6533 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6535 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6536 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6538 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6539 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6540 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6541 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6542 * conform/data/libgen.h-data [XPG3]: Likewise.
6543 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6544 * conform/data/ndbm.h-data [XPG3]: Likewise.
6545 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6546 * conform/data/netdb.h-data [XPG3]: Likewise.
6547 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6548 * conform/data/poll.h-data [XPG3]: Likewise.
6549 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6550 * conform/data/strings.h-data [XPG3]: Likewise.
6551 * conform/data/stropts.h-data [XPG3]: Likewise.
6552 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6553 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6554 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6556 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6557 * conform/data/sys/time.h-data [XPG3]: Likewise.
6558 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6559 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6560 * conform/data/sys/un.h-data [XPG3]: Likewise.
6561 * conform/data/syslog.h-data [XPG3]: Likewise.
6562 * conform/data/ucontext.h-data [XPG3]: Likewise.
6563 * conform/data/utmpx.h-data [XPG3]: Likewise.
6564 * conform/data/varargs.h-data [UNIX98]: Enable file.
6566 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6568 * math/libm-test.inc (struct test_f_f_data): Move expected results
6569 into structure for each rounding mode.
6570 (struct test_ff_f_data): Likewise.
6571 (struct test_ff_f_data_nexttoward): Likewise.
6572 (struct test_fi_f_data): Likewise.
6573 (struct test_fl_f_data): Likewise.
6574 (struct test_if_f_data): Likewise.
6575 (struct test_fff_f_data): Likewise.
6576 (struct test_c_f_data): Likewise.
6577 (struct test_f_f1_data): Likewise.
6578 (struct test_fF_f1_data): Likewise.
6579 (struct test_ffI_f1_data): Likewise.
6580 (struct test_c_c_data): Likewise.
6581 (struct test_cc_c_data): Likewise.
6582 (struct test_f_i_data): Likewise.
6583 (struct test_ff_i_data): Likewise.
6584 (struct test_f_l_data): Likewise.
6585 (struct test_f_L_data): Likewise.
6586 (struct test_fFF_11_data): Likewise.
6588 (RM_FE_DOWNWARD): Likewise.
6589 (RM_FE_TONEAREST): Likewise.
6590 (RM_FE_TOWARDZERO): Likewise.
6591 (RM_FE_UPWARD): Likewise.
6592 (RUN_TEST_LOOP_f_f): Update references to expected results.
6593 (RUN_TEST_LOOP_2_f): Likewise.
6594 (RUN_TEST_LOOP_fff_f): Likewise.
6595 (RUN_TEST_LOOP_c_f): Likewise.
6596 (RUN_TEST_LOOP_f_f1): Likewise.
6597 (RUN_TEST_LOOP_fF_f1): Likewise.
6598 (RUN_TEST_LOOP_fI_f1): Likewise.
6599 (RUN_TEST_LOOP_ffI_f1): Likewise.
6600 (RUN_TEST_LOOP_c_c): Likewise.
6601 (RUN_TEST_LOOP_cc_c): Likewise.
6602 (RUN_TEST_LOOP_f_i): Likewise.
6603 (RUN_TEST_LOOP_f_i_tg): Likewise.
6604 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6605 (RUN_TEST_LOOP_f_b): Likewise.
6606 (RUN_TEST_LOOP_f_b_tg): Likewise.
6607 (RUN_TEST_LOOP_f_l): Likewise.
6608 (RUN_TEST_LOOP_f_L): Likewise.
6609 (RUN_TEST_LOOP_fFF_11): Likewise.
6610 * math/gen-libm-test.pl (parse_args): Output four copies of
6611 expected results for each test.
6613 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6614 (__ASSUME_UTIMES): Remove.
6615 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6616 (__ASSUME_UTIMES): Likewise.
6618 * math/gen-auto-libm-tests.c: Update comment on output format.
6619 (output_for_one_input_case): Generate before-rounding and
6620 after-rounding information as conditions on output flags not
6621 floating-point format.
6622 * math/auto-libm-test-out: Regenerated.
6623 * math/gen-libm-test.pl (cond_value): New function.
6624 (or_cond_value): Use cond_value.
6625 (generate_testfile): Handle conditional exceptions.
6627 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6629 * math/libm-test.inc (max_valid_error): New variable.
6630 (init_max_error): Take new argument specifying whether function
6631 results are exactly determined. Set max_valid_error and bound
6632 other variables for errors based on this argument.
6633 (set_max_error): Do not record results above max_valid_error.
6634 (check_float_internal): Only accept errors of up to 0.5ulps if
6635 also at most max_valid_error.
6636 (START): Take new argument EXACT and pass it to init_max_error.
6637 (acos_test): Update call to START.
6638 (acos_test_tonearest): Likewise.
6639 (acos_test_towardzero): Likewise.
6640 (acos_test_downward): Likewise.
6641 (acos_test_upward): Likewise.
6642 (acosh_test): Likewise.
6643 (asin_test): Likewise.
6644 (asin_test_tonearest): Likewise.
6645 (asin_test_towardzero): Likewise.
6646 (asin_test_downward): Likewise.
6647 (asin_test_upward): Likewise.
6648 (asinh_test): Likewise.
6649 (atan_test): Likewise.
6650 (atanh_test): Likewise.
6651 (atan2_test): Likewise.
6652 (cabs_test): Likewise.
6653 (cacos_test): Likewise.
6654 (cacosh_test): Likewise.
6655 (carg_test): Likewise.
6656 (casin_test): Likewise.
6657 (casinh_test): Likewise.
6658 (catan_test): Likewise.
6659 (catanh_test): Likewise.
6660 (cbrt_test): Likewise.
6661 (ccos_test): Likewise.
6662 (ccosh_test): Likewise.
6663 (ceil_test): Likewise.
6664 (cexp_test): Likewise.
6665 (cimag_test): Likewise.
6666 (clog_test): Likewise.
6667 (clog10_test): Likewise.
6668 (conj_test): Likewise.
6669 (copysign_test): Likewise.
6670 (cos_test): Likewise.
6671 (cos_test_tonearest): Likewise.
6672 (cos_test_towardzero): Likewise.
6673 (cos_test_downward): Likewise.
6674 (cos_test_upward): Likewise.
6675 (cosh_test): Likewise.
6676 (cosh_test_tonearest): Likewise.
6677 (cosh_test_towardzero): Likewise.
6678 (cosh_test_downward): Likewise.
6679 (cosh_test_upward): Likewise.
6680 (cpow_test): Likewise.
6681 (cproj_test): Likewise.
6682 (creal_test): Likewise.
6683 (csin_test): Likewise.
6684 (csinh_test): Likewise.
6685 (csqrt_test): Likewise.
6686 (ctan_test): Likewise.
6687 (ctan_test_tonearest): Likewise.
6688 (ctan_test_towardzero): Likewise.
6689 (ctan_test_downward): Likewise.
6690 (ctan_test_upward): Likewise.
6691 (ctanh_test): Likewise.
6692 (ctanh_test_tonearest): Likewise.
6693 (ctanh_test_towardzero): Likewise.
6694 (ctanh_test_downward): Likewise.
6695 (ctanh_test_upward): Likewise.
6696 (erf_test): Likewise.
6697 (erfc_test): Likewise.
6698 (exp_test): Likewise.
6699 (exp_test_tonearest): Likewise.
6700 (exp_test_towardzero): Likewise.
6701 (exp_test_downward): Likewise.
6702 (exp_test_upward): Likewise.
6703 (exp10_test): Likewise.
6704 (exp10_test_tonearest): Likewise.
6705 (exp10_test_towardzero): Likewise.
6706 (exp10_test_downward): Likewise.
6707 (exp10_test_upward): Likewise.
6708 (pow10_test): Likewise.
6709 (exp2_test): Likewise.
6710 (expm1_test): Likewise.
6711 (expm1_test_tonearest): Likewise.
6712 (expm1_test_towardzero): Likewise.
6713 (expm1_test_downward): Likewise.
6714 (expm1_test_upward): Likewise.
6715 (fabs_test): Likewise.
6716 (fdim_test): Likewise.
6717 (floor_test): Likewise.
6718 (fma_test): Likewise.
6719 (fma_test_towardzero): Likewise.
6720 (fma_test_downward): Likewise.
6721 (fma_test_upward): Likewise.
6722 (fmax_test): Likewise.
6723 (fmin_test): Likewise.
6724 (fmod_test): Likewise.
6725 (fpclassify_test): Likewise.
6726 (frexp_test): Likewise.
6727 (hypot_test): Likewise.
6728 (ilogb_test): Likewise.
6729 (isfinite_test): Likewise.
6730 (finite_test): Likewise.
6731 (isgreater_test): Likewise.
6732 (isgreaterequal_test): Likewise.
6733 (isinf_test): Likewise.
6734 (isless_test): Likewise.
6735 (islessequal_test): Likewise.
6736 (islessgreater_test): Likewise.
6737 (isnan_test): Likewise.
6738 (isnormal_test): Likewise.
6739 (issignaling_test): Likewise.
6740 (isunordered_test): Likewise.
6741 (j0_test): Likewise.
6742 (j1_test): Likewise.
6743 (jn_test): Likewise.
6744 (ldexp_test): Likewise.
6745 (lgamma_test): Likewise.
6746 (gamma_test): Likewise.
6747 (lrint_test): Likewise.
6748 (lrint_test_tonearest): Likewise.
6749 (lrint_test_towardzero): Likewise.
6750 (lrint_test_downward): Likewise.
6751 (lrint_test_upward): Likewise.
6752 (llrint_test): Likewise.
6753 (llrint_test_tonearest): Likewise.
6754 (llrint_test_towardzero): Likewise.
6755 (llrint_test_downward): Likewise.
6756 (llrint_test_upward): Likewise.
6757 (log_test): Likewise.
6758 (log10_test): Likewise.
6759 (log1p_test): Likewise.
6760 (log2_test): Likewise.
6761 (logb_test): Likewise.
6762 (logb_test_downward): Likewise.
6763 (lround_test): Likewise.
6764 (llround_test): Likewise.
6765 (modf_test): Likewise.
6766 (nearbyint_test): Likewise.
6767 (nextafter_test): Likewise.
6768 (nexttoward_test): Likewise.
6769 (pow_test): Likewise.
6770 (pow_test_tonearest): Likewise.
6771 (pow_test_towardzero): Likewise.
6772 (pow_test_downward): Likewise.
6773 (pow_test_upward): Likewise.
6774 (remainder_test): Likewise.
6775 (drem_test): Likewise.
6776 (remainder_test_tonearest): Likewise.
6777 (drem_test_tonearest): Likewise.
6778 (remainder_test_towardzero): Likewise.
6779 (drem_test_towardzero): Likewise.
6780 (remainder_test_downward): Likewise.
6781 (drem_test_downward): Likewise.
6782 (remainder_test_upward): Likewise.
6783 (drem_test_upward): Likewise.
6784 (remquo_test): Likewise.
6785 (rint_test): Likewise.
6786 (rint_test_tonearest): Likewise.
6787 (rint_test_towardzero): Likewise.
6788 (rint_test_downward): Likewise.
6789 (rint_test_upward): Likewise.
6790 (round_test): Likewise.
6791 (scalb_test): Likewise.
6792 (scalbn_test): Likewise.
6793 (scalbln_test): Likewise.
6794 (signbit_test): Likewise.
6795 (sin_test): Likewise.
6796 (sin_test_tonearest): Likewise.
6797 (sin_test_towardzero): Likewise.
6798 (sin_test_downward): Likewise.
6799 (sin_test_upward): Likewise.
6800 (sincos_test): Likewise.
6801 (sinh_test): Likewise.
6802 (sinh_test_tonearest): Likewise.
6803 (sinh_test_towardzero): Likewise.
6804 (sinh_test_downward): Likewise.
6805 (sinh_test_upward): Likewise.
6806 (sqrt_test): Likewise.
6807 (sqrt_test_tonearest): Likewise.
6808 (sqrt_test_towardzero): Likewise.
6809 (sqrt_test_downward): Likewise.
6810 (sqrt_test_upward): Likewise.
6811 (tan_test): Likewise.
6812 (tan_test_tonearest): Likewise.
6813 (tan_test_towardzero): Likewise.
6814 (tan_test_downward): Likewise.
6815 (tan_test_upward): Likewise.
6816 (tanh_test): Likewise.
6817 (tgamma_test): Likewise.
6818 (trunc_test): Likewise.
6819 (y0_test): Likewise.
6820 (y1_test): Likewise.
6821 (yn_test): Likewise.
6822 (significand_test): Likewise.
6824 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6825 individual tests in comment.
6826 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6827 (prev_max_error): New variable.
6828 (prev_real_max_error): Likewise.
6829 (prev_imag_max_error): Likewise.
6830 (compare_ulp_data): Don't refer to test names in comment.
6831 (find_test_ulps): Remove function.
6832 (find_function_ulps): Likewise.
6833 (find_complex_function_ulps): Likewise.
6834 (init_max_error): Take function name as argument. Look up ulps
6836 (print_ulps): Remove function.
6837 (print_max_error): Use prev_max_error instead of calling
6839 (print_complex_max_error): Use prev_real_max_error and
6840 prev_imag_max_error instead of calling find_complex_function_ulps.
6841 (check_float_internal): Take max_ulp parameter instead of calling
6842 find_test_ulps. Don't call print_ulps.
6843 (check_float): Update call to check_float_internal.
6844 (check_complex): Update calls to check_float_internal.
6845 (START): Pass argument to init_max_error.
6846 * math/gen-libm-test.pl (%results): Don't include "kind"
6848 (parse_ulps): Don't handle ulps of individual tests.
6849 (print_ulps_file): Likewise.
6850 (output_ulps): Likewise.
6851 * math/README.libm-test: Update.
6852 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6854 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6855 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6856 * sysdeps/arm/libm-test-ulps: Likewise.
6857 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6858 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6859 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6860 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6861 * sysdeps/microblaze/libm-test-ulps: Likewise.
6862 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6863 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6864 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6865 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6866 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6867 * sysdeps/sh/libm-test-ulps: Likewise.
6868 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6869 * sysdeps/tile/libm-test-ulps: Likewise.
6870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6872 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6874 * math/libm-test.inc (print_complex_max_error): Check separately
6875 whether real and imaginary errors are within allowed range and
6876 pass 0 to print_complex_function_ulps instead of value within
6879 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6881 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6883 (get_handles_fopen): Likewise.
6884 (do_write_test): Likewise.
6886 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6888 * libio/fileops.c (do_ftell): Use cached offset when
6890 * libio/iofwide.c (do_ftell_wide): Likewise.
6891 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6893 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6896 * libio/libioP.h (get_file_offset): New function.
6897 * libio/fileops.c (get_file_offset): Likewise.
6898 (do_ftell): Likewise.
6899 (_IO_new_file_seekoff): Split out ftell logic.
6900 * libio/wfileops.c (do_ftell_wide): Likewise.
6901 (_IO_wfile_seekoff): Split out ftell logic.
6902 * libio/tst-ftell-active-handler.c: New test case.
6903 * libio/Makefile (tests): Add it.
6905 2014-03-03 Roland McGrath <roland@hack.frob.com>
6907 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6908 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6910 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6913 * nscd/connections.c (nscd_init): Call do_exit.
6914 (start_threads): Call do_exit and notify_parent.
6915 (begin_drop_privileges): Call do_exit.
6916 (finish_drop_privileges): Likewise.
6917 * nscd/selinux.c (preserve_capabilities): Likewise.
6918 (install_real_capabilities): Likewise.
6919 (nscd_selinux_enabled): Likewise.
6920 (avc_create_thread): Likewise.
6921 (avc_alloc_lock): Likewise.
6922 (nscd_avc_init): Likewise.
6923 * nscd/nscd.c (parent_fd): New static variable.
6924 (main): Create a pipe between parent and child processes.
6925 Skip closing parent_fd.
6926 (monitor_child): New function.
6927 (do_exit): Likewise.
6928 (notify_parent): Likewise.
6929 * nscd/nscd.h (notify_parent): Likewise.
6930 (do_exit): Likewise.
6932 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6934 * malloc/malloc.c (__libc_calloc): Revert last change.
6936 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6940 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6942 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6946 (__libc_ifunc_impl_list): Likewise.
6947 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6948 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6949 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6950 * string/strrchr.c: Define STRRCHR.
6952 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6954 * benchtest/bench-strtok.c (simple_strtok): Delete.
6955 (strtok_string): Use as benchmark.
6956 * string/strtok (STRTOK): New macro.
6958 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6960 * manual/threads.texi: Add header and standard comments to all
6963 * elf/dl-lookup.c (check_match): New function.
6964 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6965 (do_lookup_x): Remove nested function check_match. Use non-nested
6966 function check_match.
6968 2014-02-28 Roland McGrath <roland@hack.frob.com>
6970 * csu/Makefile (generated, before-compile): Use += rather than =.
6971 * catgets/Makefile (generated, generated-dirs): Likewise.
6972 * debug/Makefile (generated): Likewise.
6973 * dlfcn/Makefile (generated): Likewise.
6974 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6975 * iconvdata/Makefile (before-compile, generated): Likewise.
6976 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6977 * libio/Makefile (generated): Likewise.
6978 * malloc/Makefile (generated): Likewise.
6979 * manual/Makefile (generated, generated-dirs): Likewise.
6980 * misc/Makefile (generated): Likewise.
6981 * posix/Makefile (generated): Likewise.
6982 * resolv/Makefile (generated): Likewise.
6983 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6984 * timezone/Makefile (generated, generated-dirs): Likewise.
6986 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6988 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6991 power8 implementation.
6992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6993 file: POWER8 llround ifunc implementation.
6994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6995 (__lllround): Add POWER8 implementation.
6996 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6997 POWER8 llround implementation.
6999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7000 power8 implementation.
7001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7002 file: POWER8 llrint ifunc implementation.
7003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7004 Add POWER8 implementation.
7005 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7006 POWER8 llrint implementation.
7008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7009 power8 implementation.
7010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7011 file: POWER8 finite ifunc implementation.
7012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7013 Add POWER8 implementation.
7014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7016 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7017 POWER8 finite implementation.
7018 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7021 power8 implementation.
7022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7023 file: POWER8 isinf ifunc implementation.
7024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7025 POWER8 implementation.
7026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7028 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7029 isinf implementation.
7030 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7033 (INIT_ARCH): Add hwcap2 initialization.
7034 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7035 power8 implementation.
7036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7037 file: POWER8 isnan ifunc implementation.
7038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7039 POWER8 implementation.
7040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7042 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7043 isnan implementation.
7044 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7046 2014-02-27 Joey Ye <joey.ye@arm.com>
7048 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7049 (_FP_NANFRAC_Q): Set to zero.
7051 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7054 * math/auto-libm-test-in: New test inputs.
7055 * math/auto-libm-test-out: Regenerate.
7056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7059 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7061 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7063 * scripts/evaluate-test.sh: Take new argument indicating whether
7064 failure is expected.
7065 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7066 indicating whether failure is expected.
7067 * conform/Makefile (test-xfail-run-conformtest): New variable.
7068 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7070 * posix/Makefile (test-xfail-annexc): New variable.
7071 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7073 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7075 * argp/Makefile: Include Makeconfig immediately after defining
7077 * assert/Makefile: Likewise.
7078 * benchtests/Makefile: Likewise.
7079 * catgets/Makefile: Likewise.
7080 * conform/Makefile: Likewise.
7081 * crypt/Makefile: Likewise.
7082 * csu/Makefile: Likewise.
7083 (all): Remove target.
7084 * ctype/Makefile: Include Makeconfig immediately after defining
7086 * debug/Makefile: Likewise.
7087 * dirent/Makefile: Likewise.
7088 * dlfcn/Makefile: Likewise.
7089 * gmon/Makefile: Likewise.
7090 * gnulib/Makefile: Likewise.
7091 * grp/Makefile: Likewise.
7092 * gshadow/Makefile: Likewise.
7093 * hesiod/Makefile: Likewise.
7094 * hurd/Makefile: Likewise.
7095 (all): Remove target.
7096 * iconvdata/Makefile: Include Makeconfig immediately after
7098 * inet/Makefile: Likewise.
7099 * intl/Makefile: Likewise.
7100 * io/Makefile: Likewise.
7101 * libio/Makefile: Likewise.
7102 (all): Remove target.
7103 * locale/Makefile: Include Makeconfig immediately after defining
7105 * login/Makefile: Likewise.
7106 * mach/Makefile: Likewise.
7107 (all): Remove target.
7108 * malloc/Makefile: Include Makeconfig immediately after defining
7110 (all): Remove target.
7111 * manual/Makefile: Include Makeconfig immediately after defining
7113 * math/Makefile: Likewise.
7114 * misc/Makefile: Likewise.
7115 * nis/Makefile: Likewise.
7116 * nss/Makefile: Likewise.
7117 * po/Makefile: Likewise.
7118 (all): Remove target.
7119 * posix/Makefile: Include Makeconfig immediately after defining
7121 * pwd/Makefile: Likewise.
7122 * resolv/Makefile: Likewise.
7123 * resource/Makefile: Likewise.
7124 * rt/Makefile: Likewise.
7125 * setjmp/Makefile: Likewise.
7126 * shadow/Makefile: Likewise.
7127 * signal/Makefile: Likewise.
7128 * socket/Makefile: Likewise.
7129 * soft-fp/Makefile: Likewise.
7130 * stdio-common/Makefile: Likewise.
7131 * stdlib/Makefile: Likewise.
7132 * streams/Makefile: Likewise.
7133 * string/Makefile: Likewise.
7134 * sunrpc/Makefile: Likewise.
7135 (all): Remove target.
7136 * sysvipc/Makefile: Include Makeconfig immediately after defining
7138 * termios/Makefile: Likewise.
7139 * time/Makefile: Likewise.
7140 * timezone/Makefile: Likewise.
7141 (all): Remove target.
7142 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7144 * wctype/Makefile: Likewise.
7146 2014-02-26 Steve Ellcey <sellcey@mips.com>
7148 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7149 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7150 (libc_feholdexcept_setround_mips): Ditto.
7151 (libc_feholdsetround): New.
7152 (libc_feholdsetroundf): New.
7153 (libc_feholdsetroundl): New.
7154 (libc_feupdateenv_test_mips): New.
7155 (libc_feupdateenv_test): New.
7156 (libc_feupdateenv_testf): New.
7157 (libc_feupdateenv_testl): New.
7158 (libc_feresetround): New.
7159 (libc_feresetroundf): New.
7160 (libc_feresetroundl): New.
7161 (libc_fetestexcept_mips): New.
7162 (libc_fetestexcept): New.
7163 (libc_fetestexceptf): New.
7164 (libc_fetestexceptl): New.
7166 (libc_feholdexcept_setround_mips_ctx): New.
7167 (libc_feholdexcept_setround_ctx): New.
7168 (libc_feholdexcept_setroundf_ctx): New.
7169 (libc_feholdexcept_setroundl_ctx): New.
7170 (libc_fesetenv_mips_ctx): New.
7171 (libc_fesetenv_ctx): New.
7172 (libc_fesetenv_ctxf): New.
7173 (libc_fesetenv_ctxl): New.
7174 (libc_feupdateenv_mips_ctx): New.
7175 (libc_feupdateenv_ctx): New.
7176 (libc_feupdateenvf_ctx): New.
7177 (libc_feupdateenvl_ctx): New.
7178 (libc_feholdsetround_mips_ctx): New.
7179 (libc_feholdsetround_ctx): New.
7180 (libc_feholdsetroundf_ctx): New.
7181 (libc_feholdsetroundl_ctx): New.
7182 (libc_feresetround_mips_ctx): New.
7183 (libc_feresetround_ctx): New.
7184 (libc_feresetroundf_ctx): New.
7185 (libc_feresetroundl_ctx): New.
7187 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7189 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7191 * manual/ipc.texi: New file.
7192 * manual/Makefile (chapters): Add ipc.
7193 * manual/job.texi: Add "Inter-Process Communication" to next.
7194 * manual/process.texi: Add "Inter-Process Communication" to prev.
7196 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7200 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7202 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7204 * manual/arith.texi: Fix spaces after sentences.
7205 * manual/charset.texi: Likewise.
7206 * manual/errno.texi: Likewise.
7207 * manual/install.texi: Likewise.
7208 * manual/llio.texi: Likewise.
7209 * manual/locale.texi: Likewise.
7210 * manual/maint.texi: Likewise.
7211 * manual/math.texi: Likewise.
7212 * manual/memory.texi: Likewise.
7213 * manual/message.texi: Likewise.
7214 * manual/probes.texi: Likewise.
7215 * manual/resource.texi: Likewise.
7216 * manual/signal.texi: Likewise.
7217 * manual/socket.texi: Likewise.
7218 * manual/stdio.texi: Likewise.
7219 * manual/string.texi: Likewise.
7220 * manual/time.texi: Likewise.
7221 * manual/users.texi: Likewise.
7223 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7226 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7227 _DEFAULT_SOURCE is defined.
7229 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7230 Carlos O'Donell <carlos@redhat.com>
7233 * elf/dl-tls.c (_dl_count_modids): New function.
7234 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7235 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7236 audit library and increment generation counter.
7237 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7238 * elf/tst-audit9.c: New file.
7239 * elf/tst-auditmod9a.c: New file.
7240 * elf/tst-auditmod9b.c: New file.
7241 * elf/Makefile: Add rules to build and run tst-audit9.
7243 2014-02-25 Florian Weimer <fweimer@redhat.com>
7246 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7248 2014-02-25 Will Newton <will.newton@linaro.org>
7250 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7251 (__longjmp): Restore sp and lr before restoring callee
7252 saved registers. Add longjmp and longjmp_target
7253 SystemTap probe point.
7254 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7255 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7256 Define to zero to match jmpbuf layout.
7257 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7258 (__sigsetjmp): Save sp and lr before saving callee
7259 saved registers. Add setjmp SystemTap probe point.
7261 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7263 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7265 2014-02-24 Andreas Schwab <schwab@suse.de>
7268 * elf/pldd.c (wait_for_ptrace_stop): New function.
7269 (main): Call it after attaching.
7271 2014-02-22 Roland McGrath <roland@hack.frob.com>
7273 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7274 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7275 Versions files is now verboten.
7276 * hurd/Versions (libc: GLIBC_2.0):
7277 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7278 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7279 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7280 * mach/Versions: Likewise.
7282 * csu/Versions: Remove unused %include.
7283 * resolv/Versions: Likewise.
7285 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7287 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7288 ($(objpfx)check-local-headers.out): Likewise.
7289 ($(objpfx)begin-end-check.out): Likewise.
7290 * Makerules (check-abi-%.out): Likewise.
7291 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7292 ($(objpfx)test2.cat): Likewise.
7293 ($(objpfx)de/libc.cat): Likewise.
7294 ($(objpfx)test-gencat.out): Likewise.
7295 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7296 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7297 ($(objpfx)noload-mem): Likewise.
7298 ($(objpfx)tst-pathopt.out): Likewise.
7299 ($(objpfx)tst-rtld-load-self.out): Likewise.
7300 ($(objpfx)tst-array1-cmp.out): Likewise.
7301 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7302 ($(objpfx)tst-array2-cmp.out): Likewise.
7303 ($(objpfx)tst-array3-cmp.out): Likewise.
7304 ($(objpfx)tst-array4-cmp.out): Likewise.
7305 ($(objpfx)tst-array5-cmp.out): Likewise.
7306 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7307 ($(objpfx)check-textrel.out): Likewise.
7308 ($(objpfx)check-execstack.out): Likewise.
7309 ($(objpfx)check-localplt.out): Likewise.
7310 ($(objpfx)order2-cmp.out): Likewise.
7311 ($(objpfx)tst-leaks1-mem): Likewise.
7312 ($(objpfx)tst-leaks1-static-mem): Likewise.
7313 ($(objpfx)tst-initorder-cmp.out): Likewise.
7314 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7315 ($(objpfx)tst-unused-dep.out): Likewise.
7316 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7317 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7318 * iconv/Makefile (test-iconvconfig): Likewise.
7319 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7320 ($(objpfx)iconv-test.out): Likewise.
7321 ($(objpfx)tst-tables.out): Likewise.
7322 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7323 ($(objpfx)tst-gettext.out): Likewise.
7324 ($(objpfx)tst-translit.out): Likewise.
7325 ($(objpfx)tst-gettext2.out): Likewise.
7326 ($(objpfx)tst-gettext4.out): Likewise.
7327 ($(objpfx)tst-gettext6.out): Likewise.
7328 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7329 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7330 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7331 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7332 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7333 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7334 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7335 ($(objpfx)wordexp-tst.out): Likewise.
7336 ($(objpfx)annexc.out): Likewise.
7337 ($(objpfx)tst-fnmatch-mem): Likewise.
7338 ($(objpfx)bug-regex2-mem): Likewise.
7339 ($(objpfx)bug-regex14-mem): Likewise.
7340 ($(objpfx)bug-regex21-mem): Likewise.
7341 ($(objpfx)bug-regex31-mem): Likewise.
7342 ($(objpfx)tst-vfork3-mem): Likewise.
7343 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7344 ($(objpfx)tst-pcre-mem): Likewise.
7345 ($(objpfx)tst-boost-mem): Likewise.
7346 ($(objpfx)tst-getconf.out): Likewise.
7347 ($(objpfx)bug-ga2-mem): Likewise.
7348 ($(objpfx)bug-glob2-mem): Likewise.
7349 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7350 ($(objpfx)mtrace-tst-leaks2): Likewise.
7351 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7352 ($(objpfx)tst-printf.out): Likewise.
7353 ($(objpfx)tst-setvbuf1.out): Likewise.
7354 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7355 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7356 ($(objpfx)tst-fmtmsg.out): Likewise.
7357 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7358 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7360 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7361 * bits/sigaction.h [__USE_MISC]: Likewise.
7362 * bits/waitstatus.h: Update #endif comments.
7363 * ctype/ctype.h: Likewise.
7364 * dirent/dirent.h: Likewise.
7365 [__USE_MISC]: Remove redundant conditionals.
7366 * grp/grp.h: Update #endif comments.
7367 [__USE_GNU]: Remove redundant conditionals.
7368 [__USE_MISC]: Likewise.
7369 * inet/netinet/in.h [__USE_GNU]: Likewise.
7370 * io/sys/stat.h [__USE_MISC]: Likewise.
7371 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7372 * libio/bits/stdio.h: Update #endif comments.
7373 [__USE_MISC]: Remove redundant conditionals.
7374 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7375 * libio/stdio.h: Update #endif comments.
7376 [__USE_MISC]: Remove redundant conditionals.
7377 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7378 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7379 * math/math.h: Update #else and #endif comments.
7380 [__USE_MISC]: Remove redundant conditionals.
7381 * misc/sys/uio.h: Update #endif comments.
7382 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7383 * posix/glob.h [__USE_MISC]: Likewise.
7384 * posix/sys/types.h: Update #endif comments.
7385 [__USE_MISC]: Remove redundant conditionals.
7386 * posix/sys/wait.h: Update #endif comments.
7387 [__USE_MISC]: Remove redundant conditionals.
7388 * posix/unistd.h: Update #endif comments.
7389 [__USE_MISC]: Remove redundant conditionals.
7390 * pwd/pwd.h [__USE_GNU]: Likewise.
7391 [__USE_MISC]: Likewise.
7392 * resolv/netdb.h [__USE_GNU]: Likewise.
7393 * signal/signal.h: Update #endif comments.
7394 [__USE_MISC]: Remove redundant conditionals.
7395 * stdlib/stdlib.h: Update #else and #endif comments.
7396 [__USE_MISC]: Remove redundant conditionals.
7397 [__USE_GNU]: Likewise.
7398 * string/bits/string2.h [__USE_MISC]: Likewise.
7399 * string/string.h: Update #endif comments.
7400 [__USE_MISC]: Remove redundant conditionals.
7401 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7403 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7404 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7405 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7407 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7409 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7411 [__USE_MISC]: Remove redundant conditionals.
7412 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7413 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7414 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7415 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7416 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7418 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7419 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7421 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7422 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7424 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7426 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7427 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7429 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7431 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7432 * sysdeps/x86/bits/string.h: Update #endif comments.
7433 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7435 * time/sys/time.h: Update #endif comments.
7436 * time/time.h: Likewise.
7437 [__USE_MISC]: Remove redundant conditionals.
7439 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7442 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7444 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7446 * Versions.def (librt): Add GLIBC_2.17.
7448 2014-02-21 Adam Conrad <adconrad@0c3.net>
7450 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7451 synonym for _SYS_AUXV_H to allow direct inclusion.
7452 * sysdeps/sparc/bits/hwcap.h: Likewise.
7453 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7454 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7455 * sysdeps/sparc/sysdep.h: Likewise.
7457 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7459 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7461 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7463 * benchtests/bench-strrchr.c: Print length instead of position.
7465 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7468 * sysdeps/unix/sysv/linux/kernel-features.h
7469 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7470 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7471 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7472 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7474 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7475 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7476 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7477 (__ASSUME_SENDMMSG): Define instead of using previous
7478 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7479 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7480 (__ASSUME_SENDMMSG_SYSCALL): Define.
7481 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7482 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7484 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7485 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7487 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7488 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7490 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7491 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7492 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7493 [__ASSUME_SENDMMSG]: Change conditionals to
7494 [__ASSUME_SENDMMSG_SOCKETCALL].
7495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7496 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7498 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7499 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7501 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7502 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7503 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7504 [!__ASSUME_SENDMMSG]: Change conditional to
7505 [!__ASSUME_SENDMMSG_SOCKETCALL].
7506 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7507 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7511 * sysdeps/unix/sysv/linux/kernel-features.h
7512 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7513 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7514 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7515 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7516 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7517 [__i386__ || __sparc__]
7518 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7519 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7520 (__ASSUME_RECVMMSG): Define instead of using previous
7521 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7522 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7523 (__ASSUME_RECVMMSG_SYSCALL): Define.
7524 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7525 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7527 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7528 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7530 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7531 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7533 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7534 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7535 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7536 [__ASSUME_RECVMMSG]: Change condition to
7537 [__ASSUME_RECVMMSG_SOCKETCALL].
7538 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7539 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7541 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7542 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7543 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7545 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7546 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7547 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7548 [!__ASSUME_RECVMMSG]: Change condition to
7549 [!__ASSUME_RECVMMSG_SOCKETCALL].
7550 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7551 (__ASSUME_RECVMMSG_SYSCALL): Define.
7554 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7555 __powerpc__ || __s390__ || __sh__ || __sparc__]
7556 (__ASSUME_SOCKETCALL): Define.
7557 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7558 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7559 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7560 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7561 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7562 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7563 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7564 (__ASSUME_ACCEPT4): Define instead of using previous
7565 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7566 __powerpc__ || __sparc__ || __s390__)] condition.
7567 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7568 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7569 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7570 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7571 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7572 [!__ASSUME_ACCEPT4]: Change condition to
7573 [!__ASSUME_ACCEPT4_SOCKETCALL].
7574 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7575 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7576 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7577 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7578 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7579 __ASSUME_ACCEPT4_SYSCALL.
7580 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7581 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7582 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7583 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7584 __ASSUME_ACCEPT4_SYSCALL.
7585 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7586 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7587 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7588 [__ASSUME_ACCEPT4]: Change condition to
7589 [__ASSUME_ACCEPT4_SOCKETCALL].
7590 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7591 (__ASSUME_SOCKETCALL): Define.
7592 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7593 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7594 (__ASSUME_SOCKETCALL): Define.
7595 (__ASSUME_ACCEPT4): Remove.
7596 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7598 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7599 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7601 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7602 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7604 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7606 (HWCAP_ARM_LPAE): Likewise.
7607 (HWCAP_ARM_EVTSTRM): Likewise.
7608 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7609 Add vpfd32, lpae and evtstrm.
7610 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7613 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7615 * math/auto-libm-test-in: Add tests of clog10.
7616 * math/auto-libm-test-out: Regenerated.
7617 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7618 * sysdeps/i386/fpu/libm-test-ulps: Update.
7619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7621 2014-02-18 Andreas Schwab <schwab@suse.de>
7624 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7625 Store non-zero if the second buffer was newly allocated.
7626 (send_dg): Likewise.
7627 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7628 to send_vc and send_dg.
7629 (res_nsend): Pass NULL for ansp2_malloced.
7630 * resolv/res_query.c (__libc_res_nquery): Add parameter
7631 answerp2_malloced and pass it down to __libc_res_nsend.
7632 (res_nquery): Pass additional NULL to __libc_res_nquery.
7633 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7634 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7635 second answer buffer if answerp2_malloced was set.
7636 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7637 (__libc_res_nquerydomain): Add parameter
7638 answerp2_malloced and pass it down to __libc_res_nquery.
7639 (res_nquerydomain): Pass additional NULL to
7640 __libc_res_nquerydomain.
7641 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7642 additional NULL to __libc_res_nsend and __libc_res_nquery.
7643 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7644 additional NULL to __libc_res_nsearch.
7645 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7646 parameter of __libc_res_nsearch to check for separately allocated
7648 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7650 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7651 additional NULL to __libc_res_nquery.
7652 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7654 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7655 * include/resolv.h: Update prototypes of __libc_res_nquery,
7656 __libc_res_nsearch, __libc_res_nsend.
7658 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7660 * math/auto-libm-test-in: Add tests of fma.
7661 * math/auto-libm-test-out: Regenerated.
7662 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7663 (fma_towardzero_test_data): Likewise.
7664 (fma_downward_test_data): Likewise.
7665 (fma_upward_test_data): Likewise.
7666 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7668 (rounding_modes): Add values for new field.
7669 (func_calc_method): Add value mpfr_fff_f.
7670 (func_calc_desc): Add mpfr_fff_f union field.
7671 (test_function): Add field exact_args.
7672 (FUNC): Add macro argument EXACT_ARGS.
7673 (FUNC_mpfr_f_f): Update call to FUNC.
7674 (FUNC_mpfr_f_f): Likewise.
7675 (FUNC_mpfr_ff_f): Likewise.
7676 (FUNC_mpfr_if_f): Likewise.
7677 (FUNC_mpc_c_f): Likewise.
7678 (FUNC_mpc_c_c): Likewise.
7679 (test_functions): Add fma. Update calls to FUNC.
7680 (handle_input_arg): Add argument exact_args.
7681 (add_test): Update call to handle_input_arg.
7682 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7683 (output_for_one_input_case): Update call to calc_generic_results.
7684 Recalculate exact zero results in each rounding mode.
7686 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7687 non-negative before setting low bit.
7688 * math/auto-libm-test-in: Mark one asin test possibly having
7690 * math/auto-libm-test-out: Regenerated.
7691 * sysdeps/i386/fpu/libm-test-ulps: Update.
7692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7694 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7696 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7697 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7698 ports/sysdeps/unix/sysv/linux/microblaze.
7699 * README: Add missing listing for microblaze*-*-linux-gnu.
7701 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7703 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7704 * sysdeps/unix/sysv/linux/ia64: Move directory from
7705 ports/sysdeps/unix/sysv/linux/ia64.
7706 * README: Update listing for ia64-*-linux-gnu.
7708 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7709 Joseph Myers <joseph@codesourcery.com>
7711 * Makeconfig (test-name): New variable.
7712 (evaluate-test): Likewise.
7713 * Makerules (do-test-clean): Remove .test-result files.
7714 (common-mostlyclean): Likewise.
7715 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7716 * scripts/evaluate-test.sh: New file.
7718 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7720 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7721 separate $(objpfx)tst-fopenloc-cmp.out and
7722 $(objpfx)tst-fopenloc-mem.out targets.
7723 (tests): Update dependencies.
7724 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7725 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7726 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7727 (tst-rxspencer-no-utf8-ARGS): New variable.
7728 (tst-rxspencer-no-utf8-ENV): Likewise.
7729 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7730 instead of $(objpfx)tst-rxspencer-mem.
7731 ($(objpfx)tst-rxspencer-mem): Change target to
7732 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7733 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7734 * posix/tst-rxspencer-no-utf8.c: New file.
7736 * elf/Makefile ($(objpfx)order.out): Remove rule.
7737 [$(run-built-tests) = yes] (tests): Depend on
7738 $(objpfx)order-cmp.out.
7739 ($(objpfx)order-cmp.out): New rule.
7740 [$(run-built-tests) = yes] (tests): Depend on
7741 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7742 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7743 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7744 $(objpfx)tst-array5-static-cmp.out.
7745 ($(objpfx)tst-array1.out): Remove rule.
7746 ($(objpfx)tst-array1-cmp.out): New rule.
7747 ($(objpfx)tst-array1-static.out): Remove rule.
7748 ($(objpfx)tst-array1-static-cmp.out): New rule.
7749 ($(objpfx)tst-array2.out): Remove rule.
7750 ($(objpfx)tst-array2-cmp.out): New rule.
7751 ($(objpfx)tst-array3.out): Remove rule.
7752 ($(objpfx)tst-array3-cmp.out): New rule.
7753 ($(objpfx)tst-array4.out): Remove rule.
7754 ($(objpfx)tst-array4-cmp.out): New rule.
7755 ($(objpfx)tst-array5.out): Remove rule.
7756 ($(objpfx)tst-array5-cmp.out): New rule.
7757 ($(objpfx)tst-array5-static.out): Remove rule.
7758 ($(objpfx)tst-array5-static-cmp.out): New rule.
7759 [$(run-built-tests) = yes] (tests): Depend on
7760 $(objpfx)order2-cmp.out.
7761 ($(objpfx)order2.out): Remove rule.
7762 ($(objpfx)order2-cmp.out): New rule.
7763 ($(objpfx)tst-initorder.out): Remove rule.
7764 [$(run-built-tests) = yes] (tests): Depend on
7765 $(objpfx)tst-initorder-cmp.out.
7766 ($(objpfx)tst-initorder-cmp.out): New rule.
7767 ($(objpfx)tst-initorder2.out): Remove rule.
7768 [$(run-built-tests) = yes] (tests): Depend on
7769 $(objpfx)tst-initorder2-cmp.out.
7770 ($(objpfx)tst-initorder2-cmp.out): New rule.
7771 [$(run-built-tests) = yes] (tests): Depend on
7772 $(objpfx)tst-unused-dep-cmp.out.
7773 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7774 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7775 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7776 on $(objpfx)tst-setvbuf1-cmp.out.
7777 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7778 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7779 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7780 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7781 ($(objpfx)tst-svc.out): Remove rule.
7782 ($(objpfx)tst-svc-cmp.out): New rule.
7784 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7786 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7787 * ctype/ctype.h [__USE_MISC]: Likewise.
7788 * dirent/dirent.h [__USE_MISC]: Likewise.
7789 * grp/grp.h [__USE_MISC]: Likewise.
7790 * io/fcntl.h [__USE_MISC]: Likewise.
7791 * io/sys/stat.h [__USE_MISC]: Likewise.
7792 * libio/stdio.h [__USE_MISC]: Likewise.
7793 * posix/unistd.h [__USE_MISC]: Likewise.
7794 * pwd/pwd.h [__USE_MISC]: Likewise.
7795 * stdlib.h [__USE_MISC]: Likewise.
7796 * string/bits/string2.h [__USE_MISC]: Likewise.
7797 * string/string.h [__USE_MISC]: Likewise.
7798 * time/time.h [__USE_MISC]: Likewise.
7800 2014-02-13 Andreas Schwab <schwab@suse.de>
7803 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7804 second answer buffer if it was separately allocated.
7806 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7808 * sysdeps/mips/math-tests.h: Include <features.h>.
7809 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7810 (ROUNDING_TESTS_long_double): Do not define.
7811 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7812 (EXCEPTION_TESTS_long_double): Likewise.
7813 * sysdeps/mips/mips64/libm-test-ulps: Update.
7815 * include/features.h (__USE_BSD): Remove macro definitions.
7816 (__USE_SVID): Likewise.
7817 (_BSD_SOURCE): Likewise.
7818 (_SVID_SOURCE): Likewise.
7819 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7820 from definition of _DEFAULT_SOURCE.
7821 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7823 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7824 * bits/mman.h [__USE_BSD]: Likewise.
7825 * bits/termios.h [__USE_BSD]: Likewise.
7826 * bits/waitstatus.h [__USE_BSD]: Likewise.
7827 * ctype/ctype.h [__USE_SVID]: Likewise.
7828 * dirent/dirent.h [__USE_BSD]: Likewise.
7829 * grp/grp.h [__USE_SVID]: Likewise.
7830 [__USE_BSD]: Likewise.
7831 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7832 * io/fcntl.h [__USE_BSD]: Likewise.
7833 * io/ftw.h [__USE_BSD]: Likewise.
7834 * io/sys/stat.h [__USE_BSD]: Likewise.
7835 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7836 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7837 * libio/stdio.h [__USE_SVID]: Likewise.
7838 [__USE_BSD]: Likewise.
7839 * math/math.h [__USE_SVID]: Likewise.
7840 [__USE_BSD]: Likewise.
7841 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7842 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7843 * misc/search.h [__USE_SVID]: Likewise.
7844 * misc/sys/mman.h [__USE_BSD]: Likewise.
7845 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7846 * misc/sys/uio.h [__USE_BSD]: Likewise.
7847 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7848 * posix/glob.h [__USE_BSD]: Likewise.
7849 * posix/regex.h [__USE_BSD]: Likewise.
7850 * posix/sys/types.h [__USE_BSD]: Likewise.
7851 [__USE_SVID]: Likewise.
7852 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7853 * posix/sys/wait.h [__USE_BSD]: Likewise.
7854 [__USE_SVID]: Likewise.
7855 * posix/unistd.h [__USE_BSD]: Likewise.
7856 [__USE_SVID]: Likewise.
7857 * pwd/pwd.h [__USE_SVID]: Likewise.
7858 * resolv/netdb.h [__USE_BSD]: Likewise.
7859 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7860 * signal/signal.h [__USE_BSD]: Likewise.
7861 [__USE_SVID]: Likewise.
7862 * socket/sys/socket.h [__USE_BSD]: Likewise.
7863 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7864 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7865 [__USE_SVID]: Likewise.
7866 * string/bits/string2.h [__USE_BSD]: Likewise.
7867 [__USE_SVID]: Likewise.
7868 * string/bits/string3.h [__USE_BSD]: Likewise.
7869 * string/endian.h [__USE_BSD]: Likewise.
7870 * string/string.h [__USE_SVID]: Likewise.
7871 [__USE_BSD]: Likewise.
7872 * string/strings.h [__USE_BSD]: Likewise.
7873 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7874 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7875 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7876 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7877 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7878 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7880 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7882 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7883 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7885 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7886 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7888 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7890 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7891 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7892 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7894 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7896 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7897 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7898 * termios/termios.h [__USE_BSD]: Likewise.
7899 * time/sys/time.h [__USE_BSD]: Likewise.
7900 * time/time.h [__USE_BSD]: Likewise.
7901 [__USE_SVID]: Likewise.
7903 * Makefile (subdir_targets): Remove subdir_lint.out.
7905 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7906 (do-tst-printf): Likewise.
7907 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7908 $(objpfx)tst-printf.out.
7910 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7912 * Makerules (check-abi-%): Change target to
7913 $(objpfx)check-abi-%.out.
7914 (check-abi target): Update dependencies.
7915 (check-abi-pattern variable): Redirect output of diff to $@.
7916 (check-abi variable): Likewise.
7917 * elf/Makefile (check-abi): Update dependencies.
7919 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7921 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7922 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7924 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7925 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7926 value has largest subnormal exponent.
7927 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7928 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7929 * sysdeps/aarch64/soft-fp/sfp-machine.h
7930 (_FP_TININESS_AFTER_ROUNDING): New macro.
7931 * sysdeps/alpha/soft-fp/sfp-machine.h
7932 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7933 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7935 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7936 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7937 * sysdeps/mips/soft-fp/sfp-machine.h
7938 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7939 * sysdeps/powerpc/soft-fp/sfp-machine.h
7940 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7941 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7943 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7944 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7945 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7946 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7947 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7950 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7953 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7956 2014-02-12 Richard Henderson <rth@redhat.com>
7958 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7959 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7960 * sysdeps/unix/sysv/linux/alpha: Move directory from
7961 ports/sysdeps/unix/sysv/linux/alpha.
7962 * README: Update listing for alpha-*-linux-gnu.
7964 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7966 * include/features.h: Update comment documenting feature test
7968 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7970 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7971 (_SVID_SOURCE): Likewise.
7972 (_DEFAULT_SOURCE): Update description of default features.
7973 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7975 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7976 (S_ISVTX): Likewise.
7977 * manual/math.texi (Mathematical Constants): Likewise.
7978 * manual/signal.texi (Interrupted Primitives): Likewise.
7979 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7980 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7981 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7982 Don't refer to _SVID_SOURCE in warning text.
7984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7986 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7988 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7989 * sysdeps/mips/dl-lookup.c: Remove.
7990 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7992 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7995 * math/auto-libm-test-in: Add testcase for expl.
7996 * math/auto-libm-test-out: Regenerate.
7997 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7998 calculation of unsafe.
7999 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8001 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8003 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8004 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8005 ports/sysdeps/unix/sysv/linux/aarch64.
8006 * README: Update listing for aarch64*-*-linux-gnu.
8008 2014-02-11 Will Newton <will.newton@linaro.org>
8010 * manual/probes.texi (Mathematical Function Probes): Use
8011 "triggered" instead of "hit".
8013 * manual/probes.texi (Internal Probes): Add documentation
8014 of setjmp, longjmp and longjmp_target probes.
8016 * include/stap-probe.h: Add comment about probe argument
8019 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8020 definition. (tr_where, tr_freehook, tr_mallochook,
8021 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8023 2014-02-11 David S. Miller <davem@davemloft.net>
8025 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8026 processing int_tests.
8028 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8030 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8031 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8032 * sysdeps/unix/sysv/linux/mips: Move directory from
8033 ports/sysdeps/unix/sysv/linux/mips.
8034 * README: Update listing for mips-*-linux-gnu and
8037 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8039 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8040 * sysdeps/unix/sysv/linux/m68k: Move directory from
8041 ports/sysdeps/unix/sysv/linux/m68k.
8042 * README: Update listing for m68k-*-linux-gnu.
8044 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8046 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8047 * sysdeps/unix/sysv/linux/generic: Move directory from
8048 ports/sysdeps/unix/sysv/linux/generic.
8049 * sysdeps/unix/sysv/linux/tile: Move directory from
8050 ports/sysdeps/unix/sysv/linux/tile.
8051 * README: Update listing for tile*-*-linux-gnu.
8053 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8055 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8057 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8058 * catgets/open_catalog.c (__open_catalog): Likewise.
8059 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8060 * debug/confstr_chk.c: Likewise.
8061 * debug/fread_chk.c (__fread_chk): Likewise.
8062 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8063 * debug/getgroups_chk.c: Likewise.
8064 * debug/mbsnrtowcs_chk.c: Likewise.
8065 * debug/mbsrtowcs_chk.c: Likewise.
8066 * debug/mbstowcs_chk.c: Likewise.
8067 * debug/memcpy_chk.c: Likewise.
8068 * debug/memmove_chk.c: Likewise.
8069 * debug/mempcpy_chk.c: Likewise.
8070 * debug/memset_chk.c: Likewise.
8071 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8072 * debug/strcat_chk.c (__strcat_chk): Likewise.
8073 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8074 * debug/strncat_chk.c (__strncat_chk): Likewise.
8075 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8076 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8077 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8078 * debug/wcpncpy_chk.c: Likewise.
8079 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8080 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8081 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8082 * debug/wcsncpy_chk.c: Likewise.
8083 * debug/wcsnrtombs_chk.c: Likewise.
8084 * debug/wcsrtombs_chk.c: Likewise.
8085 * debug/wcstombs_chk.c: Likewise.
8086 * debug/wmemcpy_chk.c: Likewise.
8087 * debug/wmemmove_chk.c: Likewise.
8088 * debug/wmempcpy_chk.c: Likewise.
8089 * debug/wmemset_chk.c: Likewise.
8090 * dirent/scandirat.c (SCANDIRAT): Likewise.
8091 * dlfcn/dladdr1.c (dladdr1): Likewise.
8092 * dlfcn/dladdr.c (dladdr): Likewise.
8093 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8094 * dlfcn/dlerror.c (__dlerror): Likewise.
8095 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8096 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8097 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8098 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8099 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8100 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8101 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8102 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8104 * elf/dl-conflict.c: Likewise.
8105 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8106 * elf/dl-dst.h: Likewise.
8107 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8108 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8109 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8110 * elf/dl-init.c (call_init, _dl_init): Likewise.
8111 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8112 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8113 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8115 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8117 * elf/dl-minimal.c (__libc_memalign): Likewise.
8118 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8119 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8120 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8121 * elf/dl-sym.c (do_sym): Likewise.
8122 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8123 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8124 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8125 * elf/dl-writev.h (_dl_writev): Likewise.
8126 * elf/ldconfig.c (search_dir): Likewise.
8127 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8128 (dl_main): Likewise.
8129 * elf/setup-vdso.h (setup_vdso): Likewise.
8130 * grp/compat-initgroups.c (compat_call): Likewise.
8131 * grp/fgetgrent.c (fgetgrent): Likewise.
8132 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8133 * grp/putgrent.c (putgrent): Likewise.
8134 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8136 * hurd/hurdinit.c: Likewise.
8137 * iconvdata/8bit-gap.c (struct): Likewise.
8138 * iconvdata/ansi_x3.110.c : Likewise.
8139 * iconvdata/big5.c : Likewise.
8140 * iconvdata/big5hkscs.c : Likewise.
8141 * iconvdata/cp1255.c: Likewise.
8142 * iconvdata/cp1258.c : Likewise.
8143 * iconvdata/cp932.c : Likewise.
8144 * iconvdata/euc-cn.c: Likewise.
8145 * iconvdata/euc-jisx0213.c : Likewise.
8146 * iconvdata/euc-jp.c: Likewise.
8147 * iconvdata/euc-jp-ms.c : Likewise.
8148 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8149 * iconvdata/gb18030.c : Likewise.
8150 * iconvdata/gbbig5.c (const): Likewise.
8151 * iconvdata/gbgbk.c: Likewise.
8152 * iconvdata/gbk.c : Likewise.
8153 * iconvdata/ibm1364.c : Likewise.
8154 * iconvdata/ibm930.c : Likewise.
8155 * iconvdata/ibm932.c: Likewise.
8156 * iconvdata/ibm933.c : Likewise.
8157 * iconvdata/ibm935.c : Likewise.
8158 * iconvdata/ibm937.c : Likewise.
8159 * iconvdata/ibm939.c : Likewise.
8160 * iconvdata/ibm943.c: Likewise.
8161 * iconvdata/iso_11548-1.c: Likewise.
8162 * iconvdata/iso-2022-cn.c : Likewise.
8163 * iconvdata/iso-2022-cn-ext.c : Likewise.
8164 * iconvdata/iso-2022-jp-3.c: Likewise.
8165 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8166 * iconvdata/iso-2022-kr.c : Likewise.
8167 * iconvdata/iso646.c (gconv_end): Likewise.
8168 * iconvdata/iso_6937-2.c : Likewise.
8169 * iconvdata/iso_6937.c : Likewise.
8170 * iconvdata/iso8859-1.c: Likewise.
8171 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8172 * iconvdata/shift_jisx0213.c : Likewise.
8173 * iconvdata/sjis.c : Likewise.
8174 * iconvdata/t.61.c : Likewise.
8175 * iconvdata/tcvn5712-1.c : Likewise.
8176 * iconvdata/tscii.c: Likewise.
8177 * iconvdata/uhc.c : Likewise.
8178 * iconvdata/unicode.c (gconv_end): Likewise.
8179 * iconvdata/utf-16.c (gconv_end): Likewise.
8180 * iconvdata/utf-32.c (gconv_end): Likewise.
8181 * iconvdata/utf-7.c (base64): Likewise.
8182 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8183 * iconv/gconv_close.c (__gconv_close): Likewise.
8184 * iconv/gconv_open.c (__gconv_open): Likewise.
8185 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8186 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8187 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8188 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8189 (ucs4le_internal_loop_single): Likewise.
8190 * iconv/iconv.c (iconv): Likewise.
8191 * iconv/iconv_close.c: Likewise.
8192 * iconv/loop.c (SINGLE): Likewise.
8193 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8194 * include/atomic.h: Likewise.
8195 * inet/inet6_option.c (option_alloc): Likewise.
8196 * intl/bindtextdom.c (set_binding_values): Likewise.
8197 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8198 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8199 * intl/localealias.c (read_alias_file): Likewise.
8200 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8201 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8202 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8203 * libio/fmemopen.c (fmemopen): Likewise.
8204 * libio/iofgets.c (_IO_fgets): Likewise.
8205 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8206 * libio/iofgetws.c (fgetws): Likewise.
8207 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8208 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8209 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8210 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8211 * locale/findlocale.c (_nl_find_locale): Likewise.
8212 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8213 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8215 * locale/setlocale.c (setlocale): Likewise.
8216 * login/programs/pt_chown.c (main): Likewise.
8217 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8218 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8219 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8220 (mmap, mmap64, mremap, munmap): Likewise.
8221 * math/e_exp2l.c: Likewise.
8222 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8223 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8224 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8225 * math/s_catan.c (__catan): Likewise.
8226 * math/s_catanf.c (__catanf): Likewise.
8227 * math/s_catanh.c (__catanh): Likewise.
8228 * math/s_catanhf.c (__catanhf): Likewise.
8229 * math/s_catanhl.c (__catanhl): Likewise.
8230 * math/s_catanl.c (__catanl): Likewise.
8231 * math/s_ccosh.c (__ccosh): Likewise.
8232 * math/s_ccoshf.c (__ccoshf): Likewise.
8233 * math/s_ccoshl.c (__ccoshl): Likewise.
8234 * math/s_cexp.c (__cexp): Likewise.
8235 * math/s_cexpf.c (__cexpf): Likewise.
8236 * math/s_cexpl.c (__cexpl): Likewise.
8237 * math/s_clog10.c (__clog10): Likewise.
8238 * math/s_clog10f.c (__clog10f): Likewise.
8239 * math/s_clog10l.c (__clog10l): Likewise.
8240 * math/s_clog.c (__clog): Likewise.
8241 * math/s_clogf.c (__clogf): Likewise.
8242 * math/s_clogl.c (__clogl): Likewise.
8243 * math/s_csin.c (__csin): Likewise.
8244 * math/s_csinf.c (__csinf): Likewise.
8245 * math/s_csinh.c (__csinh): Likewise.
8246 * math/s_csinhf.c (__csinhf): Likewise.
8247 * math/s_csinhl.c (__csinhl): Likewise.
8248 * math/s_csinl.c (__csinl): Likewise.
8249 * math/s_csqrt.c (__csqrt): Likewise.
8250 * math/s_csqrtf.c (__csqrtf): Likewise.
8251 * math/s_csqrtl.c (__csqrtl): Likewise.
8252 * math/s_ctan.c (__ctan): Likewise.
8253 * math/s_ctanf.c (__ctanf): Likewise.
8254 * math/s_ctanh.c (__ctanh): Likewise.
8255 * math/s_ctanhf.c (__ctanhf): Likewise.
8256 * math/s_ctanhl.c (__ctanhl): Likewise.
8257 * math/s_ctanl.c (__ctanl): Likewise.
8258 * math/w_pow.c: Likewise.
8259 * math/w_powf.c: Likewise.
8260 * math/w_powl.c: Likewise.
8261 * math/w_scalb.c (sysv_scalb): Likewise.
8262 * math/w_scalbf.c (sysv_scalbf): Likewise.
8263 * math/w_scalbl.c (sysv_scalbl): Likewise.
8264 * misc/error.c (error_tail): Likewise.
8265 * misc/pselect.c (__pselect): Likewise.
8266 * nis/nis_callback.c (__nis_create_callback): Likewise.
8267 * nis/nis_call.c (__nisfind_server): Likewise.
8268 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8269 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8270 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8271 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8272 * nis/nis_lookup.c (nis_lookup): Likewise.
8273 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8274 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8275 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8276 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8277 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8278 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8279 * nis/nss_compat/compat-initgroups.c (add_group)
8280 (internal_getgrent_r): Likewise.
8281 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8282 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8283 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8284 (internal_getspnam_r): Likewise.
8285 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8286 (_nss_nis_getaliasbyname_r): Likewise.
8287 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8288 (_nss_nis_getntohost_r): Likewise.
8289 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8290 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8291 (_nss_nis_getgrgid_r): Likewise.
8292 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8293 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8294 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8295 (_nss_nis_gethostbyname4_r): Likewise.
8296 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8297 (initgroups_netid): Likewise.
8298 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8299 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8300 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8301 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8302 (_nss_nis_getprotobynumber_r): Likewise.
8303 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8304 (_nss_nis_getsecretkey): Likewise.
8305 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8306 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8307 (_nss_nis_getpwuid_r): Likewise.
8308 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8309 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8310 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8311 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8312 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8313 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8314 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8316 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8317 (_nss_nisplus_getntohost_r): Likewise.
8318 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8319 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8320 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8321 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8323 * nis/nss_nisplus/nisplus-initgroups.c
8324 (_nss_nisplus_initgroups_dyn): Likewise.
8325 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8326 (_nss_nisplus_getnetbyaddr_r): Likewise.
8327 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8328 (_nss_nisplus_getprotobynumber_r): Likewise.
8329 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8330 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8331 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8333 * nis/nss_nisplus/nisplus-service.c
8334 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8335 (_nss_nisplus_getservbyport_r): Likewise.
8336 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8337 (_nss_nisplus_getspnam_r): Likewise.
8338 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8340 * nscd/aicache.c (addhstaiX): Likewise.
8341 * nscd/cache.c (cache_search, prune_cache): Likewise.
8342 * nscd/connections.c (register_traced_file, send_ro_fd)
8343 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8344 (main_loop_epoll): Likewise.
8345 * nscd/grpcache.c (addgrbyX): Likewise.
8346 * nscd/hstcache.c (addhstbyX): Likewise.
8347 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8348 * nscd/mem.c (gc, mempool_alloc): Likewise.
8349 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8350 (addinnetgrX): Likewise.
8351 * nscd/nscd-client.h (__nscd_acquire_maplock)
8352 (__nscd_drop_map_ref): Likewise.
8353 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8354 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8355 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8357 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8358 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8359 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8360 (__nscd_get_map_ref): Likewise.
8361 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8362 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8364 * nscd/pwdcache.c (addpwbyX): Likewise.
8365 * nscd/selinux.c (preserve_capabilities): Likewise.
8366 * nscd/servicescache.c (addservbyX): Likewise.
8367 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8368 * posix/fnmatch.c (fnmatch): Likewise.
8369 * posix/getopt.c (_getopt_internal_r): Likewise.
8370 * posix/glob.c (glob, glob_in_dir): Likewise.
8371 * posix/wordexp.c (exec_comm_child): Likewise.
8372 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8373 (getanswer_r, gaih_getanswer_slice): Likewise.
8374 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8375 * resolv/res_init.c: Likewise.
8376 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8377 * resolv/res_query.c (__libc_res_nquery): Likewise.
8378 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8380 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8381 * stdio-common/perror.c (perror): Likewise.
8382 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8383 * stdio-common/tmpnam.c (tmpnam): Likewise.
8384 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8385 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8386 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8388 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8389 * stdlib/putenv.c (putenv): Likewise.
8390 * stdlib/setenv.c (__add_to_environ): Likewise.
8391 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8392 * stdlib/strtol_l.c (INTERNAL): Likewise.
8393 * string/memmem.c (memmem): Likewise.
8394 * string/strerror.c (strerror): Likewise.
8395 * string/strnlen.c (__strnlen): Likewise.
8396 * string/test-memmem.c (simple_memmem): Likewise.
8397 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8398 * sunrpc/pm_getport.c (__get_socket): Likewise.
8399 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8400 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8401 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8402 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8404 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8405 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8406 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8407 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8408 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8409 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8411 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8413 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8414 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8415 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8416 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8417 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8419 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8420 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8421 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8422 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8423 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8424 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8426 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8428 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8430 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8431 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8432 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8433 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8434 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8435 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8436 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8437 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8438 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8439 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8440 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8442 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8443 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8445 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8447 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8449 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8451 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8453 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8454 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8455 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8457 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8458 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8459 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8460 * sysdeps/posix/sleep.c: Likewise.
8461 * sysdeps/posix/tempname.c: Likewise.
8462 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8463 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8465 * sysdeps/powerpc/powerpc32/dl-machine.h
8466 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8467 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8468 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8469 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8470 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8472 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8473 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8474 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8475 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8476 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8477 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8478 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8479 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8480 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8481 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8483 (elf_machine_lazy_rel): Likewise.
8484 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8485 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8486 (elf_machine_lazy_rel): Likewise.
8487 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8488 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8489 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8490 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8491 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8492 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8493 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8496 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8497 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8498 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8499 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8500 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8501 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8502 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8503 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8504 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8505 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8506 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8508 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8509 (__posix_fallocate64_l64): Likewise.
8510 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8511 (posix_fallocate): Likewise.
8512 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8514 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8515 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8516 (getifaddrs_internal): Likewise.
8517 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8518 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8519 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8520 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8521 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8522 (__posix_fallocate64_l64): Likewise.
8523 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8525 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8526 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8527 (__get_clockfreq): Likewise.
8528 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8529 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8530 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8531 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8532 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8533 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8534 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8535 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8537 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8538 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8539 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8540 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8541 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8542 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8543 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8545 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8546 (posix_fallocate): Likewise.
8547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8548 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8549 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8550 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8551 (elf_machine_rela, elf_machine_rela_relative)
8552 (elf_machine_lazy_rel): Likewise.
8553 * time/asctime.c (asctime_internal): Likewise.
8554 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8555 * time/tzset.c (__tzset_parse_tz): Likewise.
8556 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8557 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8558 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8559 * wcsmbs/wcsmbsload.h: Likewise.
8562 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8564 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8565 (arena_get2): Remove THREAD_STATS conditionals.
8566 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8567 (__malloc_stats, int): Likewise.
8569 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8571 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8572 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8574 * manual/setjmp.texi: Fix typos/grammar errors.
8576 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8577 Only return early when n is <= 0. Delete unused return statement.
8579 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8580 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8581 * debug/tst-longjmp_chk3.c: New file.
8583 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8584 (test_main): Replace code with set_fortify_handler call.
8585 * debug/test-strcpy_chk.c: Likewise.
8586 * debug/tst-chk1.c: Likewise.
8587 * debug/tst-longjmp_chk.c: Likewise.
8588 * test-skeleton.c: Include fcntl.h & paths.h
8589 (set_fortify_handler): Define.
8591 * debug/tst-longjmp_chk.c: Add header comment and include
8593 (do_test): Mark static.
8594 (TEST_FUNCTION): Define.
8596 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8597 (IP_PMTUDISC_INTERFACE): Likewise.
8598 (IP_MULTICAST_IF): Likewise.
8599 (IP_MULTICAST_TTL): Likewise.
8600 (IP_MULTICAST_LOOP): Likewise.
8601 (IP_ADD_MEMBERSHIP): Likewise.
8602 (IP_DROP_MEMBERSHIP): Likewise.
8603 (IP_UNBLOCK_SOURCE): Likewise.
8604 (IP_BLOCK_SOURCE): Likewise.
8605 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8606 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8607 (IP_MSFILTER): Likewise.
8608 (MCAST_JOIN_GROUP): Likewise.
8609 (MCAST_BLOCK_SOURCE): Likewise.
8610 (MCAST_UNBLOCK_SOURCE): Likewise.
8611 (MCAST_LEAVE_GROUP): Likewise.
8612 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8613 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8614 (MCAST_MSFILTER): Likewise.
8615 (IP_MULTICAST_ALL): Likewise.
8616 (IP_UNICAST_IF): Likewise.
8618 * timezone/Makefile: Delete $(have-ksh) check.
8619 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8620 * timezone/tzselect.ksh: Add +x mode bits.
8622 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8623 (ANON_INODE_FS_MAGIC): Likewise.
8624 (BDEVFS_MAGIC): Likewise.
8625 (BINFMTFS_MAGIC): Likewise.
8626 (BTRFS_TEST_MAGIC): Likewise.
8627 (CRAMFS_MAGIC_WEND): Likewise.
8628 (DEBUGFS_MAGIC): Likewise.
8629 (ECRYPTFS_SUPER_MAGIC): Likewise.
8630 (EXT3_SUPER_MAGIC): Likewise.
8631 (EXT4_SUPER_MAGIC): Likewise.
8632 (FUTEXFS_SUPER_MAGIC): Likewise.
8633 (HOSTFS_SUPER_MAGIC): Likewise.
8634 (HUGETLBFS_MAGIC): Likewise.
8635 (MINIX3_SUPER_MAGIC): Likewise.
8636 (MTD_INODE_FS_MAGIC): Likewise.
8637 (NILFS_SUPER_MAGIC): Likewise.
8638 (OPENPROM_SUPER_MAGIC): Likewise.
8639 (PIPEFS_MAGIC): Likewise.
8640 (PSTOREFS_MAGIC): Likewise.
8641 (QNX6_SUPER_MAGIC): Likewise.
8642 (RAMFS_MAGIC): Likewise.
8643 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8644 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8645 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8646 (SECURITYFS_MAGIC): Likewise.
8647 (SELINUX_MAGIC): Likewise.
8648 (SMACK_MAGIC): Likewise.
8649 (SOCKFS_MAGIC): Likewise.
8650 (SQUASHFS_MAGIC): Likewise.
8651 (STACK_END_MAGIC): Likewise.
8652 (TMPFS_MAGIC): Likewise.
8653 (USBDEVICE_SUPER_MAGIC): Likewise.
8654 (V9FS_MAGIC): Likewise.
8655 (XENFS_SUPER_MAGIC): Likewise.
8656 (CRAMFS_MAGIC): Fix typo in comment.
8657 (EXT2_SUPER_MAGIC): Update comment.
8658 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8660 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8662 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8663 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8664 * sysdeps/unix/sysv/linux/arm: Move directory from
8665 ports/sysdeps/unix/sysv/linux/arm.
8666 * README: Update listing for arm-*-linux-gnueabi.
8668 * README: Remove mention of am33.
8670 2014-02-07 Roland McGrath <roland@hack.frob.com>
8672 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8673 than the comma operator, to avoid "rhs of comma has no effect"
8675 (__sigfillset, __sigandset, __sigorset): Likewise.
8676 * include/signal.h (__sigemptyset): Likewise.
8677 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8679 2014-02-07 Allan McRae <allan@archlinux.org>
8681 * version.h (RELEASE): Set to "development".
8682 (VERSION): Set to "2.19.90"
8683 * NEWS: Add 2.20 section.
8685 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8688 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8690 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8692 * manual/contrib.texi: Update entry for Carlos O'Donell,
8693 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8695 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8697 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8699 * sysdeps/unix/sysv/linux/kernel-features.h
8700 [__LINUX_KERNEL_VERSION >= 0x020621]
8701 (__ASSUME_PROC_PID_TASK_COMM): Define.
8703 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8706 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8707 conversion when destination buffer does not have enough space.
8708 * libio/tst-ftell-partial-wide.c: New test case.
8709 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8711 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8712 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8713 Leonard and Allan McRae.
8715 2014-02-04 David S. Miller <davem@davemloft.net>
8717 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8720 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8749 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8751 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8752 * shlib-versions: Likewise.
8754 2014-02-04 Roland McGrath <roland@hack.frob.com>
8755 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8757 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8758 (abilist-pattern): New variable, set to %-le.abilist.
8760 * Makerules (abilist-pattern): New variable.
8761 (vpath): Use $(abilist-pattern) in place of %.abilist.
8762 (check-abi-% pattern rule): Likewise.
8763 (check-abi, update-abi): Likewise.
8765 2014-02-04 Eric Wong <normalperson@yhbt.net>
8767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8769 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8771 * manual/startup.texi: Add next, previous, and top entries for
8772 the `Program Arguments' and `Environment Variables' nodes.
8774 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8776 * manual/macros.texi: Add comments before MTASC-safety macros.
8778 * manual/users.texi: Document MTASC-safety properties.
8780 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8781 (pthread_getspecific, pthread_setspecific): Format with
8782 @deftypefun, and add @safety note.
8783 * manual/signal.texi: Move comments that analyze the above
8784 functions to their home place.
8786 2014-02-03 Allan McRae <allan@archlinux.org>
8788 * po/sl.po: Update Slovenian translation from translation project.
8790 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8792 * manual/time.texi (timegm): Add missing blank after @c.
8793 Reported by Joseph Myers <joseph@codesourcery.com>.
8795 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8797 * manual/check-safety.sh: New.
8798 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8800 * manual/terminal.texi: Document MTASC-safety properties.
8802 * manual/filesys.texi: Document MTASC-safety properties.
8804 * manual/errno.texi: Document MTASC-safety properties.
8806 * manual/intro.texi: Document safety identifiers and
8809 * manual/string.texi (wcstok): Fix prototype.
8810 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8812 * manual/time.texi: Document MTASC-safety properties.
8814 * manual/string.texi: Document MTASC-safety properties.
8816 * manual/threads.texi: Document MTASC-safety properties.
8818 * manual/stdio.texi: Document MTASC-safety properties.
8820 * manual/syslog.texi: Document MTASC-safety properties.
8822 * manual/sysinfo.texi: Document MTASC-safety properties.
8824 * manual/startup.texi: Document MTASC-safety properties.
8826 * manual/socket.texi: Document MTASC-safety properties.
8828 * manual/signal.texi: Document MTASC-safety properties.
8830 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8832 * manual/setjmp.texi: Document MTASC-safety properties.
8834 * manual/search.texi: Document MTASC-safety properties.
8836 * manual/resource.texi: Document MTASC-safety properties.
8838 * manual/process.texi: Document MTASC-safety properties.
8840 * manual/platform.texi: Document MTASC-safety properties.
8842 * manual/pipe.texi: Document MTASC-safety properties.
8844 * manual/pattern.texi: Document MTASC-safety properties.
8846 * manual/message.texi: Document MTASC-safety properties.
8849 * manual/memory.texi: Document MTASC-safety properties.
8851 * manual/math.texi: Document MTASC-safety properties.
8853 * manual/locale.texi: Document MTASC-safety properties.
8855 * manual/llio.texi: Document MTASC-safety properties.
8857 * manual/libdl.texi: New.
8859 * manual/lang.texi: Document MTASC-safety properties.
8861 * manual/job.texi: Document MTASC-safety properties.
8863 * manual/getopt.texi: Document MTASC-safety properties.
8865 * manual/ctype.texi: Document MTASC-safety properties.
8867 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8870 * csu/libc-tls.c (static_map): Remove variable.
8871 (__libc_setup_tls): Use main executable's link map for TLS data.
8872 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8873 casing for LM_ID_BASE and GL(dl_nns).
8874 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8875 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8876 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8877 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8878 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8880 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8883 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8885 * manual/debug.texi: Document MTASC-safety properties.
8887 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8890 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8891 of __x86_64__ when disabling x87 inline functions.
8893 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8895 * manual/charset.texi: Document MTASC-safety properties.
8897 * manual/crypt.texi: Document MTASC-safety properties.
8899 * manual/conf.texi: Document MTASC-safety properties.
8901 * manual/arith.texi: Document MTASC-safety properties.
8903 * manual/argp.texi: Document MTASC-safety properties.
8905 * manual/macros.texi: Introduce macros to document multi
8906 thread, asynchronous signal and asynchronous cancellation
8908 * manual/intro.texi: Introduce the properties themselves.
8910 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8912 * sysdeps/sh/sh4/Makefile: New file.
8914 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8916 * math/gen-libm-test.pl ($srcdir): New variable.
8917 ($auto_input): Use it.
8919 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8922 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8923 access beyond array bounds when parsing netgroups file.
8925 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8926 the old buffer before realloc.
8928 2014-01-27 Allan McRae <allan@archlinux.org>
8930 * po/fr.po: Update French translation from translation project.
8932 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8934 * sysdeps/sh/libm-test-ulps: Regenerate.
8936 2014-01-24 David S. Miller <davem@davemloft.net>
8938 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8940 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8942 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8943 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8945 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8948 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8949 string pointers after reallocation.
8951 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8953 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8954 __SH4A__ instead of __SH_FPU_ANY__.
8956 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8958 * sysdeps/sh/fpu_control.h: New file.
8959 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8960 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8961 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8962 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8963 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8964 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8965 * sysdeps/sh/sys/ucontext.h: Remove.
8966 * sysdeps/sh/sys: Remove directory.
8968 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8970 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8971 s390/sys/ucontext.h.
8972 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8973 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8975 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8978 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8980 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8983 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8984 Adjust the vDSO correctly for internal calls.
8985 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8987 2014-01-20 Allan McRae <allan@archlinux.org>
8989 * po/ca.po: Update Catalan translation from translation project.
8991 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8993 * sysdeps/s390/sotruss-lib.c: New file.
8995 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8998 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8999 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9000 local calls issues by not having a PLT stub required for IFUNC calls.
9001 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9003 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9005 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9006 * math/test-fpucw-static.c: Likewise.
9008 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9011 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9013 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9015 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9016 implementation for powerpc.
9018 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9021 * sysdeps/posix/system.c (__libc_system): Do not enable
9022 asynchronous cancellation.
9024 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9027 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9028 handling only for numbers special also in the IEEE case.
9030 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9032 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9034 2014-01-11 Allan McRae <allan@archlinux.org>
9036 * po/bg.po: Update Bulgarian translation from translation project.
9038 * po/de.po: Update German translation from translation project.
9040 2014-01-10 Roland McGrath <roland@hack.frob.com>
9042 * sysdeps/generic/gcc-compat.h: New file.
9044 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9046 * benchtests/asin-inputs: Correct slow inputs.
9047 * benchtests/acos-inputs: Likewise.
9049 2014-01-10 Allan McRae <allan@archlinux.org>
9051 * po:sv.po: Update Swedish translation from translation project.
9053 * po/vi.po: Update Vietnamese translation from translation project.
9055 * po/eo.po: Update Esperanto translation from translation project.
9057 * po/cs.po: Update Czech translation from translation project.
9059 * po/nl.po: Update Dutch translation from translation project.
9061 * po/pl.po: Update Polish translation from translation project.
9063 * po/ru.po: Update Russian translation from translation project.
9065 * po/uk.po: Update Ukrainian translation from translation project.
9067 2014-01-08 Brooks Moses <bmoses@google.com>
9069 * elf/dl-load.c: Fix comment typo.
9071 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9073 * po/header.pot: Rename to...
9074 * po/pot.header: ... this.
9075 * po/Makefile: Use pot.header.
9077 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9078 Maxim Kuvyrkov <maxim@kugelworks.com>
9081 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9082 SRC and DEST against LEN.
9084 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9087 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9089 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9091 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9095 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9098 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9099 for large positive arguments.
9101 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9103 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9105 * math/auto-libm-test-in: Mark various tests with
9106 xfail-rounding:ldbl-128ibm.
9107 * math/auto-libm-test-out: Regenerated.
9110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9111 Increase overflow threshold.
9113 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9116 * stdio-common/vfprintf.c: Check for integer overflow.
9118 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9120 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9121 the first argument and return value of __tls_get_addr_internal.
9123 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9125 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9126 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9128 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9130 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9131 * sysdeps/s390/rtld-global-offsets.sym: New file.
9132 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9134 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9135 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9136 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9138 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9139 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9145 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9146 halfs of GPRs for high_gprs contexts.
9147 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9148 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9150 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9152 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9154 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9155 for high GPRs (uc_high_gprs) and for future extensions
9157 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9158 for future extensions (__reserved).
9159 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9161 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9162 SC_HIGHGPRS offset definition.
9163 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9164 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9166 * Versions.def: Add GLIBC_2.19 for libpthread.
9167 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9168 siglongjmp for libpthread with GLIBC_2.19 symver.
9169 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9170 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9171 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9172 * sysdeps/s390/__longjmp.c: New file.
9173 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9174 * sysdeps/s390/longjmp.c: New file.
9175 * sysdeps/s390/setjmp.S: New file.
9176 * sysdeps/s390/sigjmp.S: New file.
9177 * sysdeps/s390/v1-longjmp.c: New file.
9178 * sysdeps/s390/v1-setjmp.h: New file.
9179 * sysdeps/s390/v1-sigjmp.c: New file.
9180 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9181 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9183 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9184 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9185 versioned symbols for ____longjmp_chk.
9186 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9196 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9197 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9198 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9199 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9200 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9201 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9202 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9203 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9204 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9205 * sysdeps/s390/rtld-__longjmp.c: New file.
9206 * sysdeps/s390/rtld-setjmp.S: New file.
9208 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9211 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9212 Return -__logl (x) for small positive arguments without evaluating
9215 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9217 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9219 (__ptrace_peeksiginfo_args): ... this.
9220 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9221 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9222 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9224 2014-01-06 Allan McRae <allan@archlinux.org>
9226 * inet/netinet/in.h: Fix typo in comment.
9228 2014-01-05 Andreas Jaeger <aj@suse.de>
9230 * sysdeps/i386/fpu/libm-test-ulps: Update.
9232 2014-01-05 Allan McRae <allan@archlinux.org>
9234 * po/libc.pot: Regenerated.
9236 * malloc/memusagestat.c: Fix gettext call formatting.
9238 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9240 * nscd/nscd.c: Improve usage() output.
9242 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9244 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9245 * sysdeps/unix/sysv/linux/configure: Regenerated.
9246 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9247 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9249 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9252 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9253 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9255 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9258 extra tokens at end of #undef directive.
9259 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9260 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9261 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9263 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9265 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9267 * math/auto-libm-test-in: Mark various tests with
9268 xfail-rounding:ldbl-128ibm.
9269 * math/auto-libm-test-out: Regenerated.
9271 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9274 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9275 numbers with subnormal high part when calculating exponent.
9278 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9282 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9284 (__ieee754_acoshl): Use __log1pl not __log1p.
9286 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9288 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9289 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9290 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9291 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9292 (reused_arena, arena_get2): Convert to GNU style.
9293 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9294 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9295 (memalign_check, __malloc_set_state): Likewise.
9296 * malloc/mallocbug.c (main): Likewise.
9297 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9298 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9299 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9300 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9301 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9302 (__posix_memalign, malloc_info): Likewise.
9303 * malloc/malloc.h: Likewise.
9304 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9305 (mallochook, memalignhook, reallochook, mabort): Likewise.
9306 * malloc/mcheck.h: Likewise.
9307 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9308 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9309 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9310 * malloc/morecore.c (__default_morecore): Likewise.
9311 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9312 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9313 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9314 (print_and_abort): Likewise.
9315 * malloc/obstack.h: Likewise.
9316 * malloc/set-freeres.c (__libc_freeres): Likewise.
9317 * malloc/tst-mallocstate.c (main): Likewise.
9318 * malloc/tst-mtrace.c (main): Likewise.
9319 * malloc/tst-realloc.c (do_test): Likewise.
9321 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9324 * nscd/netgroupcache.c (do_notfound): New function.
9325 (addgetnetgrentX): Use it.
9328 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9329 NSS_STATUS_NOTFOUND.
9331 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9333 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9336 2014-01-01 Allan McRae <allan@archlinux.org>
9338 * scripts/update-copyrights: Update configure input file suffix.
9340 * NEWS: Update copyright year.
9341 * catgets/gencat.c: Likewise.
9342 * csu/version.c: Likewise.
9343 * debug/catchsegv.sh: Likewise.
9344 * debug/pcprofiledump.c: Likewise.
9345 * debug/xtrace.sh: Likewise.
9346 * elf/ldconfig.c: Likewise.
9347 * elf/ldd.bash.in: Likewise.
9348 * elf/pldd.c: Likewise.
9349 * elf/sotruss.ksh: Likewise.
9350 * elf/sprof.c: Likewise.
9351 * iconv/iconv_prog.c: Likewise.
9352 * iconv/iconvconfig.c: Likewise.
9353 * locale/programs/locale.c: Likewise.
9354 * locale/programs/localedef.c: Likewise.
9355 * login/programs/pt_chown.c: Likewise.
9356 * malloc/memusage.sh: Likewise.
9357 * malloc/memusagestat.c: Likewise.
9358 * malloc/mtrace.pl: Likewise.
9359 * manual/libc.texinfo: Likewise.
9360 * nscd/nscd.c: Likewise.
9361 * nss/getent.c: Likewise.
9362 * nss/makedb.c: Likewise.
9363 * posix/getconf.c: Likewise.
9364 * scripts/test-installation.pl: Likewise.
9366 * All files with FSF copyright notices: Update copyright dates
9367 using scripts/update-copyrights.
9368 * intl/plural.c: Regenerated.
9369 * locale/programs/charmap-kw.h: Likewise.
9370 * locale/programs/locfile-kw.h: Likewise.
9372 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9374 * sysdeps/unix/sysv/linux/configure: Regenerated.
9375 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9376 the linux/fanotify.h header.
9377 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9378 HAVE_LINUX_FANOTIFY_H is defined.
9380 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9382 * benchtests/cos-inputs: New inputs.
9383 * benchtests/sin-inputs: Likewise.
9385 * benchtests/atan-inputs: New inputs. Fix name of multiple
9386 precision fallback inputs.
9388 * benchtests/atanh-inputs: New inputs.
9389 * benchtests/tanh-inputs: Likewise.
9391 * benchtests/acosh-inputs: New inputs.
9392 * benchtests/asinh-inputs: Likewise.
9394 * benchtests/cosh-inputs: New inputs.
9395 * benchtests/sinh-inputs: Likewise.
9397 * benchtests/acos-inputs: Add more inputs.
9398 * benchtests/asin-inputs: Likewise.
9400 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9403 * manual/arith.texi: Fix spelling.
9404 * manual/charset.texi: Likewise.
9405 * manual/errno.texi: Likewise.
9406 * manual/filesys.texi: Likewise.
9407 * manual/lang.texi: Likewise.
9408 * manual/llio.texi: Likewise.
9409 * manual/locale.texi: Likewise.
9410 * manual/message.texi: Likewise.
9411 * manual/resource.texi: Likewise.
9412 * manual/search.texi: Likewise.
9413 * manual/setjmp.texi: Likewise.
9414 * manual/stdio.texi: Likewise.
9415 * manual/string.texi: Likewise.
9416 * manual/sysinfo.texi: Likewise.
9417 * manual/time.texi: Likewise.
9419 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9421 * po/sl.po: New file.
9423 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9425 * .gitignore: Add core/.gdbinit/.gdb_history.
9427 2013-12-27 Allan McRae <allan@archlinux.org>
9430 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9431 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9433 2013-12-24 Brooks Moses <bmoses@google.com>
9435 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9436 all compilers that claim C++98 compliance, not just GCC.
9437 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9440 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9442 * NEWS: Restore accidentally deleted bug-fix entries.
9444 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9445 Ondřej Bílka <neleai@seznam.cz>
9448 * malloc/malloc.c (_int_free): Perform sanity check only if we
9451 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9454 * manual/stdio.texi (String Input Conversions): Clarify that character
9455 classes are not supported.
9457 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9461 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9464 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9465 Calculate results for small negative arguments directly rather
9466 than using reflection formula with special underflow handling.
9468 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9469 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9470 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9471 (fchflags): Likewise.
9473 (setlogin): Likewise.
9474 (sigaltstack): Likewise.
9477 (sigsetmask): Likewise.
9479 (waitpid): Likewise.
9480 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9481 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9483 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9484 * sysdeps/unix/bsd/Makefile: ... here.
9485 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9486 * sysdeps/unix/bsd/Versions: ... here.
9487 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9488 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9489 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9490 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9491 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9492 * sysdeps/unix/bsd/sigblock.c: ... here.
9493 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9494 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9495 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9496 * sysdeps/unix/bsd/sigvec.c: ... here.
9497 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9498 * sysdeps/unix/bsd/tcdrain.c: ... here.
9499 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9500 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9501 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9502 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9503 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9504 * sysdeps/unix/bsd/wait.c: ... here.
9505 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9506 * sysdeps/unix/bsd/wait3.c: ... here.
9507 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9508 * sysdeps/unix/bsd/waitpid.c: ... here.
9510 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9513 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9514 round-to-nearest for [!USE_AS_EXPM1L].
9515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9516 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9517 more tests of exp and exp10. Expect some exp10 tests to miss
9518 exceptions or fail in directed rounding modes.
9519 * math/auto-libm-test-out: Regenerated.
9520 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9521 (exp10_test_tonearest): New function.
9522 (exp10_towardzero_test_data): New array.
9523 (exp10_test_towardzero): New function.
9524 (exp10_downward_test_data): New array.
9525 (exp10_test_downward): New function.
9526 (exp10_upward_test_data): New array.
9527 (exp10_test_upward): New function.
9528 (main): Call the new functions.
9529 * sysdeps/i386/fpu/libm-test-ulps: Update.
9530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9532 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9534 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9535 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9536 * math/auto-libm-test-out: Regenerated.
9537 * math/libm-test.inc (acosh_test_data): Add more tests.
9538 (atanh_test_data): Likewise.
9539 (ceil_test_data): Likewise.
9540 (copysign_test_data): Likewise.
9541 * sysdeps/i386/fpu/libm-test-ulps: Update.
9542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9544 * timezone/checktab.awk: Update from tzcode 2013i.
9545 * timezone/private.h: Likewise.
9546 * timezone/scheck.c: Likewise.
9547 * timezone/tzfile.h: Likewise.
9548 * timezone/tzselect.ksh: Likewise.
9549 * timezone/zdump.c: Likewise.
9550 * timezone/zic.c: Likewise.
9552 * math/auto-libm-test-in: Add tests of cpow.
9553 * math/auto-libm-test-out: Regenerated.
9554 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9555 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9557 (func_calc_desc): Add mpc_cc_c union field.
9558 (test_functions): Add cpow.
9559 (special_fill_2pi): New function.
9560 (special_real_inputs): Add 2pi.
9561 (calc_generic_results): Handle mpc_cc_c.
9562 * sysdeps/i386/fpu/libm-test-ulps: Update.
9563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9565 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9566 csqrt, ctan and ctanh.
9567 * math/auto-libm-test-out: Regenerated.
9568 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9569 (TEST_COND_x86): Likewise.
9570 (ccos_test_data): Use AUTO_TESTS_c_c.
9571 (ccosh_test_data): Likewise.
9572 (cexp_test_data): Likewise.
9573 (clog_test_data): Likewise.
9574 (csqrt_test_data): Likewise.
9575 (ctan_test_data): Likewise.
9576 (ctan_tonearest_test_data): Likewise.
9577 (ctan_towardzero_test_data): Likewise.
9578 (ctan_downward_test_data): Likewise.
9579 (ctan_upward_test_data): Likewise.
9580 (ctanh_test_data): Likewise.
9581 (ctanh_tonearest_test_data): Likewise.
9582 (ctanh_towardzero_test_data): Likewise.
9583 (ctanh_downward_test_data): Likewise.
9584 (ctanh_upward_test_data): Likewise.
9585 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9587 (func_calc_desc): Add mpc_c_c union field.
9588 (FUNC_mpc_c_c): New macro.
9589 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9590 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9592 (special_fill_min_subnorm_p120): New function.
9593 (special_real_inputs): Add min_subnorm_p120.
9594 (calc_generic_results): Handle mpc_c_c.
9595 * sysdeps/i386/fpu/libm-test-ulps: Update.
9596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9598 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9600 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9601 (do_sin_slow): New functions.
9602 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9603 (cslow2, csloww1, csloww2): Use the new functions.
9605 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9606 Use M to change sign of result instead of X. Assume X is
9608 (csloww1): Likewise.
9612 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9617 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9619 (sloww1): Don't adjust sign of DX.
9620 (csloww1): Likewise.
9621 (sloww2): Use X directly and don't adjust sign of DX.
9622 (csloww2): Likewise.
9624 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9626 * math/auto-libm-test-in: Add tests of cabs and carg.
9627 * math/auto-libm-test-out: Regenerated.
9628 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9629 (carg_test_data): Likewise.
9630 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9632 (func_calc_desc): Add mpc_c_f union field.
9633 (test_functions): Add cabs and carg.
9634 (calc_generic_results): Handle mpc_c_f.
9636 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9637 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9638 as a macro and a compat symbol.
9639 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9640 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9641 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9642 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9643 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9644 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9646 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9648 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9650 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9652 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9654 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9656 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9657 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9660 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9664 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9666 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9667 trailing whitespace removed.
9668 * scripts/config.guess: Update to version 2013-11-29.
9669 * scripts/config.sub: Update to version 2013-10-01.
9671 * math/auto-libm-test-in: Add tests of sincos.
9672 * math/auto-libm-test-out: Regenerated.
9673 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9674 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9676 (func_calc_desc): Add mpfr_f_11 union field.
9677 (test_functions): Add sincos.
9678 (calc_generic_results): Handle mpfr_f_11.
9679 * sysdeps/i386/fpu/libm-test-ulps: Update.
9680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9682 2013-12-19 Andreas Schwab <schwab@suse.de>
9684 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9686 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9687 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9688 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9690 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9692 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9693 * sysdeps/i386/fpu/libm-test-ulps: Update.
9694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9697 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9698 round-to-nearest mode when using frndint.
9699 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9700 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9701 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9703 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9705 * math/auto-libm-test-out: Regenerated.
9706 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9707 (TEST_COND_x86): Likewise.
9708 (expm1_tonearest_test_data): New array.
9709 (expm1_test_tonearest): New function.
9710 (expm1_towardzero_test_data): New array.
9711 (expm1_test_towardzero): New function.
9712 (expm1_downward_test_data): New array.
9713 (expm1_test_downward): New function.
9714 (expm1_upward_test_data): New array.
9715 (expm1_test_upward): New function.
9716 (main): Run the new test functions.
9717 * sysdeps/i386/fpu/libm-test-ulps: Update.
9718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9720 * include/features.h: Update comment documenting feature test
9721 macros. Mention _DEFAULT_SOURCE in comment.
9722 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9723 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9724 _BSD_SOURCE and _SVID_SOURCE.
9725 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9726 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9727 !_SVID_SOURCE]: Likewise.
9728 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9729 (__USE_POSIX_IMPLICITLY): Define.
9730 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9731 (_POSIX_SOURCE): Undefine and redefine.
9732 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9733 (_POSIX_C_SOURCE): Likewise.
9734 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9735 (Feature Test Macros): Update documentation of default features.
9737 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9739 * benchtests/Makefile: Add bench-strtok.
9740 * benchtests/bench-strtok.c: New file: strtok benchtest.
9742 2013-12-19 Allan McRae <allan@archlinux.org>
9744 * manual/install.texi: Suppress menu for plain text output.
9745 * INSTALL: Regenerated.
9747 2013-12-18 Brooks Moses <bmoses@google.com>
9750 * misc/getauxval.c: Include errno.h.
9751 (__getauxval): Set errno to ENOENT if the requested type is not
9753 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9754 don't declare with __attribute_const__.
9755 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9756 * manual/startup.texi: Document that getauxval sets errno.
9758 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9760 * math/auto-libm-test-in: Add tests of jn and yn.
9761 * math/auto-libm-test-out: Regenerated.
9762 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9763 (yn_test_data): Likewise.
9764 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9766 (func_calc_desc): Add mpfr_if_f union field.
9767 (FUNC_mpfr_if_f): New macro.
9768 (test_functions): Add jn and yn.
9769 (calc_generic_results): Assert type of second input for
9770 mpfr_ff_f. Handle mpfr_if_f.
9771 (output_for_one_input_case): Disable all checking for arguments
9772 fitting floating-point types in case of an integer argument.
9773 * sysdeps/i386/fpu/libm-test-ulps: Update.
9774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9777 Don't expect fegetround reference in libm.so.
9779 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9781 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9782 $(config-cflags-nofma).
9784 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9786 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9787 * math/auto-libm-test-out: Regenerated.
9790 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9791 to determine exponent and adjust argument to have exponent of -1.
9792 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9794 * math/auto-libm-test-out: Regenerated.
9795 * sysdeps/i386/fpu/libm-test-ulps: Update.
9796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9798 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9800 * manual/probes.texi: Remove cases when per-thread arenas are
9803 2013-12-18 Andreas Schwab <schwab@suse.de>
9805 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9806 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9807 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9808 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9809 * sysdeps/i386/i686/multiarch/Makefile: Update.
9810 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9812 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9814 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9815 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9817 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9820 Support TZ transition times < 00:00:00.
9821 This is needed for version-3 tz-format files; it supports time
9822 stamps past 2037 for America/Godthab (the only entry in the tz
9823 database for which this change is relevant).
9824 * manual/time.texi (TZ Variable): Document transition times
9825 from -167:59:59 through -00:00:01.
9826 * time/tzset.c (tz_rule): Time of day is now signed.
9827 (__tzset_parse_tz): Parse negative time of day.
9829 Document TZ transition times >= 25:00:00.
9830 * manual/time.texi (TZ Variable): Document transition times from
9831 25:00:00 through 167:59:59. These are already supported, and this
9832 support will help with version-3 tz-format files.
9834 * manual/time.texi (TZ Variable): Modernize North America example
9835 to reflect current (i.e., 2007-and-later) daylight saving rules.
9837 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9839 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9841 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9842 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9843 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9844 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9845 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9846 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9847 * sysdeps/unix/bsd/clock.c: Likewise.
9848 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9849 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9850 * sysdeps/unix/bsd/init-posix.c: Likewise.
9851 * sysdeps/unix/bsd/poll.c: Likewise.
9852 * sysdeps/unix/bsd/ptsname.c: Likewise.
9853 * sysdeps/unix/bsd/seekdir.c: Likewise.
9854 * sysdeps/unix/bsd/setegid.c: Likewise.
9855 * sysdeps/unix/bsd/seteuid.c: Likewise.
9856 * sysdeps/unix/bsd/setgid.c: Likewise.
9857 * sysdeps/unix/bsd/setrgid.c: Likewise.
9858 * sysdeps/unix/bsd/setruid.c: Likewise.
9859 * sysdeps/unix/bsd/setsid.c: Likewise.
9860 * sysdeps/unix/bsd/setuid.c: Likewise.
9861 * sysdeps/unix/bsd/sigaction.c: Likewise.
9862 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9863 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9864 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9865 * sysdeps/unix/bsd/telldir.c: Likewise.
9866 * sysdeps/unix/bsd/times.c: Likewise.
9867 * sysdeps/unix/bsd/usleep.c: Likewise.
9869 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9870 ($(objpfx)libbsd-compat.a): Remove rule.
9872 * include/features.h (__FAVOR_BSD): Do not define.
9873 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9874 features conflicting with POSIX.
9875 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9876 (_BSD_SOURCE): Remove description of not being a subset of other
9877 feature test macros.
9878 * manual/job.texi (getpgrp): Do not document BSD version.
9879 (getpgid): Do not document by reference to BSD getpgrp.
9880 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9881 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9882 * signal/signal.h [__FAVOR_BSD]: Likewise.
9883 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9884 instead of making contents conditional on [__FAVOR_BSD].
9885 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9887 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9891 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9894 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9895 values below 2**-450, not 2**-500.
9896 * math/auto-libm-test-in: Don't allow spurious underflow from
9898 * math/auto-libm-test-out: Regenerated.
9902 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9903 values of ha and hb and sort them after adjusting subnormal
9905 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9907 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9908 values of ea and eb and sort them after adjusting subnormal
9910 * math/auto-libm-test-in: Do not expect some hypot tests of
9911 subnormals to fail. Add more hypot tests.
9912 * math/auto-libm-test-out: Regenerated.
9914 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9917 * sysdeps/sh/s_fma.c: New file.
9918 * sysdeps/sh/s_fmaf.c: New file.
9919 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9921 * sysdeps/sh/Implies: Add sh/soft-fp.
9923 2013-12-16 Roland McGrath <roland@hack.frob.com>
9925 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9926 level of indirection to members `objname', `errstring', `malloced'.
9927 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9928 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9929 it as the __longjmp argument (just pass 1 instead).
9930 (_dl_catch_error): Initialize C with argument pointers and address of
9931 volatile local ERRCODE rather than copying values out of C at return.
9933 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9935 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9936 * math/auto-libm-test-out: Regenerated.
9937 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9938 (hypot_test_data): Likewise.
9939 (pow_test_data): Likewise.
9940 (pow_tonearest_test_data): Likewise.
9941 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9943 (func_calc_desc): Add mpfr_ff_f union field.
9944 (FUNC_mpfr_ff_f): New macro.
9945 (test_functions): Add atan2, hypot and pow.
9946 (special_fill_min): New function.
9947 (special_fill_minus_min): Likewise.
9948 (special_fill_min_subnorm): Likewise.
9949 (special_fill_minus_min_subnorm): Likewise.
9950 (special_real_inputs): Add min, -min, min_subnorm and
9952 (calc_generic_results): Handle mpfr_ff_f.
9953 * sysdeps/i386/fpu/libm-test-ulps: Update.
9954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9956 2013-12-16 Will Newton <will.newton@linaro.org>
9958 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9959 (Aligned Memory Blocks): Add documentation for aligned_alloc
9960 and suggest it as an alternative to posix_memalign.
9961 (Hooks for Malloc): Document __memalign_hook is also called
9962 for aligned_alloc. (Summary of Malloc): Add summary for
9963 aligned alloc. Document __memalign_hook is also called
9966 2013-12-16 Will Newton <will.newton@linaro.org>
9968 * manual/memory.texi (Malloc Examples): Clarify default
9969 alignment documentation. Suggest posix_memalign rather
9970 than memalign or valloc.
9971 (Aligned Memory Blocks): Remove suggestion to use memalign
9972 or valloc. Remove obsolete comment about BSD.
9973 Document memalign errno values and mark the function obsolete.
9974 Document posix_memalign returned error codes. Mark valloc
9975 as obsolete. (Hooks for Malloc): __memalign_hook is also
9976 called for posix_memalign and valloc.
9977 (Summary of Malloc): Add posix_memalign to function summary.
9978 __memalign_hook is also called for posix_memalign and valloc.
9980 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9982 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9986 (sloww): Use mynumber union. Expand ternary operator into
9988 (cslow): use mynumber union.
9990 2013-12-16 Allan McRae <allan@archlinux.org>
9992 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9993 * configure: Regenerated.
9995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9998 * configure.ac: Added --enable-maintainer-mode. Check for
9999 autoconf when enabled.
10000 * configure: Regenerated.
10002 * nscd/nscd.service: New file.
10003 * nscd/nscd.tmpfiles: New file.
10005 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10008 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10009 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10010 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10011 (strstr): Add __strstr_sse2_unaligned ifunc.
10012 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10013 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10014 (strcasestr): Remove __strcasestr_sse42 ifunc.
10015 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10019 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10021 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10022 * sysdeps/sh/bits/fenv.h: ... here.
10023 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10025 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10027 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10030 hypotf multiarch implementations.
10031 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10032 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10033 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10034 multiarch hypot for PPC64.
10035 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10036 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10037 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10038 multiarch hypotf for PPC64.
10040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10041 modff multiarch implementations.
10042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10045 multiarch modf for PPC64.
10046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10049 multiarch modff for PPC64.
10051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10052 and logl multiarch implementations.
10053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10056 multiarch logb for PPC64.
10057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10060 multiarch logb for PPC64.
10061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10064 multiarch logb for PPC64.
10066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10067 isinff multiarch implementation.
10068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10072 multiarch isinf for PPC64.
10073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10076 multiarch isinff for PPC64.
10078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10079 finitef multiarch implementation.
10080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10084 multiarch finite for PPC64.
10085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10088 multiarch finitef for PPC64.
10090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10091 lrint multiarch implementation.
10092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10096 multiarch llrint for PPC64.
10097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10098 multiarch lrint for PPC64.
10100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10101 copysignf multiarch implementation.
10102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10107 multiarch copysign for PPC64.
10108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10109 multiarch copysignf for PPC64.
10111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10112 multiarch implementation.
10113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10121 multiarch llround for PPC64.
10122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10123 multiarch trunc for PPC64.
10124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10125 multiarch truncf for PPC64.
10127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10128 multiarch implementation.
10129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10137 multiarch llround for PPC64.
10138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10139 multiarch round for PPC64.
10140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10141 multiarch roundf for PPC64.
10143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10144 multiarch implementation.
10145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10153 multiarch llround for PPC64.
10154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10155 multiarch floor for PPC64.
10156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10157 multiarch floorf for PPC64.
10159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10160 multiarch implementation.
10161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10169 multiarch llround for PPC64.
10170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10171 multiarch ceil for PPC64.
10172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10173 multiarch ceilf for PPC64.
10175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10176 multiarch implementation.
10177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10184 multiarch llround for PPC64.
10185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10186 multiarch lround for PPC64.
10188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10189 multiarch implementation.
10190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10197 multiarch isnan for PPC64.
10198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10199 multiarch isnanf for PPC64.
10201 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10202 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10203 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10204 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10205 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10208 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10209 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10214 multiarch implementations.
10215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10216 (__libc_ifunc_impl_list): Likewise.
10217 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10218 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10219 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10220 multiarch stpcpy for PPC64.
10222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10223 multiarch implementations.
10224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10225 (__libc_ifunc_impl_list): Likewise.
10226 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10227 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10228 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10229 multiarch strcpy for PPC64.
10231 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10232 redefine function name.
10233 (_wordcopy_fwd_dest_aligned): Likewise.
10234 (_wordcopy_bwd_aligned): Likewise.
10235 (_wordcopy_bwd_dest_aligned): Likewise.
10236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10237 multiarch implementations.
10238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10239 (__libc_ifunc_impl_list): Likewise.
10240 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10241 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10242 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10243 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10244 multiarch wcscpy for PPC64.
10246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10247 multiarch implementations.
10248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10249 (__libc_ifunc_impl_list): Likewise.
10250 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10251 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10252 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10253 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10254 multiarch wcscpy for PPC64.
10256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10257 multiarch implementations.
10258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10259 (__libc_ifunc_impl_list): Likewise.
10260 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10261 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10262 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10263 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10264 multiarch wcsrchr for PPC64.
10266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10267 multiarch implementations.
10268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10269 (__libc_ifunc_impl_list): Likewise.
10270 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10271 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10272 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10273 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10274 multiarch wcschr for PPC64.
10276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10277 multiarch implementations.
10278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10279 (__libc_ifunc_impl_list): Likewise.
10280 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10281 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10282 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10283 multiarch strchrnul for PPC64.
10285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10288 (__libc_ifunc_impl_list): Likewise.
10289 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10290 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10291 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10292 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10298 (__libc_ifunc_impl_list): Likewise.
10299 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10300 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10301 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10302 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10306 multiarch implementations.
10307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10308 (__libc_ifunc_impl_list): Likewise.
10309 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10310 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10311 strncasecmp for PPC64.
10312 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10313 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10314 multiarch strncasecmp_l for PPC64.
10316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10317 multiarch implementations.
10318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10319 (__libc_ifunc_impl_list): Likewise.
10320 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10321 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10322 multiarch strcasecmp for PPC64.
10323 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10325 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10326 multiarch strcasecmp_l for PPC64.
10328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10331 (__libc_ifunc_impl_list): Likewise.
10332 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10333 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10334 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10340 (__libc_ifunc_impl_list): Likewise.
10341 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10342 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10343 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10349 (__libc_ifunc_impl_list): Likewise.
10350 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10351 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10352 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10353 rawmemrchr for PPC64.
10355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10358 (__libc_ifunc_impl_list): Likewise.
10359 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10360 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10361 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10367 (__libc_ifunc_impl_list): Likewise.
10368 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10369 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10370 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10376 (__libc_ifunc_impl_list): Likewise.
10377 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10378 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10379 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10382 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10383 avoid cretion of __bzero symbol.
10384 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10386 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10388 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10391 multiarch implementations.
10392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10393 (__libc_ifunc_impl_list): Likewise.
10394 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10395 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10396 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10397 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10399 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10400 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10401 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10402 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10403 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10405 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10407 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10411 (__libc_ifunc_impl_list): Likewise.
10412 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10413 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10414 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10415 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10419 multiarch for POWER/PPC64.
10420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10421 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10422 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10423 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10424 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10425 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10426 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10427 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10428 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10431 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10432 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10433 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10434 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10435 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10436 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10437 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10438 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10439 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10440 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10441 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10442 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10443 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10444 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10445 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10454 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10456 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10458 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10460 * benchtests/Makefile (bench): Add exp2 and log2.
10461 (LDLIBS-bench-exp2): Add -lm.
10462 (LDLIBS-bench-log2): Likewise.
10463 * benchtests/exp2-inputs: New inputs file.
10464 * benchtests/log2-inputs: New inputs file.
10465 * benchtests/log-inputs: Add new inputs.
10466 * benchtests/tan-inputs: Likewise.
10468 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10470 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10472 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10473 (csloww2): ... from here.
10475 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10476 instead of structures.
10477 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10478 (POLYNOMIAL): Likewise.
10479 (TAYLOR_SLOW): Likewise.
10485 (sloww1); Likewise.
10486 (sloww2): Likewise.
10487 (bsloww1): Likewise.
10488 (bsloww2): Likewise.
10489 (cslow2): Likewise.
10490 (csloww): Likewise.
10491 (csloww1): Likewise.
10492 (csloww2): Likewise.
10494 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10496 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10497 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10498 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10499 * malloc/hooks.c (realloc_check): Likewise.
10501 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10502 * malloc/arena.c: Remove PER_THREAD conditional.
10503 [!PER_THREAD]: Remove code.
10504 (ptmalloc_unlock_all2): Likewise.
10505 (ptmalloc_init): Likewise.
10506 (_int_new_arena): Likewise.
10507 (arena_get2): Likewise.
10508 * malloc/hooks.c (__malloc_get_state): Likewise.
10509 (__malloc_set_state): Likewise.
10510 * malloc/malloc.c: Likewise.
10511 (struct malloc_state): Likewise.
10512 (struct malloc_par): Likewise.
10513 (__libc_realloc): Likewise.
10514 (__libc_mallopt): Likewise.
10516 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10518 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10520 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10522 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10523 macro to a function. Check for zero perturb_byte.
10524 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10526 * malloc/malloc.c: (force_reg): Remove.
10527 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10528 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10529 force_reg by atomic_forced_read.
10530 * malloc/arena.c (ptmalloc_init): Likewise.
10531 * malloc/hooks.c (top_check): Likewise.
10533 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10537 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10541 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10543 * math/auto-libm-test-in: Add tests of lgamma.
10544 * math/auto-libm-test-out: Regenerated.
10545 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10546 (M_LOG_2_SQRT_PIl): Likewise.
10547 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10548 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10550 (func_calc_desc): Add mpfr_f_f1 union field.
10551 (ARGS1): New macro.
10559 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10560 (test_functions): Add lgamma.
10561 (calc_generic_results): Handle mpfr_f_f1.
10562 * sysdeps/i386/fpu/libm-test-ulps: Update.
10563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10565 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10567 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10568 __mpn_add_n for PowerPC64/POWER7.
10569 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10570 __mpn_sub_n for PowerPC64/POWER7.
10572 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10573 __mpn_addmul_1 for PowerPC64.
10574 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10575 __mpn_submul_1 for PowerPC64.
10576 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10578 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10581 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10584 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10586 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10588 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10590 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10591 add multiarch folders.
10592 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10593 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10594 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10595 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10596 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10597 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10598 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10599 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10600 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10601 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10602 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10611 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10617 multiarch __ieee754_hypot for PowerPC32.
10618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10623 multiarch __ieee754_hypotf for PowerPC32.
10625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10626 long_double_symbol only if __logbl is defined.
10627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10628 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10629 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10630 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10631 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10632 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10633 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10634 path for implementation.
10635 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10636 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10638 logb, and logbl multiarch implementations for PowerPC32.
10639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10644 multiarch logb for PowerPC32.
10645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10650 multiarch logbf for PowerPC32.
10651 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10655 multiarch logbl implementation for PowerPC32.
10657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10658 and modff multiarch implementations.
10659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10664 multiarch modf for PowerPC32.
10665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10670 multiarch modff for PowerPC32.
10672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10673 and lrintf multiarch implementations.
10674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10679 multiarch lrint for PowerPC32.
10680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10681 file: multiarch lrintf for PowerPC32.
10683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10684 and lroundf multiarch implementations.
10685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10692 multiarch lround for PowerPC32.
10693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10694 file: multiarch lroundf for PowerPC32.
10696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10697 copysign and copysignf multiarch implementations.
10698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10703 file: multiarch copysign for PowerPC32.
10704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10705 file: multiarch copysignf for PowerPC32.
10707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10708 and truncf multiarch implementations.
10709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10714 multiarch trunc for PowerPC32.
10715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10720 multiarch truncf for PowerPC32.
10722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10723 and roundf multiarch implementations.
10724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10729 multiarch round for PowerPC32.
10730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10735 multiarch roundf for PowerPC32.
10737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10738 and floorf multiarch implementations.
10739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10744 multiarch floor for PowerPC32.
10745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10750 multiarch floorf for PowerPC32.
10752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10753 and ceilf multiarch implementations.
10754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10759 multiarch ceil for PowerPC32.
10760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10765 multiarch ceilf for PowerPC32.
10767 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10769 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10770 FINITEF is defined.
10771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10772 and finitef multiarch implementations.
10773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10778 multiarch finite for PowerPC32.
10779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10782 file: multiarch finitef for PowerPC32.
10784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10785 and isinff multiarch implementations.
10786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10791 multiarch isinf for PowerPC32.
10792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10795 multiarch isinff for PowerPC32.
10797 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10798 alias when __isnan is defined.
10799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10800 and isnanf multiarch implementations.
10801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10810 multiarch isnan for PowerPC32.
10811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10816 multiarch isnanf for PowerPC32.
10818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10819 and sqrtf multiarch implementations.
10820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10825 multiarch sqrt for PowerPC32.
10826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10831 multiarch sqrtf for PowerPC32.
10833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10834 and llroundf multiarch implementations.
10835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10842 file: multiarch llround for PowerPC32.
10843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10844 file: multiarch llroundf for PowerPC32.
10846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10847 multiarch PowerPC32 fpu implementations.
10848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10853 multiarch llrint for PowerPC32.
10854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10863 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10865 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10867 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10869 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10870 multiarch wordcopy for PPC32.
10871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10874 (__libc_ifunc_impl_list): Likewise.
10875 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10876 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10877 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10878 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10879 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10880 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10882 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10883 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10885 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10890 multiarch wcscpy for PPC32.
10891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10894 (__libc_ifunc_impl_list): Likewise.
10895 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10896 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10897 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10898 sysdeps/powerpc/power6/wcscpy.c.
10900 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10905 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10908 multiarch wcsrchr for PPC32.
10909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10912 (__libc_ifunc_impl_list): Likewise.
10913 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10914 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10915 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10916 sysdeps/powerpc/power6/wcsrchr.c.
10918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10924 multiarch wcschr for PPc32.
10925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10928 (__libc_ifunc_impl_list): Likewise.
10929 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10930 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10931 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10932 sysdeps/powerpc/power6/wcschr.c.
10934 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10935 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10937 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10938 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10939 file: multiarch strchr for PPC32.
10940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10943 (__libc_ifunc_impl_list): Likewise.
10945 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10947 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10949 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10951 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10952 multiarch strchrnul for PPC32.
10953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10956 (__libc_ifunc_impl_list): Likewise.
10958 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10960 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10961 multiarch strncasecmp for PPC32.
10962 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10964 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10965 multiarch strncasecmp_l for PPC32.
10966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10967 strncasecmp multiarch objects.
10968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10969 (__libc_ifunc_impl_list): Likewise.
10971 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10973 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10974 multiarch strncasecmp for PPC32.
10975 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10977 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10978 multiarch strcasecmp_l for PPC32.
10979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10982 (__libc_ifunc_impl_list): Likewise.
10984 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10986 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10988 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10989 multiarch strncmp for PPC32.
10990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10993 (__libc_ifunc_impl_list): Likewise.
10995 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10996 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10998 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10999 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11003 (__libc_ifunc_impl_list): Likewise.
11005 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11007 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11009 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11013 (__libc_ifunc_impl_list): Likewise.
11015 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11017 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11019 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11020 multiarch rawmemchr for PPC32.
11021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11024 (__libc_ifunc_impl_list): Likewise.
11026 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11028 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11030 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11031 file: memrchr multiarch for PPC32.
11032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11035 (__libc_ifunc_impl_list): Likewise.
11037 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11038 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11040 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11041 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11042 multiarch memchr for PPC32.
11043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11046 (__libc_ifunc_impl_list): Likewise.
11048 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11049 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11051 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11053 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11054 file: multiarch mempcpy for PPC32.
11055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11058 (__libc_ifunc_impl_list): Likewise.
11060 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11061 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11062 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11063 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11064 multiarch bzero for PPC32.
11065 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11067 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11069 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11070 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11071 file: multiarch memset for PPC32.
11072 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11074 memset multiarch objects.
11075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11076 (__libc_ifunc_impl_list): Likewise.
11078 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11080 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11081 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11083 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11087 (__libc_ifunc_impl_list): Likewise.
11089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11091 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11093 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11095 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11097 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11098 multiarch memcpy for PPC32.
11099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11102 (__libc_ifunc_impl_list): Likewise.
11104 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11105 support multiarch for POWER/PPC32.
11106 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11108 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11110 Implies file to make multiarch folder appers before the fpu and
11111 default folder for power4 configuration.
11113 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11115 * scripts/bench.pl: Append volatile keyword to type.
11117 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11119 * sysdeps/sh/sotruss-lib.c: New file.
11120 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11122 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11126 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11129 * math/w_tgamma.c: Include <errno.h>.
11130 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11131 * math/w_tgammaf.c: Include <errno.h>.
11132 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11133 * math/w_tgammal.c: Include <errno.h>.
11134 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11135 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11136 underflow. Add more tgamma tests.
11137 * math/auto-libm-test-out: Regenerated.
11138 * sysdeps/i386/fpu/libm-test-ulps: Update.
11139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11141 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11142 sin, sinh, tan, tanh, tgamma, y0 and y1.
11143 * math/auto-libm-test-out: Regenerated.
11144 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11145 (TEST_COND_x86): Likewise.
11146 (M_E2l): Remove macro.
11148 (M_2_SQRT_PIl): Likewise.
11149 (M_SQRT_PIl): Likewise.
11150 (M_1_DIV_El): Likewise.
11151 (log_test_data): Use AUTO_TESTS_f_f.
11152 (log10_test_data): Likewise.
11153 (log1p_test_data): Likewise.
11154 (log2_test_data): Likewise.
11155 (sin_test_data): Likewise.
11156 (sin_tonearest_test_data): Likewise.
11157 (sin_towardzero_test_data): Likewise.
11158 (sin_downward_test_data): Likewise.
11159 (sin_upward_test_data): Likewise.
11160 (sinh_test_data): Likewise.
11161 (sinh_tonearest_test_data): Likewise.
11162 (sinh_towardzero_test_data): Likewise.
11163 (sinh_downward_test_data): Likewise.
11164 (sinh_upward_test_data): Likewise.
11165 (tan_test_data): Likewise.
11166 (tan_tonearest_test_data): Likewise.
11167 (tan_towardzero_test_data): Likewise.
11168 (tan_downward_test_data): Likewise.
11169 (tan_upward_test_data): Likewise.
11170 (tanh_test_data): Likewise.
11171 (tgamma_test_data): Likewise.
11172 (y0_test_data): Likewise.
11173 (y1_test_data): Likewise.
11174 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11175 (special_real_inputs): Add pi/4.
11176 * sysdeps/i386/fpu/libm-test-ulps: Update.
11177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11179 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11181 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11182 "longjmp_target" static probes.
11183 (__longjmp): Rename to __longjmp_symbol.
11184 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11185 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11186 on which longjmp to generate.
11187 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11188 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11190 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11191 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11192 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11193 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11194 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11195 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11197 __longjmp_symbol based on which __longjmp to generate.
11198 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11200 (setjmp): Rename to setjmp_symbol.
11201 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11202 (_setjmp): Rename to _setjmp_symbol.
11203 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11204 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11205 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11206 which setjmp to generate.
11207 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11208 "longjmp_target" static probes.
11210 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11212 * benchtests/README: Add note about output arguments.
11213 * benchtests/bench-sincos.c: Remove file.
11214 * benchtests/sincos-inputs: New file.
11215 * scripts/bench.pl: Identify output arguments and define
11216 static variables for them.
11218 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11221 * Makefile (INSTALL): Add install-plain.texi as the primary
11223 * manual/install-plain.texi: New file.
11224 * manual/install.texi: Include node directive only for
11225 non-plaintext output.
11227 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11229 * stdlib/longlong.h: Update from GCC.
11233 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11234 * math/w_j0f.c (y0f): Likewise.
11235 * math/w_j0l.c (__y0l): Likewise.
11236 * math/w_j1.c (y1): Likewise.
11237 * math/w_j1f.c (y1f): Likewise.
11238 * math/w_j1l.c (__y1l): Likewise
11239 * math/w_jn.c (yn): Likewise.
11240 * math/w_jnf.c (ynf): Likewise.
11241 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11242 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11243 value for Bessel function domain errors outside _SVID_ mode.
11244 Adjust sign of return value for yn (negative integer, 0).
11245 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11246 by zero in return for negative x and set sign appropriately for
11248 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11249 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11250 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11251 expectations in error cases.
11252 (y1_test_data): Likewise.
11253 (yn_test_data): Likewise.
11254 * sysdeps/i386/fpu/libm-test-ulps: Update.
11255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11257 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11259 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11260 "64" to "64-v1". Add "64-v2".
11261 (abi-64-options): Rename to ...
11262 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11263 (abi-64-condition): Rename to ...
11264 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11265 (abi-64-ld-soname): Rename to ...
11266 (abi-64-v1-ld-soname): ... this.
11267 (abi-64-v2-options): Define.
11268 (abi-64-v2-condition): Likewise.
11269 (abi-64-v2-ld-soname): Likewise.
11270 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11271 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11276 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11277 Alan Modra <amodra@gmail.com>
11279 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11280 New versions for use with the ELFv2 ABI.
11281 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11282 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11284 (struct La_ppc64v2_retval): Likewise.
11285 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11286 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11287 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11288 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11289 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11290 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11291 Do not save or restore CR.
11292 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11293 (_dl_profile_resolve): Do no save or restore CR. Support extended
11294 return values for ELFv2 ABI. Fix location of FPR return registers.
11295 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11296 updated values for _CALL_ELF == 2.
11297 (La_regs, La_retval, int_retval): Likewise.
11299 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11301 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11302 (FRAME_MIN_SIZE_PARM): Likewise.
11303 (FRAME_BACKCHAIN): Likewise.
11304 (FRAME_CR_SAVE): Likewise.
11305 (FRAME_LR_SAVE): Likewise.
11306 (FRAME_TOC_SAVE): Likewise.
11307 (FRAME_PARM_SAVE): Likewise.
11308 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11309 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11310 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11311 (call_mcount_parm_offset): New macro.
11312 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11313 (PROF): Use symbolic stack frame offsets.
11314 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11315 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11316 Redefine in terms of FRAME_MIN_SIZE.
11317 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11318 (_dl_profile_resolve): Likewise. Update comment.
11319 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11320 symbols stack frame offsets.
11321 (__sigsetjmp): Likewise.
11322 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11323 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11324 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11325 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11328 (FRAME_BACKCHAIN): Remove.
11329 (FRAME_CR_SAVE): Likewise.
11330 (FRAME_LR_SAVE): Likewise.
11331 (FRAME_COMPILER_DW): Likewise.
11332 (FRAME_LINKER_DW): Likewise.
11333 (FRAME_TOC_SAVE): Likewise.
11334 (FRAME_PARM_SAVE): Likewise.
11335 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11336 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11337 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11339 (CHECK_SP): Use symbolic stack frame offsets.
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11341 zone" instead of caller's parameter save area for temp storage.
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11343 Likewise. Also, use symbolic stack frame offsets.
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11345 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11346 our own stack frame instead of the caller's.
11347 (__socket): Use symbolic stack frame offsets.
11349 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11350 Alan Modra <amodra@gmail.com>
11352 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11354 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11355 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11356 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11358 (elf_machine_fixup_plt): Call it.
11359 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11361 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11362 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11363 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11364 r2 before calling target.
11366 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11367 Alan Modra <amodra@gmail.com>
11369 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11370 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11371 versions of macros to support ELFv2 ABI.
11372 (LOCALENTRY): New macro.
11373 (ENTRY, EALIGN): Use it.
11374 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11375 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11376 fall through into ENTRY entry point.
11377 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11378 Only define if _CALL_ELF != 2.
11380 (elf_machine_matches_host): Verify ABI version matches.
11381 (RTLD_START): Use LOCALENTRY.
11382 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11383 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11384 (PLT_ENTRY_WORDS): New macro.
11385 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11386 (elf_machine_runtime_setup): Support ELFv2 ABI.
11387 (elf_machine_fixup_plt): Likewise.
11388 (elf_machine_plt_conflict): Likewise.
11389 (resolve_ifunc): Likewise.
11390 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11391 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11394 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11396 (makecontext): Support ELFv2 ABI.
11397 * elf/elf.h (EF_PPC64_ABI): Define.
11399 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11401 * sysdeps/powerpc/powerpc64/sysdep.h
11402 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11403 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11404 (ENTRY) [ASSEMBLER]: ... but instead here ...
11405 (EALIGN) [ASSEMBLER]: ... and here.
11406 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11407 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11408 (ENTRY_2) [!ASSEMBLER]: Use it.
11409 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11410 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11411 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11412 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11413 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11415 Use PPC64_LOAD_FUNCPTR.
11417 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11419 2013-12-04 Alan Modra <amodra@gmail.com>
11421 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11422 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11423 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11424 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11426 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11427 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11428 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11429 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11430 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11431 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11433 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11436 (__makecontext): Fix incorrect CFI when backtracing out of
11437 context created via makecontext.
11438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11439 (__setcontext): Fix incorrect CFI during switch to new context.
11440 (__novec_setcontext): Likewise.
11442 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11445 * time/strptime_l.c (__strptime_internal): Allow modifiers
11447 * time/tst-strptime.c (day_tests): Add testcase.
11449 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11451 * scripts/bench.pl: Skip over blank lines.
11453 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11456 * manual/time.texi (Calendar Time): Clarify what timezone functions
11459 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11463 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11465 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11467 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11468 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11469 * debug/memset_chk.c (__memset_chk): Likewise.
11470 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11471 * debug/strncpy_chk.c: Likewise.
11473 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11477 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11478 (__ieee754_exp): For possibly underflowing results, check size of
11479 result and force underflow exception if required.
11480 * math/auto-libm-test-in: Add more tests of exp.
11481 * math/auto-libm-test-out: Regenerated.
11482 * sysdeps/i386/fpu/libm-test-ulps: Update.
11483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11486 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11487 * math/w_exp2f.c (__exp2f): Likewise.
11488 * math/w_exp2l.c (__exp2l): Likewise.
11489 * math/auto-libm-test-in: Do not allow missing errno on exp2
11491 * math/auto-libm-test-out: Regenerated.
11493 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11496 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11497 handle filename validation.
11498 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11501 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11504 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11505 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11506 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11508 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11509 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11510 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11511 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11512 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11513 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11514 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11515 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11516 Add more erfc tests.
11517 * math/auto-libm-test-out: Regenerated.
11518 * sysdeps/i386/fpu/libm-test-ulps: Update.
11519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11521 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11522 exp2, expm1, j0 and j1.
11523 * math/auto-libm-test-out: Regenerated.
11524 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11525 (erfc_test_data): Likewise.
11526 (exp_test_data): Likewise.
11527 (exp_tonearest_test_data): Likewise.
11528 (exp_towardzero_test_data): Likewise.
11529 (exp_downward_test_data): Likewise.
11530 (exp_upward_test_data): Likewise.
11531 (exp10_test_data): Likewise.
11532 (exp2_test_data): Likewise.
11533 (expm1_test_data): Likewise.
11534 (j0_test_data): Likewise.
11535 (j1_test_data): Likewise.
11536 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11537 (input_flag_type): Add flag_xfail_rounding.
11538 (input_flags): Add xfail-rounding.
11539 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11540 (output_for_one_input_case): Handle flag_xfail_rounding.
11541 * sysdeps/i386/fpu/libm-test-ulps: Update.
11542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11544 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11547 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11550 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11553 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11554 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11555 (STAP_PROBE0): New macro.
11556 (STAP_PROBE1): Likewise.
11557 (STAP_PROBE2): Likewise.
11558 (STAP_PROBE3): Likewise.
11559 (STAP_PROBE4): Likewise.
11561 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11563 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11565 2013-12-02 Steve Ellcey <sellcey@mips.com>
11567 * benchtests/Makefile (bench): Add sqrt.
11568 (LDLIBS-bench-sqrt): New.
11569 * benchtests/sqrt-input: New.
11571 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11573 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11574 (GAIH_EAI): Likewise.
11575 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11576 (gaih_inet): Likewise.
11577 (getaddrinfo): Don't use GAIH_EAI.
11579 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11580 (struct gaih): Remove definition.
11582 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11584 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11585 Use HERRNOP directly.
11587 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11591 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11593 * math/gen-auto-libm-tests.c (test_functions): Add more
11594 single-argument functions.
11595 (special_fill_pi_2): New function.
11596 (special_fill_minus_pi_2): Likewise.
11597 (special_fill_pi_6): Likewise.
11598 (special_fill_minus_pi_6): Likewise.
11599 (special_fill_pi_3): Likewise.
11600 (special_fill_2pi_3): Likewise.
11601 (special_fill_e): Likewise.
11602 (special_fill_1_e): Likewise.
11603 (special_fill_e_minus_1): Likewise.
11604 (special_real_inputs): Add more special inputs.
11605 (output_for_one_input_case): Do not require ERANGE on underflow to
11606 zero if round-to-nearest result does not underflow to zero, unless
11607 exact results required.
11608 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11609 atan, atanh, cbrt, cos and cosh.
11610 * math/auto-libm-test-out: Regenerated.
11611 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11612 (acos_tonearest_test_data): Likewise.
11613 (acos_towardzero_test_data): Likewise.
11614 (acos_downward_test_data): Likewise.
11615 (acos_upward_test_data): Likewise.
11616 (acosh_test_data): Likewise.
11617 (asin_test_data): Likewise.
11618 (asin_tonearest_test_data): Likewise.
11619 (asin_towardzero_test_data): Likewise.
11620 (asin_upward_test_data): Likewise.
11621 (asinh_test_data): Likewise.
11622 (atan_test_data): Likewise.
11623 (atanh_test_data): Likewise.
11624 (cbrt_test_data): Likewise.
11625 (cos_test_data): Likewise.
11626 (cos_tonearest_test_data): Likewise.
11627 (cos_towardzero_test_data): Likewise.
11628 (cos_downward_test_data): Likewise.
11629 (cos_upward_test_data): Likewise.
11630 (cosh_test_data): Likewise.
11631 (cosh_tonearest_test_data): Likewise.
11632 (cosh_towardzero_test_data): Likewise.
11633 (cosh_downward_test_data): Likewise.
11634 (cosh_upward_test_data): Likewise.
11635 * sysdeps/i386/fpu/libm-test-ulps: Update.
11636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11638 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11641 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11642 * math/w_exp10f.c (__exp10f): Likewise.
11643 * math/w_exp10l.c (__exp10l): Likewise.
11644 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11645 errno settings in existing tests.
11648 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11649 precision control set to double precision.
11650 * sysdeps/i386/fpu/w_sqrt.c: New file.
11651 * math/auto-libm-test-in: Add more tests.
11652 * math/auto-libm-test-out: Update.
11654 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11655 (sqrt_test_tonearest): New function.
11656 (sqrt_towardzero_test_data): New variable.
11657 (sqrt_test_towardzero): New function.
11658 (sqrt_downward_test_data): New variable.
11659 (sqrt_test_downward): New function.
11660 (sqrt_upward_test_data): New variable.
11661 (sqrt_test_upward): New function.
11662 (main): Call the new functions.
11664 * math/gen-auto-libm-tests.c: New file.
11665 * math/auto-libm-test-in: Likewise.
11666 * math/auto-libm-test-out: New generated file.
11667 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11669 (%beautify): Add generated representations of zero.
11670 (top level): Set $auto_input and call parse_auto_input.
11671 (beautify): Remove trailing "f" from hex float constants.
11672 (parse_args): Handle XFAIL_TEST.
11673 (convert_condition): New function.
11674 (or_value): Likewise.
11675 (or_cond_value): Likewise.
11676 (generate_testfile): Handle AUTO_TESTS_* lines.
11677 (parse_auto_input): New function.
11678 * math/libm-test.inc (XFAIL_TEST): New macro.
11679 (ERRNO_UNCHANGED): Update value.
11680 (ERRNO_EDOM): Likewise.
11681 (ERRNO_ERANGE): Likewise.
11682 (IGNORE_RESULT): Likewise.
11683 (TEST_COND_flt_32): New macro.
11684 (TEST_COND_dbl_64): Likewise.
11685 (TEST_COND_ldbl_96_intel): Likewise.
11686 (TEST_COND_ldbl_96_m68k): Likewise.
11687 (TEST_COND_ldbl_128): Likewise.
11688 (TEST_COND_ldbl_128ibm): Likewise.
11689 (TEST_COND_long32): Likewise.
11690 (TEST_COND_long64): Likewise.
11691 (TEST_COND_before_rounding): Likewise.
11692 (TEST_COND_after_rounding): Likewise.
11693 (enable_test): Handle XFAIL_TEST flag.
11694 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11695 with finite results.
11696 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11697 auto-libm-test-out.
11699 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11700 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11703 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11704 __tls_get_addr_internal instead of __tls_get_offset in order to
11705 avoid GOT pointer dependency. Make rtld export
11706 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11707 __tls_get_addr since we are a __tls_get_offset platform.
11708 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11709 GOT pointer being set up before.
11710 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11712 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11714 * manual/math.texi (Errors in Math Functions): Document accuracy
11718 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11719 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11722 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11723 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11724 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11726 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11727 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11729 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11735 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11736 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11737 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11738 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11739 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11741 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11743 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11745 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11746 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11747 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11748 atomic-feupdateenv and flt-rounds.
11749 * sysdeps/powerpc/nofpu/Versions (libc): Add
11750 __atomic_feholdexcept, __atomic_feclearexcept,
11751 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11752 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11753 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11754 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11755 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11760 * manual/arith.texi (FP Exceptions): Document that exceptions may
11761 not be raised when matherr is used.
11762 (Math Error Reporting): Document overflow in directed rounding
11763 modes. Document that errno may not be set when finite values are
11764 returned on overflow. Document intent to set errno on underflow
11765 only for underflow to zero.
11768 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11769 round-to-nearest then adjust result for other rounding modes.
11770 * include/fenv.h (fegetround): Use libm_hidden_proto.
11771 * math/fegetround.c (fegetround): Use libm_hidden_def.
11772 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11773 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11774 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11775 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11777 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11778 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11779 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11780 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11782 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11785 * nss/Versions (libnss_files): Add
11786 _nss_files_gethostbyname3_r.
11787 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11789 (HOST_DB_LOOKUP): Remove macro.
11790 (_nss_files_gethostbyname_r): Implement function without the
11791 HOST_DB_LOOKUP macro.
11792 (_nss_files_gethostbyname2_r): Likewise.
11794 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11796 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11798 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11800 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11801 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11804 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11806 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11807 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11808 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11809 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11810 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11811 __fe_nomask_env_priv and attribute_hidden.
11812 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11813 (libc_feupdateenv_test_ppc): Likewise.
11814 (libc_feresetround_ppc): Likewise.
11815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11816 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11817 compat_symbol macro.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11819 (__fe_nomask_env): Likewise.
11820 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11822 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11824 * string/Makefile: Remove ifunc tests.
11825 * string/test-string.h: Define TEST_IFUNC.
11826 * string/test-bcopy-ifunc.c: Remove.
11827 * string/test-bzero-ifunc.c: Likewise.
11828 * string/test-memccpy-ifunc.c: Likewise.
11829 * string/test-memchr-ifunc.c: Likewise.
11830 * string/test-memcmp-ifunc.c: Likewise.
11831 * string/test-memcpy-ifunc.c: Likewise.
11832 * string/test-memmem-ifunc.c: Likewise.
11833 * string/test-memmove-ifunc.c: Likewise.
11834 * string/test-mempcpy-ifunc.c: Likewise.
11835 * string/test-memrchr-ifunc.c: Likewise.
11836 * string/test-memset-ifunc.c: Likewise.
11837 * string/test-rawmemchr-ifunc.c: Likewise.
11838 * string/test-stpcpy-ifunc.c: Likewise.
11839 * string/test-stpncpy-ifunc.c: Likewise.
11840 * string/test-strcasecmp-ifunc.c: Likewise.
11841 * string/test-strcasestr-ifunc.c: Likewise.
11842 * string/test-strcat-ifunc.c: Likewise.
11843 * string/test-strchr-ifunc.c: Likewise.
11844 * string/test-strchrnul-ifunc.c: Likewise.
11845 * string/test-strcmp-ifunc.c: Likewise.
11846 * string/test-strcpy-ifunc.c: Likewise.
11847 * string/test-strcspn-ifunc.c: Likewise.
11848 * string/test-strlen-ifunc.c: Likewise.
11849 * string/test-strncasecmp-ifunc.c: Likewise.
11850 * string/test-strncat-ifunc.c: Likewise.
11851 * string/test-strncmp-ifunc.c: Likewise.
11852 * string/test-strncpy-ifunc.c: Likewise.
11853 * string/test-strnlen-ifunc.c: Likewise.
11854 * string/test-strpbrk-ifunc.c: Likewise.
11855 * string/test-strrchr-ifunc.c: Likewise.
11856 * string/test-strspn-ifunc.c: Likewise.
11857 * string/test-strstr-ifunc.c: Likewise.
11859 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11861 * benchtests/Makefile: Remove ifunc tests.
11862 * benchtests/bench-string.h: Define TEST_IFUNC.
11863 * benchtests/bench-bcopy-ifunc.c: Remove.
11864 * benchtests/bench-bzero-ifunc.c: Likewise.
11865 * benchtests/bench-memccpy-ifunc.c: Likewise.
11866 * benchtests/bench-memchr-ifunc.c: Likewise.
11867 * benchtests/bench-memcmp-ifunc.c: Likewise.
11868 * benchtests/bench-memcpy-ifunc.c: Likewise.
11869 * benchtests/bench-memmem-ifunc.c: Likewise.
11870 * benchtests/bench-memmove-ifunc.c: Likewise.
11871 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11872 * benchtests/bench-memrchr-ifunc.c: Likewise.
11873 * benchtests/bench-memset-ifunc.c: Likewise.
11874 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11875 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11876 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11877 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11878 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11879 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11880 * benchtests/bench-strcat-ifunc.c: Likewise.
11881 * benchtests/bench-strchr-ifunc.c: Likewise.
11882 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11883 * benchtests/bench-strcmp-ifunc.c: Likewise.
11884 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11885 * benchtests/bench-strcpy-ifunc.c: Likewise.
11886 * benchtests/bench-strcspn-ifunc.c: Likewise.
11887 * benchtests/bench-strlen-ifunc.c: Likewise.
11888 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11889 * benchtests/bench-strncat-ifunc.c: Likewise.
11890 * benchtests/bench-strncmp-ifunc.c: Likewise.
11891 * benchtests/bench-strncpy-ifunc.c: Likewise.
11892 * benchtests/bench-strnlen-ifunc.c: Likewise.
11893 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11894 * benchtests/bench-strrchr-ifunc.c: Likewise.
11895 * benchtests/bench-strsep-ifunc.c: Likewise.
11896 * benchtests/bench-strspn-ifunc.c: Likewise.
11897 * benchtests/bench-strstr-ifunc.c: Likewise.
11899 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11901 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11903 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11905 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11906 * rt/aio.h: Likewise.
11907 * sysdeps/gnu/bits/utmp.h: Likewise.
11908 * sysdeps/gnu/bits/utmpx.h: Likewise.
11909 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11910 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11911 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11912 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11913 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11914 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11915 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11916 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11917 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11918 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11919 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11920 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11921 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11923 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11924 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11925 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11926 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11927 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11928 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11929 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11930 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11931 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11932 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11933 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11934 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11935 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11936 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11937 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11938 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11939 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11940 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11941 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11942 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11943 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11944 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11945 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11946 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11947 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11948 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11949 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11950 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11952 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11955 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11956 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11958 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11960 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11961 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11964 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11966 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11967 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11968 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11969 (__fesetround): Remove define.
11970 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11971 rounding and exceptions handling.
11972 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11973 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11974 (__fe_nomask_env): Likewise.
11975 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11976 __fegetround instead of fegetround.
11977 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11978 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11980 2013-11-21 Roland McGrath <roland@hack.frob.com>
11982 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11985 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11987 2013-11-21 Meador Inge <meadori@codesourcery.com>
11990 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11991 (encrypt_r): Likewise.
11992 * malloc/obstack.h (obstack_free): Likewise.
11993 * posix/unistd.h (encrypt): Likewise.
11995 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11997 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11998 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11999 DL_CALL_DT_FINI() that call the functions directly.
12000 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12001 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12002 * elf/dl-fini.c: Likewise.
12004 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12006 * malloc/hooks.c (memalign_check): Add alignment rounding.
12007 * malloc/malloc.c (_mid_memalign): New function.
12008 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12009 Implement by calling _mid_memalign.
12010 * manual/probes.texi (Memory Allocation Probes): Remove
12011 memory_valloc_retry and memory_pvalloc_retry.
12013 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12015 * locale/programs/locarchive.c (open_archive): Add const
12016 qualifier to ARCHIVEFNAME and copy default fname to
12020 * libio/tst-widetext.input: Rename Oriya to Odia.
12021 * locale/iso-639.def: Likewise.
12023 * manual/probes.texi (Mathematical Function Probes): Add
12024 documentation for sin, cos, asin and acos probes.
12025 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12026 (__sin32): Add slowasin probe.
12027 (__cos32): Add slowacos probe.
12028 (__mpsin): Add slowsin probe.
12029 (__mpcos): Add slowcos probe.
12031 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12034 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12035 thread-local __sim_exceptions_thread and global
12036 __sim_exceptions_global.
12037 (__sim_disabled_exceptions): Change to thread-local
12038 __sim_disabled_exceptions_thread and global
12039 __sim_disabled_exceptions_global.
12040 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12041 and global __sim_round_mode_global.
12042 (__simulate_exceptions): Use thread-local floating-point state and
12043 set global state from it as needed.
12044 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12045 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12046 __sim_round_mode_thread.
12047 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12048 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12049 and global __sim_exceptions_global.
12050 (__sim_disabled_exceptions): Change to thread-local
12051 __sim_disabled_exceptions_thread and global
12052 __sim_disabled_exceptions_global.
12053 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12054 and global __sim_round_mode_global.
12055 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12056 (SIM_SET_GLOBAL): Likewise.
12057 * sysdeps/powerpc/soft-fp/sfp-machine.h
12058 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12059 __sim_round_mode_thread.
12060 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12061 __sim_disabled_exceptions_thread.
12062 (__sim_exceptions): Change to __sim_exceptions_thread.
12063 (__sim_disabled_exceptions): Change to
12064 __sim_disabled_exceptions_thread.
12065 (__sim_round_mode): Change to __sim_round_mode_thread.
12066 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12067 thread-local floating-point state and set global state from it as
12069 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12070 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12071 (__sim_disabled_exceptions): Remove extern declaration.
12072 (feenableexcept): Use thread-local floating-point state and set
12073 global state from it as needed.
12074 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12075 extern declaration.
12076 (__sim_disabled_exceptions): Likewise.
12077 (__sim_round_mode): Likewise.
12078 (__fegetenv): Use thread-local floating-point state.
12079 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12080 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12081 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12082 floating-point state and set global state from it as needed.
12083 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12084 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12085 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12087 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12088 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12090 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12091 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12092 Use __sim_round_mode_thread.
12093 * math/test-fenv-tls.c: New file.
12094 * math/Makefile (tests): Add test-fenv-tls.
12095 ($(objpfx)test-fenv-tls): Depend on
12096 $(common-objpfx)nptl/libpthread.so.
12098 2013-11-19 Andreas Schwab <schwab@suse.de>
12100 * locale/programs/locale.c (show_info): Decode wordarray elements.
12101 * locale/categories.def (LC_MONETARY): Add element for
12102 _NL_MONETARY_CRNCYSTR.
12103 * locale/C-monetary.c (conversion_rate): New variable.
12104 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12107 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12109 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12110 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12112 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12114 * elf/Makefile (tst-auxv): New test.
12115 * elf/tst-auxv.c: New
12116 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12118 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12120 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12121 (hidden_proto): Caller changed.
12122 (hidden_tls_proto): New macro.
12123 (libc_hidden_tls_proto): Likewise.
12124 (rtld_hidden_tls_proto): Likewise.
12125 (libm_hidden_tls_proto): Likewise.
12126 (libresolv_hidden_tls_proto): Likewise.
12127 (librt_hidden_tls_proto): Likewise.
12128 (libdl_hidden_tls_proto): Likewise.
12129 (libnss_files_hidden_tls_proto): Likewise.
12130 (libnsl_hidden_tls_proto): Likewise.
12131 (libnss_nisplus_hidden_tls_proto): Likewise.
12132 (libutil_hidden_tls_proto): Likewise.
12134 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12137 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12138 (decompose_rpath): Defer expansion to fillin_rpath.
12139 (_dl_init_paths): Pass linkmap to fillin_rpath.
12141 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12143 * benchtests/Makefile: Add strsep.
12144 * benchtests/bench-strsep.c: New file: strsep benchtest.
12145 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12147 2013-11-18 Andreas Schwab <schwab@suse.de>
12149 * locale/programs/locale.c (show_info) [case byte]: Check for
12150 '\377' instead of '\177'.
12151 * locale/C-monetary.c (not_available): Always use "\377".
12152 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12153 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12154 detect unavailable sign_posn locale elements.
12155 * locale/localeconv.c (__localeconv): For grouping and
12156 mon_grouping handle "\177" and "\377" like no grouping.
12157 (INT_ELEM): New macro. Use it to set all numeric members.
12158 * locale/programs/ld-monetary.c (monetary_read)
12159 <tok_mon_grouping>: Normalize single -1 to the empty string.
12160 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12163 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12166 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12167 when we match (nil).
12168 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12170 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12172 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12173 (NO_TEST_INLINE): Update value.
12174 (ERRNO_UNCHANGED): Likewise.
12175 (ERRNO_EDOM): Likewise.
12176 (ERRNO_ERANGE): Likewise.
12177 (IGNORE_RESULT): Likewise.
12178 (check_float_internal): Check signs of NaN results if
12179 TEST_NAN_SIGN used.
12180 (check_complex): Pass TEST_NAN_SIGN flag through to second
12181 check_float_internal call.
12182 (copysign_test_data): Add tests with quiet NaNs as second
12183 argument. Use TEST_NAN_SIGN.
12184 (fabs_test_data): Add test of negative quiet NaN argument. Use
12186 (signbit_test_data): Add tests of quiet NaN argument.
12187 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12189 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12191 (parse_args): Handle function results specified as IGNORE.
12192 * math/libm-test.inc (IGNORE_RESULT): New macro.
12193 (check_float_internal): Do not check numerical result if flag
12195 (check_complex): Pass through IGNORE_RESULT to second
12196 check_float_internal call.
12197 (check_int): Do not check numerical result if flag IGNORE_RESULT
12199 (check_long): Likewise.
12200 (check_bool): Likewise.
12201 (check_longlong): Likewise.
12202 (lrint_test_data): Add tests of infinite and NaN arguments.
12203 (lrint_tonearest_test_data): Likewise.
12204 (lrint_towardzero_test_data): Likewise.
12205 (lrint_downward_test_data): Likewise.
12206 (lrint_upward_test_data): Likewise.
12207 (llrint_test_data): Likewise.
12208 (llrint_tonearest_test_data): Likewise.
12209 (llrint_towardzero_test_data): Likewise.
12210 (llrint_downward_test_data): Likewise.
12211 (llrint_upward_test_data): Likewise.
12212 (lround_test_data): Likewise.
12213 (llround_test_data): Likewise.
12215 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12216 (ERRNO_UNCHANGED): Update value.
12217 (ERRNO_EDOM): Likewise.
12218 (ERRNO_ERANGE): Likewise.
12219 (NO_TEST_INLINE_FLOAT): New macro.
12220 (NO_TEST_INLINE_DOUBLE): Likewise.
12221 (enable_test): New function.
12222 (RUN_TEST_f_f): Check enable_test before running test.
12223 (RUN_TEST_2_f): Likewise.
12224 (RUN_TEST_fff_f): Likewise.
12225 (RUN_TEST_c_f): Likewise.
12226 (RUN_TEST_f_f1): Likewise.
12227 (RUN_TEST_fF_f1): Likewise.
12228 (RUN_TEST_fI_f1): Likewise.
12229 (RUN_TEST_ffI_f1): Likewise.
12230 (RUN_TEST_c_c): Likewise.
12231 (RUN_TEST_cc_c): Likewise.
12232 (RUN_TEST_f_i): Likewise.
12233 (RUN_TEST_f_i_tg): Likewise.
12234 (RUN_TEST_ff_i_tg): Likewise.
12235 (RUN_TEST_f_b): Likewise.
12236 (RUN_TEST_f_b_tg): Likewise.
12237 (RUN_TEST_f_l): Likewise.
12238 (RUN_TEST_f_L): Likewise.
12239 (RUN_TEST_fFF_11): Likewise.
12240 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12242 (cosh_test_data): Likewise.
12243 (exp_test_data): Likewise.
12244 (expm1_test_data): Likewise.
12245 (hypot_test_data): Likewise.
12246 (pow_test_data): Likewise.
12247 (sinh_test_data): Likewise.
12248 (tanh_test_data): Likewise.
12249 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12252 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12253 tests with quiet NaN input and output.
12254 (acosh_test_data): Likewise.
12255 (asin_test_data): Likewise.
12256 (asinh_test_data): Likewise.
12257 (atan_test_data): Likewise.
12258 (atanh_test_data): Likewise.
12259 (atan2_test_data): Likewise.
12260 (cbrt_test_data): Likewise.
12261 (cos_test_data): Likewise.
12262 (cosh_test_data): Likewise.
12263 (erf_test_data): Likewise.
12264 (erfc_test_data): Likewise.
12265 (exp_test_data): Likewise.
12266 (exp10_test_data): Likewise.
12267 (exp2_test_data): Likewise.
12268 (expm1_test_data): Likewise.
12269 (hypot_test_data): Likewise.
12270 (j0_test_data): Likewise.
12271 (j1_test_data): Likewise.
12272 (jn_test_data): Likewise.
12273 (lgamma_test_data): Likewise.
12274 (log_test_data): Likewise.
12275 (log10_test_data): Likewise.
12276 (log1p_test_data): Likewise.
12277 (log2_test_data): Likewise.
12278 (pow_test_data): Likewise.
12279 (scalb_test_data): Likewise.
12280 (sin_test_data): Likewise.
12281 (sincos_test_data): Likewise.
12282 (sinh_test_data): Likewise.
12283 (tan_test_data): Likewise.
12284 (tanh_test_data): Likewise.
12285 (tgamma_test_data): Likewise.
12286 (y0_test_data): Likewise.
12287 (y1_test_data): Likewise.
12288 (yn_test_data): Likewise.
12291 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12292 argument being NaN and avoid computations with second argument in
12294 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12295 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12296 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12298 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12300 * locale/iso-639.def: Add Chitwani Tharu (the).
12302 2013-11-14 Andreas Schwab <schwab@suse.de>
12304 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12305 word instead of empty string.
12307 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12310 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12312 (__fe_nomask_env): Likewise.
12314 2013-11-13 Steve Ellcey <sellcey@mips.com>
12316 * benchtests/bench-timing.h: Include time.h.
12318 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12321 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12323 * sysdeps/unix/sysv/linux/configure: Regenerated.
12325 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12328 * stdlib/strtod_l.c (round_and_return): Do not consider
12329 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12330 exponent one less than half the least subnormal exponent.
12331 * stdlib/test-strtod-round-data: Add more tests.
12332 * stdlib/tst-strtod-round.c (tests): Regenerated.
12334 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12337 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12338 (__fe_mask_env): Likewise.
12339 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12340 libm_hidden_proto and add function prototype.
12341 (__fe_mask_env): Add function prototype.
12342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12343 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12345 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12347 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12349 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12351 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12352 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12354 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12356 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12357 of htab_find_slot().
12359 2013-11-11 David S. Miller <davem@davemloft.net>
12362 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12363 symbol in the non-vis3 case in static builds.
12364 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12365 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12366 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12367 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12369 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12372 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12375 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12377 * benchtests/Makefile: Add bench-strtod.
12378 * benchtests/bench-strtod.c: New file: strtod benchtest
12380 2013-11-11 Andreas Schwab <schwab@suse.de>
12383 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12384 terminating NUL in key length.
12386 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12388 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12389 Add artificial ODP entry for vDSO symbol for PPC64.
12390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12391 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12393 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12396 * nss/getent.c (services_keys): Recognize services starting with digit.
12398 2013-11-06 David S. Miller <davem@davemloft.net>
12401 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12402 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12404 2013-11-06 Will Newton <will.newton@linaro.org>
12406 * manual/memory.texi (Malloc Examples): Remove register
12407 keyword from examples.
12409 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12411 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12413 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12416 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12417 depending on [__GCC_IEC_559 > 0].
12418 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12419 depending on [__GCC_IEC_559_COMPLEX > 0].
12421 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12423 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12426 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12428 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12430 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12433 * malloc/malloc (malloc_info): Do not handle first bin as
12436 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12438 * locale/iso-639.def: Add Central Nahuatl (nhn).
12440 2013-11-01 Bruno Haible <bruno@clisp.org>
12443 * manual/math.texi (BSD Random): Specify range upper bound as
12446 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12448 * locale/iso-639.def: Add Meadow Mari (mhr).
12450 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12452 [BZ #14752], [BZ #15763]
12453 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12455 * rt/tst_shm.c: Add test for escaping directory.
12457 2013-10-31 Andreas Schwab <schwab@suse.de>
12460 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12461 followed by 'x' as part of digit sequence.
12462 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12464 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12467 * configure.ac: allow GNU Make 4.0 and greater.
12468 * configure: Regenerated.
12470 2013-10-30 Will Newton <will.newton@linaro.org>
12473 * malloc/hooks.c (memalign_check): Limit alignment to the
12474 maximum representable power of two.
12475 * malloc/malloc.c (__libc_memalign): Likewise.
12476 * malloc/tst-memalign.c (do_test): Add test for very
12477 large alignment values.
12478 * malloc/tst-posix_memalign.c (do_test): Likewise.
12480 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12483 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12484 (munmap_chunk): Likewise.
12485 (mremap_chunk): Likewise.
12487 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12490 * stdlib/div.c (div): Remove obsolete code.
12491 * stdlib/ldiv.c (ldiv): Likewise.
12492 * stdlib/lldiv.c (lldiv): Likewise.
12494 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12497 * nss/nss_files/files-XXX.c (get_contents_ret): New
12499 (get_contents): New function.
12500 (internal_getent): Use it. Expand size of LINEBUFLEN.
12502 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12504 * configure.in: Moved to ...
12505 * configure.ac: ... here. Change reference to configure.in
12507 * sysdeps/arm/preconfigure.ac: ... here.
12508 configure.in to configure.ac.
12509 * sysdeps/gnu/configure.in: Moved to ...
12510 * sysdeps/gnu/configure.ac: ... here.
12511 * sysdeps/i386/configure.in: Moved to ...
12512 * sysdeps/i386/configure.ac: ... here.
12513 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12514 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12515 * sysdeps/mach/configure.in: Moved to ...
12516 * sysdeps/mach/configure.ac: ... here.
12517 * sysdeps/mach/hurd/configure.in: Moved to ...
12518 * sysdeps/mach/hurd/configure.ac: ... here.
12519 * sysdeps/powerpc/configure.in: Moved to ...
12520 * sysdeps/powerpc/configure.ac: ... here.
12521 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12522 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12523 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12524 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12525 * sysdeps/s390/s390-32/configure.in: Moved to ...
12526 * sysdeps/s390/s390-32/configure.ac: ... here.
12527 * sysdeps/s390/s390-64/configure.in: Moved to ...
12528 * sysdeps/s390/s390-64/configure.ac: ... here.
12529 * sysdeps/sh/configure.in: Moved to ...
12530 * sysdeps/sh/configure.ac: ... here.
12531 * sysdeps/sparc/configure.in: Moved to ...
12532 * sysdeps/sparc/configure.ac: ... here.
12533 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12534 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12535 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12536 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12537 * sysdeps/x86_64/configure.in: Moved to ...
12538 * sysdeps/x86_64/configure.ac: ... here.
12539 * sysdeps/x86_64/preconfigure.in: Moved to ...
12540 * sysdeps/x86_64/preconfigure.ac: ... here.
12541 * aclocal.m4: Change reference to configure.in to configure.ac.
12542 * config.h.in: Likewise.
12543 * manual/install.texi: Likewise.
12544 * manual/maint.texi: Likewise.
12545 * Makefile: Likewise.
12546 * malloc/Makefile: Likewise.
12547 * nscd/Makefile: Likewise.
12548 * Makeconfig: Change reference to configure.in and
12549 preconfigure.in to configure.ac and preconfigure.ac
12551 * INSTALL: Regenerated.
12552 * configure: Likewise.
12553 * sysdeps/gnu/configure: Likewise.
12554 * sysdeps/i386/configure: Likewise.
12555 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12556 * sysdeps/mach/configure: Likewise.
12557 * sysdeps/mach/hurd/configure: Likewise.
12558 * sysdeps/powerpc/configure: Likewise.
12559 * sysdeps/powerpc/powerpc32/configure: Likewise.
12560 * sysdeps/powerpc/powerpc64/configure: Likewise.
12561 * sysdeps/s390/s390-32/configure: Likewise.
12562 * sysdeps/s390/s390-64/configure: Likewise.
12563 * sysdeps/sh/configure: Likewise.
12564 * sysdeps/sparc/configure: Likewise.
12565 * sysdeps/unix/sysv/linux/configure: Likewise.
12566 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12567 * sysdeps/x86_64/configure: Likewise.
12568 * sysdeps/x86_64/preconfigure: Likewise.
12570 2013-10-29 Andreas Schwab <schwab@suse.de>
12572 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12574 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12576 * benchtests/pow-inputs: Add new inputs.
12578 * benchtests/exp-inputs: Add new inputs.
12580 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12581 conditional check for return value.
12582 (__cos32): Likewise.
12584 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12586 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12587 to provide a boost for large inputs with word alignment.
12588 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12589 implementation based on optimized PPC64 strcpy.
12590 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12591 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12592 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12593 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12595 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12598 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12600 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12603 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12604 * time/tst-strptime.c (day_tests): Add testcase.
12606 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12609 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12611 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12614 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12615 MAP_FAILED on error.
12617 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12620 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12621 heap for large requests.
12623 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12626 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12627 result if the result has no associated interface.
12628 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12629 interface for all 127.X.Y.Z addresses.
12631 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12633 * locale/iso-639.def: Add Ligurian (lij)
12635 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12638 * sunrpc/rpc_main.c: Document rpcgen -5.
12640 2013-10-19 Michael Stahl <mstahl@redhat.com>
12642 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12644 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12647 * posix/glob.c: Match only directories when trailing slash is present.
12648 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12649 (main): Add testcase.
12651 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12654 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12656 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12658 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12659 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12660 AUTH_DES and cindex for FIPS 140-2.
12661 (DES Encryption): Add cindex FIPS 46-3.
12663 * locale/locarchive.h (struct locarhandle): Add fname.
12664 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12665 if an optional argument was specified to --list-archive,
12667 * locale/programs/locarchive.c (show_archive_content): Take new
12668 argument fname and pass it via ah.fname to open_archive.
12669 * locale/programs/localedef.h: Update decl.
12670 (open_archive): If AH->fname is non-null, open that file
12671 rather than the default file name, and don't ignore ENOENT.
12672 (create_archive): Set AH.fname to NULL.
12673 (delete_locales_from_archive): Likewise.
12674 (add_locales_to_archive): Likewise.
12675 * locale/programs/locfile.c (write_all_categories): Likewise.
12677 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12678 Aldy Hernandez <aldyh@redhat.com>
12680 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12681 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12682 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12683 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12684 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12685 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12686 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12687 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12688 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12689 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12690 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12691 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12692 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12693 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12694 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12696 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12698 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12700 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12702 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12703 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12705 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12706 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12707 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12708 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12710 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12711 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12712 * sysdeps/powerpc/preconfigure: Likewise.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12715 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12716 Replace contents of file by #include of <fenv_libc.h>.
12717 * sysdeps/powerpc/soft-fp/sfp-machine.h
12718 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12720 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12721 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12722 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12723 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12724 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12725 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12727 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12728 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12729 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12730 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12731 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12733 Allow copysignl PLT reference to be missing.
12735 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12736 Joseph Myers <joseph@codesourcery.com
12739 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12741 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12743 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12745 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12746 * elf/tst-tls1.c: Likewise.
12747 * elf/tst-tls10.h: Likewise.
12748 * elf/tst-tls14.c: Likewise.
12749 * elf/tst-tls2.c: Likewise.
12750 * elf/tst-tls3.c: Likewise.
12751 * elf/tst-tls4.c: Likewise.
12752 * elf/tst-tls5.c: Likewise.
12753 * elf/tst-tls6.c: Likewise.
12754 * elf/tst-tls7.c: Likewise.
12755 * elf/tst-tls8.c: Likewise.
12756 * elf/tst-tls9.c: Likewise.
12757 * elf/tst-tlsmod1.c: Likewise.
12758 * elf/tst-tlsmod13.c: Likewise.
12759 * elf/tst-tlsmod13a.c: Likewise.
12760 * elf/tst-tlsmod14a.c: Likewise.
12761 * elf/tst-tlsmod16a.c: Likewise.
12762 * elf/tst-tlsmod16b.c: Likewise.
12763 * elf/tst-tlsmod2.c: Likewise.
12764 * elf/tst-tlsmod3.c: Likewise.
12765 * elf/tst-tlsmod4.c: Likewise.
12766 * elf/tst-tlsmod5.c: Likewise.
12767 * elf/tst-tlsmod6.c: Likewise.
12769 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12772 * malloc/malloc.c: remove checks for statistics.
12774 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12777 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12778 * inet/tst-network.c: Add testcase.
12780 2013-10-17 Andreas Schwab <schwab@suse.de>
12783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12784 to determine canonical name.
12786 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12788 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12789 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12790 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12810 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12811 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12812 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12813 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12814 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12815 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12816 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12817 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12818 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12822 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12823 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12824 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12825 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12827 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12836 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12847 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12850 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12851 make result into a quiet NaN.
12853 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12855 * soft-fp/adddf3.c: Fix horizontal whitespace.
12856 * soft-fp/addsf3.c: Likewise.
12857 * soft-fp/addtf3.c: Likewise.
12858 * soft-fp/divdf3.c: Likewise.
12859 * soft-fp/divsf3.c: Likewise.
12860 * soft-fp/divtf3.c: Likewise.
12861 * soft-fp/double.h: Likewise.
12862 * soft-fp/eqdf2.c: Likewise.
12863 * soft-fp/eqsf2.c: Likewise.
12864 * soft-fp/eqtf2.c: Likewise.
12865 * soft-fp/extenddftf2.c: Likewise.
12866 * soft-fp/extended.h: Likewise.
12867 * soft-fp/extendsfdf2.c: Likewise.
12868 * soft-fp/extendsftf2.c: Likewise.
12869 * soft-fp/extendxftf2.c: Likewise.
12870 * soft-fp/fixdfdi.c: Likewise.
12871 * soft-fp/fixdfsi.c: Likewise.
12872 * soft-fp/fixdfti.c: Likewise.
12873 * soft-fp/fixsfdi.c: Likewise.
12874 * soft-fp/fixsfsi.c: Likewise.
12875 * soft-fp/fixsfti.c: Likewise.
12876 * soft-fp/fixtfdi.c: Likewise.
12877 * soft-fp/fixtfsi.c: Likewise.
12878 * soft-fp/fixtfti.c: Likewise.
12879 * soft-fp/fixunsdfdi.c: Likewise.
12880 * soft-fp/fixunsdfsi.c: Likewise.
12881 * soft-fp/fixunsdfti.c: Likewise.
12882 * soft-fp/fixunssfdi.c: Likewise.
12883 * soft-fp/fixunssfsi.c: Likewise.
12884 * soft-fp/fixunssfti.c: Likewise.
12885 * soft-fp/fixunstfdi.c: Likewise.
12886 * soft-fp/fixunstfsi.c: Likewise.
12887 * soft-fp/fixunstfti.c: Likewise.
12888 * soft-fp/floatdidf.c: Likewise.
12889 * soft-fp/floatdisf.c: Likewise.
12890 * soft-fp/floatditf.c: Likewise.
12891 * soft-fp/floatsidf.c: Likewise.
12892 * soft-fp/floatsisf.c: Likewise.
12893 * soft-fp/floatsitf.c: Likewise.
12894 * soft-fp/floattidf.c: Likewise.
12895 * soft-fp/floattisf.c: Likewise.
12896 * soft-fp/floattitf.c: Likewise.
12897 * soft-fp/floatundidf.c: Likewise.
12898 * soft-fp/floatundisf.c: Likewise.
12899 * soft-fp/floatunditf.c: Likewise.
12900 * soft-fp/floatunsidf.c: Likewise.
12901 * soft-fp/floatunsisf.c: Likewise.
12902 * soft-fp/floatunsitf.c: Likewise.
12903 * soft-fp/floatuntidf.c: Likewise.
12904 * soft-fp/floatuntisf.c: Likewise.
12905 * soft-fp/floatuntitf.c: Likewise.
12906 * soft-fp/fmadf4.c: Likewise.
12907 * soft-fp/fmasf4.c: Likewise.
12908 * soft-fp/fmatf4.c: Likewise.
12909 * soft-fp/gedf2.c: Likewise.
12910 * soft-fp/gesf2.c: Likewise.
12911 * soft-fp/getf2.c: Likewise.
12912 * soft-fp/ledf2.c: Likewise.
12913 * soft-fp/lesf2.c: Likewise.
12914 * soft-fp/letf2.c: Likewise.
12915 * soft-fp/muldf3.c: Likewise.
12916 * soft-fp/mulsf3.c: Likewise.
12917 * soft-fp/multf3.c: Likewise.
12918 * soft-fp/negdf2.c: Likewise.
12919 * soft-fp/negsf2.c: Likewise.
12920 * soft-fp/negtf2.c: Likewise.
12921 * soft-fp/op-1.h: Likewise.
12922 * soft-fp/op-2.h: Likewise.
12923 * soft-fp/op-4.h: Likewise.
12924 * soft-fp/op-8.h: Likewise.
12925 * soft-fp/op-common.h: Likewise.
12926 * soft-fp/quad.h: Likewise.
12927 * soft-fp/single.h: Likewise.
12928 * soft-fp/soft-fp.h: Likewise.
12929 * soft-fp/sqrtdf2.c: Likewise.
12930 * soft-fp/sqrtsf2.c: Likewise.
12931 * soft-fp/sqrttf2.c: Likewise.
12932 * soft-fp/subdf3.c: Likewise.
12933 * soft-fp/subsf3.c: Likewise.
12934 * soft-fp/subtf3.c: Likewise.
12935 * soft-fp/truncdfsf2.c: Likewise.
12936 * soft-fp/trunctfdf2.c: Likewise.
12937 * soft-fp/trunctfsf2.c: Likewise.
12938 * soft-fp/trunctfxf2.c: Likewise.
12939 * soft-fp/unorddf2.c: Likewise.
12940 * soft-fp/unordsf2.c: Likewise.
12941 * soft-fp/unordtf2.c: Likewise.
12943 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12945 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12946 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12948 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12950 * elf/dl-libc.c: Clear initfini list after freeing.
12952 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12954 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12955 * soft-fp/addsf3.c: Likewise.
12956 * soft-fp/addtf3.c: Likewise.
12957 * soft-fp/divdf3.c: Likewise.
12958 * soft-fp/divsf3.c: Likewise.
12959 * soft-fp/divtf3.c: Likewise.
12960 * soft-fp/double.h: Likewise.
12961 * soft-fp/eqdf2.c: Likewise.
12962 * soft-fp/eqsf2.c: Likewise.
12963 * soft-fp/eqtf2.c: Likewise.
12964 * soft-fp/extenddftf2.c: Likewise.
12965 * soft-fp/extended.h: Likewise.
12966 * soft-fp/extendsfdf2.c: Likewise.
12967 * soft-fp/extendsftf2.c: Likewise.
12968 * soft-fp/extendxftf2.c: Likewise.
12969 * soft-fp/fixdfdi.c: Likewise.
12970 * soft-fp/fixdfsi.c: Likewise.
12971 * soft-fp/fixdfti.c: Likewise.
12972 * soft-fp/fixsfdi.c: Likewise.
12973 * soft-fp/fixsfsi.c: Likewise.
12974 * soft-fp/fixsfti.c: Likewise.
12975 * soft-fp/fixtfdi.c: Likewise.
12976 * soft-fp/fixtfsi.c: Likewise.
12977 * soft-fp/fixtfti.c: Likewise.
12978 * soft-fp/fixunsdfdi.c: Likewise.
12979 * soft-fp/fixunsdfsi.c: Likewise.
12980 * soft-fp/fixunsdfti.c: Likewise.
12981 * soft-fp/fixunssfdi.c: Likewise.
12982 * soft-fp/fixunssfsi.c: Likewise.
12983 * soft-fp/fixunssfti.c: Likewise.
12984 * soft-fp/fixunstfdi.c: Likewise.
12985 * soft-fp/fixunstfsi.c: Likewise.
12986 * soft-fp/fixunstfti.c: Likewise.
12987 * soft-fp/floatdidf.c: Likewise.
12988 * soft-fp/floatdisf.c: Likewise.
12989 * soft-fp/floatditf.c: Likewise.
12990 * soft-fp/floatsidf.c: Likewise.
12991 * soft-fp/floatsisf.c: Likewise.
12992 * soft-fp/floatsitf.c: Likewise.
12993 * soft-fp/floattidf.c: Likewise.
12994 * soft-fp/floattisf.c: Likewise.
12995 * soft-fp/floattitf.c: Likewise.
12996 * soft-fp/floatundidf.c: Likewise.
12997 * soft-fp/floatundisf.c: Likewise.
12998 * soft-fp/floatunsidf.c: Likewise.
12999 * soft-fp/floatunsisf.c: Likewise.
13000 * soft-fp/floatuntidf.c: Likewise.
13001 * soft-fp/floatuntisf.c: Likewise.
13002 * soft-fp/floatuntitf.c: Likewise.
13003 * soft-fp/fmadf4.c: Likewise.
13004 * soft-fp/fmasf4.c: Likewise.
13005 * soft-fp/fmatf4.c: Likewise.
13006 * soft-fp/gedf2.c: Likewise.
13007 * soft-fp/gesf2.c: Likewise.
13008 * soft-fp/getf2.c: Likewise.
13009 * soft-fp/ledf2.c: Likewise.
13010 * soft-fp/lesf2.c: Likewise.
13011 * soft-fp/letf2.c: Likewise.
13012 * soft-fp/muldf3.c: Likewise.
13013 * soft-fp/mulsf3.c: Likewise.
13014 * soft-fp/multf3.c: Likewise.
13015 * soft-fp/negdf2.c: Likewise.
13016 * soft-fp/negsf2.c: Likewise.
13017 * soft-fp/negtf2.c: Likewise.
13018 * soft-fp/op-1.h: Likewise.
13019 * soft-fp/op-2.h: Likewise.
13020 * soft-fp/op-4.h: Likewise.
13021 * soft-fp/op-8.h: Likewise.
13022 * soft-fp/op-common.h: Likewise.
13023 * soft-fp/quad.h: Likewise.
13024 * soft-fp/single.h: Likewise.
13025 * soft-fp/soft-fp.h: Likewise.
13026 * soft-fp/sqrtdf2.c: Likewise.
13027 * soft-fp/sqrtsf2.c: Likewise.
13028 * soft-fp/sqrttf2.c: Likewise.
13029 * soft-fp/subdf3.c: Likewise.
13030 * soft-fp/subsf3.c: Likewise.
13031 * soft-fp/subtf3.c: Likewise.
13032 * soft-fp/truncdfsf2.c: Likewise.
13033 * soft-fp/trunctfdf2.c: Likewise.
13034 * soft-fp/trunctfsf2.c: Likewise.
13035 * soft-fp/trunctfxf2.c: Likewise.
13036 * soft-fp/unorddf2.c: Likewise.
13037 * soft-fp/unordsf2.c: Likewise.
13038 * soft-fp/unordtf2.c: Likewise.
13040 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13043 * misc/error.c (error_tail): Fix possible buffer overflow.
13045 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13048 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13051 2013-10-14 P. J. McDermott <pj@pehjota.net>
13054 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13055 testing pipefail option.
13057 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13059 * soft-fp/double.h: Indent preprocessor directives inside #if.
13060 * soft-fp/extended.h: Likewise.
13061 * soft-fp/op-2.h: Likewise.
13062 * soft-fp/op-4.h: Likewise.
13063 * soft-fp/op-common.h: Likewise.
13064 * soft-fp/quad.h: Likewise.
13065 * soft-fp/single.h: Likewise.
13066 * soft-fp/soft-fp.h: Likewise.
13068 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13070 * iconv/iconv_prog.c: Fix typos.
13071 * stdio-common/psiginfo-data.h: Likewise.
13073 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13076 * locale/setlocale.c: Fix typo.
13078 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13081 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13082 signaling NaN arguments.
13083 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13084 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13087 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13088 unordered operands.
13089 * soft-fp/gesf2.c (__gesf2): Likewise.
13090 * soft-fp/getf2.c (__getf2): Likewise.
13091 * soft-fp/ledf2.c (__ledf2): Likewise.
13092 * soft-fp/lesf2.c (__lesf2): Likewise.
13093 * soft-fp/letf2.c (__letf2): Likewise.
13095 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13096 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13097 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13098 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13099 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13100 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13101 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13102 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13103 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13104 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13105 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13106 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13107 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13108 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13109 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13110 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13111 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13112 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13113 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13114 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13115 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13116 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13117 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13118 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13119 * soft-fp/floattidf.c (__floattidf): Likewise.
13120 * soft-fp/floattisf.c (__floattisf): Likewise.
13121 * soft-fp/floattitf.c (__floattitf): Likewise.
13122 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13123 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13124 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13125 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13126 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13127 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13128 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13129 * soft-fp/gesf2.c (__gesf2): Likewise.
13130 * soft-fp/getf2.c (__getf2): Likewise.
13131 * soft-fp/ledf2.c (__ledf2): Likewise.
13132 * soft-fp/lesf2.c (__lesf2): Likewise.
13133 * soft-fp/letf2.c (__letf2): Likewise.
13135 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13136 Undefine and redefine.
13137 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13138 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13139 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13140 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13141 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13142 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13143 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13144 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13145 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13146 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13147 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13148 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13149 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13150 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13151 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13154 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13155 without decrementing exponent if mantissa >= that for the
13156 denominator, not >.
13157 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13158 denominator, not >. Decrement exponent in < case instead of
13159 incrementing in >= case.
13160 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13161 without decrementing exponent if mantissa >= that for the
13162 denominator, not >.
13164 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13165 computing saturated result for unsigned overflow.
13167 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13168 Jeff Law <law@redhat.com>
13170 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13171 (atan2Mp): Add systemtap probe marker.
13172 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13173 (__ieee754_log): Add systemtap probe marker.
13174 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13175 (atanMp): Add systemtap probe marker.
13176 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13177 (tanMp): Add systemtap probe marker.
13178 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13179 (__slowexp): Add systemtap probe marker.
13180 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13181 (__slowpow): Add systemtap probe marker.
13182 * manual/probes.texi: Document probes.
13184 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13187 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13189 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13191 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13192 written to buffer but not flushed.
13193 * libio/iofwrite_u.c: Likewise.
13194 * libio/iopadn.c: Return bytes returned even if EOF was
13196 * libio/iowpadn.c: Likewise.
13197 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13198 if _IO_padn does not write the whole buffer.
13199 [!COMPILE_WPRINTF] (PAD): Likewise.
13201 2013-10-10 David S. Miller <davem@davemloft.net>
13203 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13206 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13208 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13209 instead of FSF address.
13210 * soft-fp/fixdfti.c: Likewise.
13211 * soft-fp/fixsfti.c: Likewise.
13212 * soft-fp/fixtfti.c: Likewise.
13213 * soft-fp/fixunsdfti.c: Likewise.
13214 * soft-fp/fixunssfti.c: Likewise.
13215 * soft-fp/fixunstfti.c: Likewise.
13216 * soft-fp/floattidf.c: Likewise.
13217 * soft-fp/floattisf.c: Likewise.
13218 * soft-fp/floattitf.c: Likewise.
13219 * soft-fp/floatuntidf.c: Likewise.
13220 * soft-fp/floatuntisf.c: Likewise.
13221 * soft-fp/floatuntitf.c: Likewise.
13222 * soft-fp/trunctfxf2.c: Likewise.
13224 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13225 * soft-fp/fixdfti.c: Likewise.
13226 * soft-fp/fixsfti.c: Likewise.
13227 * soft-fp/fixtfti.c: Likewise.
13228 * soft-fp/fixunsdfti.c: Likewise.
13229 * soft-fp/fixunssfti.c: Likewise.
13230 * soft-fp/fixunstfti.c: Likewise.
13231 * soft-fp/floattidf.c: Likewise.
13232 * soft-fp/floattisf.c: Likewise.
13233 * soft-fp/floattitf.c: Likewise.
13234 * soft-fp/floatuntidf.c: Likewise.
13235 * soft-fp/floatuntisf.c: Likewise.
13236 * soft-fp/floatuntitf.c: Likewise.
13237 * soft-fp/trunctfxf2.c: Likewise.
13239 2013-10-10 David S. Miller <davem@davemloft.net>
13241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13243 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13245 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13246 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13247 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13248 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13249 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13250 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13251 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13254 for NaNs before doing comparisons on argument.
13255 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13258 2013-10-10 Will Newton <will.newton@linaro.org>
13260 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13261 passed to _int_memalign does not overflow.
13263 2013-10-10 Torvald Riegel <triegel@redhat.com>
13265 * scripts/bench.pl: Add include-sources directive.
13266 * benchtests/README: Update documentation.
13268 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13270 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13271 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13272 instead of FP_INIT_ROUNDMODE.
13273 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13274 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13277 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13278 copy class of input value.
13279 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13280 not handle exceptions.
13281 * soft-fp/negsf2.c (__negsf2): Likewise.
13282 * soft-fp/negtf2.c (__negtf2): Likewise.
13283 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13285 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13287 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13288 semicolon. From Linux kernel.
13290 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13292 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13294 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13297 * manual/socket.texi: Added statement about buffer
13298 for gethostbyname2_r.
13300 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13302 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13303 Use .p2align directive instead, throughout.
13304 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13305 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13306 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13308 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13309 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13310 * sysdeps/x86_64/strchr.S: Likewise.
13311 * sysdeps/x86_64/strrchr.S: Likewise.
13313 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13315 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13317 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13319 * sysdeps/generic/math_private.h (__mpsin1): Remove
13321 (__mpcos1): Likewise.
13322 (__mpsin): New argument __range_reduce.
13323 (__mpcos): Likewise.
13324 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13325 (slow): Use __mpsin and __mpcos.
13329 (sloww1): Likewise.
13330 (sloww2): Likewise.
13331 (bsloww): Likewise.
13332 (bsloww1): Likewise.
13333 (bsloww2): Likewise.
13334 (cslow2): Likewise.
13335 (csloww): Likewise.
13336 (csloww1): Likewise.
13337 (csloww2): Likewise.
13338 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13339 range_reduce. Merge in __mpsin1.
13340 (__mpcos): Likewise.
13341 (__mpsin1): Remove.
13342 (__mpcos1): Likewise.
13344 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13346 * locale/loadlocale.c (_nl_intern_locale_data): Use
13348 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13349 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13350 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13351 obstack data is appropriately aligned.
13352 (obstack_int32_grow_fast): Likewise.
13353 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13354 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13355 (add_locale_uint32_array): Likewise.
13357 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13359 * benchtests/Makefile: Remove ARGLIST and RET variables.
13360 ($(objpfx)bench-%.c): Pass only function name to the script.
13361 * benchtests/README: Update documentation.
13362 * benchtests/acos-inputs: Add new directives.
13363 * benchtests/acosh-inputs: Likewise.
13364 * benchtests/asin-inputs: Likewise.
13365 * benchtests/asinh-inputs: Likewise.
13366 * benchtests/atan-inputs: Likewise.
13367 * benchtests/atanh-inputs: Likewise.
13368 * benchtests/cos-inputs: Likewise.
13369 * benchtests/cosh-inputs: Likewise.
13370 * benchtests/exp-inputs: Likewise.
13371 * benchtests/log-inputs: Likewise.
13372 * benchtests/pow-inputs: Likewise.
13373 * benchtests/rint-inputs: Likewise.
13374 * benchtests/sin-inputs: Likewise.
13375 * benchtests/sinh-inputs: Likewise.
13376 * benchtests/tan-inputs: Likewise.
13377 * benchtests/tanh-inputs: Likewise.
13378 * scripts/bench.pl: Add support for new directives.
13380 2013-10-07 Alan Modra <amodra@gmail.com>
13382 * README: Fix careless merge.
13384 2013-10-05 Alan Modra <amodra@gmail.com>
13386 * NEWS: Mention powerpc64le support and bugs fixed.
13387 * README: Both big-endian and little-endian powerpc64 supported.
13389 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13391 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13392 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13393 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13394 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13396 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13398 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13401 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13403 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13404 Move -mhard-float appending from
13405 ports/sysdeps/powerpc/powerpc32/Makefile.
13406 [$(with-fp) = yes] (ASFLAGS): Likewise.
13407 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13408 * sysdeps/powerpc/nofpu: Move directory from
13409 ports/sysdeps/powerpc/nofpu.
13410 * sysdeps/powerpc/soft-fp: Move directory from
13411 ports/sysdeps/powerpc/soft-fp.
13412 * sysdeps/powerpc/powerpc32/405: Move directory from
13413 ports/sysdeps/powerpc/powerpc32/405.
13414 * sysdeps/powerpc/powerpc32/440: Move directory from
13415 ports/sysdeps/powerpc/powerpc32/440.
13416 * sysdeps/powerpc/powerpc32/464: Move directory from
13417 ports/sysdeps/powerpc/powerpc32/464.
13418 * sysdeps/powerpc/powerpc32/476: Move directory from
13419 ports/sysdeps/powerpc/powerpc32/476.
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13421 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13423 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13425 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13427 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13429 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13430 * README: Update for powerpc-*-linux-gnu software floating point
13433 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13434 case to powerpc/powerpc32*.
13435 * sysdeps/unix/sysv/linux/configure: Regenerated.
13437 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13438 (_FPU_MASK_OM): Define as 0x04.
13439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13447 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13450 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13453 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13454 and setcontext_e500.
13456 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13458 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13460 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13462 * manual/threads.texi (Default Thread Attributes): Fix typo.
13464 2013-10-04 Will Newton <will.newton@linaro.org>
13466 * malloc/Makefile: Add tst-memalign.
13467 * malloc/tst-memalign.c: New file.
13469 * malloc/tst-posix_memalign.c: Add comments.
13470 (do_test): Add comments and call free on all potentially
13471 allocated pointers. Add space after cast.
13473 * malloc/tst-pvalloc.c: Add comments.
13474 (do_test): Add comments and call free on all potentially
13475 allocated pointers. Remove duplicate check for NULL pointer.
13476 Add space after cast.
13478 * malloc/tst-valloc.c: Add comments.
13479 (do_test): Add comments and call free on all potentially
13480 allocated pointers. Remove duplicate check for NULL pointer.
13481 Add space after cast.
13483 2013-10-04 Alan Modra <amodra@gmail.com>
13485 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13486 Use stdint types in rather than __attribute__((mode())).
13487 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13489 2013-10-04 Alan Modra <amodra@gmail.com>
13491 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13492 Correct handling of unaligned relocs for little-endian.
13493 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13495 2013-10-04 Alan Modra <amodra@gmail.com>
13497 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13498 * configure: Regenerate.
13499 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13500 * shlib-versions: Likewise.
13502 2013-10-04 Alan Modra <amodra@gmail.com>
13504 * string/tester.c (test_memrchr): Increment reported test cycle.
13506 2013-10-04 Alan Modra <amodra@gmail.com>
13508 * string/test-memcpy.c (do_one_test): When reporting errors, print
13509 string address and don't overrun end of string.
13511 2013-10-04 Alan Modra <amodra@gmail.com>
13513 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13514 insrdi. Make better use of reg selection to speed exit slightly.
13515 Schedule entry path a little better. Remove useless "are we done"
13516 checks on entry to main loop. Handle wrapping around zero address.
13517 Correct main loop count. Handle single left-over word from main
13518 loop inline rather than by using loop_small. Remove extra word
13519 case in loop_small caused by wrong loop count. Add little-endian
13521 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13522 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13524 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13525 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13526 support. Avoid rlwimi.
13527 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13529 2013-10-04 Alan Modra <amodra@gmail.com>
13531 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13532 insrdi. Formatting.
13533 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13534 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13535 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13536 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13537 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13538 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13540 2013-10-04 Alan Modra <amodra@gmail.com>
13542 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13543 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13544 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13545 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13546 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13547 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13548 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13549 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13550 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13551 use of regs. Use power7 mtocrf. Tidy function tails.
13553 2013-10-04 Alan Modra <amodra@gmail.com>
13555 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13556 Formatting. Consistently use rXXX register defines or rN defines.
13557 Use early exit labels that avoid restoring unused non-volatile regs.
13558 Make cr field use more consistent with rWORDn compares. Rename
13559 regs used as shift registers for unaligned loop, using rN defines
13560 for short lifetime/multiple use regs.
13561 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13562 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13563 addi 1,1,64 to pop stack frame. Simplify return value code.
13564 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13566 2013-10-04 Alan Modra <amodra@gmail.com>
13568 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13569 support. Correct typos, formatting. Optimize tail. Use insrdi
13570 rather than rlwimi.
13571 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13572 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13573 little-endian support. Correct typos.
13574 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13575 rather than rlwimi.
13576 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13577 in loop and entry code to keep "and." results.
13578 (strchr): Add little-endian support. Comment. Move cntlzd
13580 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13582 2013-10-04 Alan Modra <amodra@gmail.com>
13584 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13585 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13586 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13587 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13589 2013-10-04 Alan Modra <amodra@gmail.com>
13591 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13592 (rTMP): Define as r11.
13593 (strcmp): Add little-endian support. Optimise tail.
13594 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13595 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13596 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13597 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13598 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13600 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13602 2013-10-04 Alan Modra <amodra@gmail.com>
13604 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13605 little-endian support. Remove unnecessary "are we done" tests.
13606 Handle "s" wrapping around zero and extremely large "size".
13607 Correct main loop count. Handle single left-over word from main
13608 loop inline rather than by using small_loop. Correct comments.
13609 Delete "zero" tail, use "end_max" instead.
13610 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13612 2013-10-04 Alan Modra <amodra@gmail.com>
13614 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13615 support. Don't branch over align.
13616 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13617 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13618 support. Rearrange tmp reg use to suit. Comment.
13619 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13621 2013-10-04 Alan Modra <amodra@gmail.com>
13623 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13625 2013-10-04 Alan Modra <amodra@gmail.com>
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13628 conditional form of branch and link when obtaining pc.
13629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13631 2013-10-04 Alan Modra <amodra@gmail.com>
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13638 2013-10-04 Alan Modra <amodra@gmail.com>
13640 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13641 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13642 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13643 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13644 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13645 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13646 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13647 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13648 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13649 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13651 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13652 Alistair Popple <alistair@ozlabs.au.ibm.com>
13653 Alan Modra <amodra@gmail.com>
13656 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13657 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13658 _dl_hwcap access for little-endian.
13659 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13660 destroy vmx regs when saving unaligned.
13661 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13662 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13663 destroy vmx regs when saving unaligned.
13665 2013-10-04 Alan Modra <amodra@gmail.com>
13667 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13668 Don't use a union to pack hi/low value.
13670 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13672 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13674 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13675 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13676 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13677 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13678 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13680 2013-10-04 Alan Modra <amodra@gmail.com>
13682 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13683 constants to usual value for .cst8 section, and remove redundant
13685 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13686 constant for 0x1p52. Load little-endian words of double from
13687 correct stack offsets.
13689 2013-10-04 Alan Modra <amodra@gmail.com>
13691 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13692 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13693 words of double from correct stack offsets.
13694 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13695 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13696 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13697 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13698 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13699 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13700 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13701 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13702 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13703 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13704 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13705 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13706 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13707 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13708 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13709 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13710 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13712 2013-10-04 Alan Modra <amodra@gmail.com>
13714 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13715 64-bit int/double union.
13716 (_FPU_SETCW): Likewise.
13717 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13718 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13720 2013-10-04 Alan Modra <amodra@gmail.com>
13722 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13723 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13725 2013-10-04 Alan Modra <amodra@gmail.com>
13727 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13728 use vector int constants.
13729 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13731 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13733 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13734 array with long long.
13735 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13736 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13737 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13738 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13739 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13740 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13741 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13742 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13743 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13744 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13745 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13746 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13747 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13749 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13751 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13752 (__signbit): Likewise. Correct for little-endian.
13753 (__signbitl): Call __signbit.
13754 (lrint): Correct for little-endian.
13755 (lrintf): Call lrint.
13757 2013-10-04 Alan Modra <amodra@gmail.com>
13759 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13760 union 32-bit int array member with 64-bit int array.
13761 (t515, tm256): Double rather than long double.
13762 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13764 2013-10-04 Alan Modra <amodra@gmail.com>
13766 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13768 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13769 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13770 version of math_ldbl.h.
13772 2013-10-04 Alan Modra <amodra@gmail.com>
13774 [BZ #15734], [BZ #15735]
13775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13776 all uses of ieee875 long double macros and unions. Simplify test
13777 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13778 ldbl_extract_mantissa value for ix,iy exponents. Properly
13779 normalize after ldbl_extract_mantissa, and don't add hidden bit
13780 already handled. Don't treat low word of ieee854 mantissa like
13781 low word of IBM long double and mask off bit when testing for
13783 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13784 all uses of ieee875 long double macros and unions. Simplify tests
13785 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13786 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13787 two1022, instead use their values. Recognise that tests for large
13788 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13789 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13790 Rewrite all uses of ieee875 long double macros and unions. Simplify
13791 test for 0.0L and nan. Correct negation.
13792 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13793 ieee875 long double macros and unions. Correct output for large
13794 magnitude x. Correct absolute value calculation.
13795 (__erfcl): Likewise.
13796 * math/libm-test.inc: Add tests for errors discovered in IBM long
13797 double versions of fmodl, remainderl, erfl and erfcl.
13799 2013-10-04 Alan Modra <amodra@gmail.com>
13801 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13802 all uses of ieee854 long double macros and unions. Simplify tests
13803 for long doubles that are fully specified by the high double.
13804 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13806 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13807 Remove dead code too.
13808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13809 (__ieee754_ynl): Likewise.
13810 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13811 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13813 Remove dead code too.
13814 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13821 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13824 Comment on variable precision.
13825 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13826 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13828 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13829 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13830 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13831 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13832 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13834 2013-10-04 Alan Modra <amodra@gmail.com>
13836 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13837 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13838 all uses of ieee854 long double macros and unions.
13839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13842 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13843 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13844 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13846 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13847 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13848 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13849 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13850 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13851 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13852 Simplify sign and nan test too.
13853 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13854 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13855 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13856 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13858 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13859 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13861 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13862 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13863 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13864 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13865 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13866 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13868 2013-10-04 Alan Modra <amodra@gmail.com>
13870 * stdio-common/printf_size.c (__printf_size): Don't use
13871 union ieee854_long_double in fpnum union.
13872 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13873 signbit macro to retrieve sign from long double.
13874 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13875 retrieve sign from long double.
13876 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13877 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13878 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13879 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13880 * math/test-misc.c (main): Don't use union ieee854_long_double.
13882 2013-10-04 Alan Modra <amodra@gmail.com>
13885 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13886 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13887 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13888 calculation. Remove unnecessary test for denormal exponent.
13889 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13890 Correct handling of denormals. Avoid undefined shift behaviour.
13891 Correct normalisation of low mantissa when low double is denormal.
13892 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13893 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13894 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13895 Correct normalisation of low mantissa. Test for overflow of high
13896 mantissa and normalise.
13897 (ldbl_nearbyint): Use more readable constant for two52.
13898 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13899 (__mpn_construct_long_double): Fix test for overflow of high
13900 mantissa and correct normalisation. Avoid undefined shift.
13902 2013-10-04 Alan Modra <amodra@gmail.com>
13904 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13905 (union ibm_extended_long_double): Define as an array of ieee754_double.
13906 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13907 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13908 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13909 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13912 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13913 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13916 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13918 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13920 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13921 page size instead of calling getpagesize.
13923 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13924 (LOCFILE_ALIGN_MASK): Likewise.
13925 (LOCFILE_ALIGN_UP): Likewise.
13926 (LOCFILE_ALIGNED_P): Likewise.
13927 * locale/programs/ld-collate.c (collate_output): Use the new
13928 macros instead of __alignof__ (int32_t).
13929 * locale/weight.h (findidx): Likewise.
13931 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13934 * manual/string.texi: Fix strncat and wcsncat.
13936 2013-10-03 Brooks Moses <bmoses@google.com>
13939 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13940 * Makerules: ...here, and adjust associated comments.
13942 2013-10-02 Will Newton <will.newton@linaro.org>
13944 * malloc/Makefile: Add tst-pvalloc.
13945 * malloc/tst-pvalloc.c: New file.
13947 2013-10-02 Will Newton <will.newton@linaro.org>
13949 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13950 improve test coverage.
13952 2013-10-02 Will Newton <will.newton@linaro.org>
13954 * malloc/Makefile: Add tst-posix_memalign.
13955 * malloc/tst-posix_memalign.c: New file.
13957 2013-10-01 Eric Blake <eblake@redhat.com>
13959 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13960 Use __THROWNL rather than __THROW on static functions.
13962 2013-09-30 Petr Machata <pmachata@redhat.com>
13964 * elf/elf.h (R_AARCH64_ABS16): New macro.
13965 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13966 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13967 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13968 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13969 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13970 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13971 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13972 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13973 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13974 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13975 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13976 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13977 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13978 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13979 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13980 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13981 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13982 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13983 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13984 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13985 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13986 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13987 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13988 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13989 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13990 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13991 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13992 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13993 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13994 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13995 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13996 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13997 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13998 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13999 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14000 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14001 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14002 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14003 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14004 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14005 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14006 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14007 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14008 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14009 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14010 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14011 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14012 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14013 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14014 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14015 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14016 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14017 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14018 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14019 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14020 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14021 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14022 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14023 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14024 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14025 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14026 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14027 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14028 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14029 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14030 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14031 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14032 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14033 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14034 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14035 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14036 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14037 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14038 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14039 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14040 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14041 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14042 (R_AARCH64_TLSDESC_LDR): Likewise.
14043 (R_AARCH64_TLSDESC_ADD): Likewise.
14044 (R_AARCH64_TLSDESC_CALL): Likewise.
14046 2013-09-30 Andreas Schwab <schwab@suse.de>
14049 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14050 the nss database lookup.
14051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14054 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14056 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14058 2013-09-28 P. J. McDermott <pj@pehjota.net>
14060 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14061 ${Bash-specific parameter/pattern/string} parameter expansion.
14062 * sysdeps/unix/make-syscalls.sh: Likewise.
14064 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14066 * sysdeps/sh/stackguard-macros.h: New file.
14068 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14071 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14072 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14073 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14074 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14075 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14077 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14079 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14080 Fix thread ID register.
14082 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14084 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14085 [POSIX || UNIX98]: Require rather than permitting all symbols from
14087 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14088 element of struct sched_param.
14089 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14090 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14091 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14092 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14095 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14097 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14098 argument calculation.
14100 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14102 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14104 [POSIX] (pthread_attr_t): Do not require type.
14105 [POSIX] (pthread_cond_t): Likewise.
14106 [POSIX] (pthread_condattr_t): Likewise.
14107 [POSIX] (pthread_key_t): Likewise.
14108 [POSIX] (pthread_mutex_t): Likewise.
14109 [POSIX] (pthread_mutexattr_t): Likewise.
14110 [POSIX] (pthread_once_t): Likewise.
14111 [POSIX] (pthread_t): Likewise.
14112 [POSIX-based standards] (pthread_atfork): Expect function.
14114 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14115 Richard Sandiford <richard@codesourcery.com>
14117 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14118 (swap_endianness_p): New extern variable.
14119 (set_big_endian): New inline function.
14120 (maybe_swap_uint32): Likewise.
14121 (maybe_swap_uint32_array): Likewise.
14122 (maybe_swap_uint32_obstack): Likewise.
14123 * locale/programs/locfile.c: Include <stdbool.h>.
14124 (swap_endianness_p): New variable.
14125 (add_locale_uint32): Call maybe_swap_uint32.
14126 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14127 (write_locale_data): Call maybe_swap_uint32_array.
14128 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14130 (obstack_int32_grow_fast): Likewise.
14131 (output_weightwc): Call maybe_swap_uint32_obstack.
14132 (collate_output): Likewise.
14133 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14134 (OPT_LITTLE_ENDIAN): Likewise.
14135 (options): Add --little-endian and --big-endian options.
14136 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14137 * locale/programs/locarchive.c: Include "locfile.h".
14141 (create_archive): Use the new macros to access fields of
14142 structures directly mapped from or written to locale archives.
14143 (oldlocrecentcmp): Likewise.
14144 (enlarge_archive): Likewise.
14145 (insert_name): Likewise.
14146 (add_alias): Likewise.
14147 (add_locale): Likewise.
14148 (delete_locales_from_archive): Likewise.
14149 (show_archive_content): Likewise.
14150 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14153 2013-09-24 Roland McGrath <roland@hack.frob.com>
14155 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14156 http://www.gnu.org/doc/freemanuals.texi.
14157 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14159 2013-09-24 Will Newton <will.newton@linaro.org>
14161 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14164 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14166 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14169 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14171 * manual/threads.texi (POSIX Threads): Fix a typo.
14173 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14176 * string/tst-strcoll-overflow.c: New test case.
14177 * string/Makefile (xtests): Add tst-strcoll-overflow.
14178 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14179 cache if string sizes may cause integer overflow.
14182 * string/strcoll_l.c (coll_seq): New members rule, idx,
14183 save_idx and back_us.
14184 (get_next_seq_nocache): New function.
14185 (do_compare_nocache): New function.
14186 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14189 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14192 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14193 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14194 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14197 * elf/Makefile (tests): Add tst-ptrguard1.
14198 (tests-static): Add tst-ptrguard1-static.
14199 (tst-ptrguard1-ARGS): Define.
14200 (tst-ptrguard1-static-ARGS): Define.
14201 * elf/tst-ptrguard1.c: New file.
14202 * elf/tst-ptrguard1-static.c: New file.
14203 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14204 * sysdeps/i386/stackguard-macros.h: Likewise.
14205 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14206 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14207 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14208 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14209 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14210 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14212 2013-09-23 Hector Marco <hecmargi@upv.es>
14213 Ismael Ripoll <iripoll@disca.upv.es>
14214 Carlos O'Donell <carlos@redhat.com>
14217 * sysdeps/generic/stackguard-macros.h: Define
14218 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14219 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14220 Define __pointer_chk_guard_local.
14221 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14222 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14224 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14227 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14229 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14231 * include/string.h (__ffs): Declare as hidden.
14232 * string/ffs.c (__ffs): Define as hidden.
14233 * sysdeps/i386/ffs.c (__ffs): Likewise.
14234 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14235 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14236 * sysdeps/s390/ffs.c (__ffs): Likewise.
14237 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14239 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14241 * NEWS: Mention malloc probes.
14243 * malloc/arena.c (new_heap): New memory_heap_new probe.
14244 (grow_heap): New memory_heap_more probe.
14245 (shrink_heap): New memory_heap_less probe.
14246 (heap_trim): New memory_heap_free probe.
14247 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14248 (systrim): New memory_sbrk_less probe.
14249 * manual/probes.texi: Document them.
14251 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14252 * manual/probes.texi: Document it.
14254 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14255 (__libc_realloc): Add memory_realloc_retry probe.
14256 (__libc_memalign): Add memory_memalign_retry probe.
14257 (__libc_valloc): Add memory_valloc_retry probe.
14258 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14259 (__libc_calloc): Add memory_calloc_retry probe.
14260 * manual/probes.texi: Document them.
14262 * malloc/arena.c (get_free_list): Add probe
14263 memory_arena_reuse_free_list.
14264 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14265 and memory_arena_reuse.
14266 (arena_get2) [!PER_THREAD]: Likewise.
14267 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14268 memory_arena_reuse_realloc.
14269 * manual/probes.texi: Document them.
14271 * malloc/malloc.c (__libc_free): Add
14272 memory_mallopt_free_dyn_thresholds probe.
14273 (__libc_mallopt): Add multiple memory_mallopt probes.
14274 * manual/probes.texi: Document them.
14276 * malloc/malloc.c: Include stap-probe.h.
14277 (__libc_mallopt): Add memory_mallopt probe.
14278 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14279 * manual/probes.texi: New.
14280 * manual/Makefile (chapters): Add probes.
14281 * manual/threads.texi: Set next node.
14283 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14285 [BZ #15963, #13985]
14286 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14287 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14288 Add `Chinese' to `nan' entry name.
14290 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14292 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14293 (POLYNOMIAL): Likewise.
14294 (TAYLOR_SINCOS): Likewise.
14295 (TAYLOR_SLOW): Likewise.
14296 (__sin): Use TAYLOR_SINCOS.
14298 (slow): Use TAYLOR_SLOW.
14300 (bsloww): Likewise.
14301 (csloww): Likewise.
14303 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14305 * stdlib/strtod_l.c: Fix buffer overrun.
14307 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14309 * benchtests/Makefile (bench): Add sincos.
14310 * benchtests/bench-sincos.c: New file.
14312 * math/libm-test.inc (cos_test_data): New test inputs.
14313 (sin_test_data): Likewise.
14315 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14321 (sloww1): Likewise.
14322 (sloww2): Likewise.
14323 (bsloww1): Likewise.
14324 (bsloww2): Likewise.
14325 (cslow2): Likewise.
14326 (csloww1): Likewise.
14327 (csloww2): Likewise.
14329 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14334 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14338 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14340 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14341 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14342 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14343 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14344 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14345 * elf/cache.c (print_entry): Handle the new cache flags.
14347 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14348 Aldy Hernandez <aldyh@redhat.com>
14350 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14351 Change condition to [_SOFT_FLOAT].
14352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14353 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14356 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14364 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14367 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14370 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14372 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14373 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14374 (__longjmp): Use LOAD_GP to load saved GPRs.
14375 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14376 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14377 (__sigsetjmp): Use SAVE_GP to save GPRs.
14379 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14380 Do not append -msoft-float.
14381 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14383 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14385 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14387 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14390 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14391 (_FPU_GETCW): Use initial "__" on variable and field names but not
14392 on macro parameter name.
14393 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14394 parentheses around reference to macro parameter.
14396 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14398 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14400 (ctype_startup): Use uint32_t in cast and sizeof for
14403 2013-09-11 Jia Liu <proljc@gmail.com>
14405 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14407 [__FreeBSD__]: Likewise.
14409 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14412 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14413 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14414 (strchr): Remove __strchr_sse42 ifunc selection.
14415 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14416 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14418 2013-09-11 Will Newton <will.newton@linaro.org>
14420 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14421 parameter to RES. Remove hardcoded 1000 value.
14422 * benchtests/bench-skeleton.c (main): Pass RES parameter
14423 to TIMING_INIT and multiply result by 1000.
14425 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14429 2013-09-11 Andreas Schwab <schwab@suse.de>
14431 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14433 (O_TMPFILE) [__USE_GNU]: Define.
14434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14437 2013-09-11 Will Newton <will.newton@linaro.org>
14440 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14443 2013-09-11 Will Newton <will.newton@linaro.org>
14446 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14449 2013-09-11 Will Newton <will.newton@linaro.org>
14452 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14455 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14457 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14458 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14459 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14460 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14461 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14463 2013-09-10 Allan McRae <allan@archlinux.org>
14466 * manual/arith.texi (Parsing of Floats): Clarify
14470 * manual/install.texi (Running make install): Mention
14472 * INSTALL: Regenerated.
14474 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14476 * csu/init-first.c (_init): Remove the !SHARED condition around
14477 FPU control word initialization.
14478 * elf/dl-support.c (_dl_fpu_control): New variable.
14479 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14480 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14481 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14482 * math/test-fpucw-static.c: New file.
14483 * math/test-fpucw-ieee.c: New file.
14484 * math/test-fpucw-ieee-static.c: New file.
14485 * math/Makefile (tests): Add `test-fpucw-ieee' and
14487 (tests-static): New variable.
14488 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14490 [($(build-shared),yes)]
14491 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14493 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14496 2013-09-09 Allan McRae <allan@archlinux.org>
14499 * manual/string.texi (Collation Functions): Fix typo in
14501 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14504 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14507 * libio/memstream.c (open_memstream): Fix memory leak.
14508 * libio/wmemstream.c (open_wmemstream): Likewise.
14511 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14513 2013-09-09 Will Newton <will.newton@linaro.org>
14515 * malloc/Makefile: Add tst-realloc to tests.
14516 * malloc/tst-realloc.c: New file.
14518 2013-09-09 Allan McRae <allan@archlinux.org>
14521 * COPYING: Update from GNU website to fix FSF address.
14522 * COPYING.LIB: Likewise.
14524 2013-09-06 David S. Miller <davem@davemloft.net>
14526 * po/zh_TW.po: Update Chinese (traditional) translation from
14527 translation project.
14529 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14530 Joseph Myers <joseph@codesourcery.com>
14532 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14534 (obstack_chunk_alloc): New macro.
14535 (obstack_chunk_free): Likewise.
14536 (record_offset): New function.
14537 (init_locale_data): Likewise.
14538 (align_locale_data): Likewise.
14539 (add_locale_empty): Likewise.
14540 (add_locale_raw_data): Likewise.
14541 (add_locale_raw_obstack): Likewise.
14542 (add_locale_string): Likewise.
14543 (add_locale_wstring): Likewise.
14544 (add_locale_uint32): Likewise.
14545 (add_locale_uint32_array): Likewise.
14546 (add_locale_char): Likewise.
14547 (start_locale_structure): Likewise.
14548 (end_locale_structure): Likewise.
14549 (start_locale_prelude): Likewise.
14550 (end_locale_prelude): Likewise.
14551 (write_locale_data): Take locale_file structure rather than an
14553 * locale/programs/locfile.h: Include "obstack.h".
14554 (struct locale_file): Change to store locale file contents instead
14556 (init_locale_data): New prototype.
14557 (align_locale_data): Likewise.
14558 (add_locale_empty): Likewise.
14559 (add_locale_raw_data): Likewise.
14560 (add_locale_raw_obstack): Likewise.
14561 (add_locale_string): Likewise.
14562 (add_locale_wstring): Likewise.
14563 (add_locale_uint32): Likewise.
14564 (add_locale_uint32_array): Likewise.
14565 (add_locale_char): Likewise.
14566 (start_locale_structure): Likewise.
14567 (end_locale_structure): Likewise.
14568 (start_locale_prelude): Likewise.
14569 (end_locale_prelude): Likewise.
14570 (write_locale_data): Update prototype.
14571 * locale/programs/3level.h (struct TABLE): Remove result field.
14572 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14573 Use new locale_file interface.
14574 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14575 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14576 * locale/programs/ld-address.c (address_output): Use new
14577 locale_file interface.
14578 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14580 (collate_finish): Don't call collseq_table_finalize.
14581 (collate_output): Use new locale_file interface.
14582 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14584 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14585 (TABLE): Move defines earlier in file.
14586 (ELEMENT): Likewise.
14587 (DEFAULT): Likewise.
14588 (wctrans_table_add): Move macro and inline function earlier in
14590 (struct wctype_table): Move type earlier in file.
14591 (add_locale_wctype_table): New static prototype.
14592 (struct locale_ctype_t): Use logical types instead of struct iovec
14593 pointers for members.
14594 (ctype_output): Use new locale_file interface.
14595 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14596 new locale_file interface.
14597 (allocate_arrays): Update for use of new locale_file interface.
14598 * locale/programs/ld-identification.c (identification_output): Use
14599 new locale_file interface.
14600 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14601 * locale/programs/ld-messages.c (messages_output): Likewise.
14602 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14603 * locale/programs/ld-name.c (name_output): Likewise.
14604 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14605 * locale/programs/ld-paper.c (paper_output): Likewise.
14606 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14607 * locale/programs/ld-time.c (time_output): Likewise.
14609 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14611 * benchtests/Makefile: Add memrchr benchmark.
14612 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14613 benchmark as memrchr.
14614 * benchtests/bench-memrchr-ifunc.c: New file.
14615 * benchtests/bench-memrchr.c: New file.
14617 2013-09-06 Will Newton <will.newton@linaro.org>
14619 * benchtests/Makefile (string-bench): Add memcpy.
14621 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14622 Cong Wang <amwang@redhat.com>
14625 * sysdeps/unix/sysv/linux/bits/in.h
14626 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14627 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14628 before __USE_KERNEL_IPV6_DEFS uses.
14629 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14631 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14632 sockaddr_in6, or ipv6_mreq.
14634 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14636 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14637 memory access for final bytes in some large inputs.
14638 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14640 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14642 * string/test-memrchr.c: New file.
14643 * string/test-memrchr-ifunc.c: New file.
14644 * string/Makefile: Add new memrchr testcase.
14646 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14648 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14649 fanotify_init returns EPERM.
14651 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14653 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14655 (top level): Treat second token from macro or constant entries for
14656 allowed headers as allowed.
14657 * include/complex.h: Condition internal declarations on
14659 * include/fenv.h: Condition include of <stdbool.h> and internal
14660 declarations on [!_ISOMAC].
14662 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14665 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14667 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14669 * configure.in (--enable-versioning): Remove configure option.
14670 (libc_cv_asm_symver_directive): Remove configure test.
14671 (libc_cv_ld_version_script_option): Likewise.
14672 (VERSIONING): Remove variable and AC_SUBST.
14673 (DO_VERSIONING): Remove AC_DEFINE.
14674 * configure: Regenerated.
14675 * config.h.in (DO_VERSIONING): Remove macro.
14676 * Makerules [$(versioning) = yes]: Change conditionals to
14677 [$(build-shared) = yes].
14678 * config.make.in (versioning): Remove variable.
14679 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14680 [$(build-shared) = yes].
14681 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14682 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14683 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14684 [$(build-shared) = yes].
14685 * extra-lib.mk [$(versioning) = yes]: Likewise.
14686 * hurd/Makefile [$(versioning) = yes]: Likewise.
14687 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14689 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14691 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14692 [SHARED && !NO_HIDDEN].
14693 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14695 [SHARED && DO_VERSIONING]: Likewise..
14696 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14697 [$(build-shared) = yes].
14698 * manual/install.texi (--disable-versioning): Remove
14700 * INSTALL: Regenerated.
14701 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14703 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14704 [$(build-shared) = yes].
14705 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14706 * sysdeps/i386/i686/multiarch/strstr-c.c
14707 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14708 [SHARED && !NO_HIDDEN].
14709 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14710 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14711 * sysdeps/powerpc/powerpc32/dl-machine.c
14712 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14713 * sysdeps/powerpc/powerpc32/sysdep.h
14714 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14715 to [SHARED && PIC && !NO_HIDDEN].
14716 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14717 conditional to [SHARED].
14719 2013-09-04 Will Newton <will.newton@linaro.org>
14721 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14722 * benchtests/bench-string.h: Include bench-timing.h instead
14723 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14724 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14725 call to HP_TIMING_DIFF_INIT.
14726 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14727 instead of hp-timing.h macros.
14728 * benchtests/bench-memchr.c: Likewise.
14729 * benchtests/bench-memcmp.c: Likewise.
14730 * benchtests/bench-memcpy.c: Likewise.
14731 * benchtests/bench-memmem.c: Likewise.
14732 * benchtests/bench-memmove.c: Likewise.
14733 * benchtests/bench-memset.c: Likewise.
14734 * benchtests/bench-rawmemchr.c: Likewise.
14735 * benchtests/bench-strcasecmp.c: Likewise.
14736 * benchtests/bench-strcasestr.c: Likewise.
14737 * benchtests/bench-strcat.c: Likewise.
14738 * benchtests/bench-strchr.c: Likewise.
14739 * benchtests/bench-strcmp.c: Likewise.
14740 * benchtests/bench-strcpy.c: Likewise.
14741 * benchtests/bench-strcpy_chk.c: Likewise.
14742 * benchtests/bench-strlen.c: Likewise.
14743 * benchtests/bench-strncasecmp.c: Likewise.
14744 * benchtests/bench-strncat.c: Likewise.
14745 * benchtests/bench-strncmp.c: Likewise.
14746 * benchtests/bench-strncpy.c: Likewise.
14747 * benchtests/bench-strnlen.c: Likewise.
14748 * benchtests/bench-strpbrk.c: Likewise.
14749 * benchtests/bench-strrchr.c: Likewise.
14750 * benchtests/bench-strspn.c: Likewise.
14751 * benchtests/bench-strstr.c: Likewise.
14753 2013-09-04 Will Newton <will.newton@linaro.org>
14755 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14757 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14760 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14761 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14762 * math/libm-test.inc (lgamma_test_data): Add more tests.
14763 * sysdeps/i386/fpu/libm-test-ulps: Update.
14764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14766 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14768 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14772 Add strcmp-sse2-unaligned
14773 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14775 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14777 * Versions.def (libc): Add GLIBC_2.19.
14779 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14781 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14782 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14784 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14787 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14788 intermediate calculations in recurrence.
14789 (__ieee754_ynf): Likewise.
14790 * math/libm-test.inc (jn_test_data): Do not allow spurious
14791 underflow exception. Add more tests.
14792 (yn_test_data): Add more tests.
14793 * sysdeps/i386/fpu/libm-test-ulps: Update.
14794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14796 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14798 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14800 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14802 * csu/init-first.c: Fix then/than typos.
14803 * locale/programs/ld-collate.c: Likewise.
14804 * locale/programs/linereader.h: Likewise.
14805 * manual/charset.texi: Likewise.
14806 * manual/filesys.texi: Likewise.
14807 * manual/stdio.texi: Likewise.
14808 * manual/string.texi: Likewise.
14809 * stdlib/fmtmsg.c: Likewise.
14810 * sysdeps/i386/stpncpy.S: Likewise.
14811 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14812 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14813 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14814 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14816 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14818 * elf/dl-open.c: Fix typos.
14819 * iconvdata/gbbig5.c: Likewise.
14820 * iconvdata/iso-2022-jp.c: Likewise.
14821 * iconv/gconv_int.h: Likewise.
14822 * iconv/loop.c: Likewise.
14823 * nis/rpcsvc/nis.h: Likewise.
14824 * resolv/ns_name.c: Likewise.
14825 * stdio-common/vfscanf.c: Likewise.
14826 * streams/stropts.h: Likewise.
14827 * sunrpc/rpc_thread.c: Likewise.
14828 * sysdeps/i386/strpbrk.S: Likewise.
14829 * sysdeps/ieee754/k_standard.c: Likewise.
14830 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14831 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14832 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14833 * sysdeps/mach/hurd/profil.c: Likewise.
14834 * sysdeps/s390/dl-procinfo.h: Likewise.
14835 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14836 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14837 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14838 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14839 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14841 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14843 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14844 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14846 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14848 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14849 aix specific files.
14850 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14851 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14852 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14853 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14854 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14855 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14856 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14857 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14859 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14860 Roland McGrath <roland@hack.frob.com>
14862 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14863 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14865 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14867 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14868 __executable_start symbol instead of _start.
14870 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14872 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14873 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14875 * sysdeps/gnu/ldsodefs.h: ... this new file.
14877 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14878 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14879 instead of ELFOSABI_LINUX.
14881 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14882 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14883 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14884 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14886 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14887 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14888 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14890 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14891 (ibm_extended_long_double): Add ieee_nan member.
14892 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14893 (do_test): New function.
14895 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14897 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14898 functions, renamed from truncdfsf_test, trunctfsf_test,
14900 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14902 (do_test): Run all these.
14904 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14906 * argp/argp-help.c: Fix typos.
14907 * argp/argp-parse.c: Likewise.
14908 * debug/backtracesyms.c: Likewise.
14909 * elf/elf.h: Likewise.
14910 * malloc/malloc.c: Likewise.
14911 * nis/nis_print.c: Likewise.
14912 * resolv/res_comp.c: Likewise.
14913 * stdlib/stdlib.h: Likewise.
14914 * sunrpc/clnt_tcp.c: Likewise.
14915 * sunrpc/clnt_udp.c: Likewise.
14916 * sunrpc/clnt_unix.c: Likewise.
14917 * sysdeps/unix/bsd/ptsname.c: Likewise.
14918 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14919 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14926 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14928 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14930 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14933 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14936 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14937 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14938 ($(objpfx)bug-dl-leaf): New rule.
14939 ($(objpfx)bug-dl-leaf.so): Likewise.
14940 ($(objpfx)bug-dl-leaf.out): Likewise.
14941 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14942 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14943 * dlfcn/bug-dl-leaf.c: New test.
14944 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14945 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14946 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14947 (dlclose): Likewise.
14948 (dlmopen): Likewise.
14950 2013-08-27 Roland McGrath <roland@hack.frob.com>
14952 * include/netdb.h [!_ISOMAC]:
14953 Don't include <tls.h>.
14954 (h_errno, __libc_h_errno): Move declaration and macros out of
14957 * include/resolv.h [_RESOLV_H_]:
14958 Don't include <tls.h>.
14959 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14960 * resolv/res_libc.c: Don't include <tls.h>.
14961 (_res): Use __attribute__ ((nocommon)) in place of
14962 __attribute__ ((section (".bss"))).
14964 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14965 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14967 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14969 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14970 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14972 * resolv/res_mkquery.c: Include <sys/time.h>.
14974 * inet/ifreq.c: Moved to ...
14975 * sysdeps/unix/ifreq.c: ... here.
14976 * inet/ifreq.c: New file, true stub version.
14978 * socket/sa_len.c: New file.
14979 * socket/Makefile (aux): Add it.
14980 * sysdeps/unix/sysv/linux/Makefile
14981 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14982 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14983 and #include <socket/sa_len.c>.
14984 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14985 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14987 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14988 * bits/socket.h: ... here.
14990 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14991 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14992 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14994 2013-08-27 Andreas Schwab <schwab@suse.de>
14997 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14998 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14999 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15000 * string/test-strcasecmp.c (test_main): Run tests in several
15002 * string/test-strncasecmp.c (test_main): Likewise.
15004 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15005 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15006 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15008 (__strncasecmp_ssse3) [PIC]: Likewise.
15010 2013-08-26 Roland McGrath <roland@hack.frob.com>
15012 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15014 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15015 instead of explicitly declaring xdecrypt.
15016 * nis/nss_nis/nis-publickey.c: Likewise.
15018 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15021 * nscd/aicache.c: Include res_hconf.h.
15022 (addhstaiX): Initialize res_hconf.
15024 2013-08-26 Andreas Schwab <schwab@suse.de>
15026 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15027 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15029 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15031 * nscd/aicache.c (addhstaiX): Fix indentation.
15033 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15035 * configure.ac: Quote $build_pt_chown test.
15036 * configure: Regenerated.
15038 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15041 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15042 * math/s_cexpf.c (__cexpf): Likewise.
15043 * math/s_cexpl.c (__cexpl): Likewise.
15044 * math/libm-test.inc (cexp_test_data): Correct expected return
15045 value for NaN + i0. Add another test.
15047 2013-08-22 David S. Miller <davem@davemloft.net>
15049 * po/ca.po: Update Catalan translation from translation project.
15050 * po/uk.po: Add Ukrainian translations from translation project.
15052 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15055 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15056 is infinite, not alongside NaN test.
15057 * math/s_fdimf.c (__fdimf): Likewise.
15058 * math/s_fdiml.c (__fdiml): Likewise.
15059 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15060 errno is unchanged.
15062 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15064 * argp/argp-help.c: Fix typos.
15065 * crypt/speeds.c: Likewise.
15066 * csu/check_fds.c: Likewise.
15067 * elf/dl-load.c: Likewise.
15068 * elf/dl-open.c: Likewise.
15069 * elf/reldep3.c: Likewise.
15070 * elf/reldep.c: Likewise.
15071 * elf/sprof.c: Likewise.
15072 * iconv/iconv_charmap.c: Likewise.
15073 * iconv/skeleton.c: Likewise.
15074 * iconv/strtab.c: Likewise.
15075 * io/lockf64.c: Likewise.
15076 * libio/libioP.h: Likewise.
15077 * resolv/gai_notify.c: Likewise.
15078 * resolv/ns_name.c: Likewise.
15079 * resolv/ns_samedomain.c: Likewise.
15080 * resolv/res_send.c: Likewise.
15081 * stdlib/random.c: Likewise.
15082 * sunrpc/rpc/xdr.h: Likewise.
15083 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15084 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15085 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15086 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15088 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15090 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15091 * sysdeps/mach/hurd/check_fds.c: Likewise.
15092 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15093 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15094 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15095 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15096 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15097 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15098 * sysdeps/pthread/aio_notify.c: Likewise.
15099 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15100 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15101 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15102 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15103 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15105 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15107 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15108 version if bit_Slow_SSE4_2 is set.
15109 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15110 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15112 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15115 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15116 trampoline stack frame information.
15117 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15118 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15119 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15120 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15121 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15122 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15123 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15124 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15126 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15127 interrupting a syscall and set with option SA_SIGINFO.
15129 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15132 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15133 argument is infinite.
15134 * math/s_cprojf.c (__cprojf): Likewise.
15135 * math/s_cprojl.c (__cprojl): Likewise.
15136 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15137 * math/libm-test.inc (cproj_test_data): Add more tests.
15139 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15141 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15142 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15143 size. Use __ffs to determine corresponding shift.
15145 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15146 Roland McGrath <roland@hack.frob.com>
15148 * Makefile (INSTALL): Remove trailing blank lines from output of
15151 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15153 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15154 Align 32 bit compat elf_greg to 8 bytes.
15156 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15158 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15160 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15162 * string/strcoll_l.c (coll_seq): New structure.
15163 (get_next_seq_cached): New function.
15164 (get_next_seq): New function.
15165 (do_compare): New function.
15166 (STRCOLL): Use GNU style definition. Simplify implementation
15167 by using get_next_seq, get_next_seq_cached and do_compare.
15169 2013-08-16 Florian Weimer <fweimer@redhat.com>
15173 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15175 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15177 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15178 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15179 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15181 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15182 GETDENTS_64BIT_ALIGNED.
15183 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15184 * manual/filesys.texi (Reading/Closing Directory): Document
15185 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15187 * manual/conf.texi (Limits for Files): Add portability note to
15188 NAME_MAX, PATH_MAX.
15189 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15191 2013-08-13 Andreas Schwab <schwab@suse.de>
15194 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15196 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15197 LDBL_MAX_EXP >= 16384]: Add tests for it.
15199 2013-08-12 David S. Miller <davem@davemloft.net>
15201 * version.h (RELEASE): Set to "development".
15202 (VERSION): Set to "2.18.90".
15203 * NEWS: Add 2.19 section.
15205 2013-08-03 David S. Miller <davem@davemloft.net>
15207 * po/ko.po: Update Korean translation from translation project.
15209 2013-08-01 David S. Miller <davem@davemloft.net>
15211 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15212 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15215 2013-07-30 David S. Miller <davem@davemloft.net>
15217 * po/fr.po: Update French translation from translation project.
15219 2013-07-28 David S. Miller <davem@davemloft.net>
15221 * po/cs.po: Update Czech translation from translation project.
15223 * po/sv.po: Update Swedish translation from translation project.
15225 2013-07-27 David S. Miller <davem@davemloft.net>
15227 * po/eo.po: Update Esperanto translation from translation project.
15229 * po/vi.po: Update Vietnamese translation from translation project.
15231 * po/de.po: Update German translation from translation project.
15233 2013-07-26 David S. Miller <davem@davemloft.net>
15235 * po/bg.po: Update Bulgarian translation from translation project.
15237 * po/nl.po: Update Dutch translation from translation project.
15238 * po/pl.po: Update Polish translation from translation project.
15239 * po/ru.po: Update Russian translation from translation project.
15241 2013-07-24 David S. Miller <davem@davemloft.net>
15243 * po/libc.pot: Update.
15245 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15247 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15248 variable page size.
15249 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15250 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15251 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15253 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15255 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15257 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15258 Andreas Schwab <schwab@suse.de>
15259 Roland McGrath <roland@hack.frob.com>
15260 Joseph Myers <joseph@codesourcery.com>
15261 Carlos O'Donell <carlos@redhat.com>
15264 * config.h.in: Define HAVE_PT_CHOWN.
15265 * config.make.in (build-pt-chown): New variable.
15266 * configure.in (--enable-pt_chown): New configure option.
15267 * configure: Regenerate.
15268 * login/Makefile: Include Makeconfig. Build pt_chown only if
15269 build-pt-chown is enabled.
15270 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15271 pt_chown to fix pty ownership.
15272 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15274 * manual/install.texi (Configuring and compiling): Mention
15275 --enable-pt_chown. Add @findex for grantpt.
15276 * INSTALL: Regenerate.
15278 2013-07-20 David S. Miller <davem@davemloft.net>
15280 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15281 difference between 32-bit and 64-bit.
15283 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15286 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15287 Avoid system header dependency with -ffreestanding.
15288 ($(objpfx)bits/syscall%d): Likewise.
15290 2013-07-13 David S. Miller <davem@davemloft.net>
15292 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15293 underflows from atanl/atan2l due to bug 15319.
15294 (casinh_test_data): Likewise.
15296 2013-07-07 David S. Miller <davem@davemloft.net>
15298 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15300 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15302 * sysdeps/i386/fpu/libm-test-ulps: Update.
15303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15305 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15307 * configure.in (--enable-lock-elision): Fix message text.
15308 * INSTALL: Regenerate.
15309 * configure: Regenerate.
15311 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15315 2013-07-03 Andreas Jaeger <aj@suse.de>
15317 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15319 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15320 (ptrace_peeksiginfo_args): Add.
15321 (__ptrace_peeksiginfo_flags): Add.
15322 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15323 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15324 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15326 2013-07-03 Allan McRae <allan@archlinux.org>
15328 * sysdeps/i386/fpu/libm-test-ulps: Update.
15330 2013-07-02 David S. Miller <davem@davemloft.net>
15332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15334 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15338 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15340 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15343 2013-07-02 Andi Kleen <ak@linux.intel.com>
15345 * config.h.in (ENABLE_LOCK_ELISION): Add.
15346 * configure.in (--enable-lock-elision): Add option.
15347 * manual/install.texi: Document --enable lock elision.
15348 * configure: Regenerate
15349 * INSTALL: Regenerate.
15351 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15353 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15354 SSE4.2 strcasecmp for libc.a.
15355 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15357 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15360 * soft-fp/op-common.h (_FP_FMA): New macro.
15361 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15362 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15363 (_FP_MUL_MEAT_1_imm): ... here.
15364 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15365 (_FP_MUL_MEAT_1_wide): ... here.
15366 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15367 (_FP_MUL_MEAT_1_hard): ... here.
15368 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15369 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15370 (_FP_MUL_MEAT_2_wide): ... here.
15371 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15372 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15373 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15374 (_FP_MUL_MEAT_2_gmp): ... here.
15375 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15376 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15377 (_FP_MUL_MEAT_4_wide): ... here.
15378 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15379 (_FP_MUL_MEAT_4_gmp): ... here.
15380 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15381 (_FP_WFRACBITS_DW_S): Likewise.
15382 (_FP_WFRACXBITS_DW_S): Likewise.
15383 (_FP_HIGHBIT_DW_S): Likewise.
15384 (FP_FMA_S): Likewise.
15385 (_FP_FRAC_HIGH_DW_S): Likewise.
15386 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15387 (_FP_WFRACBITS_DW_D): Likewise.
15388 (_FP_WFRACXBITS_DW_D): Likewise.
15389 (_FP_HIGHBIT_DW_D): Likewise.
15390 (FP_FMA_D): Likewise.
15391 (_FP_FRAC_HIGH_DW_D): Likewise.
15392 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15393 (_FP_WFRACBITS_DW_E): Likewise.
15394 (_FP_WFRACXBITS_DW_E): Likewise.
15395 (_FP_HIGHBIT_DW_E): Likewise.
15396 (FP_FMA_E): Likewise.
15397 (_FP_FRAC_HIGH_DW_E): Likewise.
15398 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15399 (_FP_WFRACBITS_DW_Q): Likewise.
15400 (_FP_WFRACXBITS_DW_Q): Likewise.
15401 (_FP_HIGHBIT_DW_Q): Likewise.
15402 (FP_FMA_Q): Likewise.
15403 (_FP_FRAC_HIGH_DW_Q): Likewise.
15404 * soft-fp/fmasf4.c: New file.
15405 * soft-fp/fmadf4.c: Likewise.
15406 * soft-fp/fmatf4.c: Likewise.
15408 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15411 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15413 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15415 (index_Slow_SSE4_2): Likewise.
15416 (index_Prefer_PMINUB_for_stringop): Likewise.
15417 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15418 bit_Slow_SSE4_2 is set.
15419 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15420 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15422 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15424 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15425 rtld_global._dl_hwcap2.
15426 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15428 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15429 POWER8 feature descriptions defined in _dl_hwcap2.
15430 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15431 string handling for POWER8 feature bits.
15432 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15433 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15434 _dl_powerpc_cap_flags.
15435 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15436 * sysdeps/powerpc/rtld-global-offsets.sym
15437 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15438 _dl_hwcap2 in the rtld_global_ro structure.
15440 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15442 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15443 hardware capabilities in support of AT_HWCAP2.
15444 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15445 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15447 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15448 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15449 explicitly the unknown a_type display mechanism is used.
15450 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15451 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15453 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15454 to macro prototype for AT_HWCAP2 support.
15455 * sysdeps/i386/dl-procinfo.h: Likewise.
15456 * sysdeps/s390/dl-procinfo.h: Likewise.
15457 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15458 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15459 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15460 return -1 for unknown a_type display fallback.
15461 * sysdeps/sparc/dl-procinfo.h: Likewise.
15462 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15463 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15465 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15467 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15468 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15470 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15473 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15474 mprotect making __stack_prot writable.
15476 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15477 Joseph Myers <joseph@codesourcery.com>
15479 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15480 as being properly aligned.
15482 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15484 * dlfcn/modstatic5.c: New file.
15485 * dlfcn/tststatic5.c: New file.
15486 * dlfcn/Makefile (tests): Add tststatic5.
15487 (tests-static): Likewise.
15488 (modules-names): Add modstatic5.
15489 (tststatic5-ENV): New variable.
15490 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15493 * elf/dl-support.c (_dl_main_map): New variable.
15494 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15495 (_dl_nns, _dl_load_adds): Set to 1.
15496 (_dl_initial_searchlist): Refer to _dl_main_map.
15497 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15498 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15499 call to _dl_get_origin.
15500 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15502 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15503 * dlfcn/modstatic3.c: New file.
15504 * dlfcn/tststatic3.c: New file.
15505 * dlfcn/tststatic4.c: New file.
15506 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15507 (tests-static): Likewise.
15508 (modules-names): Add modstatic3.
15509 (tststatic3-ENV, tststatic4-ENV): New variables.
15510 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15511 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15513 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15515 * configure.in (CC): Require GCC version 4.4 or later.
15516 * configure: Regenerated.
15517 * manual/install.texi (Tools for Compilation): Update GCC version
15519 * INSTALL: Regenerated.
15521 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15524 * string/test-memcmp.c (check2): New.
15525 (main): Call check2.
15527 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15529 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15532 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15534 (dl_open_worker) [!SHARED]: ... here.
15536 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15538 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15540 2013-06-25 Richard Henderson <rth@redhat.com>
15542 * locale/programs/locarchive.c: Include <libc-internal.h>
15544 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15546 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15547 trailing whitespace removed.
15549 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15552 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15553 * locale/programs/locarchive.c: Include libc-mmap.h.
15554 (prepare_address_space): Take two new outputs (the mmap base and len).
15555 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15557 (create_archive): Declare new mmap base and len values for
15558 prepare_address_space, and store the result in ah.
15559 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15560 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15561 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15562 Declare new mmap base and len values for
15563 prepare_address_space, and store the result in new_ah.
15564 (open_archive): Declare new mmap base and len values for
15565 prepare_address_space, and store the result in ah.
15566 (close_archive): If ah->mmap_base is not NULL, use that and
15567 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15568 * sysdeps/generic/libc-mmap.h: New file.
15570 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15572 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15573 (ALIGN_UP): Likewise.
15574 (PTR_ALIGN_DOWN): Likewise.
15575 (PTR_ALIGN_UP): Likewise.
15577 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15579 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15580 entry mapped to PPC_PLATFORM_POWER8.
15581 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15583 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15584 (_dl_string_platform): Add case for exporting platform position for
15586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15587 search path to sysdeps/powerpc/powerpc32/power8 directory.
15588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15589 search path to sysdeps/powerpc/powerpc64/power8 directory.
15590 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15591 power7 directories.
15592 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15593 power7 directories.
15595 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15597 * INSTALL: Regenerate.
15599 * nscd/connections.c (nscd_init): Fix comment.
15601 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15603 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15606 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15607 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15609 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15611 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15613 (DL_DST_REQ_STATIC): Remove macro.
15615 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15618 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15619 with a shift of 0 bits.
15621 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15623 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15626 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15629 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15631 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15633 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15634 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15635 accepts -fno-tree-loop-distribute-patterns.
15636 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15637 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15639 * string/memset.c (memset): Likewise.
15640 * string/test-memmove.c (simple_memmove): Disable loop transformation
15642 * string/test-memset.c (simple_memset): Likewise.
15643 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15644 * benchtests/bench-memset.c (simple_memset): Likewise.
15645 * configure: Regenerated.
15647 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15649 * math/test-misc.c (main): Ignore fesetround failure when failures
15650 of subsequent rounding tests would be ignored.
15653 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15654 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15655 * math/fegetenv.c (__fegetenv): Return 0.
15656 * math/fegetexcept.c (fegetexcept): Return 0.
15657 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15659 * math/feholdexcpt.c (feholdexcept): Return 0.
15660 * math/fesetenv.c (__fesetenv): Return 0.
15661 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15662 argument FE_TONEAREST.
15663 * math/feupdateenv.c (__feupdateenv): Return 0.
15664 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15666 2013-06-18 Roland McGrath <roland@hack.frob.com>
15668 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15669 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15670 ($(objpfx)rtld-%.os rules): Use them.
15672 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15674 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15677 2013-06-17 Roland McGrath <roland@hack.frob.com>
15679 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15680 length of target pattern, then descending length of dependency pattern.
15681 * configure.in (AWK): Require gawk 3.1.2 or newer.
15682 * manual/install.texi (Tools for Compilation): Say that we do.
15683 * configure: Regenerated.
15685 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15686 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15687 * scripts/sysd-rules.awk: ... this new script.
15688 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15689 than a glob-style pattern.
15691 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15693 * math/test-misc.c (main): Do not treat incorrectly rounded
15694 conversions as failure unless ROUNDING_TESTS passes.
15696 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15699 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15700 restore exception state around main square root computation, then
15701 check for inexactness explicitly.
15703 * math/libm-test.inc (fma_test_data): Add another test.
15705 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15707 * manual/threads.texi (Non-POSIX Extensions): New document
15708 node. Document pthread_getattr_default_np and
15709 pthread_setattr_default_np.
15711 * Versions.def (libpthread): Add GLIBC_2.18.
15712 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15721 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15732 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15735 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15737 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15738 H.J. Lu <hjl.tools@gmail.com>
15741 * sysdeps/x86_64/rtld-memset.c: Remove file.
15742 * sysdeps/x86_64/rtld-memset.S: New file.
15744 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15746 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15747 (test_in_one_mode): Take arguments for whether the rounding mode
15748 is supported for each floating-point type.
15749 (do_test): Pass new arguments to test_in_one_mode using
15752 2013-06-13 Roland McGrath <roland@hack.frob.com>
15754 * posix/tst-waitid.c (do_test): Distinguish different instances of
15755 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15756 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15757 before entering the kernel for waitpid.
15759 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15761 * NEWS: Fix note on clock function precision. Text by Roland
15764 2013-06-13 Roland McGrath <roland@hack.frob.com>
15766 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15767 it into place only when and if the sanity check passes.
15769 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15771 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15772 output for whether conversion result is exact. Take argument
15773 indicating whether type is IBM long double.
15774 (round_for_all): Change need_exact field to ibm_ld.
15775 * stdlib/tst-strtod-round.c (struct exactness): New type.
15776 (struct test): Change bool ld_ok field to struct exactness exact.
15777 (TEST): Update all definitions for change to field.
15778 (tests): Regenerate array contents.
15779 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15780 field value. Check for IBM long double here.
15781 (do_test): Update calls to test_in_one_mode.
15783 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15786 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15787 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15789 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15792 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15793 generated by the compiler on loop optimizations.
15794 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15795 general definitions.
15797 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15799 * math/bug-nextafter.c: Include <math-tests.h>.
15800 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15802 * math/bug-nexttoward.c: Include <math-tests.h>.
15803 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15805 * math/test-misc.c: Include <math-tests.h>.
15806 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15809 2013-06-12 Andreas Jaeger <aj@suse.de>
15811 * po/ia.po: Update Interlingua translation from translation
15814 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15816 * include/fenv.h: Include stdbool.h.
15817 (struct rm_ctx): New structure.
15818 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15820 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15821 (SET_RESTORE_ROUNDF): Likewise.
15822 (SET_RESTORE_ROUNDL): Likewise.
15823 (SET_RESTORE_ROUND_NOEX): Likewise.
15824 (SET_RESTORE_ROUND_NOEXF): Likewise.
15825 (SET_RESTORE_ROUND_NOEXL): Likewise.
15826 (SET_RESTORE_ROUND_53BIT): Likewise.
15827 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15828 (libc_feresetround_noexf_ctx): Likewise.
15829 (libc_feresetround_noexl_ctx): Likewise.
15830 (libc_feholdsetround_53bit_ctx): Likewise.
15831 (libc_feresetround_53bit_ctx): Likewise.
15832 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15833 (libc_feholdexcept_setround_sse_ctx): New function.
15834 (libc_fesetenv_sse_ctx): Likewise.
15835 (libc_feupdateenv_sse_ctx): Likewise.
15836 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15837 (libc_feholdexcept_setround_387_ctx): Likewise.
15838 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15839 (libc_feholdsetround_387_prec_ctx): Likewise.
15840 (libc_feholdsetround_387_ctx): Likewise.
15841 (libc_feholdsetround_387_53bit_ctx): Likewise.
15842 (libc_feholdsetround_sse_ctx): Likewise.
15843 (libc_feresetround_sse_ctx): Likewise.
15844 (libc_feresetround_387_ctx): Likewise.
15845 (libc_feupdateenv_387_ctx): Likewise.
15846 (libc_feholdexcept_setroundf_ctx): Define macro.
15847 (libc_fesetenvf_ctx): Likewise.
15848 (libc_feupdateenvf_ctx): Likewise.
15849 (libc_feholdsetroundf_ctx): Likewise.
15850 (libc_feresetroundf_ctx): Likewise.
15851 (libc_feholdexcept_setround_ctx): Likewise.
15852 (libc_fesetenv_ctx): Likewise.
15853 (libc_feupdateenv_ctx): Likewise.
15854 (libc_feholdsetround_ctx): Likewise.
15855 (libc_feresetround_ctx): Likewise.
15856 (libc_feholdexcept_setroundl_ctx): Likewise.
15857 (libc_feupdateenvl_ctx): Likewise.
15858 (libc_feholdsetroundl_ctx): Likewise.
15859 (libc_feresetroundl_ctx): Likewise.
15860 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15861 (libc_feresetround_53bit_ctx): Likewise.
15863 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15865 * locale/iso-639.def: Convert to UTF-8.
15867 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15869 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15870 (EXCEPTION_TESTS_double): Likewise.
15871 (EXCEPTION_TESTS_long_double): Likewise.
15872 (EXCEPTION_TESTS): Likewise.
15873 * math/libm-test.inc (test_exceptions): Only test exceptions if
15874 EXCEPTION_TESTS (FLOAT).
15876 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15878 * benchtests/Makefile (string-bench): Add strcpy_chk and
15880 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15881 * benchtests/bench-stpcpy_chk.c: New file.
15882 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15883 * benchtests/bench-strcpy_chk.c: New file.
15884 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15886 (do_test): Likewise.
15888 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15890 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15891 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15892 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15893 with tabs where appropriate.
15894 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15896 [PPC_PLATFORM_PPC440]: Likewise.
15897 [PPC_PLATFORM_PPC464]: Likewise.
15898 [PPC_PLATFORM_PPC476]: Likewise.
15899 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15900 ppc464, and ppc476 platform strings merging from ports/
15903 2013-06-11 Andreas Schwab <schwab@suse.de>
15906 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15907 (from_ucs4_idx): Regenerate.
15908 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15909 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15910 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15911 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15912 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15913 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15914 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15915 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15916 from FROM_LOOP and TO_LOOP specific macros.
15917 (BODY): Handle combining characters.
15918 * iconvdata/BIG5HKSCS.irreversible: Update.
15919 * iconvdata/BIG5HKSCS.precomposed: New file.
15920 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15922 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15924 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15926 * include/sys/time.h: Fix indentation and add copyright header.
15928 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15929 (do_test): Likewise.
15930 * string/test-memchr.c (do_one_test): Likewise.
15931 (do_test): Likewise.
15932 * string/test-memcmp.c (do_one_test): Likewise.
15933 (do_test): Likewise.
15934 * string/test-memcpy.c (do_one_test): Likewise.
15935 (do_test): Likewise.
15936 * string/test-memmem.c (do_one_test): Likewise.
15937 (do_test): Likewise.
15938 (do_random_tests): Likewise.
15939 * string/test-memmove.c (do_one_test): Likewise.
15940 (do_test): Likewise.
15941 * string/test-memset.c (do_one_test): Likewise.
15942 (do_test): Likewise.
15943 * string/test-rawmemchr.c (do_one_test): Likewise.
15944 (do_test): Likewise.
15945 * string/test-strcasecmp.c (do_one_test): Likewise.
15946 (do_test): Likewise.
15947 * string/test-strcasestr.c (do_one_test): Likewise.
15948 (do_test): Likewise.
15949 * string/test-strcat.c (do_one_test): Likewise.
15950 (do_test): Likewise.
15951 * string/test-strchr.c (do_one_test): Likewise.
15952 (do_test): Likewise.
15953 * string/test-strcmp.c (do_one_test): Likewise.
15954 (do_test): Likewise.
15955 * string/test-strcpy.c (do_one_test): Likewise.
15956 (do_test): Likewise.
15957 * string/test-string.h: Likewise.
15958 (test_init): Likewise.
15959 * string/test-strlen.c (do_one_test): Likewise.
15960 (do_test): Likewise.
15961 * string/test-strncasecmp.c (do_one_test): Likewise.
15962 (do_test): Likewise.
15963 * string/test-strncat.c (do_one_test): Likewise.
15964 (do_test): Likewise.
15965 * string/test-strncmp.c (do_one_test): Likewise.
15966 (do_test_limit): Likewise.
15967 (do_test): Likewise.
15968 * string/test-strncpy.c (do_one_test): Likewise.
15969 (do_test): Likewise.
15970 * string/test-strnlen.c (do_one_test): Likewise.
15971 (do_test): Likewise.
15972 * string/test-strpbrk.c (do_one_test): Likewise.
15973 (do_test): Likewise.
15974 * string/test-strrchr.c (do_one_test): Likewise.
15975 (do_test): Likewise.
15976 * string/test-strspn.c (do_one_test): Likewise.
15977 (do_test): Likewise.
15978 * string/test-strstr.c (do_one_test): Likewise.
15979 (do_test): Likewise.
15981 * benchtests/Makefile (string-bench): Add string benchmarks.
15982 * benchtests/bench-bcopy-ifunc.c: New file.
15983 * benchtests/bench-bcopy.c: New file.
15984 * benchtests/bench-bzero-ifunc.c: New file.
15985 * benchtests/bench-bzero.c: New file.
15986 * benchtests/bench-memccpy-ifunc.c: New file.
15987 * benchtests/bench-memccpy.c: New file.
15988 * benchtests/bench-memchr-ifunc.c: New file.
15989 * benchtests/bench-memchr.c: New file.
15990 * benchtests/bench-memcmp-ifunc.c: New file.
15991 * benchtests/bench-memcmp.c: New file.
15992 * benchtests/bench-memmem-ifunc.c: New file.
15993 * benchtests/bench-memmem.c: New file.
15994 * benchtests/bench-memmove-ifunc.c: New file.
15995 * benchtests/bench-memmove.c: New file.
15996 * benchtests/bench-mempcpy-ifunc.c: New file.
15997 * benchtests/bench-mempcpy.c: New file.
15998 * benchtests/bench-memset-ifunc.c: New file.
15999 * benchtests/bench-memset.c: New file.
16000 * benchtests/bench-rawmemchr-ifunc.c: New file.
16001 * benchtests/bench-rawmemchr.c: New file.
16002 * benchtests/bench-stpcpy-ifunc.c: New file.
16003 * benchtests/bench-stpcpy.c: New file.
16004 * benchtests/bench-stpncpy-ifunc.c: New file.
16005 * benchtests/bench-stpncpy.c: New file.
16006 * benchtests/bench-strcasecmp-ifunc.c: New file.
16007 * benchtests/bench-strcasecmp.c: New file.
16008 * benchtests/bench-strcasestr-ifunc.c: New file.
16009 * benchtests/bench-strcasestr.c: New file.
16010 * benchtests/bench-strcat-ifunc.c: New file.
16011 * benchtests/bench-strcat.c: New file.
16012 * benchtests/bench-strchr-ifunc.c: New file.
16013 * benchtests/bench-strchr.c: New file.
16014 * benchtests/bench-strchrnul-ifunc.c: New file.
16015 * benchtests/bench-strchrnul.c: New file.
16016 * benchtests/bench-strcmp-ifunc.c: New file.
16017 * benchtests/bench-strcmp.c: New file.
16018 * benchtests/bench-strcpy-ifunc.c: New file.
16019 * benchtests/bench-strcpy.c: New file.
16020 * benchtests/bench-strcspn-ifunc.c: New file.
16021 * benchtests/bench-strcspn.c: New file.
16022 * benchtests/bench-strlen-ifunc.c: New file.
16023 * benchtests/bench-strlen.c: New file.
16024 * benchtests/bench-strncasecmp-ifunc.c: New file.
16025 * benchtests/bench-strncasecmp.c: New file.
16026 * benchtests/bench-strncat-ifunc.c: New file.
16027 * benchtests/bench-strncat.c: New file.
16028 * benchtests/bench-strncmp-ifunc.c: New file.
16029 * benchtests/bench-strncmp.c: New file.
16030 * benchtests/bench-strncpy-ifunc.c: New file.
16031 * benchtests/bench-strncpy.c: New file.
16032 * benchtests/bench-strnlen-ifunc.c: New file.
16033 * benchtests/bench-strnlen.c: New file.
16034 * benchtests/bench-strpbrk-ifunc.c: New file.
16035 * benchtests/bench-strpbrk.c: New file.
16036 * benchtests/bench-strrchr-ifunc.c: New file.
16037 * benchtests/bench-strrchr.c: New file.
16038 * benchtests/bench-strspn-ifunc.c: New file.
16039 * benchtests/bench-strspn.c: New file.
16040 * benchtests/bench-strstr-ifunc.c: New file.
16041 * benchtests/bench-strstr.c: New file.
16043 * benchtests/Makefile: Disable parallel execution of targets.
16044 (string-bench): Add memcpy.
16045 (benchset): New variable to store a list of benchmark sets.
16046 (bench-func): Renamed from bench.
16047 (bench-set): New target.
16048 (bench): Depend on bench-func and bench-set.
16049 * benchtests/README: Add section on benchmark sets.
16050 * benchtests/bench-memcpy-ifunc.c: New file.
16051 * benchtests/bench-memcpy.c: New file.
16052 * benchtests/bench-string.h: New file.
16054 2013-06-11 Andreas Schwab <schwab@suse.de>
16057 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16058 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16059 values in the triple.
16060 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16061 terminator in the group key.
16063 2013-06-11 Andreas Jaeger <aj@suse.de>
16065 * po/zh_TW.po: Update Chinese (traditional) translation from
16066 translation project.
16068 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16070 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16071 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16072 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16073 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16074 (clock_getcpuclockid): Likewise.
16075 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16076 Add weak_alias and libc_hidden_def.
16077 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16078 * rt/clock_gettime.c (clock_gettime): Rename to
16079 __clock_gettime. Add weak_alias and libc_hidden_def.
16080 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16081 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16082 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16083 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16084 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16086 * rt/clock_settime.c (clock_settime): Rename to
16087 __clock_settime. Add weak_alias and libc_hidden_def.
16088 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16090 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16092 * mach/err_boot.sub: Remove trailing whitespace.
16093 * mach/err_ipc.sub: Likewise.
16094 * mach/err_mach.sub: Likewise.
16096 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16097 (ROUNDING_TESTS_double): Likewise.
16098 (ROUNDING_TESTS_long_double): Likewise.
16099 (ROUNDING_TESTS): Likewise.
16100 * math/libm-test.inc: Include <math-tests.h>.
16101 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16102 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16103 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16104 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16106 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16108 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16111 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16113 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16114 otherwise empty TRANS lines.
16115 * sysdeps/gnu/errlist.c: Regenerated.
16117 * catgets/gencat.c (error_print): Use (void) in function
16119 * crypt/crypt_util.c (__init_des): Likewise.
16120 * crypt/speeds.c (Stop): Likewise.
16122 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16123 * inet/ruserpass.c (token): Likewise.
16124 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16125 * intl/localealias.c (extend_alias_table): Likewise.
16126 * intl/plural-exp.c (init_germanic_plural): Likewise.
16127 * libio/fcloseall.c (__fcloseall): Likewise.
16128 * libio/genops.c (_IO_flush_all): Likewise.
16129 (_IO_flush_all_linebuffered): Likewise.
16130 (_IO_cleanup): Likewise.
16131 (_IO_iter_begin): Likewise.
16132 (_IO_iter_end): Likewise.
16133 (_IO_list_lock): Likewise.
16134 (_IO_list_unlock): Likewise.
16135 (_IO_list_resetlock): Likewise.
16136 * libio/getchar.c (getchar): Likewise.
16137 * libio/getchar_u.c (getchar_unlocked): Likewise.
16138 * libio/getwchar.c (getwchar): Likewise.
16139 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16140 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16141 * login/getpt.c (__getpt): Likewise.
16142 * login/tst-utmp.c (main): Likewise.
16143 * malloc/hooks.c (__malloc_check_init): Likewise.
16144 * malloc/malloc.c (__malloc_stats): Likewise.
16145 * malloc/mtrace.c (tr_break): Likewise.
16146 (mtrace): Likewise.
16147 (muntrace): Likewise.
16148 * misc/fstab.c (endfsent): Likewise.
16149 * misc/getclktck.c (__getclktck): Likewise.
16150 * misc/getdtsz.c (__getdtablesize): Likewise.
16151 * misc/gethostid.c (gethostid): Likewise.
16152 * misc/getpagesize.c (__getpagesize): Likewise.
16153 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16154 (__get_nprocs): Likewise.
16155 (__get_phys_pages): Likewise.
16156 (__get_avphys_pages): Likewise.
16157 * misc/getttyent.c (getttyent): Likewise.
16158 (setttyent): Likewise.
16159 (endttyent): Likewise.
16160 * misc/getusershell.c (getusershell): Likewise.
16161 (endusershell): Likewise.
16162 (setusershell): Likewise.
16163 (initshells): Likewise.
16164 * misc/hsearch.c (__hdestroy): Likewise.
16165 * misc/sync.c (sync): Likewise.
16166 * misc/syslog.c (closelog_internal): Likewise.
16167 (closelog): Likewise.
16168 * misc/ttyslot.c (ttyslot): Likewise.
16169 * misc/vhangup.c (vhangup): Likewise.
16170 * posix/fork.c (__fork): Likewise.
16171 * posix/getegid.c (__getegid): Likewise.
16172 * posix/geteuid.c (__geteuid): Likewise.
16173 * posix/getgid.c (__getgid): Likewise.
16174 * posix/getpid.c (__getpid): Likewise.
16175 * posix/getppid.c (__getppid): Likewise.
16176 * posix/getuid.c (__getuid): Likewise.
16177 * posix/pause.c (pause): Likewise.
16178 * posix/setpgrp.c (setpgrp): Likewise.
16179 * posix/setsid.c (__setsid): Likewise.
16180 * posix/test-vfork.c (noop): Likewise.
16181 * resolv/gethnamaddr.c (_endhtent): Likewise.
16182 (_gethtent): Likewise.
16183 (ht_endhostent): Likewise.
16184 (gethostent): Likewise.
16185 (dns_service): Likewise.
16186 * stdlib/drand48.c (drand48): Likewise.
16187 * stdlib/lrand48.c (lrand48): Likewise.
16188 * stdlib/mrand48.c (mrand48): Likewise.
16189 * stdlib/rand.c (rand): Likewise.
16190 * stdlib/random.c (__random): Likewise.
16191 * stdlib/setenv.c (clearenv): Likewise.
16192 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16193 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16194 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16195 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16196 (__get_nprocs): Likewise.
16197 (__get_phys_pages): Likewise.
16198 (__get_avphys_pages): Likewise.
16199 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16200 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16201 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16202 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16203 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16204 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16205 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16206 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16207 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16208 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16209 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16210 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16211 * sysdeps/posix/clock.c (clock): Likewise.
16212 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16213 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16214 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16215 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16216 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16218 (__get_nprocs_conf): Likewise.
16219 (__get_phys_pages): Likewise.
16220 (__get_avphys_pages): Likewise.
16221 * time/clock.c (clock): Likewise.
16222 * time/tzset.c (__tzname_max): Likewise.
16224 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16226 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16227 (__bswap_32): Do not use "register".
16228 * crypt/crypt.c (_ufc_doit_r): Likewise.
16229 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16230 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16231 * gmon/gmon.c (__monstartup): Likewise.
16232 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16233 * hurd/hurdmalloc.c (more_memory): Likewise.
16234 (malloc): Likewise.
16236 (realloc): Likewise.
16237 (malloc_fork_prepare): Likewise.
16238 (malloc_fork_parent): Likewise.
16239 (malloc_fork_child): Likewise.
16240 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16241 (_svcauth_des): Likewise.
16242 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16243 * inet/inet_net.c (inet_network): Likewise.
16244 * inet/inet_netof.c (inet_netof): Likewise.
16245 * inet/rcmd.c (__validuser2_sa): Likewise.
16246 * io/fts.c (fts_open): Likewise.
16247 (fts_load): Likewise.
16248 (fts_close): Likewise.
16249 (fts_read): Likewise.
16250 (fts_children): Likewise.
16251 (fts_build): Likewise.
16252 (fts_stat): Likewise.
16253 (fts_sort): Likewise.
16254 (fts_alloc): Likewise.
16255 (fts_lfree): Likewise.
16256 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16257 (_IO_file_xsgetn): Likewise.
16258 (_IO_file_xsgetn_mmap): Likewise.
16259 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16260 (_IO_cookie_write): Likewise.
16261 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16262 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16263 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16264 * malloc/obstack.c (_obstack_begin): Likewise.
16265 (_obstack_begin_1): Likewise.
16266 (_obstack_newchunk): Likewise.
16267 (_obstack_allocated_p): Likewise.
16268 (obstack_free): Likewise.
16269 (_obstack_memory_used): Likewise.
16270 * misc/getttyent.c (getttynam): Likewise.
16271 (getttyent): Likewise.
16274 * misc/getusershell.c (initshells): Likewise.
16275 * misc/syslog.c (__vsyslog_chk): Likewise.
16276 * misc/ttyslot.c (ttyslot): Likewise.
16277 * nis/nis_hash.c (__nis_hash): Likewise.
16278 * posix/fnmatch_loop.c (FCT): Likewise.
16279 * posix/getconf.c (print_all): Likewise.
16281 * posix/getopt.c (exchange): Likewise.
16282 * posix/glob.c (globfree): Likewise.
16283 (prefix_array): Likewise.
16284 (__glob_pattern_type): Likewise.
16285 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16286 (NS_GET32): Likewise.
16287 (NS_PUT16): Likewise.
16288 (NS_PUT32): Likewise.
16289 * resolv/gethnamaddr.c (getanswer): Likewise.
16290 (gethostbyname2): Likewise.
16291 (gethostbyaddr): Likewise.
16292 (_gethtent): Likewise.
16293 (_gethtbyname2): Likewise.
16294 (_gethtbyaddr): Likewise.
16295 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16296 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16297 * resolv/res_init.c (__res_vinit): Likewise.
16298 (net_mask): Likewise.
16299 * resolv/res_mkquery.c (outchar): Likewise.
16301 * stdio-common/printf_fp.c (outchar): Likewise.
16303 * stdio-common/printf_fphex.c (outchar): Likewise.
16305 * stdio-common/printf_size.c (outchar): Likewise.
16307 * stdio-common/test_rdwr.c (main): Likewise.
16308 * stdio-common/tfformat.c (matches): Likewise.
16309 * stdio-common/vfprintf.c (outchar): Likewise.
16310 (printf_unknown): Likewise.
16311 (buffered_vfprintf): Likewise.
16312 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16313 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16314 (ReadFile): Likewise.
16315 * stdlib/qsort.c (SWAP): Likewise.
16316 (_quicksort): Likewise.
16317 * stdlib/setenv.c (__add_to_environ): Likewise.
16318 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16319 * stdlib/strtol_l.c (__strtol_l): Likewise.
16320 * stdlib/tst-strtod.c (main): Likewise.
16321 * stdlib/tst-strtol.c (main): Likewise.
16322 * stdlib/tst-strtoll.c (main): Likewise.
16323 * string/bits/string2.h (__strcmp_cc): Likewise.
16324 (__strcmp_cg): Likewise.
16325 (__strcspn_c1): Likewise.
16326 (__strcspn_c2): Likewise.
16327 (__strcspn_c3): Likewise.
16328 (__strspn_c1): Likewise.
16329 (__strspn_c2): Likewise.
16330 (__strspn_c3): Likewise.
16331 (__strsep_1c): Likewise.
16332 (__strsep_2c): Likewise.
16333 (__strsep_3c): Likewise.
16334 * string/memccpy.c (__memccpy): Likewise.
16335 * string/stpcpy.c (__stpcpy): Likewise.
16336 * string/strcmp.c (strcmp): Likewise.
16337 * string/strrchr.c (strrchr): Likewise.
16338 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16340 * sysdeps/mach/hurd/getcwd.c
16341 (_hurd_canonicalize_directory_name_internal): Likewise.
16342 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16343 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16344 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16345 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16346 Likewise, in both definitions.
16347 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16349 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16350 64] (__bswap_64): Likewise.
16351 * time/test_time.c (main): Likewise.
16352 * time/tzfile.c (__tzfile_read): Likewise.
16353 (__tzfile_compute): Likewise.
16354 * time/tzset.c (__tzset_parse_tz): Likewise.
16355 (tzset_internal): Likewise.
16356 (compute_change): Likewise.
16357 * wcsmbs/wcscat.c (__wcscat): Likewise.
16358 * wcsmbs/wcschr.c (wcschr): Likewise.
16359 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16360 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16361 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16362 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16363 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16364 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16365 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16366 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16367 * wcsmbs/wmemset.c (wmemset): Likewise.
16369 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16371 * scripts/config.guess: Update to version 2013-05-16.
16372 * scripts/config.sub: Update to version 2013-04-24.
16373 * scripts/install-sh: Update to version 2011-11-20.07.
16374 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16375 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16377 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16379 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16380 * elf/sln.c: Likewise.
16381 * hurd/hurd/ioctl.h: Likewise.
16382 * hurd/hurdmalloc.c: Likewise.
16383 * hurd/xattr.c: Likewise.
16384 * include/shlib-compat.h: Likewise.
16385 * inet/ruserpass.c: Likewise.
16386 * libio/iofgets_u.c: Likewise.
16387 * libio/iofgetws_u.c: Likewise.
16388 * locale/programs/ld-identification.c: Likewise.
16389 * locale/programs/ld-time.c: Likewise.
16390 * mach/msg-destroy.c: Likewise.
16391 * nss/nss_files/files-netgrp.c: Likewise.
16392 * resolv/res_data.c: Likewise.
16393 * soft-fp/op-1.h: Likewise.
16394 * soft-fp/op-2.h: Likewise.
16395 * soft-fp/op-4.h: Likewise.
16396 * soft-fp/op-common.h: Likewise.
16397 * stdio-common/printf_fphex.c: Likewise.
16398 * stdlib/strtod_l.c: Likewise.
16399 * sunrpc/rpc/clnt.h: Likewise.
16400 * sysdeps/generic/framestate.c: Likewise.
16401 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16402 * sysdeps/i386/bsd-setjmp.S: Likewise.
16403 * sysdeps/i386/__longjmp.S: Likewise.
16404 * sysdeps/i386/setjmp.S: Likewise.
16405 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16406 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16407 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16408 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16409 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16410 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16411 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16413 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16414 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16415 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16416 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16417 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16418 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16419 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16420 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16421 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16422 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16423 * sysdeps/ieee754/support.c: Likewise.
16424 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16425 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16426 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16427 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16428 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16429 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16430 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16431 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16432 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16433 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16434 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16435 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16436 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16437 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16438 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16439 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16440 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16443 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16445 * posix/transbug.c: Remove executable mode.
16447 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16449 * crypt/speeds.c: Remove trailing whitespace.
16450 * dlfcn/default.c: Likewise.
16451 * elf/ifuncdep2.c: Likewise.
16452 * elf/ifuncmain1.c: Likewise.
16453 * elf/ifuncmain1vis.c: Likewise.
16454 * elf/testobj.h: Likewise.
16455 * elf/tst-stackguard1.c: Likewise.
16456 * gmon/sys/gmon.h: Likewise.
16457 * hurd/hurdmsg.c: Likewise.
16458 * hurd/new-fd.c: Likewise.
16459 * hurd/ports-get.c: Likewise.
16460 * iconvdata/ibm1008_420.c: Likewise.
16461 * inet/tst-getni1.c: Likewise.
16462 * inet/tst-getni2.c: Likewise.
16463 * libio/ioungetc.c: Likewise.
16464 * libio/wfiledoalloc.c: Likewise.
16465 * manual/libm-err-tab.pl: Likewise.
16466 * math/w_dremf.c: Likewise.
16467 * misc/ftruncate.c: Likewise.
16468 * posix/bug-glob2.c: Likewise.
16469 * posix/tst-pcre.c: Likewise.
16470 * posix/wait4.c: Likewise.
16471 * resolv/README: Likewise.
16472 * resolv/res_debug.h: Likewise.
16473 * resolv/tst-inet_ntop.c: Likewise.
16474 * setjmp/bug269-setjmp.c: Likewise.
16475 * soft-fp/extended.h: Likewise.
16476 * soft-fp/op-1.h: Likewise.
16477 * soft-fp/op-2.h: Likewise.
16478 * soft-fp/op-4.h: Likewise.
16479 * soft-fp/op-8.h: Likewise.
16480 * soft-fp/testit.c: Likewise.
16481 * stdio-common/bug16.c: Likewise.
16482 * stdlib/random.c: Likewise.
16483 * sunrpc/rpcsvc/rquota.x: Likewise.
16484 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16485 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16486 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16487 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16488 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16489 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16490 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16491 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16492 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16493 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16494 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16495 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16496 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16497 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16498 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16499 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16500 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16501 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16502 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16503 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16504 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16505 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16506 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16507 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16508 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16509 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16510 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16511 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16512 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16513 * sysdeps/ieee754/s_lib_version.c: Likewise.
16514 * sysdeps/mach/hurd/check_fds.c: Likewise.
16515 * sysdeps/mach/hurd/getsockname.c: Likewise.
16516 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16517 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16518 * sysdeps/powerpc/bits/link.h: Likewise.
16519 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16520 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16521 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16522 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16523 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16524 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16525 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16526 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16527 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16528 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16529 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16530 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16531 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16532 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16533 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16534 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16535 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16536 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16537 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16538 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16539 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16540 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16542 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16543 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16544 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16545 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16546 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16547 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16548 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16549 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16550 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16551 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16552 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16553 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16554 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16555 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16556 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16557 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16558 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16559 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16560 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16561 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16562 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16563 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16564 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16565 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16566 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16567 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16568 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16569 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16570 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16571 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16572 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16573 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16574 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16575 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16576 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16577 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16578 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16579 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16580 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16581 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16582 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16583 * sysdeps/powerpc/sysdep.h: Likewise.
16584 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16585 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16586 * sysdeps/sh/dl-trampoline.S: Likewise.
16587 * sysdeps/sh/memset.S: Likewise.
16588 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16589 * sysdeps/sh/strlen.S: Likewise.
16590 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16591 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16592 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16593 * sysdeps/sparc/sparc32/rem.S: Likewise.
16594 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16595 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16596 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16597 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16598 * sysdeps/sparc/sparc32/urem.S: Likewise.
16599 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16600 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16601 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16602 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16603 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16604 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16605 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16606 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16607 * sysdeps/unix/bsd/times.c: Likewise.
16608 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16609 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16613 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16614 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16615 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16616 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16617 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16618 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16619 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16620 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16621 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16622 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16623 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16624 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16625 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16626 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16627 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16628 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16629 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16630 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16631 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16632 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16633 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16634 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16635 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16636 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16637 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16638 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16639 * sysdeps/x86_64/strcspn.S: Likewise.
16641 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16643 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16644 generated file. Regenerate properly from gen-translit.pl.
16645 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16646 locale/C-translit.h.
16648 2013-06-05 Andreas Schwab <schwab@suse.de>
16651 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16652 week as 6 instead of -1.
16653 * time/tst-strptime.c (day_tests): Add test case.
16655 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16657 * sysdeps/generic/math_private.h
16658 (libc_feholdexcept_setround_53bit): Replace with
16659 libc_feholdsetround_53bit.
16660 (libc_feupdateenv_53bit): Replace with
16661 libc_feresetround_53bit.
16662 (SET_RESTORE_ROUND_53BIT): Adjust.
16664 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16666 * string/test-strchrnul.c: Add copyright header.
16668 * posix/tst-getaddrinfo4.c: Increase test timeout.
16670 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16673 * math/libm-test.inc (MAX_EXP): Remove
16675 (ulp): Use MIN_EXP - MANT_DIG.
16676 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16678 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16680 * po/be.po: Revert last change.
16681 * po/zh_CN.po: Likewise.
16682 * po/header.pot: Likewise.
16684 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16686 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16687 link-libc-deps to empty as target-specific variable.
16688 * Makerules (link-libc-args): New variable.
16689 (libc-for-link): Likewise.
16690 (link-libc-deps): Likewise.
16691 (lib%.so): Depend on $(link-libc-deps). Link with
16693 (build-module): Link with $(link-libc-args).
16694 (build-module-asneeded): Likewise.
16695 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16697 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16698 target-specific variable.
16699 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16700 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16701 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16703 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16705 ($(objpfx)libpcprofile.so): Likewise.
16706 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16708 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16709 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16710 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16712 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16713 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16714 * login/Makefile ($(objpfx)libutil.so): Likewise.
16715 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16716 * math/Makefile ($(objpfx)libm.so): Likewise.
16717 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16718 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16719 variable instead of depending directly on libc.
16720 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16721 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16723 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16725 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16726 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16727 ($(objpfx)libanl.so): Likewise.
16728 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16730 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16732 * sysdeps/i386/fpu/Makefile: Remove file.
16733 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16734 ($(objpfx)libm.so): Remove dependency on ld.so.
16736 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16739 * nis/yp_xdr.c (XDRMAXNAME): Define.
16740 (XDRMAXRECORD): Define.
16741 (xdr_domainname): Use XDRMAXNAME.
16742 (xdr_mapname): Likewise.
16743 (xdr_peername): Likewise.
16744 (xdr_keydat): Use XDRMAXRECORD.
16745 (xdr_valdat): Likewise.
16747 2013-05-30 Jeff Law <law@redhat.com>
16750 * manual/errno.texi (ESTALE): Update to account for more than
16751 just NFS file systems.
16752 * sysdeps/gnu/errlist.c: Regenerated.
16754 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16757 * elf/Makefile (tests): Add tst-null-argv.
16758 (modules-names): Add tst-null-argv-lib.
16759 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16760 (tst-null-argv-ENV): Set environment for tst-null-argv.
16761 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16762 (RTLD_PROGNAME): New macro.
16763 * elf/tst-null-argv.c: New test case.
16764 * elf/tst-null-argv-lib.c: Library for test case.
16765 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16766 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16767 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16768 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16769 * elf/dl-init.c (call_init): Likewise.
16770 (_dl_init): Likewise.
16771 * elf/dl-load.c (print_search_path): Likewise.
16772 (_dl_map_object): Likewise.
16773 * elf/dl-lookup.c (do_lookup_x): Likewise.
16774 (add_dependency): Likewise.
16775 (_dl_lookup_symbol_x): Likewise.
16776 (_dl_debug_bindings): Likewise.
16777 * elf/dl-open.c (_dl_show_scope): Likewise.
16778 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16779 * elf/dl-version.c (match_symbol): Likewise.
16780 (_dl_check_map_versions): Likewise.
16781 * elf/rtld.c (dl_main): Likewise.
16782 (print_unresolved): Use RTLD_PROGNAME.
16783 (print_missing_version): Likewise.
16784 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16785 (elf_machine_rela): Likewise.
16786 * sysdeps/powerpc/powerpc32/dl-machine.c
16787 (__process_machine_rela): Likewise.
16788 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16790 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16792 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16794 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16797 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16801 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16803 * po/be.po: Add descriptive title.
16804 * po/zh_CN.po: Likewise.
16805 * po/header.pot: Likewise.
16807 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16809 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16811 (enlarge_archive): Likewise.
16813 2013-05-28 Ben North <ben@redfrontdoor.org>
16815 * manual/arith.texi (frexp): It is the magnitude of the return
16816 value which lies in [0.5, 1), not the return value itself.
16818 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16822 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16824 * stdio-common/bug26.c (main): Correct fscanf template.
16826 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16827 declare _dl_skip_args.
16829 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16832 * manual/platform.texi: Add missing @end deftypefun.
16834 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16837 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16838 bit of mantissa of 2^16382.
16839 * math/libm-test.inc (hypot_test_data): Add more tests.
16841 * math/libm-test.inc: Add drem and pow10 to list of tested
16843 (pow10_test): New function.
16844 (drem_test): Likewise.
16845 (drem_test_tonearest): Likewise.
16846 (drem_test_towardzero): Likewise.
16847 (drem_test_downward): Likewise.
16848 (drem_test_upward): Likewise.
16849 (main): Call the new functions.
16851 * math/libm-test.inc (finite_test_data): Remove.
16852 (finite_test): Run tests from isfinite_test_data.
16853 (gamma_test_data): Remove.
16854 (gamma_test): Run tests from lgamma_test_data.
16855 * sysdeps/i386/fpu/libm-test-ulps: Update.
16856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16858 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16860 * manual/platform.texi: Add PowerPC PPR function set documentation.
16861 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16864 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16866 * math/libm-test.inc (MAX_EXP): Define.
16868 (ulp): New function.
16869 (check_float_internal): Use ULPDIFF.
16870 (cpow_test): Disable failing test.
16871 (check_ulp): Test ulp() implemetnation.
16872 (main): Call check_ulp before starting tests.
16874 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16876 * math/gen-libm-test.pl (generate_testfile): Do not handle
16877 START_DATA and END_DATA.
16878 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16880 (acos_tonearest_test_data): Likewise.
16881 (acos_towardzero_test_data): Likewise.
16882 (acos_downward_test_data): Likewise.
16883 (acos_upward_test_data): Likewise.
16884 (acosh_test_data): Likewise.
16885 (asin_test_data): Likewise.
16886 (asin_tonearest_test_data): Likewise.
16887 (asin_towardzero_test_data): Likewise.
16888 (asin_downward_test_data): Likewise.
16889 (asin_upward_test_data): Likewise.
16890 (asinh_test_data): Likewise.
16891 (atan_test_data): Likewise.
16892 (atanh_test_data): Likewise.
16893 (atan2_test_data): Likewise.
16894 (cabs_test_data): Likewise.
16895 (cacos_test_data): Likewise.
16896 (cacosh_test_data): Likewise.
16897 (carg_test_data): Likewise.
16898 (casin_test_data): Likewise.
16899 (casinh_test_data): Likewise.
16900 (catan_test_data): Likewise.
16901 (catanh_test_data): Likewise.
16902 (cbrt_test_data): Likewise.
16903 (ccos_test_data): Likewise.
16904 (ccosh_test_data): Likewise.
16905 (ceil_test_data): Likewise.
16906 (cexp_test_data): Likewise.
16907 (cimag_test_data): Likewise.
16908 (clog_test_data): Likewise.
16909 (clog10_test_data): Likewise.
16910 (conj_test_data): Likewise.
16911 (copysign_test_data): Likewise.
16912 (cos_test_data): Likewise.
16913 (cos_tonearest_test_data): Likewise.
16914 (cos_towardzero_test_data): Likewise.
16915 (cos_downward_test_data): Likewise.
16916 (cos_upward_test_data): Likewise.
16917 (cosh_test_data): Likewise.
16918 (cosh_tonearest_test_data): Likewise.
16919 (cosh_towardzero_test_data): Likewise.
16920 (cosh_downward_test_data): Likewise.
16921 (cosh_upward_test_data): Likewise.
16922 (cpow_test_data): Likewise.
16923 (cproj_test_data): Likewise.
16924 (creal_test_data): Likewise.
16925 (csin_test_data): Likewise.
16926 (csinh_test_data): Likewise.
16927 (csqrt_test_data): Likewise.
16928 (ctan_test_data): Likewise.
16929 (ctan_tonearest_test_data): Likewise.
16930 (ctan_towardzero_test_data): Likewise.
16931 (ctan_downward_test_data): Likewise.
16932 (ctan_upward_test_data): Likewise.
16933 (ctanh_test_data): Likewise.
16934 (ctanh_tonearest_test_data): Likewise.
16935 (ctanh_towardzero_test_data): Likewise.
16936 (ctanh_downward_test_data): Likewise.
16937 (ctanh_upward_test_data): Likewise.
16938 (erf_test_data): Likewise.
16939 (erfc_test_data): Likewise.
16940 (exp_test_data): Likewise.
16941 (exp_tonearest_test_data): Likewise.
16942 (exp_towardzero_test_data): Likewise.
16943 (exp_downward_test_data): Likewise.
16944 (exp_upward_test_data): Likewise.
16945 (exp10_test_data): Likewise.
16946 (exp2_test_data): Likewise.
16947 (expm1_test_data): Likewise.
16948 (fabs_test_data): Likewise.
16949 (fdim_test_data): Likewise.
16950 (finite_test_data): Likewise.
16951 (floor_test_data): Likewise.
16952 (fma_test_data): Likewise.
16953 (fma_towardzero_test_data): Likewise.
16954 (fma_downward_test_data): Likewise.
16955 (fma_upward_test_data): Likewise.
16956 (fmax_test_data): Likewise.
16957 (fmin_test_data): Likewise.
16958 (fmod_test_data): Likewise.
16959 (fpclassify_test_data): Likewise.
16960 (frexp_test_data): Likewise.
16961 (gamma_test_data): Likewise.
16962 (hypot_test_data): Likewise.
16963 (ilogb_test_data): Likewise.
16964 (isfinite_test_data): Likewise.
16965 (isgreater_test_data): Likewise.
16966 (isgreaterequal_test_data): Likewise.
16967 (isinf_test_data): Likewise.
16968 (isless_test_data): Likewise.
16969 (islessequal_test_data): Likewise.
16970 (islessgreater_test_data): Likewise.
16971 (isnan_test_data): Likewise.
16972 (isnormal_test_data): Likewise.
16973 (issignaling_test_data): Likewise.
16974 (isunordered_test_data): Likewise.
16975 (j0_test_data): Likewise.
16976 (j1_test_data): Likewise.
16977 (jn_test_data): Likewise.
16978 (ldexp_test_data): Likewise.
16979 (lgamma_test_data): Likewise.
16980 (lrint_test_data): Likewise.
16981 (lrint_tonearest_test_data): Likewise.
16982 (lrint_towardzero_test_data): Likewise.
16983 (lrint_downward_test_data): Likewise.
16984 (lrint_upward_test_data): Likewise.
16985 (llrint_test_data): Likewise.
16986 (llrint_tonearest_test_data): Likewise.
16987 (llrint_towardzero_test_data): Likewise.
16988 (llrint_downward_test_data): Likewise.
16989 (llrint_upward_test_data): Likewise.
16990 (log_test_data): Likewise.
16991 (log10_test_data): Likewise.
16992 (log1p_test_data): Likewise.
16993 (log2_test_data): Likewise.
16994 (logb_test_data): Likewise.
16995 (logb_downward_test_data): Likewise.
16996 (lround_test_data): Likewise.
16997 (llround_test_data): Likewise.
16998 (modf_test_data): Likewise.
16999 (nearbyint_test_data): Likewise.
17000 (nextafter_test_data): Likewise.
17001 (nexttoward_test_data): Likewise.
17002 (pow_test_data): Likewise.
17003 (pow_tonearest_test_data): Likewise.
17004 (pow_towardzero_test_data): Likewise.
17005 (pow_downward_test_data): Likewise.
17006 (pow_upward_test_data): Likewise.
17007 (remainder_test_data): Likewise.
17008 (remainder_tonearest_test_data): Likewise.
17009 (remainder_towardzero_test_data): Likewise.
17010 (remainder_downward_test_data): Likewise.
17011 (remainder_upward_test_data): Likewise.
17012 (remquo_test_data): Likewise.
17013 (rint_test_data): Likewise.
17014 (rint_tonearest_test_data): Likewise.
17015 (rint_towardzero_test_data): Likewise.
17016 (rint_downward_test_data): Likewise.
17017 (rint_upward_test_data): Likewise.
17018 (round_test_data): Likewise.
17019 (scalb_test_data): Likewise.
17020 (scalbn_test_data): Likewise.
17021 (scalbln_test_data): Likewise.
17022 (signbit_test_data): Likewise.
17023 (sin_test_data): Likewise.
17024 (sin_tonearest_test_data): Likewise.
17025 (sin_towardzero_test_data): Likewise.
17026 (sin_downward_test_data): Likewise.
17027 (sin_upward_test_data): Likewise.
17028 (sincos_test_data): Likewise.
17029 (sinh_test_data): Likewise.
17030 (sinh_tonearest_test_data): Likewise.
17031 (sinh_towardzero_test_data): Likewise.
17032 (sinh_downward_test_data): Likewise.
17033 (sinh_upward_test_data): Likewise.
17034 (sqrt_test_data): Likewise.
17035 (tan_test_data): Likewise.
17036 (tan_tonearest_test_data): Likewise.
17037 (tan_towardzero_test_data): Likewise.
17038 (tan_downward_test_data): Likewise.
17039 (tan_upward_test_data): Likewise.
17040 (tanh_test_data): Likewise.
17041 (tgamma_test_data): Likewise.
17042 (trunc_test_data): Likewise.
17043 (y0_test_data): Likewise.
17044 (y1_test_data): Likewise.
17045 (yn_test_data): Likewise.
17046 (significand_test_data): Likewise.
17048 * math/gen-libm-test.pl (@functions): Remove variable.
17049 (generate_testfile): Don't handle START and END lines.
17050 * math/libm-test.inc (START): New macro.
17052 (END_COMPLEX): Likewise.
17053 (acos_test): Use END macro without arguments.
17054 (acos_test_tonearest): Likewise.
17055 (acos_test_towardzero): Likewise.
17056 (acos_test_downward): Likewise.
17057 (acos_test_upward): Likewise.
17058 (acosh_test): Likewise.
17059 (asin_test): Likewise.
17060 (asin_test_tonearest): Likewise.
17061 (asin_test_towardzero): Likewise.
17062 (asin_test_downward): Likewise.
17063 (asin_test_upward): Likewise.
17064 (asinh_test): Likewise.
17065 (atan_test): Likewise.
17066 (atanh_test): Likewise.
17067 (atan2_test): Likewise.
17068 (cabs_test): Likewise.
17069 (cacos_test): Use END_COMPLEX macro without arguments.
17070 (cacosh_test): Likewise.
17071 (carg_test): Use END macro without arguments.
17072 (casin_test): Use END_COMPLEX macro without arguments.
17073 (casinh_test): Likewise.
17074 (catan_test): Likewise.
17075 (catanh_test): Likewise.
17076 (cbrt_test): Use END macro without arguments.
17077 (ccos_test): Use END_COMPLEX macro without arguments.
17078 (ccosh_test): Likewise.
17079 (ceil_test): Use END macro without arguments.
17080 (cexp_test): Use END_COMPLEX macro without arguments.
17081 (cimag_test): Use END macro without arguments.
17082 (clog_test): Use END_COMPLEX macro without arguments.
17083 (clog10_test): Likewise.
17084 (conj_test): Likewise.
17085 (copysign_test): Use END macro without arguments.
17086 (cos_test): Likewise.
17087 (cos_test_tonearest): Likewise.
17088 (cos_test_towardzero): Likewise.
17089 (cos_test_downward): Likewise.
17090 (cos_test_upward): Likewise.
17091 (cosh_test): Likewise.
17092 (cosh_test_tonearest): Likewise.
17093 (cosh_test_towardzero): Likewise.
17094 (cosh_test_downward): Likewise.
17095 (cosh_test_upward): Likewise.
17096 (cpow_test): Use END_COMPLEX macro without arguments.
17097 (cproj_test): Likewise.
17098 (creal_test): Use END macro without arguments.
17099 (csin_test): Use END_COMPLEX macro without arguments.
17100 (csinh_test): Likewise.
17101 (csqrt_test): Likewise.
17102 (ctan_test): Likewise.
17103 (ctan_test_tonearest): Likewise.
17104 (ctan_test_towardzero): Likewise.
17105 (ctan_test_downward): Likewise.
17106 (ctan_test_upward): Likewise.
17107 (ctanh_test): Likewise.
17108 (ctanh_test_tonearest): Likewise.
17109 (ctanh_test_towardzero): Likewise.
17110 (ctanh_test_downward): Likewise.
17111 (ctanh_test_upward): Likewise.
17112 (erf_test): Use END macro without arguments.
17113 (erfc_test): Likewise.
17114 (exp_test): Likewise.
17115 (exp_test_tonearest): Likewise.
17116 (exp_test_towardzero): Likewise.
17117 (exp_test_downward): Likewise.
17118 (exp_test_upward): Likewise.
17119 (exp10_test): Likewise.
17120 (exp2_test): Likewise.
17121 (expm1_test): Likewise.
17122 (fabs_test): Likewise.
17123 (fdim_test): Likewise.
17124 (finite_test): Likewise.
17125 (floor_test): Likewise.
17126 (fma_test): Likewise.
17127 (fma_test_towardzero): Likewise.
17128 (fma_test_downward): Likewise.
17129 (fma_test_upward): Likewise.
17130 (fmax_test): Likewise.
17131 (fmin_test): Likewise.
17132 (fmod_test): Likewise.
17133 (fpclassify_test): Likewise.
17134 (frexp_test): Likewise.
17135 (gamma_test): Likewise.
17136 (hypot_test): Likewise.
17137 (ilogb_test): Likewise.
17138 (isfinite_test): Likewise.
17139 (isgreater_test): Likewise.
17140 (isgreaterequal_test): Likewise.
17141 (isinf_test): Likewise.
17142 (isless_test): Likewise.
17143 (islessequal_test): Likewise.
17144 (islessgreater_test): Likewise.
17145 (isnan_test): Likewise.
17146 (isnormal_test): Likewise.
17147 (issignaling_test): Likewise.
17148 (isunordered_test): Likewise.
17149 (j0_test): Likewise.
17150 (j1_test): Likewise.
17151 (jn_test): Likewise.
17152 (ldexp_test): Likewise.
17153 (lgamma_test): Likewise.
17154 (lrint_test): Likewise.
17155 (lrint_test_tonearest): Likewise.
17156 (lrint_test_towardzero): Likewise.
17157 (lrint_test_downward): Likewise.
17158 (lrint_test_upward): Likewise.
17159 (llrint_test): Likewise.
17160 (llrint_test_tonearest): Likewise.
17161 (llrint_test_towardzero): Likewise.
17162 (llrint_test_downward): Likewise.
17163 (llrint_test_upward): Likewise.
17164 (log_test): Likewise.
17165 (log10_test): Likewise.
17166 (log1p_test): Likewise.
17167 (log2_test): Likewise.
17168 (logb_test): Likewise.
17169 (logb_test_downward): Likewise.
17170 (lround_test): Likewise.
17171 (llround_test): Likewise.
17172 (modf_test): Likewise.
17173 (nearbyint_test): Likewise.
17174 (nextafter_test): Likewise.
17175 (nexttoward_test): Likewise.
17176 (pow_test): Likewise.
17177 (pow_test_tonearest): Likewise.
17178 (pow_test_towardzero): Likewise.
17179 (pow_test_downward): Likewise.
17180 (pow_test_upward): Likewise.
17181 (remainder_test): Likewise.
17182 (remainder_test_tonearest): Likewise.
17183 (remainder_test_towardzero): Likewise.
17184 (remainder_test_downward): Likewise.
17185 (remainder_test_upward): Likewise.
17186 (remquo_test): Likewise.
17187 (rint_test): Likewise.
17188 (rint_test_tonearest): Likewise.
17189 (rint_test_towardzero): Likewise.
17190 (rint_test_downward): Likewise.
17191 (rint_test_upward): Likewise.
17192 (round_test): Likewise.
17193 (scalb_test): Likewise.
17194 (scalbn_test): Likewise.
17195 (scalbln_test): Likewise.
17196 (signbit_test): Likewise.
17197 (sin_test): Likewise.
17198 (sin_test_tonearest): Likewise.
17199 (sin_test_towardzero): Likewise.
17200 (sin_test_downward): Likewise.
17201 (sin_test_upward): Likewise.
17202 (sincos_test): Likewise.
17203 (sinh_test): Likewise.
17204 (sinh_test_tonearest): Likewise.
17205 (sinh_test_towardzero): Likewise.
17206 (sinh_test_downward): Likewise.
17207 (sinh_test_upward): Likewise.
17208 (sqrt_test): Likewise.
17209 (tan_test): Likewise.
17210 (tan_test_tonearest): Likewise.
17211 (tan_test_towardzero): Likewise.
17212 (tan_test_downward): Likewise.
17213 (tan_test_upward): Likewise.
17214 (tanh_test): Likewise.
17215 (tgamma_test): Likewise.
17216 (trunc_test): Likewise.
17217 (y0_test): Likewise.
17218 (y1_test): Likewise.
17219 (yn_test): Likewise.
17220 (significand_test): Likewise.
17222 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17225 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17227 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17230 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17231 __ppc_mdoio and __ppc_mdoom.
17232 * manual/platform.texi: Document new functions __ppc_yield,
17233 __ppc_mdoio and __ppc_mdoom.
17235 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17237 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17238 (main): Mention "tls" pseudo-hwcap is legacy.
17239 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17241 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17243 * math/gen-libm-test.pl (parse_args): Output only string of
17244 arguments as text for test name, not full call or descriptions of
17245 tests for extra outputs.
17246 (generate_testfile): Do not pass function name to parse_args.
17247 Generate this_func variable from START.
17248 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17250 (struct test_ff_f_data): Likewise.
17251 (test_ff_f_data_nexttoward): Likewise.
17252 (struct test_fi_f_data): Likewise.
17253 (struct test_fl_f_data): Likewise.
17254 (struct test_if_f_data): Likewise.
17255 (struct test_fff_f_data): Likewise.
17256 (struct test_c_f_data): Likewise.
17257 (struct test_f_f1_data): Likewise. Remove field extra_name.
17258 (struct test_fF_f1_data): Likewise.
17259 (struct test_ffI_f1_data): Likewise.
17260 (struct test_c_c_data): Rename test_name field to arg_str.
17261 (struct test_cc_c_data): Likewise.
17262 (struct test_f_i_data): Likewise.
17263 (struct test_ff_i_data): Likewise.
17264 (struct test_f_l_data): Likewise.
17265 (struct test_f_L_data): Likewise.
17266 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17268 (COMMON_TEST_SETUP): New macro.
17269 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17270 (COMMON_TEST_CLEANUP): Likewise.
17271 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17272 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17274 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17275 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17277 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17278 (RUN_TEST_fff_f): Take argument string. Call new setup and
17280 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17281 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17283 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17284 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17286 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17287 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17289 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17290 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17292 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17293 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17295 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17296 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17298 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17299 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17301 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17302 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17304 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17305 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17307 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17308 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17310 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17311 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17313 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17314 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17316 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17317 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17319 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17320 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17322 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17323 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17325 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17327 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17329 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17330 to _sifields.sigfault.
17331 (si_addr_lsb): Define new macro.
17332 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17333 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17334 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17336 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17339 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17341 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17343 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17344 loading the domain.
17346 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17348 * math/gen-libm-test.pl (parse_args): Do not include expected
17349 result in test name.
17350 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17352 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17353 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17354 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17357 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17359 * benchtests/Makefile: Sort function entries.
17361 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17362 tanh, asinh, acosh, atanh.
17363 * benchtests/acos-inputs: New file.
17364 * benchtests/acosh-inputs: New file.
17365 * benchtests/asin-inputs: New file.
17366 * benchtests/asinh-inputs: New file.
17367 * benchtests/atanh-inputs: New file.
17368 * benchtests/cosh-inputs: New file.
17369 * benchtests/log-inputs: New file.
17370 * benchtests/sinh-inputs: New file.
17371 * benchtests/tanh-inputs: New file.
17373 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17376 * posix/tst-getaddrinfo4.c: New test.
17377 * posix/Makefile (tests): Add it.
17379 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17382 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17383 when no services were used.
17384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17385 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17387 2013-05-21 Andreas Schwab <schwab@suse.de>
17390 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17391 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17393 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17394 redundant variable declarations and reallocation of buffer when
17395 parsing as IPv6 address. Always set NSS status when called from
17396 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17397 buffer too small. Correct computation of needed size.
17398 * nss/Makefile (tests): Add test-digits-dots.
17399 * nss/test-digits-dots.c: New test.
17401 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17403 * benchtests/Makefile: Remove instructions for adding
17405 * benchtests/README: New file to explain how to execute and
17406 enhance the benchmark tests.
17408 2013-05-21 Andreas Schwab <schwab@suse.de>
17411 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17412 * setjmp/tst-sigsetjmp.c: New test.
17414 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17416 * sysdeps/x86_64/memset.S (memset): New implementation.
17417 (__bzero): Likewise.
17418 (__memset_tail): New function.
17420 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17422 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17423 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17424 __memcpy_sse2_unaligned ifunc selection.
17425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17426 Add memcpy-sse2-unaligned.S.
17427 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17428 Add: __memcpy_sse2_unaligned.
17430 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17433 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17434 math_force_eval before restoring floating-point envrionment.
17435 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17436 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17438 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17440 (__nearbyintl): Use math_force_eval before restoring
17441 floating-point environment.
17442 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17444 * math/gen-libm-test.pl (special_functions): Remove.
17445 (parse_args): Don't handle TEST_extra. Handle functions with no
17447 * math/libm-test.inc (struct test_sincos_data): Replace with
17448 struct test_fFF_11_data.
17449 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17450 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17451 (sincos_test_data): Change element type to struct
17452 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17453 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17454 RUN_TEST_LOOP_sincos.
17455 * math/README.libm-test: Don't mention special handling of
17456 individual functions.
17457 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17459 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17460 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17461 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17464 * math/gen-libm-test.pl (get_variable): Remove function.
17465 (parse_args): Don't show pointer parameters to call in test
17466 names. Use "extra output N" in test names for extra outputs
17467 rather than naming variables.
17469 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17472 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17473 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17474 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17476 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17478 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17481 * math/gen-libm-test.pl (@tests): Remove variable.
17482 ($count): Likewise.
17483 (new_test): Remove function.
17484 (show_exceptions): New function.
17485 (special_functions): Use show_exceptions instead of new_test.
17486 (parse_args): Likewise.
17487 (generate_testfile): Pass only function name in generated call to
17488 print_max_error or print_complex_max_error.
17489 (get_ulps): Do not handle complex tests specially.
17490 (output_test): Rename to ...
17491 (get_all_ulps_for_test): ... this. Return a string rather than
17492 printing to a file. Require ulps to be present.
17493 (output_ulps): Generate arrays rather than #defines.
17494 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17495 (struct ulp_data): New type.
17496 (BUILD_COMPLEX_ULP): Remove macro.
17497 (compare_ulp_data): New function.
17498 (find_ulps): Likewise.
17499 (find_test_ulps): Likewise.
17500 (find_function_ulps): Likewise.
17501 (find_complex_function_ulps): Likewise.
17502 (print_max_error): Determine allowed ulps using
17503 find_function_ulps.
17504 (print_complex_max_error): Determine allowed ulps using
17505 find_complex_function_ulps.
17506 (check_float_internal): Determine max ulps using find_test_ulps.
17507 (check_float): Do not take max_ulp parameter. Update call to
17508 check_float_internal.
17509 (check_complex): Likewise.
17510 (check_int): Do not take max_ulp parameter.
17511 (check_long): Likewise.
17512 (check_bool): Likewise.
17513 (check_longlong): Likewise.
17514 (struct test_f_f_data): Remove max_ulp field.
17515 (struct test_ff_f_data): Likewise.
17516 (struct test_ff_f_data_nexttoward): Likewise.
17517 (struct test_fi_f_data): Likewise.
17518 (struct test_fl_f_data): Likewise.
17519 (struct test_if_f_data): Likewise.
17520 (struct test_fff_f_data): Likewise.
17521 (struct test_c_f_data): Likewise.
17522 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17523 (struct test_fF_f1_data): Likewise.
17524 (struct test_ffI_f1_data): Likewise.
17525 (struct test_c_c_data): Remove max_ulp field.
17526 (struct test_cc_c_data): Likewise.
17527 (struct test_f_i_data): Likewise.
17528 (struct test_ff_i_data): Likewise.
17529 (struct test_f_l_data): Likewise.
17530 (struct test_f_L_data): Likewise.
17531 (struct test_sincos_data): Likewise.
17532 (RUN_TEST_f_f): Do not handle ulps.
17533 (RUN_TEST_LOOP_f_f): Likewise.
17534 (RUN_TEST_2_f): Likewise.
17535 (RUN_TEST_LOOP_2_f): Likewise.
17536 (RUN_TEST_fff_f): Likewise.
17537 (RUN_TEST_LOOP_fff_f): Likewise.
17538 (RUN_TEST_c_f): Likewise.
17539 (RUN_TEST_LOOP_c_f): Likewise.
17540 (RUN_TEST_f_f1): Likewise.
17541 (RUN_TEST_LOOP_f_f1): Likewise.
17542 (RUN_TEST_fF_f1): Likewise.
17543 (RUN_TEST_LOOP_fF_f1): Likewise.
17544 (RUN_TEST_fI_f1): Likewise.
17545 (RUN_TEST_LOOP_fI_f1): Likewise.
17546 (RUN_TEST_ffI_f1): Likewise.
17547 (RUN_TEST_LOOP_ffI_f1): Likewise.
17548 (RUN_TEST_c_c): Likewise.
17549 (RUN_TEST_LOOP_c_c): Likewise.
17550 (RUN_TEST_cc_c): Likewise.
17551 (RUN_TEST_LOOP_cc_c): Likewise.
17552 (RUN_TEST_f_i): Likewise.
17553 (RUN_TEST_LOOP_f_i): Likewise.
17554 (RUN_TEST_f_i_tg): Likewise.
17555 (RUN_TEST_LOOP_f_i_tg): Likewise.
17556 (RUN_TEST_ff_i_tg): Likewise.
17557 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17558 (RUN_TEST_f_b): Likewise.
17559 (RUN_TEST_LOOP_f_b): Likewise.
17560 (RUN_TEST_f_b_tg): Likewise.
17561 (RUN_TEST_LOOP_f_b_tg): Likewise.
17562 (RUN_TEST_f_l): Likewise.
17563 (RUN_TEST_LOOP_f_l): Likewise.
17564 (RUN_TEST_f_L): Likewise.
17565 (RUN_TEST_LOOP_f_L): Likewise.
17566 (RUN_TEST_sincos): Likewise.
17567 (RUN_TEST_LOOP_sincos): Likewise.
17569 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17573 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17574 main case of finite arguments, set rounding mode to FE_TONEAREST
17575 and discard exceptions.
17576 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17578 (remainder_tonearest_test_data): New variable.
17579 (remainder_test_tonearest): New function.
17580 (remainder_towardzero_test_data): New variable.
17581 (remainder_test_towardzero): New function.
17582 (remainder_downward_test_data): New variable.
17583 (remainder_test_downward): New function.
17584 (remainder_upward_test_data): New variable.
17585 (remainder_test_upward): New function.
17586 (main): Call the new test functions.
17588 * math/libm-test.inc (struct test_f_f1_data): Remove field
17590 (struct test_fF_f1_data): Likewise.
17591 (struct test_ffI_f1_data): Likewise.
17592 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17593 based on value of EXTRA_EXPECTED.
17594 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17595 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17596 EXTRA_VAR based on value of EXTRA_EXPECTED.
17597 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17598 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17599 EXTRA_VAR based on value of EXTRA_EXPECTED.
17600 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17601 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17602 EXTRA_VAR based on value of EXTRA_EXPECTED.
17603 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17604 * math/gen-libm-test.pl (parse_args): Don't output initializers
17605 for extra output values.
17607 * math/libm-test.inc (check_int): Expect result to be exactly
17608 equal to expected value and do not handle ulps.
17609 (check_long): Likewise.
17610 (check_longlong): Likewise.
17612 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17614 (cimag_test_data): Likewise.
17615 (conj_test_data): Likewise.
17616 (copysign_test_data): Likewise.
17617 (cproj_test_data): Likewise.
17618 (creal_test_data): Likewise.
17619 (fabs_test_data): Likewise.
17620 (fdim_test_data): Likewise.
17621 (finite_test_data): Likewise.
17622 (floor_test_data): Likewise.
17623 (fmax_test_data): Likewise.
17624 (fmin_test_data): Likewise.
17625 (fmod_test_data): Likewise.
17626 (fpclassify_test_data): Likewise.
17627 (frexp_test_data): Likewise.
17628 (ilogb_test_data): Likewise.
17629 (isfinite_test_data): Likewise.
17630 (isgreater_test_data): Likewise.
17631 (isgreaterequal_test_data): Likewise.
17632 (isinf_test_data): Likewise.
17633 (isless_test_data): Likewise.
17634 (islessequal_test_data): Likewise.
17635 (islessgreater_test_data): Likewise.
17636 (isnan_test_data): Likewise.
17637 (isnormal_test_data): Likewise.
17638 (issignaling_test_data): Likewise.
17639 (isunordered_test_data): Likewise.
17640 (ldexp_test_data): Likewise.
17641 (lrint_test_data): Likewise.
17642 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17643 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17644 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17645 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17646 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17647 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17649 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17650 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17651 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17652 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17654 (lrint_downward_test_data): Test for "inexact" exceptions.
17655 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17656 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17657 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17659 (lrint_upward_test_data): Test for "inexact" exceptions.
17660 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17662 (llrint_test_data): Test for "inexact" exceptions.
17663 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17664 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17665 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17666 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17667 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17668 (llrint_downward_test_data): Test for "inexact" exceptions.
17669 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17670 (llrint_upward_test_data): Test for "inexact" exceptions.
17671 (logb_test_data): Likewise.
17672 (logb_downward_test_data): Likewise.
17673 (nextafter_test_data): Likewise.
17674 (nexttoward_test_data): Likewise.
17675 (remainder_test_data): Likewise.
17676 (remquo_test_data): Likewise.
17677 (scalbn_test_data): Likewise.
17678 (scalbln_test_data): Likewise.
17679 (signbit_test_data): Likewise.
17680 (sqrt_test_data): Likewise.
17681 (significand_test_data): Likewise.
17683 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17686 * benchtests/bench-modf.c (struct args): Mark arg0 as
17688 * scripts/bench.pl: Mark members of struct args as volatile.
17690 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17693 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17694 negative infinity on POWER6 or lower.
17695 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17697 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17700 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17701 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17702 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17703 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17704 (_FP_SETQNAN): New macro.
17705 (_FP_SETQNAN_SEMIRAW): Likewise.
17706 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17707 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17708 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17709 (FP_EXTEND): Use _FP_FRAC_SNANP.
17710 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17711 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17713 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17715 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17718 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17720 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17721 with DIVIDE_BY_ZERO_EXCEPTION.
17722 (gamma_test_data): Likewise.
17723 (lgamma_test_data): Likewise.
17724 (log_test_data): Likewise.
17725 (log10_test_data): Likewise.
17726 (log2_test_data): Likewise.
17727 (tgamma_test_data): Likewise.
17729 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17730 (acos_test_tonearest): Likewise.
17731 (acos_test_towardzero): Likewise.
17732 (acos_test_downward): Likewise.
17733 (acos_test_upward): Likewise.
17734 (acosh_test): Likewise.
17735 (asin_test): Likewise.
17736 (asin_test_tonearest): Likewise.
17737 (asin_test_towardzero): Likewise.
17738 (asin_test_downward): Likewise.
17739 (asin_test_upward): Likewise.
17740 (asinh_test): Likewise.
17741 (atan_test): Likewise.
17742 (atanh_test): Likewise.
17743 (atan2_test): Likewise.
17744 (cabs_test): Likewise.
17745 (cacos_test): Likewise.
17746 (cacosh_test): Likewise.
17747 (casin_test): Likewise.
17748 (casinh_test): Likewise.
17749 (catan_test): Likewise.
17750 (catanh_test): Likewise.
17751 (cbrt_test): Likewise.
17752 (ccos_test): Likewise.
17753 (ccosh_test): Likewise.
17754 (cexp_test): Likewise.
17755 (clog_test): Likewise.
17756 (clog10_test): Likewise.
17757 (cos_test): Likewise.
17758 (cos_test_tonearest): Likewise.
17759 (cos_test_towardzero): Likewise.
17760 (cos_test_downward): Likewise.
17761 (cos_test_upward): Likewise.
17762 (cosh_test): Likewise.
17763 (cosh_test_tonearest): Likewise.
17764 (cosh_test_towardzero): Likewise.
17765 (cosh_test_downward): Likewise.
17766 (cosh_test_upward): Likewise.
17767 (cpow_test): Likewise.
17768 (csin_test): Likewise.
17769 (csinh_test): Likewise.
17770 (csqrt_test): Likewise.
17771 (ctan_test): Likewise.
17772 (ctan_test_tonearest): Likewise.
17773 (ctan_test_towardzero): Likewise.
17774 (ctan_test_downward): Likewise.
17775 (ctan_test_upward): Likewise.
17776 (ctanh_test): Likewise.
17777 (ctanh_test_tonearest): Likewise.
17778 (ctanh_test_towardzero): Likewise.
17779 (ctanh_test_downward): Likewise.
17780 (ctanh_test_upward): Likewise.
17781 (erf_test): Likewise.
17782 (erfc_test): Likewise.
17783 (exp_test): Likewise.
17784 (exp_test_tonearest): Likewise.
17785 (exp_test_towardzero): Likewise.
17786 (exp_test_downward): Likewise.
17787 (exp_test_upward): Likewise.
17788 (exp10_test): Likewise.
17789 (exp2_test): Likewise.
17790 (expm1_test): Likewise.
17791 (fmod_test): Likewise.
17792 (gamma_test): Likewise.
17793 (hypot_test): Likewise.
17794 (j0_test): Likewise.
17795 (j1_test): Likewise.
17796 (jn_test): Likewise.
17797 (lgamma_test): Likewise.
17798 (log_test): Likewise.
17799 (log10_test): Likewise.
17800 (log1p_test): Likewise.
17801 (log2_test): Likewise.
17802 (logb_test_downward): Likewise.
17803 (pow_test): Likewise.
17804 (pow_test_tonearest): Likewise.
17805 (pow_test_towardzero): Likewise.
17806 (pow_test_downward): Likewise.
17807 (pow_test_upward): Likewise.
17808 (remainder_test): Likewise.
17809 (remquo_test): Likewise.
17810 (sin_test): Likewise.
17811 (sin_test_tonearest): Likewise.
17812 (sin_test_towardzero): Likewise.
17813 (sin_test_downward): Likewise.
17814 (sin_test_upward): Likewise.
17815 (sincos_test): Likewise.
17816 (sinh_test): Likewise.
17817 (sinh_test_tonearest): Likewise.
17818 (sinh_test_towardzero): Likewise.
17819 (sinh_test_downward): Likewise.
17820 (sinh_test_upward): Likewise.
17821 (sqrt_test): Likewise.
17822 (tan_test): Likewise.
17823 (tan_test_tonearest): Likewise.
17824 (tan_test_towardzero): Likewise.
17825 (tan_test_downward): Likewise.
17826 (tan_test_upward): Likewise.
17827 (tanh_test): Likewise.
17828 (tgamma_test): Likewise.
17829 (y0_test): Likewise.
17830 (y1_test): Likewise.
17831 (yn_test): Likewise.
17833 * math/gen-libm-test.pl (adjust_arg): Remove function.
17834 (special_function): Remove argument $in_func. Only handle
17835 generating output for tables of tests, not inside functions.
17836 (parse_args): Likewise.
17837 (generate_testfile): Remove variable $in_func. Update call to
17839 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17840 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17841 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17842 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17843 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17844 (MAX_VALUE_INIT): Rename macro to max_value.
17845 (MIN_VALUE_INIT): Rename macro to min_value.
17846 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17847 (plus_zero): Remove variable.
17848 (minus_zero): Likewise.
17849 (plus_infty): Likewise.
17850 (minus_infty): Likewise.
17851 (qnan_value): Likewise.
17852 (max_value): Likewise.
17853 (min_value): Likewise.
17854 (min_subnorm_value): Likewise.
17856 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17858 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17859 uint64_t or uint32_t usage.
17860 * crypt/sha256-block.c: Likewise.
17861 * crypt/sha256-crypt.c: Likewise.
17862 * crypt/sha256.c: Likewise.
17863 * crypt/sha512-block.c: Likewise.
17864 * crypt/sha512-crypt.c: Likewise.
17865 * crypt/sha512.c: Likewise.
17866 * debug/backtrace-tst.c: Likewise.
17867 * debug/pcprofiledump.c: Likewise.
17868 * elf/cache.c: Likewise.
17869 * elf/dl-cache.c: Likewise.
17870 * elf/dl-misc.c: Likewise.
17871 * elf/dl-profile.c: Likewise.
17872 * elf/dl-support.c: Likewise.
17873 * elf/ldconfig.c: Likewise.
17874 * elf/sprof.c: Likewise.
17875 * iconv/dummy-repertoire.c: Likewise.
17876 * iconv/iconv_charmap.c: Likewise.
17877 * iconv/skeleton.c: Likewise.
17878 * iconvdata/8bit-generic.c: Likewise.
17879 * iconvdata/cp737.h: Likewise.
17880 * iconvdata/cp775.h: Likewise.
17881 * iconvdata/ibm1008.h: Likewise.
17882 * iconvdata/ibm1025.h: Likewise.
17883 * iconvdata/ibm1046.h: Likewise.
17884 * iconvdata/ibm1097.h: Likewise.
17885 * iconvdata/ibm1112.h: Likewise.
17886 * iconvdata/ibm1122.h: Likewise.
17887 * iconvdata/ibm1123.h: Likewise.
17888 * iconvdata/ibm1124.h: Likewise.
17889 * iconvdata/ibm1129.h: Likewise.
17890 * iconvdata/ibm1130.h: Likewise.
17891 * iconvdata/ibm1132.h: Likewise.
17892 * iconvdata/ibm1133.h: Likewise.
17893 * iconvdata/ibm1137.h: Likewise.
17894 * iconvdata/ibm1140.h: Likewise.
17895 * iconvdata/ibm1141.h: Likewise.
17896 * iconvdata/ibm1142.h: Likewise.
17897 * iconvdata/ibm1143.h: Likewise.
17898 * iconvdata/ibm1144.h: Likewise.
17899 * iconvdata/ibm1145.h: Likewise.
17900 * iconvdata/ibm1146.h: Likewise.
17901 * iconvdata/ibm1147.h: Likewise.
17902 * iconvdata/ibm1148.h: Likewise.
17903 * iconvdata/ibm1149.h: Likewise.
17904 * iconvdata/ibm1153.h: Likewise.
17905 * iconvdata/ibm1154.h: Likewise.
17906 * iconvdata/ibm1155.h: Likewise.
17907 * iconvdata/ibm1156.h: Likewise.
17908 * iconvdata/ibm1157.h: Likewise.
17909 * iconvdata/ibm1158.h: Likewise.
17910 * iconvdata/ibm1160.h: Likewise.
17911 * iconvdata/ibm1161.h: Likewise.
17912 * iconvdata/ibm1162.h: Likewise.
17913 * iconvdata/ibm1163.h: Likewise.
17914 * iconvdata/ibm1164.h: Likewise.
17915 * iconvdata/ibm1166.h: Likewise.
17916 * iconvdata/ibm1167.h: Likewise.
17917 * iconvdata/ibm12712.h: Likewise.
17918 * iconvdata/ibm1390.h: Likewise.
17919 * iconvdata/ibm1399.h: Likewise.
17920 * iconvdata/ibm16804.h: Likewise.
17921 * iconvdata/ibm4517.h: Likewise.
17922 * iconvdata/ibm4899.h: Likewise.
17923 * iconvdata/ibm4909.h: Likewise.
17924 * iconvdata/ibm4971.h: Likewise.
17925 * iconvdata/ibm5347.h: Likewise.
17926 * iconvdata/ibm803.h: Likewise.
17927 * iconvdata/ibm856.h: Likewise.
17928 * iconvdata/ibm901.h: Likewise.
17929 * iconvdata/ibm902.h: Likewise.
17930 * iconvdata/ibm9030.h: Likewise.
17931 * iconvdata/ibm9066.h: Likewise.
17932 * iconvdata/ibm921.h: Likewise.
17933 * iconvdata/ibm922.h: Likewise.
17934 * iconvdata/ibm9448.h: Likewise.
17935 * iconvdata/isiri-3342.h: Likewise.
17936 * iconvdata/jis0201.h: Likewise.
17937 * include/link.h: Likewise.
17938 * include/netdb.h: Likewise.
17939 * inet/check_native.c: Likewise.
17940 * inet/check_pf.c: Likewise.
17941 * inet/getipv4sourcefilter.c: Likewise.
17942 * inet/getnameinfo.c: Likewise.
17943 * inet/getsourcefilter.c: Likewise.
17944 * inet/htonl.c: Likewise.
17945 * inet/setipv4sourcefilter.c: Likewise.
17946 * inet/setsourcefilter.c: Likewise.
17947 * inet/test-inet6_opt.c: Likewise.
17948 * inet/tst-network.c: Likewise.
17949 * locale/C-collate.c: Likewise.
17950 * locale/C-ctype.c: Likewise.
17951 * locale/C-time.c: Likewise.
17952 * locale/C-translit.h: Likewise.
17953 * locale/loadarchive.c: Likewise.
17954 * locale/programs/3level.h: Likewise.
17955 * locale/programs/charmap.c: Likewise.
17956 * locale/programs/charmap.h: Likewise.
17957 * locale/programs/ld-address.c: Likewise.
17958 * locale/programs/ld-collate.c: Likewise.
17959 * locale/programs/ld-ctype.c: Likewise.
17960 * locale/programs/ld-identification.c: Likewise.
17961 * locale/programs/ld-measurement.c: Likewise.
17962 * locale/programs/ld-messages.c: Likewise.
17963 * locale/programs/ld-monetary.c: Likewise.
17964 * locale/programs/ld-name.c: Likewise.
17965 * locale/programs/ld-numeric.c: Likewise.
17966 * locale/programs/ld-paper.c: Likewise.
17967 * locale/programs/ld-telephone.c: Likewise.
17968 * locale/programs/ld-time.c: Likewise.
17969 * locale/programs/linereader.c: Likewise.
17970 * locale/programs/locale.c: Likewise.
17971 * locale/programs/locarchive.c: Likewise.
17972 * locale/programs/locfile.h: Likewise.
17973 * locale/programs/repertoire.c: Likewise.
17974 * locale/programs/simple-hash.c: Likewise.
17975 * locale/programs/simple-hash.h: Likewise.
17976 * malloc/memusage.c: Likewise.
17977 * malloc/memusagestat.c: Likewise.
17978 * nis/nis_defaults.c: Likewise.
17979 * nis/nis_hash.c: Likewise.
17980 * nis/nis_print.c: Likewise.
17981 * nis/nis_xdr.c: Likewise.
17982 * nscd/connections.c: Likewise.
17983 * nscd/hstcache.c: Likewise.
17984 * nscd/nscd_gethst_r.c: Likewise.
17985 * nscd/nscd_getserv_r.c: Likewise.
17986 * nscd/nscd_helper.c: Likewise.
17987 * nscd/servicescache.c: Likewise.
17988 * nss/makedb.c: Likewise.
17989 * nss/nss_db/db-XXX.c: Likewise.
17990 * nss/nss_db/db-initgroups.c: Likewise.
17991 * nss/nss_db/db-netgrp.c: Likewise.
17992 * nss/nss_files/files-network.c: Likewise.
17993 * nss/nss_files/files-parse.c: Likewise.
17994 * posix/bug-regex5.c: Likewise.
17995 * posix/fnmatch_loop.c: Likewise.
17996 * posix/regcomp.c: Likewise.
17997 * posix/regexec.c: Likewise.
17998 * posix/tst-rfc3484-2.c: Likewise.
17999 * posix/tst-rfc3484-3.c: Likewise.
18000 * posix/tst-rfc3484.c: Likewise.
18001 * resolv/nss_dns/dns-canon.c: Likewise.
18002 * resolv/nss_dns/dns-network.c: Likewise.
18003 * resolv/res_init.c: Likewise.
18004 * resolv/res_mkquery.c: Likewise.
18005 * resolv/tst-aton.c: Likewise.
18006 * stdlib/cxa_atexit.c: Likewise.
18007 * stdlib/cxa_finalize.c: Likewise.
18008 * stdlib/gen-fpioconst.c: Likewise.
18009 * stdlib/strtol_l.c: Likewise.
18010 * string/tst-endian.c: Likewise.
18011 * sunrpc/auth_des.c: Likewise.
18012 * sunrpc/clnt_udp.c: Likewise.
18013 * sunrpc/rtime.c: Likewise.
18014 * sunrpc/svcauth_des.c: Likewise.
18015 * sunrpc/xdr.c: Likewise.
18016 * sunrpc/xdr_intXX_t.c: Likewise.
18017 * sunrpc/xdr_rec.c: Likewise.
18018 * sysdeps/generic/ldconfig.h: Likewise.
18019 * sysdeps/generic/ldsodefs.h: Likewise.
18020 * sysdeps/generic/memusage.h: Likewise.
18021 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18024 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18030 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18031 * sysdeps/posix/getaddrinfo.c: Likewise.
18032 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18033 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18034 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18035 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18036 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18037 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18038 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18039 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18040 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18041 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18042 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18043 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18044 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18045 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18046 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18047 * sysdeps/x86_64/dl-tls.h: Likewise.
18048 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18049 * time/alt_digit.c: Likewise.
18050 * time/era.c: Likewise.
18051 * wcsmbs/tst-c16c32-1.c: Likewise.
18053 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18055 * math/libm-test.inc (struct test_sincos_data): New type.
18056 (RUN_TEST_LOOP_sincos): New macro.
18057 (sincos_test_data): New variable.
18058 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18060 2013-05-16 Richard Henderson <rth@redhat.com>
18062 * math/atest-exp2.c (LIMB64): New macro.
18063 (CONSTSZ): New macro.
18064 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18066 (print_mpn_fp): ... to function scope.
18067 (read_mpn_hex): Remove.
18068 (get_log2): Remove.
18069 (exp2_mpn): Use mp_log2.
18070 (main): Use mp_exp1.
18072 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18074 * math/libm-test.inc: Remove comment about not testing "inexact"
18076 (INEXACT_EXCEPTION): New macro.
18077 (NO_INEXACT_EXCEPTION): Likewise.
18078 (INVALID_EXCEPTION_OK): Update value.
18079 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18080 (OVERFLOW_EXCEPTION_OK): Likewise.
18081 (UNDERFLOW_EXCEPTION_OK): Likewise.
18082 (IGNORE_ZERO_INF_SIGN): Likewise.
18083 (ERRNO_UNCHANGED): Likewise.
18084 (ERRNO_EDOM): Likewise.
18085 (ERRNO_ERANGE): Likewise.
18086 (test_exceptions): Handle testing "inexact" exceptions.
18087 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18088 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18089 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18090 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18092 (rint_towardzero_test_data): Likewise.
18093 (rint_downward_test_data): Likewise.
18094 (rint_upward_test_data): Likewise.
18096 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18097 with OVERFLOW_EXCEPTION.
18098 (exp10_test_data): Likewise.
18099 (exp2_test_data): Likewise.
18100 (expm1_test_data): Likewise.
18101 (lgamma_test_data): Likewise.
18102 (pow_test_data): Likewise.
18103 (tgamma_test_data): Likewise.
18104 (yn_test_data): Remove duplicate test of overflow.
18106 * math/libm-test.inc (struct test_cc_c_data): New type.
18107 (RUN_TEST_LOOP_cc_c): New macro.
18108 (cpow_test_data): New variable.
18109 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18111 * math/libm-test.inc (struct test_f_L_data): New type.
18112 (RUN_TEST_LOOP_f_L): New macro.
18113 (llrint_test_data): New variable.
18114 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18115 (llrint_tonearest_test_data): New variable.
18116 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18117 (llrint_towardzero_test_data): New variable.
18118 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18119 (llrint_downward_test_data): New variable.
18120 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18121 (llrint_upward_test_data): New variable.
18122 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18123 (llround_test_data): New variable.
18124 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18126 2013-05-13 Peter Collingbourne <pcc@google.com>
18128 * math/atest-exp2.c (get_log2): Remove const attribute.
18130 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18132 * math/libm-test.inc (struct test_f_l_data): New type.
18133 (RUN_TEST_LOOP_f_l): New macro.
18134 (lrint_test_data): New variable.
18135 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18136 (lrint_tonearest_test_data): New variable.
18137 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18138 (lrint_towardzero_test_data): New variable.
18139 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18140 (lrint_downward_test_data): New variable.
18141 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18142 (lrint_upward_test_data): New variable.
18143 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18144 (lround_test_data): New variable.
18145 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18147 2013-05-15 Peter Collingbourne <pcc@google.com>
18149 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18150 (EXTRACT_WORDS64) Use where appropriate.
18151 (INSERT_WORDS64) Likewise.
18153 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18154 constraints with x constraints.
18155 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18157 * malloc/obstack.c (_obstack_compat): Add initializer.
18159 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18161 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18162 si_trapno and add si_addr_lsb to _sifields.sigfault.
18163 (si_trapno): Remove macro.
18164 (si_addr_lsb): Define new macro.
18165 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18167 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18169 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18170 instead of TEST_f_l.
18171 (llrint_test_tonearest): Likewise.
18172 (llrint_test_towardzero): Likewise.
18173 (llrint_test_downward): Likewise.
18174 (llrint_test_upward): Likewise.
18175 (llround_test): Likewise.
18177 * math/libm-test.inc (struct test_f_i_data): Add comment.
18178 (RUN_TEST_LOOP_f_b): New macro.
18179 (RUN_TEST_LOOP_f_b_tg): Likewise.
18180 (finite_test_data): New variable.
18181 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18182 (isfinite_test_data): New variable.
18183 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18184 (isinf_test_data): New variable.
18185 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18186 (isnan_test_data): New variable.
18187 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18188 (isnormal_test_data): New variable.
18189 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18190 (issignaling_test_data): New variable.
18191 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18192 (signbit_test_data): New variable.
18193 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18195 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18196 with INVALID_EXCEPTION.
18197 (acosh_test_data): Likewise.
18198 (asin_test_data): Likewise.
18199 (atanh_test_data): Likewise.
18200 (fmod_test_data): Likewise.
18201 (log_test_data): Likewise.
18202 (log10_test_data): Likewise.
18203 (log2_test_data): Likewise.
18204 (pow_test_data): Likewise.
18205 (sqrt_test_data): Likewise.
18206 (y0_test_data): Likewise.
18207 (y1_test_data): Likewise.
18208 (yn_test_data): Likewise.
18210 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18213 * math/libm-test.inc (struct test_ff_i_data): New type.
18214 (RUN_TEST_LOOP_ff_i_tg): New macro.
18215 (isgreater_test_data): New variable.
18216 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18217 (isgreaterequal_test_data): New variable.
18218 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18219 (isless_test_data): New variable.
18220 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18221 (islessequal_test_data): New variable.
18222 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18223 (islessgreater_test_data): New variable.
18224 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18225 (isunordered_test_data): New variable.
18226 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18228 2013-05-14 David S. Miller <davem@davemloft.net>
18230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18232 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18234 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18236 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18238 (struct test_f_i_data): Change type of max_ulp to int.
18240 * math/libm-test.inc (test_ffI_f1_data): New type.
18241 (RUN_TEST_LOOP_ffI_f1): New macro.
18242 (remquo_test_data): New variable.
18243 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18245 * setjmp/tst-setjmp-fp.c: New file.
18246 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18247 (link-libm): New variable.
18248 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18250 * math/libm-test.inc (struct test_f_i_data): New type.
18251 (RUN_TEST_LOOP_f_i): New macro.
18252 (RUN_TEST_LOOP_f_i_tg): Likewise.
18253 (fpclassify_test_data): New variable.
18254 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18255 (ilogb_test_data): New variable.
18256 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18258 * math/libm-test.inc (scalbln_test): Correct function name in END
18261 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18262 (RUN_TEST_LOOP_fI_f1): New macro.
18263 (frexp_test_data): New variable.
18264 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18266 * math/libm-test.inc (struct test_fF_f1_data): New type.
18267 (RUN_TEST_LOOP_fF_f1): New macro.
18268 (modf_test_data): New variable.
18269 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18271 * math/libm-test.inc (struct test_f_f1_data): New type.
18272 (RUN_TEST_LOOP_f_f1): New macro.
18273 (gamma_test_data): New variable.
18274 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18275 (lgamma_test_data): New variable.
18276 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18278 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18280 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18281 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18282 (main): Comment "tls" pseudo-hwcap.
18284 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18286 * math/libm-test.inc (struct test_fl_f_data): New type.
18287 (RUN_TEST_LOOP_fl_f): New variable.
18288 (scalbln_test_data): New variable.
18289 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18291 * math/libm-test.inc (struct test_fi_f_data): New type.
18292 (RUN_TEST_LOOP_fi_f): New macro.
18293 (ldexp_test_data): New variable.
18294 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18295 (scalbn_test_data): New variable.
18296 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18298 * math/libm-test.inc (struct test_c_f_data): New type.
18299 (RUN_TEST_LOOP_c_f): New macro.
18300 (cabs_test_data): New variable.
18301 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18302 (carg_test_data): New variable.
18303 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18304 (cimag_test_data): New variable.
18305 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18306 (creal_test_data): New variable.
18307 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18309 * math/libm-test.inc (struct test_if_f_data): New type.
18310 (RUN_TEST_LOOP_if_f): New macro.
18311 (jn_test_data): New variable.
18312 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18313 (yn_test_data): New variable.
18314 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18316 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18318 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18320 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18321 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18323 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18325 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18326 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18327 (bench-deps): Add bench-timing.h.
18328 * benchtests-bench-skeleton.c: Include bench-timing.h.
18329 (main): Use TIMING_* macros instead of clock_gettime.
18330 * benchtests/bench-timing.h: New file.
18333 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18334 Renamed from _LIB_VERSION.
18335 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18337 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18339 * math/libm-test.inc (struct test_fff_f_data): New type.
18340 (RUN_TEST_LOOP_fff_f): New macro.
18341 (fma_test_data): New variable.
18342 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18343 (fma_towardzero_test_data): New variable.
18344 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18345 (fma_downward_test_data): New variable.
18346 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18347 (fma_upward_test_data): New variable.
18348 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18350 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18351 (struct test_c_c_data): New type.
18352 (RUN_TEST_LOOP_c_c): New macro.
18353 (cacos_test_data): New variable.
18354 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18355 (cacosh_test_data): New variable.
18356 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18357 (casin_test_data): New variable.
18358 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18359 (casinh_test_data): New variable.
18360 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18361 (catan_test_data): New variable.
18362 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18363 (catanh_test_data): New variable.
18364 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18365 (ccos_test_data): New variable.
18366 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18367 (ccosh_test_data): New variable.
18368 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18369 (cexp_test_data): New variable.
18370 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18371 (clog_test_data): New variable.
18372 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18373 (clog10_test_data): New variable.
18374 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18375 (conj_test_data): New variable.
18376 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18377 (cproj_test_data): New variable.
18378 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18379 (csin_test_data): New variable.
18380 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18381 (csinh_test_data): New variable.
18382 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18383 (csqrt_test_data): New variable.
18384 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18385 (ctan_test_data): New variable.
18386 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18387 (ctan_tonearest_test_data): New variable.
18388 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18389 (ctan_towardzero_test_data): New variable.
18390 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18391 (ctan_downward_test_data): New variable.
18392 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18393 (ctan_upward_test_data): New variable.
18394 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18395 (ctanh_test_data): New variable.
18396 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18397 (ctanh_tonearest_test_data): New variable.
18398 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18399 (ctanh_towardzero_test_data): New variable.
18400 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18401 (ctanh_downward_test_data): New variable.
18402 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18403 (ctanh_upward_test_data): New variable.
18404 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18405 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18408 * math/libm-test.inc (struct test_ff_f_data): New type.
18409 (struct test_ff_f_data_nexttoward): Likewise.
18410 (RUN_TEST_LOOP_2_f): New macro.
18411 (RUN_TEST_LOOP_ff_f): Likewise.
18412 (atan2_test_data): New variable.
18413 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18414 (copysign_test_data): New variable.
18415 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18416 (fdim_test_data): New variable.
18417 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18418 (fmax_test_data): New variable.
18419 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18420 (fmin_test_data): New variable.
18421 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18422 (fmod_test_data): New variable.
18423 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18424 (hypot_test_data): New variable.
18425 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18426 (nextafter_test_data): New variable.
18427 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18428 (nexttoward_test_data): New variable.
18429 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18430 (pow_test_data): New variable.
18431 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18432 (pow_tonearest_test_data): New variable.
18433 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18434 (pow_towardzero_test_data): New variable.
18435 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18436 (pow_downward_test_data): New variable.
18437 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18438 (pow_upward_test_data): New variable.
18439 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18440 (remainder_test_data): New variable.
18441 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18442 (scalb_test_data): New variable.
18443 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18444 * sysdeps/i386/fpu/libm-test-ulps: Update.
18446 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18448 * math/libm-test.inc (fma_test): Use max_value instead of local
18450 (nextafter_test): Likewise.
18452 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18453 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18454 (acos_downward_test_data): New variable.
18455 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18456 (acos_upward_test_data): New variable.
18457 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18458 (acosh_test_data): New variable.
18459 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18460 (asin_test_data): New variable.
18461 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18462 (asin_tonearest_test_data): New variable.
18463 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18464 (asin_towardzero_test_data): New variable.
18465 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18466 (asin_downward_test_data): New variable.
18467 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18468 (asin_upward_test_data): New variable.
18469 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18470 (asinh_test_data): New variable.
18471 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18472 (atan_test_data): New variable.
18473 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18474 (atanh_test_data): New variable.
18475 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18476 (cbrt_test_data): New variable.
18477 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18478 (ceil_test_data): New variable.
18479 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18480 (cos_test_data): New variable.
18481 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18482 (cos_tonearest_test_data): New variable.
18483 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18484 (cos_towardzero_test_data): New variable.
18485 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18486 (cos_downward_test_data): New variable.
18487 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18488 (cos_upward_test_data): New variable.
18489 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18490 (cosh_test_data): New variable.
18491 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18492 (cosh_tonearest_test_data): New variable.
18493 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18494 (cosh_towardzero_test_data): New variable.
18495 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18496 (cosh_downward_test_data): New variable.
18497 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18498 (cosh_upward_test_data): New variable.
18499 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18500 (erf_test_data): New variable.
18501 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18502 (erfc_test_data): New variable.
18503 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18504 (exp_test_data): New variable.
18505 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18506 (exp_tonearest_test_data): New variable.
18507 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18508 (exp_towardzero_test_data): New variable.
18509 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18510 (exp_downward_test_data): New variable.
18511 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18512 (exp_upward_test_data): New variable.
18513 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18514 (exp10_test_data): New variable.
18515 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18516 (exp2_test_data): New variable.
18517 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18518 (expm1_test_data): New variable.
18519 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18520 (fabs_test_data): New variable.
18521 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18522 (floor_test_data): New variable.
18523 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18524 (j0_test_data): New variable.
18525 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18526 (j1_test_data): New variable.
18527 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18528 (log_test_data): New variable.
18529 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18530 (log10_test_data): New variable.
18531 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18532 (log1p_test_data): New variable.
18533 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18534 (log2_test_data): New variable.
18535 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18536 (logb_test_data): New variable.
18537 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18538 (logb_downward_test_data): New variable.
18539 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18540 (nearbyint_test_data): New variable.
18541 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18542 (rint_test_data): New variable.
18543 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18544 (rint_tonearest_test_data): New variable.
18545 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18546 (rint_towardzero_test_data): New variable.
18547 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18548 (rint_downward_test_data): New variable.
18549 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18550 (rint_upward_test_data): New variable.
18551 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18552 (round_test_data): New variable.
18553 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18554 (sin_test_data): New variable.
18555 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18556 (sin_tonearest_test_data): New variable.
18557 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18558 (sin_towardzero_test_data): New variable.
18559 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18560 (sin_downward_test_data): New variable.
18561 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18562 (sin_upward_test_data): New variable.
18563 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18564 (sinh_test_data): New variable.
18565 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18566 (sinh_tonearest_test_data): New variable.
18567 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18568 (sinh_towardzero_test_data): New variable.
18569 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18570 (sinh_downward_test_data): New variable.
18571 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18572 (sinh_upward_test_data): New variable.
18573 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18574 (sqrt_test_data): New variable.
18575 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18576 (tan_test_data): New variable.
18577 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18578 (tan_tonearest_test_data): New variable.
18579 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18580 (tan_towardzero_test_data): New variable.
18581 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18582 (tan_downward_test_data): New variable.
18583 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18584 (tan_upward_test_data): New variable.
18585 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18586 (tanh_test_data): New variable.
18587 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18588 (tgamma_test_data): New variable.
18589 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18590 (trunc_test_data): New variable.
18591 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18592 (y0_test_data): New variable.
18593 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18594 (y1_test_data): New variable.
18595 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18596 (significand_test_data): New variable.
18597 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18599 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18602 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18604 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18606 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18608 2013-05-10 Andreas Jaeger <aj@suse.de>
18611 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18612 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18614 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18616 * math/gen-libm-test.pl (adjust_arg): New function.
18617 (special_functions): Handle generating output in both functions
18619 (parse_args): Likewise.
18620 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18621 $in_func argument to parse_args.
18622 * math/libm-test.inc (struct test_f_f_data): New type.
18623 (IF_ROUND_INIT_): New macro.
18624 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18625 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18626 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18627 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18628 (ROUND_RESTORE_): Likewise.
18629 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18630 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18631 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18632 (ROUND_RESTORE_FE_UPWARD): Likewise.
18633 (RUN_TEST_LOOP_f_f): New macro.
18634 (acos_test_data): New variable.
18635 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18636 (acos_tonearest_test_data): New variable.
18637 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18639 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18641 * benchtests/bench-skeleton.c (startup): Fix coding style.
18643 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18646 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18647 negative infinity argument.
18648 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18649 negative infinity argument.
18650 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18651 negative infinity argument.
18652 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18655 2013-05-10 Florian Weimer <fweimer@redhat.com>
18657 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18658 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18659 * iconv/iconv_prog.c (main): Likewise.
18660 * locale/programs/charmap-dir.c (charmap_readdir)
18661 (fopen_uncompressed): Likewise.
18662 * locale/programs/locfile.c (siblings_uncached)
18663 (write_locale_data): Use lstat64 instead of lstat.
18664 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18667 2013-05-10 Andreas Jaeger <aj@suse.de>
18670 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18672 Include <locale.h>.
18674 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18676 * elf/dl-close.c (_dl_close_worker): Add comments.
18678 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18681 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18683 (__ieee754_rem_pio2l): Update comments.
18686 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18688 (__ieee754_rem_pio2l): Update comments.
18690 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18691 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18693 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18696 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18697 (M_PI_34_LOG10El): Likewise.
18698 (M_PI2_LOG10El): Likewise.
18699 (M_PI4_LOG10El): Likewise.
18700 (M_PI_LOG10El): Likewise.
18702 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18706 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18708 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18709 (MINUS_ZERO_INIT): Likewise.
18710 (PLUS_INFTY_INIT): Likewise.
18711 (MINUS_INFTY_INIT): Likewise.
18712 (QNAN_VALUE_INIT): Likewise.
18713 (MAX_VALUE_INIT): Likewise.
18714 (MIN_VALUE_INIT): Likewise.
18715 (MIN_SUBNORM_VALUE_INIT): Likewise.
18716 (plus_zero): Initialize with PLUS_ZERO_INIT.
18717 (minus_zero): Initialize with MINUS_ZERO_INIT.
18718 (plus_infty): Initialize with PLUS_INFTY_INIT.
18719 (minus_infty): Initialize with MINUS_INFTY_INIT.
18720 (qnan_value): Initialize with QNAN_VALUE_INIT.
18721 (max_value): Initialize with MAX_VALUE_INIT.
18722 (min_value): Initialize with MIN_VALUE_INIT.
18723 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18725 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18726 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18727 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18728 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18730 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18731 (RUN_TEST_2_f): Likewise.
18732 (RUN_TEST_ff_f): Likewise.
18733 (RUN_TEST_fi_f): Likewise.
18734 (RUN_TEST_fl_f): Likewise.
18735 (RUN_TEST_fff_f): Likewise.
18736 (RUN_TEST_c_f): Likewise.
18737 (RUN_TEST_f_f1): Likewise.
18738 (RUN_TEST_fF_f1): Likewise.
18739 (RUN_TEST_fI_f1): Likewise.
18740 (RUN_TEST_ffI_f1): Likewise.
18741 (RUN_TEST_c_c): Likewise.
18742 (RUN_TEST_cc_c): Likewise.
18743 (RUN_TEST_f_i): Likewise.
18744 (RUN_TEST_f_i_tg): Likewise.
18745 (RUN_TEST_ff_i_tg): Likewise.
18746 (RUN_TEST_f_b): Likewise.
18747 (RUN_TEST_f_b_tg): Likewise.
18748 (RUN_TEST_f_l): Likewise.
18749 (RUN_TEST_f_L): Likewise.
18750 (RUN_TEST_sincos): Likewise.
18751 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18752 whether to show exceptions. Do not include ");\n" in return
18754 (special_functions): Output call to RUN_TEST_sincos instead of
18755 check_float calls. Update calls to new_test.
18756 (parse_args): Output call to single RUN_TEST_* macro instead of
18757 check_* calls and other assignments. Update calls to new_test.
18763 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18764 input to result for tgamma overflow.
18765 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18766 (gamma_coeff): New variable.
18767 (NCOEFF): New macro.
18768 (gamma_positive): New function.
18769 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18770 underflow here. Use gamma_positive instead of exp (lgamma) for
18772 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18773 (gamma_coeff): New variable.
18774 (NCOEFF): New macro.
18775 (gammaf_positive): New function.
18776 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18777 underflow here. Use gamma_positive instead of exp (lgamma) for
18779 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18780 (gamma_coeff): New variable.
18781 (NCOEFF): New macro.
18782 (gammal_positive): New function.
18783 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18784 underflow here. Use gamma_positive instead of exp (lgamma) for
18786 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18787 (gamma_coeff): New variable.
18788 (NCOEFF): New macro.
18789 (gammal_positive): New function.
18790 (__ieee754_gammal_r): Handle positive infinity, overflow and
18791 underflow here. Handle NaN the same as positive infinity. Remove
18792 check x < 0xffffffff for negative integers. Use gamma_positive
18793 instead of exp (lgamma) for other arguments.
18794 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18795 (gamma_coeff): New variable.
18796 (NCOEFF): New macro.
18797 (gammal_positive): New function.
18798 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18799 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18803 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18804 * sysdeps/generic/math_private.h (__gamma_productf): New
18806 (__gamma_product): Likewise.
18807 (__gamma_productl): Likewise.
18808 * math/Makefile (libm-calls): Add gamma_product.
18809 * math/libm-test.inc (tgamma_test): Add more tests.
18810 * sysdeps/i386/fpu/libm-test-ulps: Update.
18811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18813 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18815 * benchtests/bench-skeleton.c (main): Preheat CPU.
18817 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18819 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18821 2013-05-07 Roland McGrath <roland@hack.frob.com>
18823 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18824 and _dl_skip_args_internal.
18826 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18828 * manual/message.texi (Message Translation): Talk about users.
18829 Message to key mapping impacts design.
18831 2013-05-06 Roland McGrath <roland@hack.frob.com>
18833 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18835 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18837 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18838 * sysdeps/wordsize-64/glob64.c: ... here.
18840 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18841 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18844 * debug/getlogin_r_chk.c: Moved to ...
18845 * login/getlogin_r_chk.c: ... here.
18846 * debug/Makefile (routines): Move getlogin_r_chk to ...
18847 * login/Makefile (routines): ... here.
18848 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18849 * login/Versions (libc: GLIBC_2.4): ... here.
18851 * io/poll.c (__poll): Renamed from poll.
18852 Add libc_hidden_def.
18853 (poll): Define as weak alias.
18855 * debug/ptsname_r_chk.c: Moved to ...
18856 * login/ptsname_r_chk.c: ... here.
18857 * debug/Makefile (routines): Move ptsname_r_chk to ...
18858 * login/Makefile (routines): ... here.
18859 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18860 * login/Versions (libc: GLIBC_2.4): ... here.
18862 * posix/getlogin.c: Moved to ...
18863 * login/getlogin.c: ... here.
18864 * posix/getlogin_r.c: Moved to ...
18865 * login/getlogin_r.c: ... here.
18866 * posix/getlogin_r.c: Moved to ...
18867 * login/getlogin_r.c: ... here.
18868 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18869 * login/Makefile (routines): ... here.
18870 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18871 * login/Versions (libc: GLIBC_2.0): ... here.
18873 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18874 (setrlimit): Define as weak alias.
18876 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18877 Call __ names for open, ftruncate, and close.
18878 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18879 (truncate): Define as weak alias.
18881 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18883 * math/gen-libm-test.pl (parse_args): Initialize x before each
18884 test of frexp, modf and remquo.
18886 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18887 test signgam value.
18889 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18893 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18895 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18897 2013-05-06 Roland McGrath <roland@hack.frob.com>
18899 * elf/dl-writev.h: New file.
18900 * elf/dl-misc.c: Include it.
18901 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18902 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18904 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18906 * math/libm-test.inc (noXFails): Remove variable.
18907 (noXPasses): Likewise.
18908 (BUILD_COMPLEX_INT): Remove macro.
18909 (print_screen): Remove xfail argument.
18910 (print_screen_max_error): Likewise.
18911 (update_stats): Likewise.
18912 (print_max_error): Likewise. Update calls to other affected
18914 (print_complex_max_error): Likewise.
18915 (test_single_exception): Update calls to print_screen.
18916 (test_single_errno): Likewise.
18917 (check_float_internal): Remove xfail argument. Update calls to
18918 other affected functions.
18919 (check_float): Likewise.
18920 (check_complex): Likewise.
18921 (check_int): Likewise.
18922 (check_long): Likewise.
18923 (check_bool): Likewise.
18924 (check_longlong): Likewise.
18925 (main): Don't print noXFails and noXPasses.
18926 * math/gen-libm-test.pl (top level): Don't mention expected
18927 failure handling in comment.
18928 (new_test): Don't handle expected failures.
18929 (parse_args): Don't mention expected failure handling in comment.
18930 (generate_testfile): Don't handle expected failures.
18931 (parse_ulps): Likewise.
18932 (print_ulps_file): Likewise.
18933 (get_failure): Remove function.
18934 (output_test): Don't handle expected failures.
18935 * make/README.libm-test: Don't mention expected failure handling.
18937 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18938 (minus_zero): Likewise.
18939 (plus_infty): Likewise.
18940 (minus_infty): Likewise.
18941 (qnan_value): Likewise.
18942 (max_value): Likewise.
18943 (min_value): Likewise.
18944 (min_subnorm_value): Likewise.
18945 (initialize): Do not initialize those variables dynamically.
18947 2013-05-03 Roland McGrath <roland@hack.frob.com>
18949 * io/open.c (__open_2): Moved to ...
18950 * io/open_2.c: ... this new file.
18951 * io/open64.c (__open64_2): Moved to ...
18952 * io/open64_2.c: ... this new file.
18953 * io/openat.c (__openat_2): Moved to ...
18954 * io/openat_2.c: ... this new file.
18955 * io/openat64.c (__openat64_2): Moved to ...
18956 * io/openat64_2.c: ... this new file.
18957 * io/Makefile (routines): Add them.
18958 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18959 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18960 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18961 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18962 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18963 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18964 (__openat64): Add hidden_ver.
18965 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18966 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18968 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18969 Separately conditionalize setting of GLRO(dl_sysinfo) so
18970 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18971 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18973 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18975 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18976 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18978 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18979 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18980 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18981 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18982 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18984 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18986 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18987 test signgam value.
18989 * math/libm-test.inc (hypot_test): Do not use
18990 IGNORE_ZERO_INF_SIGN.
18992 2013-05-03 Andreas Jaeger <aj@suse.de>
18994 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18996 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18997 (PF_MAX): Adjust for VSOCK change.
18999 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19003 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19006 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19007 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19008 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19010 2013-05-02 David S. Miller <davem@davemloft.net>
19012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19014 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19016 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19018 2013-05-01 Roland McGrath <roland@hack.frob.com>
19020 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19022 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19025 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19026 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19027 Use __attribute__ ((__gnu_inline__)).
19028 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19029 Don't use __attribute__ ((__gnu_inline__)).
19031 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19034 * math/s_catan.c (__catan): Handle small real or imaginary part of
19035 input specially to avoid spurious underflow.
19036 * math/s_catanf.c (__catanf): Likewise.
19037 * math/s_catanh.c (__catanh): Likewise.
19038 * math/s_catanhf.c (__catanhf): Likewise.
19039 * math/s_catanhl.c (__catanhl): Likewise.
19040 * math/s_catanl.c (__catanl): Likewise.
19041 * math/libm-test.inc (catan_test): Add more tests.
19042 (catanh_test): Likewise.
19043 * sysdeps/i386/fpu/libm-test-ulps: Update.
19044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19046 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19050 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19053 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19054 accurately for denominator in atan2.
19055 * math/s_catanf.c (__catanf): Likewise.
19056 * math/s_catanh.c (__catanh): Likewise.
19057 * math/s_catanhf.c (__catanhf): Likewise.
19058 * math/s_catanhl.c (__catanhl): Likewise.
19059 * math/s_catanl.c (__catanl): Likewise.
19060 * math/libm-test.inc (catan_test): Add more tests.
19061 (catanh_test): Likewise.
19062 * sysdeps/i386/fpu/libm-test-ulps: Update.
19063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19065 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19067 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19069 * benchtests/Makefile (bench): Remove slow benchmarks.
19070 * benchtests/atan-inputs: Add slow benchmark inputs.
19071 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19072 (BENCH_FUNC): Accept variant offset.
19074 * benchtests/bench-skeleton.c (main): Run benchmark for each
19076 * benchtests/cos-inputs: Add slow benchmark inputs.
19077 * benchtests/exp-inputs: Likewise.
19078 * benchtests/pow-inputs: Likewise.
19079 * benchtests/sin-inputs: Likewise.
19080 * benchtests/slowatan-inputs: Remove.
19081 * benchtests/slowatan.c: Remove.
19082 * benchtests/slowcos-inputs: Remove.
19083 * benchtests/slowcos.c: Remove.
19084 * benchtests/slowexp-inputs: Remove.
19085 * benchtests/slowexp.c: Remove.
19086 * benchtests/slowpow-inputs: Remove.
19087 * benchtests/slowpow.c: Remove.
19088 * benchtests/slowsin-inputs: Remove.
19089 * benchtests/slowsin.c: Remove.
19090 * benchtests/slowtan-inputs: Remove.
19091 * benchtests/slowtan.c: Remove.
19092 * benchtests/tan-inputs: Add slow benchmark inputs.
19093 * scripts/bench.pl: Parse comments and directives.
19095 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19097 ($(objpfx)bench-%.c): Remove *-ITER.
19098 * benchtests/bench-modf.c: Remove definition of ITER.
19099 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19100 (main): Loop for DURATION seconds instead of fixed number of
19102 * scripts/bench.pl: Don't expect iterations in parameters.
19104 2013-04-29 Roland McGrath <roland@hack.frob.com>
19106 * io/fchdir.c (__fchdir): Renamed from fchdir.
19107 (fchdir): Define as weak alias.
19109 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19111 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19112 (ERRNO_EDOM): Likewise.
19113 (ERRNO_ERANGE): Likewise.
19114 (noErrnoTests): New variable.
19115 (init_max_error): Set errno to 0.
19116 (test_single_errno): New function.
19117 (test_errno): Likewise.
19118 (check_float_internal): Call test_errno. Set errno to 0.
19119 (check_complex): Refer to errno tests in comment.
19120 (check_int): Call test_errno. Set errno to 0.
19121 (check_long): Likewise.
19122 (check_bool): Likewise.
19123 (check_longlong): Likewise.
19124 (cos_test): Use ERRNO_* flags for errno tests instead of
19126 (expm1_test): Likewise.
19127 (fmod_test): Likewise.
19128 (ilogb_test): Likewise.
19129 (lgamma_test): Likewise.
19130 (pow_test): Likewise.
19131 (remainder_test): Likewise.
19132 (sin_test): Likewise.
19133 (tan_test): Likewise.
19134 (yn_test): Likewise.
19135 (initialize): Set errno to 0.
19136 (main): Print number of errno tests.
19137 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19139 2013-04-29 Andreas Jaeger <aj@suse.de>
19142 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19146 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19147 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19151 * stdlib/random.c (__initstate): Return NULL if
19155 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19156 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19159 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19163 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19165 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19166 of individual tests.
19167 (casin_test): Likewise.
19168 (casinh_test): Likewise.
19170 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19173 * math/s_catan.c (__catan): Handle arguments with large real or
19174 imaginary part separately without squaring.
19175 * math/s_catanf.c (__catanf): Likewise.
19176 * math/s_catanh.c (__catanh): Likewise.
19177 * math/s_catanhf.c (__catanhf): Likewise.
19178 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19180 (__catanhl): Handle arguments with large real or imaginary part
19181 separately without squaring.
19182 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19184 (__catanl): Handle arguments with large real or imaginary part
19185 separately without squaring.
19186 * math/libm-test.inc (catan_test): Add more tests.
19187 (catanh_test): Likewise.
19188 * sysdeps/i386/fpu/libm-test-ulps: Update.
19189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19191 2013-04-27 Andreas Jaeger <aj@suse.de>
19194 * stdlib/stdlib.h: Update guards for qecvt.
19195 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19198 2013-04-27 Allan McRae <allan@archlinux.org>
19200 * sysdeps/i386/fpu/libm-test-ulps: Update.
19202 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19205 * math/s_catan.c: Include <float.h>.
19206 (__catan): Ensure underflow exception occurs for underflowed
19208 * math/s_catanf.c: Include <float.h>.
19209 (__catanf): Ensure underflow exception occurs for underflowed
19211 * math/s_catanh.c: Include <float.h>.
19212 (__catanh): Ensure underflow exception occurs for underflowed
19214 * math/s_catanhf.c: Include <float.h>.
19215 (__catanhf): Ensure underflow exception occurs for underflowed
19217 * math/s_catanhl.c: Include <float.h>.
19218 (__catanhl): Ensure underflow exception occurs for underflowed
19220 * math/s_catanl.c: Include <float.h>.
19221 (__catanl): Ensure underflow exception occurs for underflowed
19223 * math/libm-test.inc (catan_test): Add more tests.
19224 (catanh_test): Likewise.
19227 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19228 underflowed result.
19229 * math/s_ccoshf.c (__ccoshf): Likewise.
19230 * math/s_ccoshl.c (__ccoshl): Likewise.
19231 * math/s_csin.c (__csin): Likewise.
19232 * math/s_csinf.c (__csinf): Likewise.
19233 * math/s_csinh.c (__csinh): Likewise.
19234 * math/s_csinhf.c (__csinhf): Likewise.
19235 * math/s_csinhl.c (__csinhl): Likewise.
19236 * math/s_csinl.c (__csinl): Likewise.
19237 * math/libm-test.inc (ccos_test): Add more tests.
19238 (ccosh_test): Likewise.
19239 (csin_test): Likewise.
19240 (csinh_test): Likewise.
19242 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19244 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19245 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19246 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19247 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19248 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19249 powerpc/power5+/fpu folders.
19250 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19253 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19257 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19259 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19260 additions to variable.
19261 [$(config-machine) = x86_64] (modules-names): Likewise.
19262 ($(objpfx)tst-audit3): Remove dependency.
19263 ($(objpfx)tst-audit3.out): Likewise.
19264 ($(objpfx)tst-audit4): Likewise.
19265 ($(objpfx)tst-audit4.out): Likewise.
19266 ($(objpfx)tst-audit5): Likewise.
19267 ($(objpfx)tst-audit5.out): Likewise.
19268 ($(objpfx)tst-audit6): Likewise.
19269 ($(objpfx)tst-audit6.out): Likewise.
19270 ($(objpfx)tst-audit7): Likewise.
19271 ($(objpfx)tst-audit7.out): Likewise.
19272 (tst-audit3-ENV): Remove variable.
19273 (tst-audit4-ENV): Likewise.
19274 (tst-audit5-ENV): Likewise.
19275 (tst-audit6-ENV): Likewise.
19276 (tst-audit7-ENV): Likewise.
19277 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19278 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19279 addition to variable.
19280 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19281 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19282 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19283 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19284 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19285 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19286 tst-audit3, tst-audit4 and tst-audit5.
19287 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19288 tst-audit6 and tst-audit7.
19289 [$(subdir) = elf] (modules-names): Add audit modules for those
19291 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19292 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19293 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19294 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19295 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19296 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19297 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19298 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19299 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19300 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19301 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19302 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19303 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19304 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19305 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19306 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19308 [$(subdir) = elf && $(config-cflags-avx) = yes]
19309 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19310 [$(subdir) = elf && $(config-cflags-avx) = yes]
19311 (CFLAGS-tst-auditmod4a.c): Likewise.
19312 [$(subdir) = elf && $(config-cflags-avx) = yes]
19313 (CFLAGS-tst-auditmod4b.c): Likewise.
19314 [$(subdir) = elf && $(config-cflags-avx) = yes]
19315 (CFLAGS-tst-auditmod6b.c): Likewise.
19316 [$(subdir) = elf && $(config-cflags-avx) = yes]
19317 (CFLAGS-tst-auditmod6c.c): Likewise.
19318 [$(subdir) = elf && $(config-cflags-avx) = yes]
19319 (CFLAGS-tst-auditmod7b.c): Likewise.
19320 * elf/tst-audit3.c: Move to ...
19321 * sysdeps/x86_64/tst-audit3.c: ... here.
19322 * elf/tst-audit4.c: Move to ...
19323 * sysdeps/x86_64/tst-audit4.c: ... here.
19324 * elf/tst-audit5.c: Move to ...
19325 * sysdeps/x86_64/tst-audit5.c: ... here.
19326 * elf/tst-audit6.c: Move to ...
19327 * sysdeps/x86_64/tst-audit6.c: ... here.
19328 * elf/tst-audit7.c: Move to ...
19329 * sysdeps/x86_64/tst-audit7.c: ... here.
19330 * elf/tst-auditmod3a.c: Move to ...
19331 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19332 * elf/tst-auditmod3b.c: Move to ...
19333 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19334 * elf/tst-auditmod4a.c: Move to ...
19335 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19336 * elf/tst-auditmod4b.c: Move to ...
19337 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19338 * elf/tst-auditmod5a.c: Move to ...
19339 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19340 * elf/tst-auditmod5b.c: Move to ...
19341 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19342 * elf/tst-auditmod6a.c: Move to ...
19343 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19344 * elf/tst-auditmod6b.c: Move to ...
19345 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19346 * elf/tst-auditmod6c.c: Move to ...
19347 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19348 * elf/tst-auditmod7a.c: Move to ...
19349 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19350 * elf/tst-auditmod7b.c: Move to ...
19351 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19353 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19356 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19357 define unconditionally.
19358 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19359 define unconditionally.
19360 (INT8_C, INT16_C, etc.): Likewise.
19362 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19364 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19365 __ehdr_start with hidden visibility.
19367 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19369 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19371 * math/libm-test.inc (cos_test): Use accurate hex constants.
19372 (sincost_test): Likewise.
19374 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19376 * math/libm-test.inc (catan_test): Add more tests.
19377 (catanh_test): Likewise.
19379 * math/s_catanf.c (__catanf): Use suffixed floating-point
19381 * math/s_catanhf.c (__catanhf): Likewise.
19382 * math/s_catanhl.c (__catanhl): Likewise.
19383 * math/s_catanl.c (__catanl): Likewise.
19386 * math/s_catan.c (__catan): Calculate imaginary part of result
19387 with log1p not log unless computing log of number close to 0.
19388 * math/s_catanf.c (__catanf): Likewise.
19389 * math/s_catanl.c (__catanl): Likewise.
19390 * math/s_catanh.c (__catanh): Calculate real part of result with
19391 log1p not log unless computing log of number close to 0.
19392 * math/s_catanhf.c (__catanhf): Likewise.
19393 * math/s_catanhl.c (__catanhl): Likewise.
19394 * math/libm-test.inc (catan_test): Add more tests.
19395 (catanh_test): Likewise.
19396 * sysdeps/i386/fpu/libm-test-ulps: Update.
19397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19399 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19401 * benchtests/Makefile: Mention files in which fast and slow
19402 paths of math functions are implemented.
19404 2013-04-23 Roland McGrath <roland@hack.frob.com>
19406 * sysdeps/posix/timespec_get.c: New file.
19408 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19410 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19412 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19414 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19415 powerpc/power5/fpu folders.
19416 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19417 * benchtests/Makefile: Add modf testcase.
19418 * benchtests/bench-modf.c: New file: Benchmark test for mo
19420 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19423 * time/Makefile (tests): Add tst-strptime-whitespace.
19424 * time/strptime_l.c (get_number): Use ISSPACE.
19425 (__strptime_internal): Likewise.
19426 * time/tst-strptime-whitespace.c: New test case.
19428 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19430 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19432 (_nss_files_init): Set it here.
19434 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19436 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19437 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19440 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19442 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19444 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19446 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19449 2013-04-21 David S. Miller <davem@davemloft.net>
19451 * po/ru.po: Update Russion translation from translation project.
19453 2013-04-17 Adam Conrad <adconrad@0c3.net>
19455 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19458 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19460 * configure.in: Remove i386 configure warning. Remove i386 case.
19461 * configure: Regenerate.
19462 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19463 Add example to error message.
19464 * sysdeps/i386/configure: Regenerate.
19466 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19468 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19470 * benchtests/cos-inputs: New file.
19471 * benchtests/slowcos-inputs: New file.
19472 * benchtests/slowcos.c: New file.
19473 * benchtests/slowtan-inputs: New file.
19474 * benchtests/slowtan.c: New file.
19475 * benchtests/tan-inputs: New file.
19477 2013-04-16 Roland McGrath <roland@hack.frob.com>
19479 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19482 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19484 * benchtests/Makefile: Include cppflags-iterator.mk to add
19485 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19487 * Makefile.in (bench-clean): New target.
19488 * benchtests/Makefile (bench-clean): Likewise.
19490 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19492 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19494 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19496 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19498 2013-04-15 Andreas Schwab <schwab@suse.de>
19500 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19501 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19502 * nscd/pwdcache.c (cache_addpw): Likewise.
19503 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19506 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19508 * benchtests/Makefile (bench): Write all output to
19509 bench-out.tmp together.
19511 2013-04-15 Andreas Schwab <schwab@suse.de>
19513 * nscd/nscd.c (main): Don't fork again after closing files.
19515 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19517 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19519 * benchtests/Rules (bench-deps): Collect dependencies into a
19520 single variable. Add Makefile to dependencies.
19521 ($(objpfx)bench-%.c): Depend on bench-deps.
19523 2013-04-12 Roland McGrath <roland@hack.frob.com>
19524 Xavier Roche <roche+kml2@exalead.com>
19527 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19528 just that it's a file descriptor.
19529 * manual/llio.texi (Synchronizing AIO Operations): Update description
19530 for EBADF error from aio_fsync.
19532 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19534 * Rules (bench): Move target definition...
19535 * benchtests/Makefile: ... here.
19537 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19539 * math/libm-test.inc (cos_test): Fix PI/2 test.
19540 (sincos_test): Likewise.
19541 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19542 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19544 2013-04-11 Andreas Schwab <schwab@suse.de>
19547 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19548 accept exponent character only when digits were seen.
19549 * stdio-common/Makefile (tests): Add bug26.
19550 * stdio-common/bug26.c: New file.
19553 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19556 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19558 * Makeconfig (rtld-prefix): Define built linker prefix.
19559 * Rules (run-bench): Use it.
19560 * math/Makefile (run-regen-ulps): Likewise.
19562 * Rules (bench): Remove eval.
19564 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19565 Roland McGrath <roland@hack.frob.com>
19566 Ondrej Bilka <neleai@seznam.cz>
19569 * time/getdate.c: Include ctype.h and alloca.h.
19570 (__getdate_r): Trim leading and trailing spaces of input.
19571 * time/tst-getdate.c (tests): Add tests with leading and
19574 2013-04-08 Roland McGrath <roland@hack.frob.com>
19577 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19578 when computing value.
19580 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19582 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19583 Use testrun.sh to run libm tests.
19586 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19588 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19591 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19593 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19595 * Makefile.in (regen-ulps): New target.
19596 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19597 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19598 [ifneq (no,$(PERL)] (regen-ulps): New target.
19599 [ifeq (no,$(PERL)] (regen-ulps): New target.
19600 * math/libm-test.inc (ulps_file_name): Define.
19601 (output_dir): New variable.
19602 (options): Add "output-dir" option.
19603 (parse_opt): Handle 'o' case.
19604 (main): If output_dir is non-NULL use it as a prefix
19606 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19608 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19610 [BZ #10060, #10062]
19611 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19612 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19613 fail configure if __sync_val_compare_and_swap is not inlined.
19614 * sysdeps/i386/configure: Regenerate.
19615 * configure.in: Build for i686 when configured for i386.
19616 * configure: Regenerate.
19617 * README: Remove i386 reference.
19619 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19621 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19622 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19624 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19626 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19627 (lmsnanval): New variables.
19628 (F): Add conversion tests.
19629 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19630 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19632 * stdio-common/tstdiomisc.c (F): Properly collect individual
19635 [BZ #14686, #15336]
19636 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19637 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19638 Instead, use input NaN values or generate a qNaN by arithmetic
19639 operation. Also fix bugs to comply with the standard.
19640 * math/libm-test.inc (remainder_test): Add more tests.
19642 [BZ #15335, #15342]
19643 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19644 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19645 input NaN values or generate a qNaN by arithmetic operation.
19647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19650 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19653 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19656 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19657 underflowed result.
19658 * math/s_cexpf.c (__cexpf): Likewise.
19659 * math/s_cexpl.c (__cexpl): Likewise.
19660 * math/libm-test.inc (cexp_test): Add more tests.
19662 2013-04-03 Andreas Schwab <schwab@suse.de>
19665 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19666 order arrays from heap if bigger than alloca cutoff.
19668 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19670 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19671 (SNAN_TESTS_double): Refer to GCC PR56831.
19672 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19675 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19677 * Rules (bench): Move bench.out after the run is complete.
19679 * Rules (bench): Echo currently running benchmark.
19681 * benchtests/Makefile (bench): Add atan and slowatan.
19682 * benchtests/atan-inputs: New file.
19683 * benchtests/slowatan-inputs: New file.
19684 * benchtests/slowatan.c: New file.
19686 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19687 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19691 * sysdeps/unix/sysv/linux/kernel-features.h
19692 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19693 __ASSUME_XFS_RESTRICTED_CHOWN.
19694 * sysdeps/unix/sysv/linux/pathconf.c
19695 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19696 Save and restore errno.
19698 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19701 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19702 arguments using __kernel_casinh.
19703 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19704 arguments using __kernel_casinhf.
19705 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19706 arguments using __kernel_casinhl.
19707 * math/libm-test.inc (cacosh_test): Add more tests.
19708 * sysdeps/i386/fpu/libm-test-ulps: Update.
19709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19711 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19713 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19716 * bench/Makefile (bench): Add sin and slowsin.
19717 * benchtests/sin-inputs: New file.
19718 * benchtests/slowsin-inputs: New file.
19719 * benchtests/slowsin.c: New file.
19721 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19722 (bench): Add slowexp and slowpow.
19723 (exp-ITER): Increase iterations.
19724 (pow-ITER): Likewise.
19725 * benchtests/exp-inputs: Change input.
19726 * benchtests/pow-inputs: Likewise.
19727 * benchtests/slowexp-inputs: New file.
19728 * benchtests/slowexp.c: New file.
19729 * benchtests/slowpow-inputs: New file.
19730 * benchtests/slowpow.c: New file.
19732 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19734 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19736 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19737 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19738 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19739 * benchtests/Makefile: Add rint benchtest.
19740 * benchtests/rint-inputs: Input for rint benchtest.
19742 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19744 * Versions.def (libm): Add GLIBC_2.18.
19745 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19746 hidden libm prototypes.
19747 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19748 * math/Makefile (libm-calls): Add s_issignaling.
19749 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19750 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19751 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19753 * math/math.h [__USE_GNU] (issignaling): New macro.
19754 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19755 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19757 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19758 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19759 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19760 * manual/arith.texi (issignaling): New section.
19761 * manual/libm-err-tab.pl (@all_functions): Update comment.
19762 * math/gen-libm-test.pl (parse_args): Apply special handling for
19764 * math/libm-test.inc (print_float, issignaling_test): New
19766 (check_float_internal): Add issignaling checks.
19767 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19768 default definition.
19769 * sysdeps/powerpc/math-tests.h: New file.
19770 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19772 * math/test-snan.c (TEST_FUNC): Likewise.
19774 2013-03-30 David S. Miller <davem@davemloft.net>
19776 * po/de.po: Update from translation team.
19778 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19781 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19782 imaginary part less than 1.0 and real part less than 0.5
19784 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19785 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19786 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19787 (cacos_test): Add more tests.
19788 (casin_test): Likewise.
19789 (casinh_test): Likewise.
19790 * sysdeps/i386/fpu/libm-test-ulps: Update.
19791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19793 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19795 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19796 ONE with its value.
19798 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19799 (__pow_mp): Replace ONE and MONE with their values.
19800 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19801 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19802 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19803 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19804 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19805 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19807 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19809 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19810 (__pow_mp): Replace ZERO and MZERO with their values.
19811 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19812 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19813 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19815 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19816 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19819 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19821 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19823 2013-03-28 Roland McGrath <roland@hack.frob.com>
19825 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19826 Declare with __attribute__ ((weak)).
19827 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19828 Call __call_tls_dtors only if it's not NULL.
19830 2013-03-28 Roland McGrath <roland@hack.frob.com>
19832 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19833 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19834 magic __ehdr_start linker symbol if it's defined.
19835 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19836 them up here if it was already done.
19838 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19839 (_dl_aux_init): Use const in cast when setting it.
19840 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19841 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19842 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19844 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19846 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19847 * csu/libc-tls.c: Nor here.
19848 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19850 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19851 (__libc_message): Never call vsyslog.
19853 2013-03-28 Alan Modra <amodra@gmail.com>
19855 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19857 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19860 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19863 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19867 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19870 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19871 Don't add gid passed as argument.
19873 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19875 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19878 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19879 imaginary part between 1.0 and 1.5 and real part less than 0.5
19881 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19882 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19883 * math/libm-test.inc (cacos_test): Add more tests.
19884 (casin_test): Likewise.
19885 (casinh_test): Likewise.
19886 * sysdeps/i386/fpu/libm-test-ulps: Update.
19887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19889 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19891 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19894 (denorm): Likewise.
19895 (__dbl_mp): Likewise.
19896 (add_magnitudes): Likewise.
19897 (sub_magnitudes): Likewise.
19905 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19907 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19908 (__dubcos): Likewise.
19909 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19910 (__ieee754_acos): Likewise.
19911 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19912 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19913 (__exp1): Likewise.
19914 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19915 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19917 (my_log2): Likewise.
19918 (checkint): Likewise.
19919 * sysdeps/ieee754/dbl-64/e_remainder.c
19920 (__ieee754_remainder): Likewise.
19921 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19922 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19923 (bsloww): Likewise.
19924 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19926 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19927 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19928 MANTISSA_STORE_T to store computations on mantissa. Use
19929 macros for rounding and division.
19930 (denorm): Likewise.
19931 (__dbl_mp): Likewise.
19932 (add_magnitudes): Likewise.
19933 (sub_magnitudes): Likewise.
19936 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19937 powers of two in terms of TWOPOW macro.
19938 (mp_no): Make type of mantissa as MANTISSA_T.
19939 [!RADIXI]: Define RADIXI.
19940 [!TWO52]: Define TWO52.
19941 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19943 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19945 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19946 llroundl symbol when building for PPC32.
19948 2013-03-24 Mark H Weaver <mhw@netris.org>
19950 * manual/arith.texi (Normalization Functions): Fix prototypes for
19951 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19953 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19956 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19957 high value to check if expl overflow.
19958 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19959 to check for underflow and overflow.
19960 * math/libm-test.inc: Add exp test.
19962 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19965 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19968 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19970 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19973 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19975 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19976 wrap blocks consisting of several statements.
19978 * sysdeps/generic/math-tests.h: New file.
19979 * sysdeps/i386/fpu/math-tests.h: Likewise.
19980 * math/test-snan.c: Include it.
19981 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19983 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19986 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19987 (__ieee754_j0l): Do not improve calculations using cos of twice
19988 input for inputs above LDBL_MAX / 2.0L.
19989 (__ieee754_y0l): Likewise.
19990 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19991 (__ieee754_j1l): Do not improve calculations using cos of twice
19992 input for inputs above LDBL_MAX / 2.0L.
19993 (__ieee754_y1l): Likewise.
19994 * math/libm-test.inc (j0_test): Add another test.
19995 (j1_test): Likewise.
19996 (y0_test): Likewise.
19997 (y1_test): Likewise.
19998 * sysdeps/i386/fpu/libm-test-ulps: Update.
20000 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20002 * Rules ($(objpfx)bench-%.c): Include code from a C source
20005 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20008 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20009 imaginary part 1.0 and real part less than 0.5 specially.
20010 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20011 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20012 * math/libm-test.inc (cacos_test): Add more tests.
20013 (casin_test): Likewise.
20014 (casinh_test): Likewise.
20015 * sysdeps/i386/fpu/libm-test-ulps: Update.
20016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20018 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20020 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20021 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20023 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20025 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20026 * config.make.in (config-cflags-sse4): Remove variable.
20027 (config-cflags-avx): Likewise.
20028 (config-cflags-sse2avx): Likewise.
20029 (config-cflags-novzeroupper): Likewise.
20030 (config-asflags-i686): Likewise.
20031 (have-mfma4): Likewise.
20032 (have-as-vis3): Likewise.
20034 * configure.in (MIG): Do not AC_SUBST.
20035 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20036 (libc_cv_cc_sse4): Do not AC_SUBST.
20037 (libc_cv_cc_avx): Likewise.
20038 (libc_cv_cc_sse2avx): Likewise.
20039 (libc_cv_cc_novzeroupper): Likewise.
20040 (libc_cv_cc_fma4): Likewise.
20041 (libc_cv_as_i686): Likewise.
20042 (libc_cv_sparc_as_vis3): Likewise.
20043 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20045 (config-asflags-i686): Likewise.
20046 (config-cflags-avx): Likewise.
20047 (config-cflags-sse2avx): Likewise.
20048 (have-mfma4): Likewise.
20049 (config-cflags-novzeroupper): Likewise.
20050 * sysdeps/mach/configure.in (MIG): Likewise.
20051 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20052 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20054 (config-cflags-avx): Likewise.
20055 (config-cflags-sse2avx): Likewise.
20056 (have-mfma4): Likewise.
20057 (config-cflags-novzeroupper): Likewise.
20058 * configure: Regenerated.
20059 * sysdeps/i386/configure: Likewise.
20060 * sysdeps/mach/configure: Likewise.
20061 * sysdeps/sparc/configure: Likewise.
20062 * sysdeps/x86_64/configure: Likewise.
20064 2013-03-20 Roland McGrath <roland@hack.frob.com>
20067 * locale/programs/localedef.c (options): Put N_ translation marker
20068 on argument names, not just descriptions.
20070 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20072 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20074 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20077 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20079 2013-03-19 Roland McGrath <roland@hack.frob.com>
20081 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20082 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20083 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20084 [!BEFORE_ABORT] (before_abort): New function.
20085 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20086 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20087 (writev_for_fatal): New function.
20088 (WRITEV_FOR_FATAL): New macro; call that.
20089 (backtrace_and_maps): New function.
20090 (BEFORE_ABORT): New macro; call that.
20091 (struct str_list): Type removed.
20092 (__libc_message, __libc_fatal): Functions removed.
20093 Include <sysdeps/posix/libc_fatal.c> instead.
20095 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20097 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20099 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20102 2013-03-19 Andreas Schwab <schwab@suse.de>
20104 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20105 * sysdeps/gnu/configure: Regenerate.
20107 * configure.in: Substitute libc_cv_rtlddir.
20108 * configure: Regenerate.
20109 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20110 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20111 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20112 * elf/Makefile (install-others, CFLAGS-interp.c)
20113 (ldso_install, common-ldd-rewrite): Likewise.
20114 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20115 $(inst_slibdir)/$(rtld-installed-name).
20116 * scripts/rellns-sh: Add -p option.
20117 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20120 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20122 * manual/nptl.texi: Renamed to ...
20123 * manual/threads.texi: ... this.
20124 * manual/Makefile (chapters): Update.
20126 2013-03-18 Roland McGrath <roland@hack.frob.com>
20129 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20130 on argument names, not just descriptions.
20131 * malloc/memusagestat.c (options): Likewise.
20132 * nss/getent.c (options): Likewise.
20134 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20137 * iconv/iconv_prog.c (options): Put N_ translation marker
20138 on argument names, not just descriptions.
20139 * iconv/iconvconfig.c (options): Likewise.
20141 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20143 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20144 implementation which is faster on all x86_64 architectures.
20145 Tested on AMD, Intel Nehalem, SNB, IVB.
20146 * sysdeps/x86_64/strnlen.S: Likewise.
20148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20149 Remove all multiarch strlen and strnlen versions.
20150 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20151 Remove strlen and strnlen related parts.
20153 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20154 Inline strlen part.
20155 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20157 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20158 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20159 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20160 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20161 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20162 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20164 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20166 * manual/memory.texi (Malloc Tunable Parameters):
20167 Sort parameters alphabetically. Add comments for missing entries.
20169 2013-03-17 David S. Miller <davem@davemloft.net>
20171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20173 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20176 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20177 for arguments at most half maximum finite value.
20178 * math/libm-test.inc (j0_test): Add more tests.
20179 (j1_test): Likewise.
20180 (y0_test): Likewise.
20181 (y1_test): Likewise.
20182 * sysdeps/i386/fpu/libm-test-ulps: Update.
20183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20186 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20187 1 / x and functions P and Q for arguments above 0x1p256L.
20188 (__ieee754_y0l): Likewise.
20189 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20190 (__ieee754_y1l): Likewise.
20191 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20192 (j1_test): Likewise.
20193 (y0_test): Likewise.
20194 (y1_test): Likewise.
20196 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20198 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20201 2013-03-15 Roland McGrath <roland@hack.frob.com>
20203 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20204 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20205 zero since it's initialized to EXEC_PAGESIZE.
20207 * sysdeps/unix/sysv/linux/ldsodefs.h
20208 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20209 * sysdeps/generic/ldsodefs.h: ... here.
20211 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20213 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20215 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20217 * math/test-snan.c: Renamed from
20218 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20219 * math/Makefile (tests): Add test-snan.
20220 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20223 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20224 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20226 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20227 __builtin_nan family of functions.
20228 * math/libm-test.inc (initialize): Initialize qnan_value with
20229 __builtin_nan family of functions.
20230 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20232 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20234 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20235 storage class. Initialize qNaN_var and sNaN_var with
20236 __builtin_nan and __builtin_nans families of functions,
20239 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20240 (sqrt_test): Remove duplicate test with qNaN input.
20241 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20242 (round_test, signbit_test, significand_test): Note missing +/-Inf
20243 as well as qNaN tests.
20245 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20246 qNaN_var. Fix a few strings, too.
20247 * math/libm-test.inc (nan_value): Rename to qnan_value.
20248 * math/gen-libm-test.pl (%beautify): Adjust to that.
20249 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20250 * math/test-misc.c (main): Likewise.
20251 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20252 to __qnan_bytes, and __qnan_union, respectively.
20253 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20255 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20256 and lqnanval, respectively.
20257 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20258 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20259 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20260 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20262 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20263 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20266 * math/test-misc.c (main): Fix copy'n'pastos.
20267 * misc/tst-efgcvt.c (special): Likewise.
20269 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20270 Remove declarations.
20272 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20274 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20275 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20276 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20277 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20279 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20281 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20282 macro to return vdso values correctly in IFUNC implementations.
20283 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20284 Optimization by using IFUNC.
20286 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20287 Richard Henderson <rth@redhat.com>
20288 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20290 * Makefile.in (bench): New target.
20291 * NEWS: Mention the benchmark framework.
20292 * Rules (bench): Likewise.
20293 (binaries-bench): Generate binaries for functions to
20295 * benchtests/Makefile: New makefile for benchmark tests.
20296 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20298 * benchtests/exp-inputs: New input file for EXP function.
20299 * benchtests/pow-inputs: New input file for POW function.
20300 * scripts/bench.pl: New script to generate source files for
20301 benchmark programs.
20303 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20305 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20306 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20307 computations on mantissa. Use macros for rounding and
20309 (denorm): Likewise.
20310 (__dbl_mp): Likewise.
20311 (add_magnitudes): Likewise.
20312 (sub_magnitudes): Likewise.
20315 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20316 powers of two in terms of TWOPOW macro.
20317 (mp_no): Make type of mantissa as MANTISSA_T.
20318 [!RADIXI]: Define RADIXI.
20319 [!TWO52]: Define TWO52.
20320 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20322 * manual/nptl.texi (cindex): Modify threads to pthreads.
20324 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20326 * sysdeps/x86_64/preconfigure: Regenerated.
20328 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20331 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20333 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20334 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20336 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20337 * math/libm-test.inc (j0_test): Do not allow one spurious
20338 underflow exception.
20339 (y1_test): Likewise.
20341 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20343 * manual/Makefile (chapters): Add nptl.
20344 * manual/debug.texi (Debugging Support): Add link to Threads
20346 * manual/nptl.texi: New file.
20348 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20350 2013-03-14 Petr Baudis <pasky@ucw.cz>
20352 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20353 for non-NULL pointer before the memory validity test. Pointed
20354 out by Holger Brunck <holger.brunck@keymile.com>.
20356 2013-03-13 Andreas Schwab <schwab@suse.de>
20358 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20361 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20363 * timezone/zic.c: Update from tzcode 2013b.
20365 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20367 * manual/install.texi (Configuring and compiling):
20368 Mention i686 and i586.
20369 * INSTALL: Regenerate.
20371 2013-03-12 Roland McGrath <roland@hack.frob.com>
20373 * sysdeps/init_array/elf-init.c: New file.
20375 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20376 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20378 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20379 __gmon_start__ as global, but as static with a .preinit_array pointer.
20380 * sysdeps/init_array/gmon-start.c: New file. Use that.
20381 * sysdeps/init_array/crti.S: New file, empty except for comments.
20382 * sysdeps/init_array/crtn.S: Likewise.
20384 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20386 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20389 Remove Prefer_SSE_for_memop.
20390 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20391 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20392 HAS_PREFER_SSE_FOR_MEMOP.
20393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20396 Remove bzero, memset ifunc support.
20397 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20398 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20399 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20400 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20402 2013-03-11 Andreas Schwab <schwab@suse.de>
20405 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20408 (GLIBC_2.16): Remove pthread_atfork.
20410 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20412 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20413 (ptestcases.h): Likewise.
20415 2013-03-08 Roland McGrath <roland@hack.frob.com>
20417 * Makeconfig ($(common-objpfx)config.status): Depend on
20418 sysdeps/*/preconfigure{,.in} too.
20420 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20422 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20423 (__free_hook): Use void * instead of __malloc_ptr_t.
20424 (__malloc_hook): Likewise.
20425 (__realloc_hook): Likewise.
20426 (__memalign_hook): Likewise.
20427 (__after_morecore_hook): Likewise.
20428 * malloc/arena.c (save_malloc_hook): Likewise.
20429 (save_free_hook): Likewise.
20430 * malloc/hooks.c (malloc_hook_ini): Likewise.
20431 (realloc_hook_ini): Likewise.
20432 (memalign_hook_ini): Likewise.
20433 * malloc/malloc.c (malloc_hook_ini): Likewise.
20434 (realloc_hook_ini): Likewise.
20435 (memalign_hook_ini): Likewise.
20436 (__free_hook): Likewise.
20437 (__malloc_hook): Likewise.
20438 (__realloc_hook): Likewise.
20439 (__memalign_hook): Likewise.
20440 (__libc_malloc): Likewise.
20441 (__libc_free): Likewise.
20442 (__libc_realloc): Likewise.
20443 (__libc_memalign): Likewise.
20444 (__libc_valloc): Likewise.
20445 (__libc_pvalloc): Likewise.
20446 (__libc_calloc): Likewise.
20447 (__posix_memalign): Likewise.
20448 * malloc/morecore.c (__sbrk): Likewise.
20449 (__default_morecore): Likewise.
20451 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20453 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20454 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20455 __malloc_ptrdiff_t.
20457 * malloc/malloc.h (__malloc_size_t): Remove macro.
20458 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20460 (old_memalign_hook): Likewise.
20461 (old_realloc_hook): Likewise.
20462 (struct hdr): Likewise.
20464 (mallochook): Likewise.
20465 (memalignhook): Likewise.
20466 (reallochook): Likewise.
20467 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20468 (tr_old_realloc_hook): Likewise.
20469 (tr_old_memalign_hook): Likewise.
20470 (tr_mallochook): Likewise.
20471 (tr_reallochook): Likewise.
20472 (tr_memalignhook): Likewise.
20474 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20476 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20477 default_ldbl_pack and using as default implementation.
20478 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20480 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20481 redundant definition.
20482 (ldbl_insert_mantissa): Likewise.
20483 (ldbl_canonicalize): Likewise.
20484 (ldbl_nearbyint): Likewise.
20485 (ldbl_pack): Rename to ldbl_pack_ppc.
20486 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20487 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20488 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20490 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20493 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20494 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20495 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20497 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20498 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20499 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20501 2013-03-07 Andreas Jaeger <aj@suse.de>
20503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20506 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20508 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20509 Include mpa.h and declare __MPEXP.
20510 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20511 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20512 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20513 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20514 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20515 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20516 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20518 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20519 (__slowpow): Use long double EXPL and LOGL functions to
20521 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20522 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20523 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20524 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20525 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20526 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20529 intermediate variable to calculate exponent.
20531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20535 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20536 [!NO__SQR]: Define __sqr.
20537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20538 and NO__SQR. Remove all code except __mul and __sqr. Include
20539 sysdeps/ieee754/dbl-64/mpa.c.
20540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20543 * posix/Makefile (tests): Add tst-pathconf.
20544 * posix/tst-pathconf.c: New test case.
20545 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20547 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20549 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20551 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20553 2013-03-06 Andreas Jaeger <aj@suse.de>
20555 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20556 definition via __MAP_ANONYMOUS.
20558 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20559 it's not part of Linux headers.
20561 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20562 (MAP_HUGE_MASK): Define.
20564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20566 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20567 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20569 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20570 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20572 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20573 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20575 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20577 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20578 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20579 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20580 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20581 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20582 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20584 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20587 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20588 Handle f2fs and efivarfs.
20590 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20593 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20594 (EFIVARFS_MAGIC): Add.
20595 (F2FS_LINK_MAX): Add.
20597 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20599 * stdio-common/vfprintf.c: Replace __builtin_expect with
20602 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20605 * sysdeps/generic/bp-sym.h: Remove file.
20606 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20607 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20608 <bp-sym.h> and <bp-asm.h>.
20609 (__longjmp): Don't use BP_SYM.
20610 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20612 (memcpy): Don't use BP_SYM.
20613 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20614 <bp-sym.h> and <bp-asm.h>.
20615 (memcpy): Don't use BP_SYM.
20616 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20618 (memcpy): Don't use BP_SYM.
20619 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20621 (memset): Don't use BP_SYM.
20622 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20623 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20624 (__bzero): Don't use BP_SYM.
20625 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20626 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20627 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20628 <bp-sym.h> and <bp-asm.h>.
20629 (memcmp): Don't use BP_SYM. Remove comment about bounded
20631 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20632 <bp-sym.h> and <bp-asm.h>.
20633 (memcpy): Don't use BP_SYM.
20634 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20635 <bp-sym.h> and <bp-asm.h>.
20636 (memset): Don't use BP_SYM.
20637 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20638 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20639 (__bzero): Don't use BP_SYM.
20640 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20641 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20642 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20643 <bp-sym.h> and <bp-asm.h>.
20644 (strncmp): Don't use BP_SYM. Remove comment about bounded
20646 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20647 <bp-sym.h> and <bp-asm.h>.
20648 (memcpy): Don't use BP_SYM.
20649 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20650 <bp-sym.h> and <bp-asm.h>.
20651 (memset): Don't use BP_SYM.
20652 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20653 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20654 (__bzero): Don't use BP_SYM.
20655 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20656 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20657 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20658 <bp-sym.h> and <bp-asm.h>.
20659 (__memchr): Don't use BP_SYM.
20660 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20661 <bp-sym.h> and <bp-asm.h>.
20662 (memcmp): Don't use BP_SYM. Remove comment about bounded
20664 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20665 <bp-sym.h> and <bp-asm.h>.
20666 (memcpy): Don't use BP_SYM.
20667 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20668 <bp-sym.h> and <bp-asm.h>.
20669 (__mempcpy): Don't use BP_SYM.
20670 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20671 <bp-sym.h> and <bp-asm.h>.
20672 (__memrchr): Don't use BP_SYM.
20673 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20674 <bp-sym.h> and <bp-asm.h>.
20675 (memset): Don't use BP_SYM.
20676 (__bzero): Likewise.
20677 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20678 <bp-sym.h> and <bp-asm.h>.
20679 (__rawmemchr): Don't use BP_SYM.
20680 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20681 <bp-sym.h> and <bp-asm.h>.
20682 (__STRCMP): Don't use BP_SYM.
20683 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20684 <bp-sym.h> and <bp-asm.h>.
20685 (strchr): Don't use BP_SYM.
20686 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20687 <bp-sym.h> and <bp-asm.h>.
20688 (__strchrnul): Don't use BP_SYM.
20689 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20690 <bp-sym.h> and <bp-asm.h>.
20691 (strlen): Don't use BP_SYM.
20692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20693 <bp-sym.h> and <bp-asm.h>.
20694 (strncmp): Don't use BP_SYM. Remove comment about bounded
20696 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20697 <bp-sym.h> and <bp-asm.h>.
20698 (__strnlen): Don't use BP_SYM.
20699 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20700 <bp-sym.h> and <bp-asm.h>.
20701 (__GI__setjmp): Don't use BP_SYM.
20702 (_setjmp): Likewise.
20703 (__sigsetjmp): Likewise.
20704 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20705 (L(start_addresses)): Don't use BP_SYM.
20706 (_start): Likewise.
20707 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20709 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20710 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20711 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20712 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20713 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20715 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20716 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20717 about bounded pointers.
20718 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20719 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20720 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20722 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20723 about bounded pointers. Remove GKM FIXME comments.
20724 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20725 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20727 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20728 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20729 Remove GKM FIXME comments.
20730 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20731 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20732 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20734 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20735 about bounded pointers. Remove GKM FIXME comment.
20736 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20738 (strncmp): Don't use BP_SYM. Remove comment about bounded
20740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20741 <bp-sym.h> and <bp-asm.h>.
20742 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20744 <bp-sym.h> and <bp-asm.h>.
20745 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20748 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20750 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20753 2013-03-05 David S. Miller <davem@davemloft.net>
20755 * po/es.po: Update from translation team.
20757 2013-03-05 Andreas Jaeger <aj@suse.de>
20759 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20760 <bits/mman-linux.h>.
20761 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20763 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20764 <bits/mman-linux.h> to end of file.
20765 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20767 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20768 <bits/mman-linux.h> to end of file.
20769 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20772 <bits/mman-linux.h> to end of file.
20774 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20775 (MCL_CURRENT, MCL_FUTURE): Define here.
20777 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20780 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20782 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20784 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20786 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20787 fourth parameter needed for rt_sigprocmask syscall.
20788 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20789 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20790 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20791 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20792 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20793 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20795 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20798 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20799 comment about bounded pointers.
20800 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20801 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20803 2013-03-04 Andreas Jaeger <aj@suse.de>
20805 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20806 common definitions.
20808 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20809 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20810 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20811 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20812 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20813 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20815 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20818 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20819 __ieee754_sqrl instead of __sqrl.
20821 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20823 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20824 * sysdeps/powerpc/fpu_control.h: ... here.
20825 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20826 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20827 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20828 * sysdeps/powerpc/bits/mathinline.h: ... here.
20830 2013-03-01 Roland McGrath <roland@hack.frob.com>
20832 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20833 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20834 to just [NEED_DL_SYSINFO_DSO].
20835 * elf/dl-support.c: Likewise.
20836 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20837 * elf/rtld.c (dl_main): Likewise.
20838 * elf/setup-vdso.h (setup_vdso): Likewise.
20839 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20840 * sysdeps/unix/sysv/linux/dl-sysdep.c
20841 (_dl_discover_osversion): Likewise.
20843 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20845 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20846 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20848 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20850 * NEWS: Mention libm performance improvements and non-x86 PI
20853 * csu/libc-start.c (__pthread_initialize_minimal): Change
20854 function arguments.
20855 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20857 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20860 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20861 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20862 <bp-sym.h> and <bp-asm.h>.
20863 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20864 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20866 (memcpy): Don't use BP_SYM.
20867 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20869 (__mpn_add_n): Don't use BP_SYM.
20870 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20871 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20873 (__mpn_addmul_1): Don't use BP_SYM.
20874 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20875 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20877 (_setjmp): Don't use BP_SYM.
20878 (__novmx_setjmp): Likewise.
20879 (__GI__setjmp): Likewise.
20880 (__vmx_setjmp): Likewise.
20881 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20883 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20884 (__bzero): Don't use BP_SYM.
20885 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20886 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20887 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20888 <bp-sym.h> and <bp-asm.h>.
20889 (memcpy): Don't use BP_SYM.
20890 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20891 <bp-sym.h> and <bp-asm.h>.
20892 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20893 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20894 <bp-sym.h> and <bp-asm.h>.
20895 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20896 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20898 (__mpn_lshift): Don't use BP_SYM.
20899 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20900 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20902 (memset): Don't use BP_SYM.
20903 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20904 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20905 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20907 (__mpn_mul_1): Don't use BP_SYM.
20908 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20909 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20910 <bp-sym.h> and <bp-asm.h>.
20911 (memcmp): Don't use BP_SYM.
20912 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20913 <bp-sym.h> and <bp-asm.h>.
20914 (memcpy): Don't use BP_SYM.
20915 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20916 <bp-sym.h> and <bp-asm.h>.
20917 (memset): Don't use BP_SYM.
20918 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20919 <bp-sym.h> and <bp-asm.h>.
20920 (strncmp): Don't use BP_SYM.
20921 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20922 <bp-sym.h> and <bp-asm.h>.
20923 (memcpy): Don't use BP_SYM.
20924 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20925 <bp-sym.h> and <bp-asm.h>.
20926 (memset): Don't use BP_SYM.
20927 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20928 <bp-sym.h> and <bp-asm.h>.
20929 (__memchr): Don't use BP_SYM.
20930 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20931 <bp-sym.h> and <bp-asm.h>.
20932 (memcmp): Don't use BP_SYM.
20933 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20934 <bp-sym.h> and <bp-asm.h>.
20935 (memcpy): Don't use BP_SYM.
20936 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20937 <bp-sym.h> and <bp-asm.h>.
20938 (__mempcpy): Don't use BP_SYM.
20939 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20940 <bp-sym.h> and <bp-asm.h>.
20941 (__memrchr): Don't use BP_SYM.
20942 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20943 <bp-sym.h> and <bp-asm.h>.
20944 (memset): Don't use BP_SYM.
20945 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20946 <bp-sym.h> and <bp-asm.h>.
20947 (__rawmemchr): Don't use BP_SYM.
20948 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20949 <bp-sym.h> and <bp-asm.h>.
20950 (__STRCMP): Don't use BP_SYM.
20951 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20952 <bp-sym.h> and <bp-asm.h>.
20953 (strchr): Don't use BP_SYM.
20954 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20955 <bp-sym.h> and <bp-asm.h>.
20956 (__strchrnul): Don't use BP_SYM.
20957 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20958 <bp-sym.h> and <bp-asm.h>.
20959 (strlen): Don't use BP_SYM.
20960 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20961 <bp-sym.h> and <bp-asm.h>.
20962 (strncmp): Don't use BP_SYM.
20963 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20964 <bp-sym.h> and <bp-asm.h>.
20965 (__strnlen): Don't use BP_SYM.
20966 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20968 (__mpn_rshift): Don't use BP_SYM.
20969 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20970 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20971 <bp-sym.h> and <bp-asm.h>.
20972 (__sigsetjmp): Don't use BP_SYM.
20973 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20974 (L(start_addresses)): Don't use BP_SYM.
20975 (_start): Likewise.
20976 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20978 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20979 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20980 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20981 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20983 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20984 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20985 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20986 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20988 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20990 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20991 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20993 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20995 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20996 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20997 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20999 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21001 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21003 (strncmp): Don't use BP_SYM,
21004 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21006 (__mpn_sub_n): Don't use BP_SYM.
21007 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21008 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21010 (__mpn_submul_1): Don't use BP_SYM.
21011 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21013 <bp-sym.h> and <bp-asm.h>.
21014 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21016 <bp-sym.h> and <bp-asm.h>.
21017 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21020 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21023 Use ZK to minimize writes to Z.
21024 (sub_magnitudes): Simplify code a bit.
21025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21026 Use ZK to minimize writes to Z.
21027 (sub_magnitudes): Simplify code a bit.
21029 2013-02-27 Roland McGrath <roland@hack.frob.com>
21031 * csu/gmon-start.c: Add special exception to license text.
21033 2013-02-27 Richard Henderson <rth@redhat.com>
21035 * scripts/config.guess: Update from config.git.
21036 * scripts/config.sub: Likewise.
21038 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21040 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21042 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21044 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21046 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21048 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21050 2013-02-26 Roland McGrath <roland@hack.frob.com>
21052 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21053 [$(build-shared = yes].
21055 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21057 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21058 (__mul): Reduce iterations for calculating mantissa.
21060 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21062 (__mpranred): Likewise.
21065 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21066 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21068 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21070 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21071 Define __attribute__.
21073 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21075 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21077 * posix/regex_internal.h (__attribute): Remove.
21078 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21079 (re_string_context_at): Likewise.
21080 (bitset_not): Use __attribute__ and mark function as possibly
21082 (bitset_merge): Likewise.
21083 (bitset_mask): Likewise.
21084 (re_string_char_size_at): Likewise.
21085 (re_string_wchar_at): Likewise.
21086 (re_string_elem_size_at): Likewise.
21088 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21090 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21094 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21098 (denorm): Likewise.
21099 (__dbl_mp): Likewise.
21100 (add_magnitudes): Likewise.
21101 (sub_magnitudes): Likewise.
21105 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21108 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21111 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21115 up changes with default code.
21116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21119 2013-02-24 Allan McRae <allan@archlinux.org>
21121 * manual/socket.texi (The Internet Namespace): Order menu items
21122 to match that in the file.
21124 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21125 node listing of the info page menu.
21127 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21130 * sysdeps/i386/bp-asm.h: Remove file.
21131 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21132 (PARMS): Do not use macros from bp-asm.h.
21136 (__mpn_add_n): Do not use BP_SYM
21137 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21139 (PARMS): Do not use macros from bp-asm.h.
21142 (__mpn_addmul_1): Do not use BP_SYM
21143 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21145 (PARMS): Do not use macros from bp-asm.h.
21146 (SIGMSK): Likewise.
21147 (_setjmp): Likewise. Do not use BP_SYM.
21148 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21150 (PARMS): Do not use macros from bp-asm.h.
21151 (SIGMSK): Likewise.
21152 (setjmp): Likewise. Do not use BP_SYM.
21153 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21155 (PARMS): Do not use macros from bp-asm.h.
21156 (__frexp): Do not use BP_SYM.
21158 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21160 (PARMS): Do not use macros from bp-asm.h.
21161 (__frexpf): Do not use BP_SYM.
21162 (frexpf): Likewise.
21163 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21165 (PARMS): Do not use macros from bp-asm.h.
21166 (__frexpl): Do not use BP_SYM.
21167 (frexpl): Likewise.
21168 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21170 (PARMS): Do not use macros from bp-asm.h.
21171 (__remquo): Do not use BP_SYM.
21172 (remquo): Likewise.
21173 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21175 (PARMS): Do not use macros from bp-asm.h.
21176 (__remquof): Do not use BP_SYM.
21177 (remquof): Likewise.
21178 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21180 (PARMS): Do not use macros from bp-asm.h.
21181 (__remquol): Do not use BP_SYM.
21182 (remquol): Likewise.
21183 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21185 (PARMS): Do not use macros from bp-asm.h.
21188 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21189 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21191 (PARMS): Do not use macros from bp-asm.h.
21192 (strlen): Do not use BP_SYM.
21193 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21195 (PARMS): Do not use macros from bp-asm.h.
21199 (__mpn_add_n): Do not use BP_SYM.
21200 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21202 (PARMS): Do not use macros from bp-asm.h.
21205 (__mpn_addmul_1): Do not use BP_SYM.
21206 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21209 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21211 (PARMS): Do not use macros from bp-asm.h.
21214 (__mpn_lshift): Do not use BP_SYM.
21215 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21217 (PARMS): Do not use macros from bp-asm.h.
21221 (memcpy): Likewise. Do not use BP_SYM.
21222 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21223 libc_hidden_def and weak_alias.
21224 (mempcpy): Do not use BP_SYM in weak_alias.
21225 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21227 (PARMS): Do not use macros from bp-asm.h.
21230 [!BZERO_P] (CHR): Likewise.
21231 (memset): Likewise. Do not use BP_SYM.
21232 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21234 (PARMS): Do not use macros from bp-asm.h.
21237 (__mpn_mul_1): Do not use BP_SYM.
21238 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21240 (PARMS): Do not use macros from bp-asm.h.
21243 (__mpn_rshift): Do not use BP_SYM.
21244 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21246 (PARMS): Do not use macros from bp-asm.h.
21249 (strchr): Likewise. Do not use BP_SYM.
21250 (index): Do not use BP_SYM in weak_alias.
21251 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21253 (PARMS): Do not use macros from bp-asm.h.
21256 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21257 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21259 (PARMS): Do not use macros from bp-asm.h.
21260 (strlen): Do not use BP_SYM.
21261 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21263 (PARMS): Do not use macros from bp-asm.h.
21267 (__mpn_sub_n): Do not use BP_SYM.
21268 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21270 (PARMS): Do not use macros from bp-asm.h.
21273 (__mpn_submul_1): Do not use BP_SYM.
21274 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21276 (PARMS): Do not use macros from bp-asm.h.
21280 (__mpn_add_n): Do not use BP_SYM.
21281 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21284 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21286 (PARMS): Do not use macros from bp-asm.h.
21289 (memcmp): Do not use BP_SYM.
21290 (bcmp): Do not use BP_SYM in weak_alias.
21291 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21293 (PARMS): Do not use macros from bp-asm.h.
21297 (memcpy): Likewise. Do not use BP_SYM.
21298 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21300 (PARMS): Do not use macros from bp-asm.h.
21304 (memmove): Likewise. Do not use BP_SYM.
21305 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21307 (PARMS): Do not use macros from bp-asm.h.
21311 (__mempcpy): Likewise. Do not use BP_SYM.
21312 (mempcpy): Do not use BP_SYM in weak_alias.
21313 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21315 (PARMS): Do not use macros from bp-asm.h.
21318 [!BZERO_P] (CHR): Likewise.
21319 (memset): Likewise. Do not use BP_SYM.
21320 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21322 (PARMS): Do not use macros from bp-asm.h.
21324 (strcmp): Do not use BP_SYM.
21325 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21327 (PARMS): Do not use macros from bp-asm.h.
21330 [USE_AS_STRTOK_R] (SAVE): Likewise.
21331 (FUNCTION): Likewise. Do not use BP_SYM.
21332 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21334 (strtok_r): Likewise.
21335 (__GI___strtok_r): Likewise.
21336 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21337 (PARMS): Do not use macros from bp-asm.h.
21340 (__mpn_lshift): Do not use BP_SYM.
21341 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21342 (PARMS): Do not use macros from bp-asm.h.
21345 (__memchr): Do not use BP_SYM.
21346 (memchr): Do not use BP_SYM in weak_alias.
21347 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21348 (PARMS): Do not use macros from bp-asm.h.
21351 (memcmp): Do not use BP_SYM.
21352 (bcmp): Do not use BP_SYM in weak_alias.
21353 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21354 (PARMS): Do not use macros from bp-asm.h.
21357 (__mpn_mul_1): Do not use BP_SYM.
21358 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21360 (PARMS): Do not use macros from bp-asm.h.
21363 (__rawmemchr): Do not use BP_SYM.
21364 (rawmemchr): Do not use BP_SYM in weak_alias.
21365 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21366 (PARMS): Do not use macros from bp-asm.h.
21369 (__mpn_rshift): Do not use BP_SYM.
21370 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21371 (PARMS): Do not use macros from bp-asm.h.
21372 (SIGMSK): Likewise.
21373 (__sigsetjmp): Likewise. Do not use BP_SYM.
21374 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21375 (_start): Do not use BP_SYM.
21376 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21377 (PARMS): Do not use macros from bp-asm.h.
21380 (__stpcpy): Likewise. Do not use BP_SYM.
21381 (stpcpy): Do not use BP_SYM in weak_alias.
21382 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21384 (PARMS): Do not use macros from bp-asm.h.
21388 (__stpncpy): Likewise. Do not use BP_SYM.
21389 (stpncpy): Do not use BP_SYM in weak_alias.
21390 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21391 (PARMS): Do not use macros from bp-asm.h.
21394 (strchr): Likewise. Do not use BP_SYM.
21395 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21397 (PARMS): Do not use macros from bp-asm.h.
21400 (__strchrnul): Likewise. Do not use BP_SYM.
21401 (strchrnul): Do not use BP_SYM in weak_alias.
21402 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21404 (PARMS): Do not use macros from bp-asm.h.
21406 (strcspn): Do not use BP_SYM.
21407 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21409 (PARMS): Do not use macros from bp-asm.h.
21412 (strpbrk): Likewise. Do not use BP_SYM.
21413 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21415 (PARMS): Do not use macros from bp-asm.h.
21418 (strrchr): Likewise. Do not use BP_SYM.
21419 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21420 (PARMS): Do not use macros from bp-asm.h.
21422 (strspn): Do not use BP_SYM.
21423 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21424 (PARMS): Do not use macros from bp-asm.h.
21428 (FUNCTION): Likewise. Do not use BP_SYM.
21429 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21431 (strtok_r): Likewise.
21432 (__GI___strtok_r): Likewise.
21433 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21434 (PARMS): Do not use macros from bp-asm.h.
21438 (__mpn_sub_n): Do not use BP_SYM.
21439 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21441 (PARMS): Do not use macros from bp-asm.h.
21444 (__mpn_submul_1): Do not use BP_SYM.
21445 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21447 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21449 (PARMS): Do not use macros from bp-asm.h.
21454 (__clone): Do not use BP_SYM.
21455 (clone): Do not use BP_SYM in weak_alias.
21456 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21458 (PARMS): Do not use macros from bp-asm.h.
21460 (__mmap64): Do not use BP_SYM.
21461 (mmap64): Do not use BP_SYM in weak_alias.
21462 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21463 <bp-sym.h> and <bp-asm.h>.
21464 (PARMS): Do not use macros from bp-asm.h.
21465 (__posix_fadvise64_l64): Do not use BP_SYM.
21466 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21467 (PARMS): Do not use macros from bp-asm.h.
21469 (semtimedop): Do not use BP_SYM.
21470 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21473 2013-02-21 Allan McRae <allan@archlinux.org>
21475 * manual/message.texi (Charset conversion in gettext):
21476 Move @end statement to beginning of line.
21478 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21485 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21486 (denorm): Likewise.
21487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21490 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21492 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21493 tail-call to the resolved function if pltexit isn't needed.
21495 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21498 or Y being zero as being unlikely.
21499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21502 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21504 * manual/nss.texi (System Databases and Name Service Switch):
21505 Remove frobnicate @pxref.
21507 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21509 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21510 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21512 2013-02-20 Petr Machata <pmachata@redhat.com>
21514 * elf/elf.h (R_ARM_TARGET1): New macro.
21515 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21516 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21517 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21518 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21519 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21520 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21521 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21522 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21523 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21524 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21525 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21526 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21527 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21528 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21529 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21530 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21531 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21532 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21533 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21534 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21535 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21536 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21537 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21538 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21539 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21540 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21541 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21542 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21543 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21544 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21545 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21546 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21547 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21548 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21549 (R_ARM_THM_GOT_BREL12): Likewise.
21550 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21551 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21552 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21553 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21554 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21555 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21556 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21557 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21558 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21560 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21562 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21563 __attribute_used__ to __attribute__ ((unused)).
21565 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21567 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21570 comment formatting.
21571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21573 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21576 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21578 (ENTER): Remove both macro definitions.
21580 (CHECK_BOUNDS_LOW): Likewise.
21581 (CHECK_BOUNDS_HIGH): Likewise.
21582 (CHECK_BOUNDS_BOTH): Likewise.
21583 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21584 (RETURN_BOUNDED_POINTER): Likewise.
21585 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21586 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21587 (POP_ERRNO_LOCATION_RETURN): Likewise.
21588 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21589 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21590 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21592 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21593 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21594 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21595 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21596 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21597 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21598 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21599 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21600 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21601 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21602 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21603 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21604 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21605 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21607 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21608 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21610 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21611 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21612 * sysdeps/i386/i586/memset.S (memset): Likewise.
21613 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21614 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21615 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21617 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21618 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21619 Change uses of L(2) to L(out).
21620 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21621 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21622 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21623 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21624 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21626 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21627 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21629 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21630 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21631 (RETURN): Do not use macro LEAVE.
21632 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21633 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21634 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21635 * sysdeps/i386/i686/memset.S (memset): Likewise.
21636 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21637 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21638 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21639 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21641 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21642 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21643 L(1_2) and L(1_3) into L(1).
21644 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21645 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21646 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21647 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21648 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21649 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21650 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21651 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21652 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21654 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21655 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21656 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21657 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21658 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21659 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21660 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21661 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21662 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21663 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21664 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21665 * sysdeps/i386/strspn.S (strspn): Likewise.
21666 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21668 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21669 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21670 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21671 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21672 L(1_3) into L(1_1).
21673 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21674 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21675 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21677 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21679 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21681 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21684 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21686 * math/atest-exp.c (exp_mpn): Remove ROUND.
21687 * math/atest-exp2.c (exp_mpn): Likewise.
21688 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21690 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21691 * stdlib/tst-tls-atexit-lib.c: Likewise.
21692 * stdlib/tst-tls-atexit.c: Likewise.
21694 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21696 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21697 and __attribute_alloc_size__.
21699 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21701 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21702 __attribute_alloc_size__.
21703 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21704 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21706 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21708 * include/programs/xmalloc.h: New file.
21709 * catgets/gencat.c: Include it.
21710 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21711 * elf/pldd.c: Likewise.
21712 * iconv/iconv_charmap.c: Likewise.
21713 * iconv/iconvconfig.c: Likewise.
21714 * iconv/strtab.c: Likewise.
21715 * locale/programs/locale.c: Likewise.
21716 * locale/programs/localedef.h: Likewise.
21717 * locale/programs/simple-hash.c: Likewise.
21718 * nscd/nscd.h: Likewise.
21719 * nss/makedb.c: Likewise.
21720 * sysdeps/generic/ldconfig.h: Likewise.
21722 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21724 * Versions.def: Add GLIBC_2.18.
21725 * include/link.h (struct link_map): New member l_tls_dtor_count.
21726 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21727 (__call_tls_dtors): Likewise.
21728 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21729 __cxa_thread_atexit_impl.
21730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21738 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21746 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21747 (tests): Add test case tst-tls-atexit.
21748 (modules-names): Add shared library for tst-tls-atexit.
21749 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21750 (GLIBC_PRIVATE): Add __call_tls_dtors.
21751 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21753 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21754 * stdlib/tst-tls-atexit.c: New test case.
21755 * stdlib/tst-tls-atexit-lib.c: New test case.
21757 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21759 * elf/Versions (ld): Add _dl_find_dso_for_object.
21760 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21761 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21762 (dl_open_worker): Use _dl_find_dso_for_object.
21763 * elf/dl-sym.c (do_sym): Likewise.
21764 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21766 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21768 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21769 Syntactic changes only.
21770 (_dl_runtime_profile): Do a tail-call to the resolved function.
21772 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21775 * sysdeps/x86_64/bp-asm.h: Remove file.
21776 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21777 <bp-sym.h> and <bp-asm.h>.
21778 (__clone): Do not use BP_SYM.
21779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21780 <bp-sym.h> and <bp-asm.h>.
21781 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21782 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21784 (_setjmp): Do not use BP_SYM.
21785 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21787 (setjmp): Do not use BP_SYM.
21788 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21790 (mempcpy): Do not use BP_SYM in weak_alias.
21791 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21793 (strchr): Do not use BP_SYM.
21794 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21796 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21797 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21798 (_start): Do not use BP_SYM.
21799 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21801 (strcat): Do not use BP_SYM.
21802 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21804 (STRCMP): Do not use BP_SYM.
21805 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21807 (STRCPY): Do not use BP_SYM.
21808 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21810 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21812 (FUNCTION): Do not use BP_SYM.
21813 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21815 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21817 2013-02-17 Andreas Jaeger <aj@suse.de>
21819 * time/Versions: Sort entries.
21820 * string/Versions: Likewise.
21821 * resolv/Versions: Likewise.
21822 * posix/Versions: Likewise.
21823 * iconv/Versions: Likewise.
21824 * elf/Versions: Likewise.
21825 * wcsmbs/Versions: Likewise.
21827 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21829 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21830 loop termination condition.
21832 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21833 variable to calculate EZ.
21836 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21837 the lower precision input.
21839 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21842 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21843 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21844 (run-via-rtld-prefix): Do not handle %-bp tests.
21845 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21846 (all-object-suffixes): Remove .ob.
21847 (bppfx): Remove variable.
21848 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21849 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21850 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21851 [$(build-bounded) = yes] (libtype.ob): Likewise.
21852 * Makerules (elide-routines.ob): Remove variable.
21853 (do-tests-clean): Do not handle *-bp.out.
21854 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21855 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21856 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21857 (tests): Do not include $(tests-bp.out).
21858 (xtests): Do not include $(xtests-bp.out).
21859 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21860 [$(build-bounded) = yes] ($(addprefix
21861 $(objpfx),$(binaries-bounded))): Remove rule.
21862 ($(objpfx)%-bp.out): Remove rule.
21863 * config.make.in (build-bounded): Remove variable.
21864 * crypt/Makefile [$(build-bounded) = yes]
21865 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21866 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21867 append to variable.
21868 [$(build-bounded) = yes] (install-lib): Likewise.
21869 [$(build-bounded) = yes] (generated): Likewise.
21870 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21872 * intl/Makefile [$(build-bounded) = yes]
21873 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21874 * math/Makefile [$(build-bounded) = yes]
21875 ($(tests:%=$(objpfx)%-bp): Likewise.
21876 * misc/Makefile [$(build-bounded) = yes]
21877 ($(objpfx)tst-tsearch-bp): Likewise.
21878 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21879 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21881 * string/Makefile (o-objects.ob): Remove variable.
21882 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21883 (CFLAGS-.ob): Remove variable.
21884 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21885 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21886 both definitions of variable.
21887 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21888 (ASFLAGS-.ob): Remove variable.
21890 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21893 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21894 Remove __BOUNDED_POINTERS__ from condition.
21895 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21896 * string/bits/string2.h [!__NO_STRING_INLINES &&
21897 !__BOUNDED_POINTERS__]: Likewise.
21898 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21900 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21901 Remove conditional code.
21902 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21903 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21904 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21908 * csu/libc-start.c: Do not include <bp-sym.h>.
21909 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21910 * elf/dl-open.c: Do not include <bp-sym.h>.
21911 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21912 * math/fegetenv.c: Do not include <bp-sym.h>.
21913 (fegetenv): Do not use BP_SYM in versioned symbols.
21914 * nptl/sysdeps/pthread/bits/libc-lockP.h
21915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21918 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21920 (__pthread_mutex_destroy): Likewise.
21921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21922 (__pthread_mutex_lock): Likewise.
21923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21924 (__pthread_mutex_trylock): Likewise.
21925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21926 (__pthread_mutex_unlock): Likewise.
21927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21928 (__pthread_mutexattr_init): Likewise.
21929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21930 (__pthread_mutexattr_destroy): Likewise.
21931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21932 (__pthread_mutexattr_settype): Likewise.
21933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21934 (__pthread_rwlock_init): Likewise.
21935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21936 (__pthread_rwlock_destroy): Likewise.
21937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21938 (__pthread_rwlock_rdlock): Likewise.
21939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21940 (__pthread_rwlock_tryrdlock): Likewise.
21941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21942 (__pthread_rwlock_wrlock): Likewise.
21943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21944 (__pthread_rwlock_trywrlock): Likewise.
21945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21946 (__pthread_rwlock_unlock): Likewise.
21947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21948 (__pthread_key_create): Likewise.
21949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21950 (__pthread_setspecific): Likewise.
21951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21952 (__pthread_getspecific): Likewise.
21953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21956 (_pthread_cleanup_push_defer): Likewise.
21957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21958 (_pthread_cleanup_pop_restore): Likewise.
21959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21960 (pthread_setcancelstate): Likewise.
21961 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21963 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21964 (memchr): Do not use BP_SYM in weak_alias.
21965 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21966 (fegetenv): Do not use BP_SYM in versioned symbols.
21967 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21968 (fesetenv): Do not use BP_SYM in versioned symbols.
21969 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21970 (feupdateenv): Do not use BP_SYM in versioned symbols.
21971 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21972 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21973 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21974 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21975 (open64): Do not use BP_SYM in weak_alias.
21976 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21977 (fegetenv): Do not use BP_SYM in versioned symbols.
21978 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21979 (fesetenv): Do not use BP_SYM in versioned symbols.
21980 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21981 (feupdateenv): Do not use BP_SYM in versioned symbols.
21982 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21983 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21984 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21985 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21986 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21987 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21988 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21990 (__libc_start_main): Do not use BP_SYM.
21992 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21995 redundant return line.
21997 (denorm): Likewise.
21998 (dbl_mp): Likewise.
21999 (sub_magnitudes): Likewise.
22005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22007 (denorm): Likewise.
22008 (dbl_mp): Likewise.
22009 (sub_magnitudes): Likewise.
22016 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22018 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22019 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22022 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22023 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22025 of __mul for squares.
22026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22030 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22033 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22036 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22038 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22039 prototype or function definition. Rename ubp_* variables and
22040 parameters. Remove argv definitions conditional on
22041 [__BOUNDED_POINTERS__].
22042 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22043 * elf/dl-runtime.c (_dl_fixup): Likewise.
22044 * include/set-hooks.h (RUN_HOOK): Likewise.
22045 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22047 * string/strcpy.c (strcpy): Do not use __unbounded.
22048 * sysdeps/generic/frame.h (struct layout): Likewise.
22049 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22050 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22051 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22052 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22053 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22054 (__backtrace): Likewise.
22055 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22057 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22058 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22059 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22061 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22062 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22063 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22064 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22065 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22066 Do not use __unbounded.
22067 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22068 Rename __unboundedrlimits parameter to rlimits in prototype.
22069 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22070 Do not use __unbounded.
22071 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22072 not use __ptrvalue.
22073 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22074 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22075 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22076 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22077 __ptrvalue or __unbounded.
22078 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22079 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22081 (__new_msgctl): Do not use __ptrvalue.
22082 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22084 (__libc_msgrcv): Do not use __ptrvalue.
22085 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22086 startup_info): Do not use __unbounded.
22087 (__libc_start_main): Likewise. Rename ubp_* variables and
22088 parameters. Remove argv definitions conditional on
22089 [__BOUNDED_POINTERS__].
22090 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22092 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22094 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22096 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22098 (__new_shmctl): Do not use __ptrvalue.
22099 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22100 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22102 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22103 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22104 (__libc_sigaction): Likewise.
22105 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22106 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22108 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22110 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22112 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22114 * string/mempcpy.c: Implement by calling memcpy.
22116 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22123 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22124 values in the mantissa.
22126 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22127 minimize writes to Z.
22128 (sub_magnitudes): Simplify code a bit.
22130 2013-02-12 Roland McGrath <roland@hack.frob.com>
22132 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22133 from the message. The linker prefixes all warnings with that already.
22135 2013-02-12 Andreas Schwab <schwab@suse.de>
22138 * posix/regexec.c (extend_buffers): Add parameter min_len.
22139 (check_matching): Pass minimum needed length.
22140 (clean_state_log_if_needed): Likewise.
22141 (get_subexp): Likewise.
22142 * posix/Makefile (tests): Add bug-regex34.
22143 (bug-regex34-ENV): Define.
22144 * posix/bug-regex34.c: New file.
22147 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22148 elements compare against the byte sequence of it, not its name.
22149 * posix/Makefile (tests): Add bug-regex35.
22150 (bug-regex35-ENV): Define.
22151 * posix/bug-regex35.c: New file.
22153 2013-02-11 Tom de Vries <tom@codesourcery.com>
22155 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22157 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22158 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22159 (CHECK_EOL): Add undef.
22161 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22163 * bits/stdlib-bsearch.h: New file.
22164 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22165 * stdlib/stdlib.h: Likewise.
22167 2013-02-11 Roland McGrath <roland@hack.frob.com>
22169 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22170 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22172 * manual/search.texi (Array Search Function): Add missing const in
22174 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22175 declaration to use rlim_t.
22176 (Basic Scheduling Functions): Remove erroneous const from
22177 sched_getparam prototype. Remove erroneous * from
22178 sched_get_priority_max and sched_get_priority_min prototypes.
22179 (Resource Usage): Fix summary @comment on vtimes to refer to
22180 sys/vtimes.h rather than vtimes.h.
22181 Add missing *s in vtimes prototype.
22182 (Limits on Resources): Fix ulimit prototype to return long int.
22183 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22184 prototypes to use long int rather than double.
22185 (BSD Random): Fix initstate and setstate to use char *, not void *.
22186 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22187 prototype to make second argument 'struct aiocb64 *const[]'.
22188 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22189 (Status of AIO Operations): Remove erroneous const in aio_return and
22190 aio_return64 prototypes.
22191 (Synchronizing I/O): Fix sync prototype to return void.
22192 * manual/startup.texi (Suboptions): Remove an erroneous const in
22193 getsubopt prototype.
22194 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22195 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22196 use size_t rather than int.
22197 (Scanning All Users): Likewise for getpwent_r.
22198 (Setting Groups): Add missing const to setgroups prototype.
22199 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22200 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22201 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22202 'const void *' rather than 'const char *'.
22203 (Host Address Functions): Likewise for inet_ntop.
22204 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22205 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22206 ssize_t for return value.
22207 (Sending Data): Likewise for send, sendto, sendmsg.
22208 (Socket Option Functions): Add a missing const in setsockopt prototype.
22209 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22210 use wchar_t for the argument.
22211 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22212 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22214 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22215 double/float/long double for second argument.
22216 Fix return types of significand, significandf, significandl.
22217 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22218 argument in fchmod prototype.
22219 (File Owner): Use uid_t and gid_t in fchown prototype.
22220 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22221 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22222 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22223 use 'const struct dirent **' as argument types to CMP function pointer
22225 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22226 (File Times): Fix summary magic @comment for struct utimbuf and utime
22227 to refer to utime.h, not time.h.
22228 * manual/string.texi (Argz Functions): Add missing const in
22229 argz_extract and argz_next prototypes.
22230 (Finding Tokens in a String): Likewise for basename.
22231 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22232 (Copying and Concatenation): Fix typo in wmemmove prototype.
22233 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22234 (Signal Stack): Remove erroneous const in sigstack prototype.
22235 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22237 (Simple Calendar Time): Likewise for stime.
22238 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22240 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22241 say sys/sysctl.h instead.
22242 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22243 and vsyslog prototypes.
22245 2013-02-11 Tom de Vries <tom@codesourcery.com>
22247 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22250 2013-02-11 Roland McGrath <roland@hack.frob.com>
22252 * misc/sys/mman.h: Fix typo in mremap comment.
22254 2013-02-08 Roland McGrath <roland@hack.frob.com>
22256 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22257 the '\0' terminator.
22259 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22262 * debug/segfault.c: Don't include <bp-checks.h>.
22263 * sysdeps/generic/bp-checks.h: Remove file.
22264 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22265 (__GETDENTS): Don't use CHECK_N.
22266 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22267 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22268 (__getgroups): Don't use CHECK_N.
22269 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22270 (setgroups): Don't use CHECK_N.
22271 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22272 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22273 (__libc_msgrcv): Don't use CHECK_N.
22274 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22275 (__libc_msgsnd): Don't use CHECK_N.
22276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22278 (__libc_pread): Don't use CHECK_N.
22279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22280 include <bp-checks.h>.
22281 (__libc_pread64): Don't use CHECK_N.
22282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22283 include <bp-checks.h>.
22284 (__libc_pwrite): Don't use CHECK_N.
22285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22286 include <bp-checks.h>.
22287 (__libc_pwrite64): Don't use CHECK_N.
22288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22290 (__libc_pread): Don't use CHECK_N.
22291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22292 include <bp-checks.h>.
22293 (__libc_pread64): Don't use CHECK_N.
22294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22295 include <bp-checks.h>.
22296 (__libc_pwrite): Don't use CHECK_N.
22297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22298 include <bp-checks.h>.
22299 (__libc_pwrite64): Don't use CHECK_N.
22300 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22301 (do_pread): Don't use CHECK_N.
22302 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22303 (do_pread64): Don't use CHECK_N.
22304 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22305 (do_pwrite): Don't use CHECK_N.
22306 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22307 (do_pwrite64): Don't use CHECK_N.
22308 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22309 (__libc_readv): Don't use CHECK_N.
22310 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22311 (semop): Don't use CHECK_N.
22312 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22314 (semtimedop): Don't use CHECK_N.
22315 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22316 (__libc_pread): Don't use CHECK_N.
22317 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22319 (__libc_pread64): Don't use CHECK_N.
22320 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22322 (__libc_pwrite): Don't use CHECK_N.
22323 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22325 (__libc_pwrite64): Don't use CHECK_N.
22326 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22328 (__libc_msgrcv): Don't use CHECK_N.
22329 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22330 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22331 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22332 (__libc_writev): Don't use CHECK_N.
22334 2013-02-08 Roland McGrath <roland@hack.frob.com>
22336 * string/strcpy.c: Removed unused variable.
22338 * Makeconfig (+sysdep-includes): Define with := rather than =.
22339 Use an existing include/ subdir of each sysdeps dir before it.
22341 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22343 * nscd/connection.c (register_traced_file): Comment function.
22344 [HAVE_INOTIFY] (union __inev): Define.
22345 [HAVE_INOTIFY] (inotify_check_files): New function.
22346 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22347 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22349 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22351 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22353 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22354 loaded if not already and that a failure is permanent.
22356 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22359 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22360 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22362 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22365 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22366 (CHECK_1_NULL_OK): Likewise.
22367 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22368 (__fxstat): Do not use CHECK_1.
22369 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22371 (___fxstat64): Do not use CHECK_1.
22372 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22374 (__fxstatat): Do not use CHECK_1.
22375 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22377 (__fxstatat64): Do not use CHECK_1.
22378 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22380 (__fxstat): Do not use CHECK_1.
22381 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22383 (__fxstatat): Do not use CHECK_1.
22384 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22386 (__getresgid): Do not use CHECK_1.
22387 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22389 (__getresuid): Do not use CHECK_1.
22390 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22392 (__lxstat): Do not use CHECK_1.
22393 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22395 (__old_msgctl): Do not use CHECK_1.
22396 (__new_msgctl): Likewise.
22397 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22399 (__new_setrlimit): Do not use CHECK_1.
22400 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22402 (__old_shmctl): Do not use CHECK_1.
22403 (__new_shmctl): Likewise.
22404 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22406 (__xstat): Do not use CHECK_1.
22407 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22408 (__lxstat): Do not use CHECK_1.
22409 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22411 (___lxstat64): Do not use CHECK_1.
22412 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22413 (__old_msgctl): Do not use CHECK_1.
22414 (__new_msgctl): Likewise.
22415 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22417 (__gettimeofday): Do not use CHECK_1.
22418 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22419 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22420 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22422 (__gettimeofday): Do not use CHECK_1.
22423 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22424 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22425 (__new_shmctl): Do not use CHECK_1.
22426 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22428 (do_sigtimedwait): Do not use CHECK_1.
22429 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22431 (do_sigwaitinfo): Do not use CHECK_1.
22432 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22434 (msgctl): Do not use CHECK_1.
22435 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22437 (shmctl): Do not use CHECK_1.
22438 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22439 (ustat): Do not use CHECK_1.
22440 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22442 (__fxstat): Do not use CHECK_1.
22443 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22445 (__fxstatat): Do not use CHECK_1.
22446 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22448 (__lxstat): Do not use CHECK_1.
22449 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22451 (__xstat): Do not use CHECK_1.
22452 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22453 (__xstat): Do not use CHECK_1.
22454 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22455 (___xstat64): Do not use CHECK_1.
22458 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22460 (CHECK_BOUNDS_HIGH): Likewise.
22461 * string/strcpy.c: Do not include <bp-checks.h>.
22462 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22464 2013-02-07 Roland McGrath <roland@hack.frob.com>
22466 * nscd/nscd-client.h (__nscd_drop_map_ref):
22467 Add __attribute__ ((unused)).
22468 * nis/nss-nisplus.h (niserr2nss): Likewise.
22470 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22471 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22473 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22474 Remove inline keyword.
22475 * include/rounding-mode.h (round_away): Likewise.
22476 * libio/wfileops.c (adjust_wide_data): Likewise.
22477 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22478 (__m128i_strloadu_tolower): Likewise.
22479 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22480 (__m128i_strloadu_tolower): Likewise.
22481 * time/mktime.c (ydhms_diff): Likewise.
22482 * locale/elem-hash.h (elem_hash): Likewise.
22483 * locale/setlocale.c (setdata): Likewise.
22484 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22485 (re_string_wchar_at): Likewise.
22486 (bitset_not, bitset_merge, bitset_mask): Likewise.
22487 [!(__GNUC__ > 3)] (inline): Remove macro.
22488 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22489 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22490 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22491 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22492 * string/memcmp.c (memcmp_bytes): Likewise.
22493 * locale/programs/locarchive.c (compute_hashval): Likewise.
22494 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22495 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22496 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22497 * nss/getent.c (print_rpc, print_protocols): Likewise.
22498 (print_passwd, print_group, print_aliases): Likewise.
22499 * nis/nss-nisplus.h (niserr2nss): Likewise.
22500 * nscd/connections.c (restart_p): Likewise.
22501 Change return type to bool.
22503 2013-02-05 Roland McGrath <roland@hack.frob.com>
22505 * Makeconfig (all-Depend-files): Add existing
22506 $(sorted-subdirs:=/Depend) files.
22507 (all-subdirs): Remove nss.
22508 * sysdeps/unix/inet/Subdirs: Add it here instead.
22509 * hesiod/Depend: New file.
22511 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22512 instead of calling alloca.
22514 * io/lseek.c (__lseek): Rename to __libc_lseek.
22515 Define __lseek as an alias.
22517 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22519 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22521 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22522 else clause and remove check for non-standard endianness.
22524 2013-02-04 David S. Miller <davem@davemloft.net>
22526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22528 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22531 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22532 (__ubp_memchr): Remove prototype.
22533 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22534 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22535 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22536 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22537 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22539 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22540 (__ubp_memchr): Likewise.
22541 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22542 (__ubp_memchr): Likewise.
22543 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22544 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22545 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22546 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22548 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22549 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22550 (__getcwd): Do not use CHECK_STRING.
22551 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22553 (__real_chown): Do not use CHECK_STRING.
22554 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22556 (fchownat): Do not use CHECK_STRING.
22557 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22559 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22561 (__lchown): Do not use CHECK_STRING.
22562 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22563 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22564 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22565 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22567 include <bp-checks.h>.
22568 (truncate64): Do not use CHECK_STRING.
22569 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22571 (__real_chown): Do not use CHECK_STRING.
22572 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22574 (__lchown): Do not use CHECK_STRING.
22575 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22577 (__chown): Do not use CHECK_STRING.
22578 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22580 (truncate64): Do not use CHECK_STRING.
22581 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22583 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22584 (__xmknod): Do not use CHECK_STRING.
22585 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22587 (__xmknodat): Do not use CHECK_STRING.
22588 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22589 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22591 2013-02-04 Andreas Schwab <schwab@suse.de>
22594 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22595 * include/netdb.h: Likewise for h_errno.
22596 * elf/tst-stackguard1.c: Include <tls.h>.
22598 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22600 * elf/link.h (struct link_map): Extend the l_addr comment.
22601 * include/link.h (struct link_map): Likewise.
22603 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22606 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22607 (BOUNDED_1): Remove macro.
22608 * debug/backtrace.c: Don't include <bp-checks.h>.
22609 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22610 (__backtrace): Likewise.
22611 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22613 (__backtrace): Don't use BOUNDED_1.
22614 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22616 (__backtrace): Don't use BOUNDED_1.
22617 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22618 (__backtrace): Don't use BOUNDED_1.
22619 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22620 (shmat): Don't use BOUNDED_N.
22622 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22625 * sysdeps/generic/bp-start.h: Remove file.
22626 * csu/libc-start.c: Don't include <bp-start.h>.
22627 (LIBC_START_MAIN): Set up __environ directly instead of using
22628 INIT_ARGV_and_ENVIRON.
22629 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22633 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22635 (CHECK_FCNTL): Likewise.
22636 (CHECK_N_PAGES): Likewise.
22639 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22641 (CHECK_SIGSET_NULL_OK): Likewise.
22642 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22644 (sigpending): Don't use CHECK_SIGSET.
22645 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22647 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22648 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22650 (do_sigsuspend): Don't use CHECK_SIGSET.
22651 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22653 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22654 (do_sigwait): Don't use CHECK_SIGSET.
22655 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22658 include <bp-checks.h>.
22659 (sigpending): Don't use CHECK_SIGSET.
22660 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22661 include <bp-checks.h>.
22662 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22663 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22665 (sigpending): Don't use CHECK_SIGSET.
22666 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22668 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22671 * sysdeps/generic/bp-semctl.h: Remove file.
22672 * sysdeps/unix/sysv/linux/i386/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/semctl.c: Don't include <bp-checks.h>
22678 (__old_semctl): Don't use CHECK_SEMCTL.
22679 (__new_semctl): Likewise.
22680 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22681 <bp-checks.h> and <bp-semctl.h>.
22682 (__old_semctl): Don't use CHECK_SEMCTL.
22683 (__new_semctl): Likewise.
22684 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22685 <bp-checks.h> and <bp-semctl.h>.
22686 (semctl): Don't use CHECK_SEMCTL.
22689 * Makerules (elide-bp-thunks): Remove variable.
22690 (elide-routines.oS): Don't use $(elide-bp-thunks).
22691 (elide-routines.os): Likewise.
22692 (elide-routines.o): Likewise.
22693 (elide-routines.op): Likewise.
22694 (elide-routines.og): Likewise.
22695 (objects): Don't use $(bp-thunks).
22696 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22698 (common-generated): Do not add s-proto-bp.d.
22699 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22702 Do not generate makefile rules for bounded-pointer thunks.
22703 * sysdeps/generic/bp-thunks.h: Remove file.
22704 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22705 * sysdeps/unix/s-proto-bp.S: Likewise.
22708 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22709 parts of result separately when argument is not close to line from
22710 -i to i and one part of argument is small.
22711 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22712 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22713 * math/libm-test.inc (cacos_test): Add more tests.
22714 (casin_test): Likewise.
22715 (casinh_test): Likewise.
22716 * sysdeps/i386/fpu/libm-test-ulps: Update.
22717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22719 2013-01-31 David S. Miller <davem@davemloft.net>
22721 * po/de.po: Update from translation team.
22723 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22725 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22727 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22729 * configure.in (_AC_PROG_CC_C89): New definition.
22730 * configure: Regenerate.
22732 * configure.in (AC_PROG_CPP): New definition.
22733 * configure: Regenerate.
22735 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22737 * debug/tst-backtrace.h: New file.
22738 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22739 (ret): Remove variable.
22741 (FAIL): Remove macro.
22742 (NO_INLINE): Likewise.
22743 (fn1): Use match function instead of strstr.
22744 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22745 (ret): Remove variable.
22747 (FAIL): Remove macro.
22748 (NO_INLINE): Likewise.
22749 (fn): Use match function instead of strstr.
22750 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22751 (ret): Remove variable.
22753 (FAIL): Remove macro.
22754 (NO_INLINE): Likewise.
22755 (handle_signal): Use match function instead of strstr.
22756 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22757 (ret): Remove variable.
22759 (FAIL): Remove macro.
22760 (NO_INLINE): Likewise.
22761 (handle_signal): Use match function instead of strstr.
22763 2013-01-23 Roland McGrath <roland@hack.frob.com>
22765 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22767 2013-01-23 David S. Miller <davem@davemloft.net>
22769 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22770 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22771 argument of CAS if possible.
22772 * sysdeps/sparc/sparc64/bits/atomic.h
22773 (__arch_compare_and_exchange_val_32_acq): Likewise.
22774 (__arch_compare_and_exchange_val_64_acq): Likewise.
22776 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22778 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22779 * sysdeps/posix/ulimit.c: ... this.
22780 Include <limits.h>.
22781 * sysdeps/unix/bsd/ulimit.c: Remove file.
22783 2013-01-23 Adam Conrad <adconrad@0c3.net>
22785 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22786 (LDFLAGS-tst-array5): Likewise.
22788 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22791 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22792 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22793 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22794 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22796 2013-01-21 David S. Miller <davem@davemloft.net>
22798 * sysdeps/sparc/backtrace.c: New file.
22799 * sysdeps/sparc/sparc32/backtrace.h: New file.
22800 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22801 * sysdeps/sparc/sparc64/backtrace.h: New file.
22802 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22803 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22806 2013-01-21 Andreas Schwab <schwab@suse.de>
22809 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22812 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22818 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22819 Mark Mitchell <mark@codesourcery.com>
22820 Tom de Vries <tom@codesourcery.com>
22821 Paul Pluzhnikov <ppluzhnikov@google.com>
22823 * debug/tst-backtrace2.c: New file.
22824 * debug/tst-backtrace3.c: Likewise.
22825 * debug/tst-backtrace4.c: Likewise.
22826 * debug/tst-backtrace5.c: Likewise.
22827 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22828 (CFLAGS-tst-backtrace3.c): Likewise.
22829 (CFLAGS-tst-backtrace4.c): Likewise.
22830 (CFLAGS-tst-backtrace5.c): Likewise.
22831 (LDFLAGS-tst-backtrace2): Likewise.
22832 (LDFLAGS-tst-backtrace3): Likewise.
22833 (LDFLAGS-tst-backtrace4): Likewise.
22834 (LDFLAGS-tst-backtrace5): Likewise.
22835 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22836 tst-backtrace4 and tst-backtrace5.
22838 2013-01-18 Anton Blanchard <anton@samba.org>
22839 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22841 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22842 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22843 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22844 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22846 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22847 "+r" and remove output regs list as redundant. Add explicit inline
22848 asm to specify register of return val to work around compiler codegen
22849 bug. Remove (int) cast on return value. Add return type parameter to
22850 use in macro so that this macro does not truncate return value for
22852 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22853 pass to INTERNAL_VSYSCALL_NCS.
22854 (INLINE_VSYSCALL): Add 'long int' as return type to
22855 INTERNAL_VSYSCALL_NCS macro invocation.
22856 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22857 INTERNAL_VSYSCALL_NCS macro invocation.
22858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22860 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22863 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22864 Fix application of SIMD FP exception mask.
22866 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22867 mp_no from a power of two.
22868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22869 __mpexp_twomm1. Use __pow_mp.
22871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22874 2013-01-17 David S. Miller <davem@davemloft.net>
22876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22878 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22881 * include/complex.h: Condition contents on [!_COMPLEX_H].
22882 (__kernel_casinhf): New prototype.
22883 (__kernel_casinh): Likewise.
22884 (__kernel_casinhl): Likewise.
22885 * math/Makefile (libm_calls): Add k_casinh.
22886 * math/k_casinh.c: New file.
22887 * math/k_casinhf.c: Likewise.
22888 * math/k_casinhl.c: Likewise.
22889 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22890 finite nonzero arguments.
22891 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22892 finite nonzero arguments.
22893 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22894 finite nonzero arguments.
22895 * math/s_casinh.c: Do not include <float.h>.
22896 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22897 * math/s_casinhf.c: Do not include <float.h>.
22898 (__casinhf): Move code for finite nonzero arguments to
22900 * math/s_casinhl.c: Do not include <float.h>.
22901 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22903 (__casinhl): Move code for finite nonzero arguments to
22905 * math/libm-test.inc (cacos_test): Add more tests.
22906 * sysdeps/i386/fpu/libm-test-ulps: Update.
22907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22909 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22911 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22912 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22913 [!HAVE_MREMAP]: Remove [defined linux] case.
22914 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22916 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22918 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22920 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22922 * elf/elf.h (R_386_SIZE32): New relocation.
22923 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22925 (elf_machine_rela): Likewise.
22926 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22927 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22929 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22931 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22932 (FP_FAST_FMA): Do not define.
22933 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22934 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22935 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22936 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22937 !_SOFT_FLOAT]: Likewise.
22938 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22939 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22941 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22942 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22943 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22944 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22945 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22946 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22949 2013-01-16 Andreas Schwab <schwab@suse.de>
22952 * include/stdlib.h (__mktemp): Add declaration.
22953 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22954 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22956 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22958 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22960 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22961 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22962 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22964 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22965 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22967 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22969 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22970 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22971 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22973 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22974 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22976 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22978 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22980 2013-01-15 David S. Miller <davem@davemloft.net>
22982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22983 trunc{,f} to libm-sysdep_routes.
22984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22994 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22995 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22996 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22997 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22998 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22999 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23002 nearbyint{,f} to libm-sysdep_routes.
23003 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23014 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23016 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23017 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23019 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23020 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23021 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23023 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23024 libc_feholdexcept and libc_fesetenv.
23026 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23028 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23030 2013-01-14 David S. Miller <davem@davemloft.net>
23032 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23033 (SPARC_ASM_VIS2_IFUNC): Likewise.
23034 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23036 use of 'siam' instruction.
23037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23070 routines to libm-sysdep_routines.
23071 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23074 fdim/fdimf to libm-sysdep_routines.
23075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23083 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23084 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23085 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23086 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23088 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23090 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23091 to optimize copies.
23093 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23098 local variable MPTWO.
23099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23102 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23104 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23107 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23109 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23111 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23113 * manual/pattern.texi (glob_t): Document gl_flags.
23114 (glob64_t): Likewise.
23116 2013-01-11 David S. Miller <davem@davemloft.net>
23118 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23119 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23120 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23121 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23122 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23123 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23124 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23125 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23126 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23127 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23128 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23129 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23130 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23132 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23133 sparc V9 rather than using V8 code.
23134 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23135 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23137 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23139 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23142 2013-01-11 Roland McGrath <roland@hack.frob.com>
23144 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23145 not in the main loop.
23146 * configure: Regenerated.
23148 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23150 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23151 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23153 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23154 [!__GLIBC_HAVE_LONG_LONG] case.
23155 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23156 condition to just #else.
23157 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23158 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23159 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23160 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23162 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23163 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23164 #elif condition to just #else.
23165 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23166 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23167 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23168 #elif condition to just #else.
23170 2013-01-11 Steve Ellcey <sellcey@mips.com>
23172 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23173 (EF_MIPS_ARCH_64): Fix value.
23174 (EF_MIPS_ARCH_32R2): New.
23175 (EF_MIPS_ARCH_64R2): New.
23177 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23179 * Makeconfig (+link-pie-before-libc): New.
23180 (+link-pie-after-libc): Likewise.
23181 (+link-pie-tests): Likewise.
23182 (+link-pie): Rewritten.
23183 (link-before-libc): Remove $(config-LDFLAGS).
23184 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23185 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23186 (config-LDFLAGS): Renamed to ...
23187 (rtld-LDFLAGS): This.
23188 (rtld-tests-LDFLAGS): New macro.
23189 (link-libc-rpath-link): Likewise.
23190 (link-libc-tests-rpath-link): Likewise.
23191 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23192 (link-libc): Prepand $(link-libc-rpath-link).
23193 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23194 (test-program-prefix): New macro.
23195 (test-via-rtld-prefix): Likewise.
23196 (test-program-cmd): Likewise.
23197 (host-test-program-cmd): Likewise.
23198 * Makefile ($(common-objpfx)testrun.sh): Replace
23199 $(run-program-prefix) with $(test-program-prefix).
23200 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23202 ($(common-objpfx)shlib.lds): Likewise.
23203 (build-module-helper): Likewise.
23204 ($(common-objpfx)format.lds): Likewise.
23205 * Rules (binaries-pie-tests): New.
23206 (binaries-pie-notests): Likewise.
23207 (binaries-pie): Rewritten.
23208 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23209 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23210 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23211 (make-test-out): Replace $(host-built-program-cmd) with
23212 $(host-test-program-cmd).
23213 * config.make.in (build-hardcoded-path-in-tests): New variable.
23214 * configure.in (--enable-hardcoded-path-in-tests): New configure
23216 (hardcoded_path_in_tests): New AC_SUBST.
23217 * configure: Regenerated.
23218 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23219 $(built-program-cmd) with $(test-program-cmd).
23220 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23221 (test_program_cmd): This.
23222 * elf/Makefile ($(objpfx)order.out): Run test with
23223 $(test-program-prefix).
23224 ($(objpfx)order2.out): Likewise.
23225 ($(objpfx)tst-initorder.out): Likewise.
23226 ($(objpfx)tst-initorder2.out): Likewise.
23227 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23228 $(test-program-cmd).
23229 ($(objpfx)tst-array1-static.out): Likewise.
23230 ($(objpfx)tst-array2.out): Likewise.
23231 ($(objpfx)tst-array3.out): Likewise.
23232 ($(objpfx)tst-array4.out): Likewise.
23233 ($(objpfx)tst-array5.out): Likewise.
23234 ($(objpfx)tst-array5-static.out): Likewise.
23235 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23236 $(test-program-cmd).
23237 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23238 $(run-program-prefix) with $(test-program-prefix).
23239 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23240 (test_program_prefix): This.
23241 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23242 $(run-program-prefix) with $(test-program-prefix).
23243 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23244 (test_program_prefix): This.
23245 * iconvdata/tst-tables.sh: Likewise.
23246 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23247 $(run-program-prefix) with $(test-program-prefix).
23248 ($(objpfx)tst-translit.out): Likewise.
23249 ($(objpfx)tst-gettext2.out): Likewise.
23250 ($(objpfx)tst-gettext4.out): Likewise.
23251 ($(objpfx)tst-gettext6.out): Likewise.
23252 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23253 (test_program_prefix): This.
23254 * intl/tst-gettext2.sh: Likewise.
23255 * intl/tst-gettext4.sh Likewise.
23256 * intl/tst-gettext6.sh: Likewise.
23257 * intl/tst-translit.sh: Likewise.
23258 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23259 with $(test-program-cmd).
23260 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23261 $(run-program-prefix) with $(test-program-prefix).
23262 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23263 (test_program_prefix): This.
23264 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23265 $(run-program-prefix) with $(test-program-prefix).
23266 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23267 (test_program_prefix): This.
23268 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23269 * posix/Makefile ($(objpfx)globtest.out): Replace
23270 $(run-via-rtld-prefix) and $(test-wrapper) with
23271 $(test-program-prefix) and $(test-via-rtld-prefix).
23272 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23273 $(test-program-prefix).
23274 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23275 $(host-test-program-cmd).
23276 (tst-spawn-ARGS): Likewise.
23277 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23278 $(test-program-prefix).
23279 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23280 (test_via_rtld_prefix): This.
23281 (test_wrapper): Renamed to ...
23282 (test_program_prefix): This.
23283 (run_program_prefix): Replaced by test_program_prefix.
23284 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23285 (test_program_prefix): This.
23286 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23287 with $(host-test-program-cmd).
23288 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23289 $(run-program-prefix) with $(test-program-prefix).
23290 ($(objpfx)tst-printf.out): Likewise.
23291 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23292 $(test-program-cmd).
23293 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23294 (test_program_prefix): This.
23295 * stdio-common/tst-unbputc.sh: Likewise.
23296 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23297 $(run-program-prefix) with $(test-program-prefix).
23298 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23299 (test_program_prefix): This.
23300 * string/Makefile ($(objpfx)tst-svc.out): Replace
23301 $(built-program-cmd) with $(test-program-cmd).
23303 2013-01-11 Andreas Jaeger <aj@suse.de>
23306 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23307 value. Sync with Linux 3.7.
23309 2013-01-10 David S. Miller <davem@davemloft.net>
23311 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23312 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23313 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23315 2013-01-10 Roland McGrath <roland@hack.frob.com>
23317 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23319 * configure: Regenerated.
23321 2013-01-10 David S. Miller <davem@davemloft.net>
23323 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23324 sparc V9 rather than using V8 code.
23325 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23326 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23328 2013-01-10 Roland McGrath <roland@hack.frob.com>
23330 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23331 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23332 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23333 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23334 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23335 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23336 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23337 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23338 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23339 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23340 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23341 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23342 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23343 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23344 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23345 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23346 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23347 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23348 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23349 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23350 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23351 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23352 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23353 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23354 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23355 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23356 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23358 2013-01-10 David S. Miller <davem@davemloft.net>
23360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23362 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23364 * posix/Makefile (tests-static): New variable.
23365 (tests): Add $(tests-static).
23366 (tst-exec-static-ARGS): New variable.
23367 (tst-spawn-static-ARGS): Likewise.
23368 * posix/tst-exec-static.c: New file.
23369 * posix/tst-spawn-static.c: Likewise.
23370 * posix/tst-exec.c: Support run directly.
23371 * posix/tst-spawn.c: Likewise.
23373 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23375 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23377 * math/bits/mathcalls.h (llrint): Likewise.
23378 (llround): Likewise.
23379 * stdlib/stdlib.h (struct drand48_data): Likewise.
23380 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23381 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23382 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23384 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23386 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23387 (elf_greg_t): Likewise.
23388 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23389 (__jmp_buf): Likewise.
23390 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23392 (llrint): Likewise, for all definitions.
23393 (llrintl): Likewise.
23395 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23396 Remove [__GNUC__] condition.
23397 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23398 condition to just [__USE_ISOC99].
23399 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23401 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23404 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23405 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23407 (_POSIX_V6_ILP32_OFF32): Likewise.
23408 (_XBS5_ILP32_OFF32): Likewise.
23409 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23410 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23412 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23414 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23417 doubles __mpexp_twomm1. Adjust usage.
23418 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23421 2013-01-10 Andreas Schwab <schwab@suse.de>
23424 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23425 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23427 2013-01-09 David S. Miller <davem@davemloft.net>
23430 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23431 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23432 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23433 (TCP_FASTOPEN): Define.
23434 (tcp_repair_opt): New structure.
23435 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23437 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23438 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23439 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23440 (tcp_cookie_transactions): New structure.
23442 2013-01-09 Anton Blanchard <anton@samba.org>
23444 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23445 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23446 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23447 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23449 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23451 * include/features.h (__USE_ANSI): Remove.
23453 2013-01-09 Roland McGrath <roland@hack.frob.com>
23455 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23457 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23459 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23461 * sysdeps/s390/fpu/libm-test-ulps: Update.
23463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23465 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23469 (denorm): Likewise.
23470 (__mp_dbl): Likewise.
23471 (__dbl_mp): Likewise.
23472 (add_magnitudes): Likewise.
23473 (sub_magnitudes): Likewise.
23479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23483 (denorm): Likewise.
23484 (__mp_dbl): Likewise.
23485 (__dbl_mp): Likewise.
23486 (add_magnitudes): Likewise.
23487 (sub_magnitudes): Likewise.
23493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23497 (denorm): Likewise.
23498 (__mp_dbl): Likewise.
23499 (__dbl_mp): Likewise.
23500 (add_magnitudes): Likewise.
23501 (sub_magnitudes): Likewise.
23508 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23510 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23511 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23512 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23513 2 && __USE_EXTERN_INLINES]: Likewise.
23515 2013-01-08 Andreas Jaeger <aj@suse.de>
23518 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23520 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23521 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23523 2013-01-07 Anton Blanchard <anton@samba.org>
23525 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23526 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23527 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23528 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23529 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23530 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23531 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23532 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23534 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23535 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23536 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23538 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23539 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23540 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23541 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23542 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23543 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23544 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23545 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23546 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23548 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23549 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23550 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23551 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23552 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23554 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23555 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23557 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23558 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23559 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23560 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23561 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23562 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23563 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23564 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23565 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23566 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23567 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23569 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23571 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23572 (__MALLOC_PMT): Likewise.
23573 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23574 [__GNUC__], only on [_LIBC].
23575 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23576 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23577 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23578 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23579 forward declaration.
23580 (realloc_hook_ini): Likewise.
23581 (memalign_hook_ini): Likewise.
23582 (__libc_memalign): Do not use __MALLOC_PMT in variable
23584 (__libc_valloc): Likewise.
23585 (__libc_pvalloc): Likewise.
23586 (__libc_calloc): Likewise.
23587 (__posix_memalign): Likewise.
23590 * math/s_casinh.c: Include <float.h>.
23591 (__casinh): Do not do computation with squaring and square root
23592 for large arguments.
23593 * math/s_casinhf.c: Include <float.h>.
23594 (__casinhf): Do not do computation with squaring and square root
23595 for large arguments.
23596 * math/s_casinhl.c: Include <float.h>.
23597 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23598 (__casinhl): Do not do computation with squaring and square root
23599 for large arguments.
23600 * math/libm-test.inc (casin_test): Add more tests.
23601 (casinh_test): Likewise.
23602 * sysdeps/i386/fpu/libm-test-ulps: Update.
23603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23605 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23607 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23608 (__x86_64_raw_data_cache_size): Likewise.
23609 (__x86_64_data_cache_size_half): Likewise.
23610 (__x86_64_raw_data_cache_size_half): Likewise.
23611 (__x86_64_shared_cache_size): Likewise.
23612 (__x86_64_raw_shared_cache_size): Likewise.
23613 (__x86_64_shared_cache_size_half): Likewise.
23614 (__x86_64_raw_shared_cache_size_half): Likewise.
23615 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23617 (__x86_data_cache_size): This.
23618 (__x86_64_raw_data_cache_size): Renamed to ...
23619 (__x86_raw_data_cache_size): This.
23620 (__x86_64_data_cache_size_half): Renamed to ...
23621 (__x86_data_cache_size_half): This.
23622 (__x86_64_raw_data_cache_size_half): Renamed to ...
23623 (__x86_raw_data_cache_size_half): This.
23624 (__x86_64_shared_cache_size): Renamed to ...
23625 (__x86_shared_cache_size): This.
23626 (__x86_64_raw_shared_cache_size): Renamed to ...
23627 (__x86_raw_shared_cache_size): This.
23628 (__x86_64_shared_cache_size_half): Renamed to ...
23629 (__x86_shared_cache_size_half): This.
23630 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23631 (__x86_raw_shared_cache_size_half): This.
23632 * sysdeps/x86_64/memcpy.S: Updated.
23633 * sysdeps/x86_64/memset.S: Likewise.
23634 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23635 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23636 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23638 2013-01-04 David S. Miller <davem@davemloft.net>
23640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23642 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23644 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23645 1 to avoid redefinition warning.
23646 (__USE_GNU): Don't define.
23647 (init_signaling_nan): Protoize.
23649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23651 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23653 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23655 (__cpymn): Likewise.
23656 (norm): Remove commented code.
23657 (denorm): Likewise.
23658 (__mp_dbl): Likewise.
23660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23661 (__cpymn): Likewise.
23662 (norm): Remove commented code.
23663 (denorm): Likewise.
23664 (__mp_dbl): Likewise.
23667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23668 mp_no value for 1.0 and 2.0.
23669 (norm): Use RADIXI instead of radixi.d.
23670 (denorm): Likewise.
23671 (__mul): Use 0.0 instead of zero.d.
23672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23673 mp_no value for 1.0 and 2.0.
23674 (norm): Use RADIXI instead of radixi.d.
23675 (denorm): Likewise.
23676 (__mul): Use 0.0 instead of zero.d.
23678 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23681 * math/s_casinh.c (__casinh): Reduce finite argument to first
23682 quadrant then set signs of results at the end.
23683 * math/s_casinhf.c (__casinhf): Likewise.
23684 * math/s_casinhl.c (__casinhl): Likewise.
23685 * math/libm-test.inc (casin_test): Add more tests.
23686 (casinh_test): Likewise.
23687 * sysdeps/i386/fpu/libm-test-ulps: Update.
23688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23690 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23692 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23694 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23696 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23698 (denorm): Likewise.
23699 (__mp_dbl): Likewise.
23702 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23703 and adjust the header comment.
23705 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23706 variable name from declaration.
23708 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23711 Initialize COMMON_CPUID_INDEX_7 element.
23712 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23713 (CPUID_RTM): Likewise.
23714 (HAS_RTM): Likewise.
23715 (COMMON_CPUID_INDEX_7): New enum.
23717 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23720 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23721 size is zero, record memory as freed.
23723 2013-01-03 Andreas Jaeger <aj@suse.de>
23725 * po/ia.po: Add new Interlingua translation.
23727 2012-01-03 Allan McRae <allan@archlinux.org>
23729 * locale/programs/localedef.c: Fix description of '--posix' flag.
23731 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23733 * NEWS: Update dates in second copyright notice.
23734 * README: Update copyright dates in example.
23735 * manual/libc.texinfo: Update copyright dates.
23736 * scripts/test-installation.pl: Update copyright date in --version
23739 * hurd/ctty-input.c: Fix copyright notice formatting.
23740 * hurd/ctty-output.c: Likewise.
23741 * hurd/dtable.c: Likewise.
23742 * hurd/hurd-raise.c: Likewise.
23743 * hurd/hurdprio.c: Likewise.
23744 * hurd/msgportdemux.c: Likewise.
23745 * misc/sys/file.h: Likewise.
23746 * misc/sys/ioctl.h: Likewise.
23747 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23748 * sysdeps/mach/hurd/chdir.c: Likewise.
23749 * sysdeps/mach/hurd/fchdir.c: Likewise.
23750 * sysdeps/mach/hurd/rename.c: Likewise.
23751 * sysdeps/mach/hurd/rmdir.c: Likewise.
23752 * sysdeps/mach/hurd/seekdir.c: Likewise.
23753 * sysdeps/mach/hurd/setsid.c: Likewise.
23754 * sysdeps/posix/wait3.c: Likewise.
23756 * All files with FSF copyright notices: Update copyright dates
23757 using scripts/update-copyrights.
23758 * intl/plural.c: Regenerated.
23759 * locale/programs/charmap-kw.h: Likewise.
23760 * locale/programs/locfile-kw.h: Likewise.
23762 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23764 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23767 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23768 calculation loop and add branch prediction.
23770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23771 check access beyond bounds of m1np.
23773 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23775 (__inv): Remove local variable MPTWO to use the global
23777 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23778 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23780 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23781 MP3HALFS static const.
23783 2013-01-01 David S. Miller <davem@davemloft.net>
23785 * po/ca.po: Update from translation team.
23787 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23789 * scripts/update-copyrights: New file.
23790 * Makeconfig: Reformat copyright notice.
23791 * ctype/ctype.h: Likewise.
23792 * debug/swprintf_chk.c: Likewise.
23793 * elf/dl-cache.c: Likewise.
23794 * elf/dl-debug.c: Likewise.
23795 * elf/dl-object.c: Likewise.
23796 * grp/initgroups.c: Likewise.
23797 * hurd/Makefile: Likewise.
23798 * hurd/hurd/signal.h: Likewise.
23799 * hurd/hurdfault.c: Likewise.
23800 * hurd/hurdioctl.c: Likewise.
23801 * hurd/hurdlookup.c: Likewise.
23802 * hurd/intr-msg.c: Likewise.
23803 * iconv/gconv_open.c: Likewise.
23804 * libio/swprintf.c: Likewise.
23805 * locale/lc-ctype.c: Likewise.
23806 * locale/nl_langinfo.c: Likewise.
23807 * mach/Machrules: Likewise.
23808 * mach/Makefile: Likewise.
23809 * malloc/obstack.h: Likewise.
23810 * manual/Makefile: Likewise.
23811 * manual/tsort.awk: Likewise.
23812 * misc/bits/stab.def: Likewise.
23813 * nis/nis_print_group_entry.c: Likewise.
23814 * nis/nis_table.c: Likewise.
23815 * nis/nss_compat/compat-pwd.c: Likewise.
23816 * nis/nss_compat/compat-spwd.c: Likewise.
23817 * po/Makefile: Likewise.
23818 * posix/fnmatch.c: Likewise.
23819 * posix/regex.h: Likewise.
23820 * resolv/Makefile: Likewise.
23821 * resolv/nss_dns/dns-network.c: Likewise.
23822 * resolv/res_hconf.c: Likewise.
23823 * scripts/gen-sorted.awk: Likewise.
23824 * soft-fp/soft-fp.h: Likewise.
23825 * stdio-common/printf.h: Likewise.
23826 * stdlib/monetary.h: Likewise.
23827 * stdlib/random.c: Likewise.
23828 * stdlib/random_r.c: Likewise.
23829 * sysdeps/generic/Makefile: Likewise.
23830 * sysdeps/gnu/Makefile: Likewise.
23831 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23833 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23835 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23836 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23838 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23839 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23841 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23842 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23843 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23844 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23845 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23846 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23847 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23848 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23849 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23851 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23852 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23853 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23854 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23855 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23856 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23857 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23858 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23859 * sysdeps/mach/hurd/errnos.awk: Likewise.
23860 * sysdeps/mach/hurd/fork.c: Likewise.
23861 * sysdeps/mach/hurd/getcwd.c: Likewise.
23862 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23863 * sysdeps/mach/hurd/mmap.c: Likewise.
23864 * sysdeps/mach/hurd/utimes.c: Likewise.
23865 * sysdeps/mach/hurd/xmknod.c: Likewise.
23866 * sysdeps/posix/profil.c: Likewise.
23867 * sysdeps/posix/readdir_r.c: Likewise.
23868 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23869 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23870 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23871 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23873 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23874 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23875 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23877 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23878 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23879 * sysdeps/pthread/lio_listio.c: Likewise.
23880 * sysdeps/sparc/dl-procinfo.h: Likewise.
23881 * sysdeps/unix/i386/sysdep.S: Likewise.
23882 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23883 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23884 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23885 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23887 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23888 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23889 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23890 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23891 * sysdeps/wordsize-32/divdi3.c: Likewise.
23892 * time/sys/time.h: Likewise.
23893 * wcsmbs/Makefile: Likewise.
23895 2013-01-01 David S. Miller <davem@davemloft.net>
23897 * po/fr.po: Update from translation team.
23899 * catgets/gencat.c: Update copyright year.
23900 * csu/version.c: Likewise.
23901 * debug/catchsegv.sh: Likewise.
23902 * debug/pcprofiledump.c: Likewise.
23903 * debug/xtrace.sh: Likewise.
23904 * elf/ldconfig.c: Likewise.
23905 * elf/ldd.bash.in: Likewise.
23906 * elf/pldd.c: Likewise.
23907 * elf/sotruss.ksh: Likewise.
23908 * elf/sprof.c: Likewise.
23909 * iconv/iconv_prog.c: Likewise.
23910 * iconv/iconvconfig.c: Likewise.
23911 * locale/programs/locale.c: Likewise.
23912 * locale/programs/localedef.c: Likewise.
23913 * login/programs/pt_chown.c: Likewise.
23914 * malloc/memusage.sh: Likewise.
23915 * malloc/memusagestat.c: Likewise.
23916 * malloc/mtrace.pl: Likewise.
23917 * nscd/nscd.c: Likewise.
23918 * nss/getent.c: Likewise.
23919 * nss/makedb.c: Likewise.
23920 * posix/getconf.c: Likewise.
23922 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23924 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23927 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23929 * math/bits/mathcalls.h (modf): Use __nonnull.
23931 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23933 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23934 (split): Use macro CN instead of the bare value.
23935 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23937 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23938 instead of the bare value.
23939 (power1): Likewise.
23941 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23943 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23945 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23947 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23949 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23950 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23951 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23952 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23954 2012-12-28 Andreas Jaeger <aj@suse.de>
23956 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23957 values are from Linux 3.7.
23959 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23960 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23962 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23964 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23967 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23969 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23970 variables with preprocessor constants.
23971 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23972 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23973 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23975 2012-12-27 Bruno Haible <bruno@clisp.org>
23978 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23981 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23984 and use variable directly.
23985 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23987 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23989 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23990 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23992 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23994 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23995 include directive. Remove local variable MPONE.
23996 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23997 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23998 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24000 2012-12-25 David S. Miller <davem@davemloft.net>
24002 * version.h (RELEASE): Set to "development".
24003 (VERSION): Set to "2.17.90".
24004 * NEWS: Add 2.18 section.
24006 2012-12-21 David S. Miller <davem@davemloft.net>
24008 * po/hr.po: Update from translation team.
24010 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24012 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24014 2012-12-19 Steve Ellcey <sellcey@mips.com>
24016 * NEWS: Mention new memcpy for MIPS.
24018 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24020 * manual/contrib.texi (Contributors): Spelling correction.
24022 2012-12-15 David S. Miller <davem@davemloft.net>
24024 * po/ru.po: Update from translation team.
24026 2012-12-13 David S. Miller <davem@davemloft.net>
24028 * NEWS: Mention IFUNC testsuite enhancements.
24030 * po/pl.po: Update from translation team.
24031 * po/bg.po: Likewise.
24033 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24034 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24036 2012-12-11 David S. Miller <davem@davemloft.net>
24038 * po/sv.po: Update from translation team.
24040 * po/vi.po: Update from translation team.
24042 * po/cs.po: Update from translation team.
24044 * po/de.po: Update from translation team.
24045 * po/eo.po: Likewise.
24046 * po/nl.po: Likewise.
24048 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24051 * manual/argp.texi (Argp Helper Functions): Move node to follow
24052 Argp Parsing State.
24055 * manual/conf.texi (Limits on File System Capacity): Mention if
24056 terminating null is included in the max size.
24058 2012-12-10 Andreas Jaeger <aj@suse.de>
24060 * po/cs.po: Update from translation team.
24062 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24064 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24065 void pointer and cast to uintptr_t.
24066 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24068 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24069 * sysdeps/s390/s390-64/memset.S: Likewise.
24071 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24074 * menual/message.texi (Message Translation): Fix typos.
24075 (Helper programs for gettext): Likewise.
24077 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24080 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24083 2012-12-07 David S. Miller <davem@davemloft.net>
24085 * po/libc.pot: Update.
24087 2012-12-07 Richard Henderson <rth@redhat.com>
24090 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24091 normal/normal case to before the switch.
24092 (_FP_DIV): Likewise.
24094 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24095 Mike Frysinger <vapier@gentoo.org>
24097 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24098 check for __NR_fadvise64_64.
24100 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24102 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24103 0, not just to plain "0" as a statement.
24104 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24107 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24109 * NEWS: Use sourceware.org in Bugzilla URL.
24111 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24114 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24116 * stdio-common/tst-put-error.c (do_test): Add newline to the
24117 padded test to ensure flush.
24119 2012-12-05 Jeff Law <law@redhat.com>
24121 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24123 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24125 * README: Don't refer to ports add-on as distributed separately.
24126 Mention AArch64 in list of systems supported in the ports add-on.
24128 * LICENSES: Add more non-FSF copyright and license notices.
24130 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24133 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24135 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24136 10000 as width of padded output.
24138 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24140 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24142 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24143 variable LX with __attribute__ ((unused)).
24144 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24146 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24147 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24148 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24149 with __attribute__ ((unused)).
24151 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24153 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24155 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24157 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24158 (CFLAGS-nldbl-acos.c): New variable.
24159 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24160 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24161 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24162 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24163 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24164 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24165 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24166 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24167 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24168 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24169 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24170 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24171 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24172 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24173 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24174 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24175 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24176 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24177 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24178 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24179 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24180 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24181 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24182 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24183 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24184 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24185 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24186 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24187 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24188 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24189 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24190 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24191 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24192 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24193 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24194 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24195 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24196 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24197 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24198 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24199 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24200 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24201 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24202 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24203 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24204 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24205 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24206 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24207 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24208 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24209 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24210 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24211 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24212 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24213 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24214 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24215 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24216 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24217 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24218 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24219 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24220 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24221 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24222 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24223 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24224 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24225 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24226 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24227 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24228 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24229 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24230 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24231 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24232 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24233 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24234 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24235 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24236 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24237 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24238 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24239 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24240 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24241 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24242 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24243 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24244 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24245 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24246 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24247 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24248 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24249 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24250 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24251 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24252 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24253 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24254 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24255 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24258 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24261 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24262 whole low double instead of just low 47 bits when splitting values
24265 2012-12-03 Allan McRae <allan@archlinux.org>
24267 * manual/stdio.texi (Predefined Printf Handlers): Remove
24268 @hsep and @vsep usage.
24270 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24272 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24273 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24275 2012-12-03 Jeff Law <law@redhat.com>
24277 * time/sys/time.h (settimeofday): Do not mark TV argument
24280 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24282 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24283 when currently writing and seek to current position when not.
24284 * libio/Makefile (tests): Remove bug-fclose1.
24285 * libio/bug-fclose1.c: Delete.
24287 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24289 * manual/arith.texi (feenableexcept): Fix typo.
24290 (fedisableexcept): Likewise.
24292 2012-11-30 Roland McGrath <roland@hack.frob.com>
24294 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24295 second, differently-typed declaration, rather than a cast.
24297 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24299 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24300 * include/rpc/svc.h: ... here.
24302 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24305 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24306 depending n and resplen2 to catch cases where answer
24309 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24311 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24312 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24314 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24316 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24318 2012-11-29 Roland McGrath <roland@hack.frob.com>
24320 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24322 2012-11-28 Jeff Law <law@redhat.com>
24325 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24326 dataset_temporary. Track alloca usage into alloca_used.
24327 If dataset is large allocate and release it via malloc/free.
24329 2012-06-04 Florian Weimer <fweimer@redhat.com>
24332 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24334 2012-11-28 David S. Miller <davem@davemloft.net>
24336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24338 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24341 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24342 of pi/2 rounded to nearest to 64 bits.
24343 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24344 nearest to 64 bits.
24345 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24348 2012-11-28 Jeff Law <law@redhat.com>
24349 Martin Osvald <mosvald@redhat.com>
24352 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24353 * sunrpc/svc.c: Include time.h.
24354 (__svc_accept_failed): New function.
24355 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24356 any reason other than EINTR, call __svc_accept_failed.
24357 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24358 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24360 2012-11-28 Andreas Schwab <schwab@suse.de>
24362 * scripts/abilist.awk: Also handle indirect functions in .opd
24365 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24368 * sysdeps/x86/fpu/powl_helper.c: New file.
24369 * sysdeps/x86/fpu/Makefile: Likewise.
24370 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24372 (__ieee754_powl): Use __powl_helper for finite arguments except
24373 integer exponents below 8.
24374 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24376 (__ieee754_powl): Use __powl_helper for finite arguments except
24377 integer exponents below 8.
24378 * math/libm-test.inc (pow_test): Add more tests and enable some
24379 previously disabled tests.
24380 * sysdeps/i386/fpu/libm-test-ulps: Update.
24381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24383 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24384 Carlos O'Donell <carlos_odonell@mentor.com>
24386 * nss/makedb.c (is_prime): Assert that input is odd and greater
24387 than 4. Note that fact in a comment too.
24388 (next_prime): Add 4 to input.
24390 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24393 * libio/Makefile (tests): Add test case tst-fwrite-error.
24394 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24395 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24396 * libio/tst-fwrite-error.c: New test case.
24398 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24400 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24401 before casting to void *.
24402 * include/libc-internal.h (__pointer_type): New macro.
24403 (__integer_if_pointer_type_sub): Likewise.
24404 (__integer_if_pointer_type): Likewise.
24405 (cast_to_integer): Likewise.
24406 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24407 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24408 before casting to atomic64_t.
24409 (atomic_exchange_acq): Likewise.
24410 (__arch_exchange_and_add_body): Likewise.
24411 (__arch_add_body): Likewise.
24412 (atomic_add_negative): Likewise.
24413 (atomic_add_zero): Likewise.
24415 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24417 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24418 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24419 (add_fdes): Likewise.
24420 (linear_search_fdes): Likewise.
24421 (binary_search_unencoded_fdes): Likewise.
24423 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24425 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24427 2012-11-24 Adam Conrad <adconrad@0c3.net>
24429 * configure.in: Autodetect C++ header directories.
24430 * configure: Regenerated.
24432 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24434 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24436 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24440 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24442 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24443 LDBL_MANT_DIG == 106]: Disable some tests.
24444 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24446 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24450 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24451 input for small inputs. Return +/- pi/2 for large inputs.
24452 * math/libm-test.inc (atan_test): Add more tests.
24454 * sysdeps/generic/unwind-dw2-fde-glibc.c
24455 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24456 __attribute__ ((unused)).
24459 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24460 x * y if x and y are nonzero and z is zero.
24463 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24464 nonzero exponents with absolute value below 0x1p-117 to +/-
24468 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24469 up arguments below 2**-450, not just those below 2**-500.
24470 * math/libm-test.inc (hypot_test): Add another test.
24473 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24474 Return a+b for ratio over 2**120, not 2**60.
24475 * math/libm-test.inc (hypot_test): Add another test.
24477 * math/libm-test.inc (clog_test): Use
24478 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24479 (clog10_test): Likewise.
24482 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24484 2012-11-22 Andreas Schwab <schwab@suse.de>
24486 * sysdeps/i386/fpu/libm-test-ulps: Update.
24488 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24490 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24491 printf output with newline.
24493 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24496 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24497 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24498 -z nodlopen, -z initfirst and -z execstack support.
24499 * configure: Regenerated.
24501 * elf/elf.h (DF_1_NODIRECT): New macro.
24502 (DF_1_IGNMULDEF): Likewise.
24503 (DF_1_NOKSYMS): Likewise.
24504 (DF_1_NOHDR): Likewise.
24505 (DF_1_EDITED): Likewise.
24506 (DF_1_NORELOC): Likewise.
24507 (DF_1_SYMINTPOSE): Likewise.
24508 (DF_1_GLOBAUDIT): Likewise.
24509 (DF_1_SINGLETON): Likewise.
24510 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24511 DT_1_SUPPORTED_MASK bits.
24512 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24514 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24516 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24518 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24520 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24523 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24524 (sendmmsg): Move declarations...
24525 * socket/sys/socket.h: ... here.
24526 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24527 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24529 * socket/recvmmsg.c: ... this new file.
24530 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24531 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24532 definition of __sendmmsg hidden.
24533 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24534 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24535 Move ENOSYS stub into and include it from...
24536 * socket/sendmmsg.c: ... this new file.
24537 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24538 (sysdep_routines): Move recvmmsg and sendmmsg...
24539 * socket/Makefile (routines): ... here.
24540 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24541 (GLIBC_PRIVATE): Add __sendmmsg.
24542 * include/sys/socket.h (__sendmmsg): Add declarations.
24543 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24546 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24548 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24549 variable I1 with __attribute__ ((unused)).
24550 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24552 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24554 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24555 DUMMY variables with __attribute__ ((unused)).
24557 * bits/byteswap.h: Include <bits/types.h>.
24558 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24560 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24562 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24563 string_t. Do not manually set errno.
24564 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24565 length with __strnlen. Make sure to both set errno and return it on
24568 2012-11-19 David S. Miller <davem@davemloft.net>
24570 With help from Joseph Myers.
24571 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24572 very large arguments properly.
24573 * math/libm-test.inc (atan_test): New tests.
24574 (atan2_test): New tests.
24575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24578 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24581 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24584 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24585 [POSIX] (EADDRNOTAVAIL): Likewise.
24586 [POSIX] (EAFNOSUPPORT): Likewise.
24587 [POSIX] (EALREADY): Likewise.
24588 [POSIX] (ECONNABORTED): Likewise.
24589 [POSIX] (ECONNREFUSED): Likewise.
24590 [POSIX] (ECONNRESET): Likewise.
24591 [POSIX] (EDESTADDRREQ): Likewise.
24592 [POSIX] (EDQUOT): Likewise.
24593 [POSIX] (EHOSTUNREACH): Likewise.
24594 [POSIX] (EIDRM): Likewise.
24595 [POSIX] (EISCONN): Likewise.
24596 [POSIX] (ELOOP): Likewise.
24597 [POSIX] (EMULTIHOP): Likewise.
24598 [POSIX] (ENETDOWN): Likewise.
24599 [POSIX] (ENETUNREACH): Likewise.
24600 [POSIX] (ENOBUFS): Likewise.
24601 [POSIX] (ENODATA): Likewise.
24602 [POSIX] (ENOLINK): Likewise.
24603 [POSIX] (ENOMSG): Likewise.
24604 [POSIX] (ENOPROTOOPT): Likewise.
24605 [POSIX] (ENOSR): Likewise.
24606 [POSIX] (ENOSTR): Likewise.
24607 [POSIX] (ENOTCONN): Likewise.
24608 [POSIX] (ENOTSOCK): Likewise.
24609 [POSIX] (EOPNOTSUPP): Likewise.
24610 [POSIX] (EOVERFLOW): Likewise.
24611 [POSIX] (EPROTO): Likewise.
24612 [POSIX] (EPROTONOSUPPORT): Likewise.
24613 [POSIX] (EPROTOTYPE): Likewise.
24614 [POSIX] (ESTALE): Likewise.
24615 [POSIX] (ETIME): Likewise.
24616 [POSIX] (ETXTBSY): Likewise.
24617 [POSIX] (EWOULDBLOCK): Likewise.
24618 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24619 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24620 [POSIX] (SEEK_CUR): Likewise.
24621 [POSIX] (SEEK_END): Likewise.
24622 [POSIX || UNIX98] (mode_t): Do not require.
24623 [POSIX] (off_t): Likewise.
24624 [POSIX] (pid_t): Likewise.
24625 [POSIX] (sys/stat.h): Do not allow header.
24626 [POSIX] (unistd.h): Likewise.
24627 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24628 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24629 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24630 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24632 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24633 sigevent): Specify elements.
24634 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24636 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24637 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24639 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24640 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24641 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24642 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24643 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24644 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24645 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24646 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24647 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24648 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24649 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24650 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24651 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24652 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24654 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24656 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24658 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24660 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24661 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24662 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24663 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24664 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24665 Specify lower bound on value.
24666 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24667 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24668 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24669 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24670 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24671 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24672 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24673 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24675 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24677 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24678 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24679 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24680 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24681 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24682 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24683 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24684 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24685 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24686 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24687 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24688 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24689 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24690 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24691 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24692 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24694 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24696 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24697 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24698 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24699 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24700 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24701 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24703 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24704 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24705 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24706 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24707 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24708 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24709 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24711 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24712 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24713 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24714 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24715 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24716 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24717 specify as optional.
24718 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24719 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24720 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24721 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24722 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24723 [XPG3] (NL_LANGMAX): Likewise.
24724 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24725 [POSIX || XPG3] (NL_NMAX): Likewise.
24726 [POSIX || XPG3] (NL_SETMAX): Likewise.
24727 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24728 [XPG3] (NZERO): Likewise.
24729 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24730 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24731 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24732 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24733 (REG_ERANGE): Expect.
24734 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24736 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24737 Use (void) in prototype.
24738 [POSIX] (*_t): Allow.
24739 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24740 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24741 (WRDE_BADVAL): Expect.
24743 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24745 [XPG3 || XPG4] (O_RSYNC): Likewise.
24746 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24748 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24749 [XPG3 || XPG4] (sigqueue): Likewise.
24750 [XPG3 || XPG4] (sigtimedwait): Likewise.
24751 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24752 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24753 [XPG3 || XPG4] (vsnprintf): Likewise.
24754 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24756 [XPG3 || XPG4] (blksize_t): Likewise.
24757 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24759 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24760 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24761 [XPG3 || XPG4] (struct itimerspec): Likewise.
24762 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24763 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24764 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24765 [XPG3 || XPG4] (clockid_t): Likewise.
24766 [XPG3 || XPG4] (timer_t): Likewise.
24767 [XPG3 || XPG4] (clock_getres): Likewise.
24768 [XPG3 || XPG4] (clock_gettime): Likewise.
24769 [XPG3 || XPG4] (clock_settime): Likewise.
24770 [XPG3 || XPG4] (nanosleep): Likewise.
24771 [XPG3 || XPG4] (timer_create): Likewise.
24772 [XPG3 || XPG4] (timer_delete): Likewise.
24773 [XPG3 || XPG4] (timer_gettime): Likewise.
24774 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24775 [XPG3 || XPG4] (timer_settime): Likewise.
24776 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24777 [XPG3 || XPG4] (getlogin_r): Likewise.
24778 [XPG3 || XPG4] (pread): Likewise.
24779 [XPG3 || XPG4] (pthread_atfork): Likewise.
24780 [XPG3 || XPG4] (pwrite): Likewise.
24783 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24786 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24788 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24789 finalizing MALLSTREAM.
24791 * sysdeps/mach/hurd/syncfs.c: New file.
24793 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24796 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24797 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24798 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24799 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24800 (_nss_dns_gethostbyname4_r): Likewise.
24801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24802 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24804 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24807 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24809 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24811 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24812 * elf/cache.c (print_entry): Print ",AArch64" for
24815 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24816 * elf/cache.c (print_entry): Print ",hard-float" for
24819 2012-11-18 David S. Miller <davem@davemloft.net>
24821 With help from Joseph Myers.
24822 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24824 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24826 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24827 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24829 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24830 * math/libm-test.inc (y0_test): New tests.
24831 (y1_test): New tests.
24832 * sysdeps/i386/fpu/libm-test-ulps: Update.
24833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24836 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24838 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24840 * configure: Regenerated.
24842 2012-11-17 David S. Miller <davem@davemloft.net>
24845 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24846 nonzero exponents with absolute value below 0x1p-128 to +/-
24849 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24851 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24853 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24855 * posix/getconf-speclist.c: New file.
24856 * posix/posix-envs.def: Likewise.
24857 * posix/confstr.c (START_ENV_GROUP): New macro.
24858 (END_ENV_GROUP): Likewise.
24859 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24860 (KNOWN_PRESENT_ENV_STRING): Likewise.
24861 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24862 (UNKNOWN_ENVIRONMENT): Likewise.
24863 (confstr): Include posix-envs.def instead of handling
24864 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24865 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24866 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24867 (END_ENV_GROUP): Likewise.
24868 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24869 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24870 (UNKNOWN_ENVIRONMENT): Likewise.
24871 (__sysconf): Include posix-envs.def instead of handling associated
24872 cases directly here.
24873 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24874 preprocessing getconf-speclist.c rather than running getconf or
24875 generating empty file.
24877 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24879 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24881 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24884 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24886 2012-11-16 David S. Miller <davem@davemloft.net>
24888 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24889 smaller than LDBL_EPSILON/2.0L, just return xm1.
24891 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24893 * elf/tst-array1.c (init): Set constructor priority to 1000.
24894 (fini): Set destructor priority to 1000.
24895 * elf/tst-array2dep.c: Likewise.
24897 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24900 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24901 (_IO_new_file_xsputn): Also return EOF if none of the input
24902 data was written when overflow failed.
24903 * libio/iopadn.c (_IO_padn): Likewise.
24904 * libio/iowpadn.c (_IO_wpadn): Likewise.
24905 * stdio-common/tst-put-error.c: Add copyright notice.
24906 (do_test): Add case for printing padded string.
24907 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24908 _IO_padn returned error.
24909 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24910 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24913 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24915 * libio/libioP.h: Add comment note that the references to C++
24916 bits are now obsolete.
24918 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24920 * math/libm-test.inc (check_complex): Use asprintf.
24922 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24924 * debug/pcprofiledump.c (print_version): Update copyright year.
24925 * malloc/memusagestat.c (print_version): Likewise.
24927 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24930 * elf/Makefile (tests): Add tst-audit8.
24931 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24932 ($(objpfx)tst-audit8.out): New target.
24933 (tst-audit8-ENV): New variable.
24934 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24935 audit if l_reloc_result is NULL.
24936 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24937 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24938 * elf/tst-audit8.c: New file.
24940 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24942 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24943 * misc/Makefile (CFLAGS-select.c): Define.
24944 * posix/Makefile (CFLAGS-pause.c): Define.
24946 2012-11-13 David S. Miller <davem@davemloft.net>
24948 * crypt/Makefile: Move test targets after toplevel Rules
24949 inclusion. Grab any necessary sysdep routines when linking.
24950 * crypt/md5.c (md5_process_block): Remove define, we will always
24951 name it __md5_process_block.
24952 (md5_finish_ctx): Update md5_process_block call.
24953 (md5_stream): Likewise.
24954 (md5_process_bytes): Likewise.
24955 (md5_process_block): Rename to __md5_process_block and move to ...
24956 * crypt/md5-block.c: ... here.
24957 * crypt/sha256.c (sha256_process_block): Move to ...
24958 * crypt/sha256-block.c: ... here.
24959 * crypt/sha512.c (sha512_process_block): Move to ...
24960 * crypt/sha512-block.c: ... here.
24961 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24963 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24964 * sysdeps/sparc/sparc64/multiarch/Makefile
24965 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24967 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24968 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24970 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24971 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24972 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24973 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24974 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24975 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24976 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24977 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24978 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24980 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24981 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24983 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24985 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24987 * timezone/tzselect.ksh: Update from tzcode git revision
24988 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24989 * timezone/zdump.c: Likewise.
24990 * timezone/zic.c: Likewise.
24991 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24992 in TZVERSION setting, not $(PKGVERSION).
24993 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24994 REPORT_BUGS_TO settings.
24997 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25000 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25002 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25003 detection to immediately after _FP_ROUND().
25004 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25007 2012-11-11 David S. Miller <davem@davemloft.net>
25009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25011 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25012 __close rather than their public counterparts.
25014 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25016 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25018 [UNIX98] (sem_timedwait): Do not expect.
25019 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25020 [XPG4 || UNIX98] (sockatmark): Do not expect.
25021 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25022 (clock_getcpuclockid): Do not expect.
25023 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25024 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25026 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25027 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25028 [UNIX98] (vwscanf): Likewise.
25029 [UNIX98] (vswscanf): Likewise.
25031 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25033 * timezone/version.h: Remove file.
25034 * timezone/README: Do not refer to version.h.
25035 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25036 $(objpfx)version.h.
25037 ($(objpfx)zdump.o): Likewise.
25038 ($(objpfx)version.h): New target.
25040 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25042 * timezone/README: Don't mention modification to tzselect.ksh.
25043 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25044 work on unmodified tzselect.ksh. Substitute version numbers in
25047 * Makefile (format-me): Remove.
25048 (INSTALL): Adjust indentation. Use commands directly instead of
25049 using $(format-me).
25051 * aclocal.m4 (ACX_PKGVERSION): New macro.
25052 (ACX_BUGURL): Likewise.
25053 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25054 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25055 (REPORT_BUGS_TO): Likewise.
25056 * configure: Regenerated.
25057 * config.h.in (PKGVERSION): New macro.
25058 (REPORT_BUGS_TO): Likewise.
25059 * config.make.in (PKGVERSION): New variable.
25060 (PKGVERSION_TEXI): Likewise.
25061 (REPORT_BUGS_TO): Likewise.
25062 (REPORT_BUGS_TEXI): Likewise.
25063 * Makefile (format-me): Use -I$(common-objpfx)manual.
25064 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25065 ($(common-objpfx)manual/%): New target.
25066 (manual/%): Remove target.
25067 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25068 (print_version): Use PKGVERSION.
25069 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25070 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25071 and REPORT_BUGS_TO.
25072 ($(objpfx)xtrace): Likewise.
25073 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25074 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25075 (print_version): Use PKGVERSION.
25076 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25077 (do_version): Use PKGVERSION.
25078 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25080 (common-ldd-rewrite): Likewise.
25081 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25082 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25083 (print_version): Use PKGVERSION.
25084 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25085 * elf/pldd.c (argp_program_bug_address): Remove variable.
25086 (more_help): New function.
25087 (argp): Use more_help.
25088 (print_version): Use PKGVERSION.
25089 * elf/sln.c (main): Use PKGVERSION.
25090 (usage): Use REPORT_BUGS_TO.
25091 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25092 (top level): Use PKGVERSION.
25093 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25094 (print_version): Use PKGVERSION.
25095 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25096 (print_version): Use PKGVERSION.
25097 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25098 (print_version): Use PKGVERSION.
25099 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25100 (print_version): Use PKGVERSION.
25101 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25102 (print_version): Use PKGVERSION.
25103 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25104 (print_version): Use PKGVERSION.
25105 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25107 ($(objpfx)memusage): Likewise.
25108 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25109 (do_version): Use PKGVERSION.
25110 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25111 (print_version): Use PKGVERSION.
25112 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25113 ($PKGVERSION): New variable.
25114 ($REPORT_BUGS_TO): Likewise.
25115 (usage): Use $REPORT_BUGS_TO.
25116 (top level): Use $PKGVERSION.
25117 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25118 ($(objpfx)pkgvers.texi): New rule.
25119 ($(objpfx)stamp-pkgvers): Likewise.
25120 * manual/install.texi: Include pkgvers.texi.
25121 (--with-pkgversion): Document new configure option.
25122 (--with-bugurl): Likewise.
25123 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25124 than necessarily for this particular distribution. Use
25125 REPORT_BUGS_TO for where to report bugs.
25126 * INSTALL: Regenerated.
25127 * manual/libc.texinfo: Include pkgvers.texi.
25128 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25129 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25130 (print_version): Use PKGVERSION.
25131 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25132 (print_version): Use PKGVERSION.
25133 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25134 (print_version): Use PKGVERSION.
25135 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25136 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25138 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25139 (print_version): Use PKGVERSION.
25140 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25141 (print_version): Use PKGVERSION.
25142 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25145 * timezone/checktab.awk: Update from tzcode 2012i.
25146 * timezone/ialloc.c: Likewise.
25147 * timezone/private.h: Likewise.
25148 * timezone/scheck.c: Likewise.
25149 * timezone/tzfile.h: Likewise.
25150 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25151 (TZVERSION): Hardcode tzcode version number.
25152 * timezone/zdump.c: Update from tzcode 2012i.
25153 * timezone/zic.c: Likewise.
25154 * timezone/version.h: New file.
25155 * timezone/README: Describe version.h. Update upstream location.
25158 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25159 (mktemp): Enable declaration.
25160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25161 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25163 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25165 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25167 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25169 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25171 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25177 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25178 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25179 for copies of such integer values.
25180 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25181 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25183 2012-11-09 Andreas Jaeger <aj@suse.de>
25185 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25186 definitions and declarations that are provided by
25187 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25189 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25191 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25192 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25193 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25196 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25198 * elf/elf.h: Update comment before AArch64 relocations.
25200 2012-11-07 David S. Miller <davem@davemloft.net>
25202 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25203 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25204 (__start_context): Declare.
25205 (__makecontext_ret): Delete.
25206 (__makecontext): Hook up __start_context instead of
25208 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25209 (sysdep_routines): Add __start_context when in stdlib.
25211 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25213 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25214 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25215 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25217 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25218 (READELF): New variable. Use it instead of hardcoded "readelf".
25220 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25222 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25223 * sysdeps/x86/Makefile: Here.
25224 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25225 * sysdeps/x86/tst-xmmymm.sh: This.
25227 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25229 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25231 [UNIX98] (pthread_barrier_t): Do not expect.
25232 [UNIX98] (pthread_barrierattr_t): Likewise.
25233 [UNIX98] (pthread_spinlock_t): Likewise.
25234 [UNIX98] (pthread_barrier_destroy): Likewise.
25235 [UNIX98] (pthread_barrier_init): Likewise.
25236 [UNIX98] (pthread_barrier_wait): Likewise.
25237 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25238 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25239 [UNIX98] (pthread_barrierattr_init): Likewise.
25240 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25241 [UNIX98] (pthread_getcpuclockid): Likewise.
25242 [UNIX98] (pthread_mutex_timedlock): Likewise.
25243 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25244 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25245 [UNIX98] (pthread_sigmask): Likewise.
25246 [UNIX98] (pthread_spin_destroy): Likewise.
25247 [UNIX98] (pthread_spin_init): Likewise.
25248 [UNIX98] (pthread_spin_lock): Likewise.
25249 [UNIX98] (pthread_spin_trylock): Likewise.
25250 [UNIX98] (pthread_spin_unlock): Likewise.
25251 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25253 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25254 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25255 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25256 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25257 [XPG3 || XPG4] (pthread_key_t): Likewise.
25258 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25259 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25260 [XPG3 || XPG4] (pthread_once_t): Likewise.
25261 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25262 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25263 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25264 [XPG3 || XPG4] (pthread_t): Likewise.
25266 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25268 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25270 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25271 Change function return type to int.
25273 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25274 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25275 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25276 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25277 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25278 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25279 [!POSIX] (posix_madvise): Likewise.
25280 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25282 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25283 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25284 (mode_t): Likewise.
25285 (posix_mem_offset): Likewise.
25286 (posix_typed_mem_get_info): Likewise.
25287 (posix_typed_mem_open): Likewise.
25289 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25290 Change condition to [XOPEN2K8].
25292 * conform/conformtest.pl: Preprocess allow-header data with -x c
25293 instead of from stdin.
25294 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25295 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25296 [C99-based standards] (cerfc): Likewise.
25297 [C99-based standards] (cexp2): Likewise.
25298 [C99-based standards] (cexpm1): Likewise.
25299 [C99-based standards] (clog10): Likewise.
25300 [C99-based standards] (clog1p): Likewise.
25301 [C99-based standards] (clog2): Likewise.
25302 [C99-based standards] (clgamma): Likewise.
25303 [C99-based standards] (ctgamma): Likewise.
25304 [C99-based standards] (cerff): Likewise.
25305 [C99-based standards] (cerfcf): Likewise.
25306 [C99-based standards] (cexp2f): Likewise.
25307 [C99-based standards] (cexpm1f): Likewise.
25308 [C99-based standards] (clog10f): Likewise.
25309 [C99-based standards] (clog1pf): Likewise.
25310 [C99-based standards] (clog2f): Likewise.
25311 [C99-based standards] (clgammaf): Likewise.
25312 [C99-based standards] (ctgammaf): Likewise.
25313 [C99-based standards] (cerfl): Likewise.
25314 [C99-based standards] (cerfcl): Likewise.
25315 [C99-based standards] (cexp2l): Likewise.
25316 [C99-based standards] (cexpm1l): Likewise.
25317 [C99-based standards] (clog10l): Likewise.
25318 [C99-based standards] (clog1pl): Likewise.
25319 [C99-based standards] (clog2l): Likewise.
25320 [C99-based standards] (clgammal): Likewise.
25321 [C99-based standards] (ctgammal): Likewise.
25322 * conform/data/inttypes.h-data [C99-based standards]: Include
25323 stdint.h-data. Remove all expectations for stdint.h contents.
25324 [C99-based standards] (PRI*): Do not allow.
25325 [C99-based standards] (SCN*): Likewise.
25326 [C99-based standards] (*_t): Likewise.
25327 [C99-based-standards] (PRId8): Expect macro.
25328 [C99-based-standards] (PRIi8): Likewise.
25329 [C99-based-standards] (PRIo8): Likewise.
25330 [C99-based-standards] (PRIu8): Likewise.
25331 [C99-based-standards] (PRIx8): Likewise.
25332 [C99-based-standards] (PRIX8): Likewise.
25333 [C99-based-standards] (SCNd8): Likewise.
25334 [C99-based-standards] (SCNi8): Likewise.
25335 [C99-based-standards] (SCNo8): Likewise.
25336 [C99-based-standards] (SCNu8): Likewise.
25337 [C99-based-standards] (SCNx8): Likewise.
25338 [C99-based-standards] (PRIdLEAST8): Likewise.
25339 [C99-based-standards] (PRIiLEAST8): Likewise.
25340 [C99-based-standards] (PRIoLEAST8): Likewise.
25341 [C99-based-standards] (PRIuLEAST8): Likewise.
25342 [C99-based-standards] (PRIxLEAST8): Likewise.
25343 [C99-based-standards] (PRIXLEAST8): Likewise.
25344 [C99-based-standards] (SCNdLEAST8): Likewise.
25345 [C99-based-standards] (SCNiLEAST8): Likewise.
25346 [C99-based-standards] (SCNoLEAST8): Likewise.
25347 [C99-based-standards] (SCNuLEAST8): Likewise.
25348 [C99-based-standards] (SCNxLEAST8): Likewise.
25349 [C99-based-standards] (PRIdFAST8): Likewise.
25350 [C99-based-standards] (PRIiFAST8): Likewise.
25351 [C99-based-standards] (PRIoFAST8): Likewise.
25352 [C99-based-standards] (PRIuFAST8): Likewise.
25353 [C99-based-standards] (PRIxFAST8): Likewise.
25354 [C99-based-standards] (PRIXFAST8): Likewise.
25355 [C99-based-standards] (SCNdFAST8): Likewise.
25356 [C99-based-standards] (SCNiFAST8): Likewise.
25357 [C99-based-standards] (SCNoFAST8): Likewise.
25358 [C99-based-standards] (SCNuFAST8): Likewise.
25359 [C99-based-standards] (SCNxFAST8): Likewise.
25360 [C99-based-standards] (PRId16): Likewise.
25361 [C99-based-standards] (PRIi16): Likewise.
25362 [C99-based-standards] (PRIo16): Likewise.
25363 [C99-based-standards] (PRIu16): Likewise.
25364 [C99-based-standards] (PRIx16): Likewise.
25365 [C99-based-standards] (PRIX16): Likewise.
25366 [C99-based-standards] (SCNd16): Likewise.
25367 [C99-based-standards] (SCNi16): Likewise.
25368 [C99-based-standards] (SCNo16): Likewise.
25369 [C99-based-standards] (SCNu16): Likewise.
25370 [C99-based-standards] (SCNx16): Likewise.
25371 [C99-based-standards] (PRIdLEAST16): Likewise.
25372 [C99-based-standards] (PRIiLEAST16): Likewise.
25373 [C99-based-standards] (PRIoLEAST16): Likewise.
25374 [C99-based-standards] (PRIuLEAST16): Likewise.
25375 [C99-based-standards] (PRIxLEAST16): Likewise.
25376 [C99-based-standards] (PRIXLEAST16): Likewise.
25377 [C99-based-standards] (SCNdLEAST16): Likewise.
25378 [C99-based-standards] (SCNiLEAST16): Likewise.
25379 [C99-based-standards] (SCNoLEAST16): Likewise.
25380 [C99-based-standards] (SCNuLEAST16): Likewise.
25381 [C99-based-standards] (SCNxLEAST16): Likewise.
25382 [C99-based-standards] (PRIdFAST16): Likewise.
25383 [C99-based-standards] (PRIiFAST16): Likewise.
25384 [C99-based-standards] (PRIoFAST16): Likewise.
25385 [C99-based-standards] (PRIuFAST16): Likewise.
25386 [C99-based-standards] (PRIxFAST16): Likewise.
25387 [C99-based-standards] (PRIXFAST16): Likewise.
25388 [C99-based-standards] (SCNdFAST16): Likewise.
25389 [C99-based-standards] (SCNiFAST16): Likewise.
25390 [C99-based-standards] (SCNoFAST16): Likewise.
25391 [C99-based-standards] (SCNuFAST16): Likewise.
25392 [C99-based-standards] (SCNxFAST16): Likewise.
25393 [C99-based-standards] (PRId32): Likewise.
25394 [C99-based-standards] (PRIi32): Likewise.
25395 [C99-based-standards] (PRIo32): Likewise.
25396 [C99-based-standards] (PRIu32): Likewise.
25397 [C99-based-standards] (PRIx32): Likewise.
25398 [C99-based-standards] (PRIX32): Likewise.
25399 [C99-based-standards] (SCNd32): Likewise.
25400 [C99-based-standards] (SCNi32): Likewise.
25401 [C99-based-standards] (SCNo32): Likewise.
25402 [C99-based-standards] (SCNu32): Likewise.
25403 [C99-based-standards] (SCNx32): Likewise.
25404 [C99-based-standards] (PRIdLEAST32): Likewise.
25405 [C99-based-standards] (PRIiLEAST32): Likewise.
25406 [C99-based-standards] (PRIoLEAST32): Likewise.
25407 [C99-based-standards] (PRIuLEAST32): Likewise.
25408 [C99-based-standards] (PRIxLEAST32): Likewise.
25409 [C99-based-standards] (PRIXLEAST32): Likewise.
25410 [C99-based-standards] (SCNdLEAST32): Likewise.
25411 [C99-based-standards] (SCNiLEAST32): Likewise.
25412 [C99-based-standards] (SCNoLEAST32): Likewise.
25413 [C99-based-standards] (SCNuLEAST32): Likewise.
25414 [C99-based-standards] (SCNxLEAST32): Likewise.
25415 [C99-based-standards] (PRIdFAST32): Likewise.
25416 [C99-based-standards] (PRIiFAST32): Likewise.
25417 [C99-based-standards] (PRIoFAST32): Likewise.
25418 [C99-based-standards] (PRIuFAST32): Likewise.
25419 [C99-based-standards] (PRIxFAST32): Likewise.
25420 [C99-based-standards] (PRIXFAST32): Likewise.
25421 [C99-based-standards] (SCNdFAST32): Likewise.
25422 [C99-based-standards] (SCNiFAST32): Likewise.
25423 [C99-based-standards] (SCNoFAST32): Likewise.
25424 [C99-based-standards] (SCNuFAST32): Likewise.
25425 [C99-based-standards] (SCNxFAST32): Likewise.
25426 [C99-based-standards] (PRId64): Likewise.
25427 [C99-based-standards] (PRIi64): Likewise.
25428 [C99-based-standards] (PRIo64): Likewise.
25429 [C99-based-standards] (PRIu64): Likewise.
25430 [C99-based-standards] (PRIx64): Likewise.
25431 [C99-based-standards] (PRIX64): Likewise.
25432 [C99-based-standards] (SCNd64): Likewise.
25433 [C99-based-standards] (SCNi64): Likewise.
25434 [C99-based-standards] (SCNo64): Likewise.
25435 [C99-based-standards] (SCNu64): Likewise.
25436 [C99-based-standards] (SCNx64): Likewise.
25437 [C99-based-standards] (PRIdLEAST64): Likewise.
25438 [C99-based-standards] (PRIiLEAST64): Likewise.
25439 [C99-based-standards] (PRIoLEAST64): Likewise.
25440 [C99-based-standards] (PRIuLEAST64): Likewise.
25441 [C99-based-standards] (PRIxLEAST64): Likewise.
25442 [C99-based-standards] (PRIXLEAST64): Likewise.
25443 [C99-based-standards] (SCNdLEAST64): Likewise.
25444 [C99-based-standards] (SCNiLEAST64): Likewise.
25445 [C99-based-standards] (SCNoLEAST64): Likewise.
25446 [C99-based-standards] (SCNuLEAST64): Likewise.
25447 [C99-based-standards] (SCNxLEAST64): Likewise.
25448 [C99-based-standards] (PRIdFAST64): Likewise.
25449 [C99-based-standards] (PRIiFAST64): Likewise.
25450 [C99-based-standards] (PRIoFAST64): Likewise.
25451 [C99-based-standards] (PRIuFAST64): Likewise.
25452 [C99-based-standards] (PRIxFAST64): Likewise.
25453 [C99-based-standards] (PRIXFAST64): Likewise.
25454 [C99-based-standards] (SCNdFAST64): Likewise.
25455 [C99-based-standards] (SCNiFAST64): Likewise.
25456 [C99-based-standards] (SCNoFAST64): Likewise.
25457 [C99-based-standards] (SCNuFAST64): Likewise.
25458 [C99-based-standards] (SCNxFAST64): Likewise.
25459 [C99-based-standards] (PRIdMAX): Likewise.
25460 [C99-based-standards] (PRIiMAX): Likewise.
25461 [C99-based-standards] (PRIoMAX): Likewise.
25462 [C99-based-standards] (PRIuMAX): Likewise.
25463 [C99-based-standards] (PRIxMAX): Likewise.
25464 [C99-based-standards] (PRIXMAX): Likewise.
25465 [C99-based-standards] (SCNdMAX): Likewise.
25466 [C99-based-standards] (SCNiMAX): Likewise.
25467 [C99-based-standards] (SCNoMAX): Likewise.
25468 [C99-based-standards] (SCNuMAX): Likewise.
25469 [C99-based-standards] (SCNxMAX): Likewise.
25470 [C99-based-standards] (PRIdPTR): Likewise.
25471 [C99-based-standards] (PRIiPTR): Likewise.
25472 [C99-based-standards] (PRIoPTR): Likewise.
25473 [C99-based-standards] (PRIuPTR): Likewise.
25474 [C99-based-standards] (PRIxPTR): Likewise.
25475 [C99-based-standards] (PRIXPTR): Likewise.
25476 [C99-based-standards] (SCNdPTR): Likewise.
25477 [C99-based-standards] (SCNiPTR): Likewise.
25478 [C99-based-standards] (SCNoPTR): Likewise.
25479 [C99-based-standards] (SCNuPTR): Likewise.
25480 [C99-based-standards] (SCNxPTR): Likewise.
25481 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25483 * conform/data/stdint.h-data: Update comments to clarify
25485 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25487 [C99-based standards] (INT8_MAX): Likewise.
25488 [C99-based standards] (INT16_MIN): Likewise.
25489 [C99-based standards] (INT16_MAX): Likewise.
25490 [C99-based standards] (INT32_MIN): Likewise.
25491 [C99-based standards] (INT32_MAX): Likewise.
25492 [C99-based standards] (INT64_MIN): Likewise.
25493 [C99-based standards] (INT64_MAX): Likewise.
25494 [C99-based standards] (UINT8_MAX): Likewise.
25495 [C99-based standards] (UINT16_MAX): Likewise.
25496 [C99-based standards] (UINT32_MAX): Likewise.
25497 [C99-based standards] (UINT64_MAX): Likewise.
25498 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25499 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25500 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25501 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25502 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25503 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25504 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25505 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25506 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25507 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25508 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25509 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25510 [C99-based standards] (INT_FAST8_MIN): Likewise.
25511 [C99-based standards] (INT_FAST8_MAX): Likewise.
25512 [C99-based standards] (INT_FAST16_MIN): Likewise.
25513 [C99-based standards] (INT_FAST16_MAX): Likewise.
25514 [C99-based standards] (INT_FAST32_MIN): Likewise.
25515 [C99-based standards] (INT_FAST32_MAX): Likewise.
25516 [C99-based standards] (INT_FAST64_MIN): Likewise.
25517 [C99-based standards] (INT_FAST64_MAX): Likewise.
25518 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25519 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25520 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25521 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25522 [C99-based standards] (INTPTR_MIN): Likewise.
25523 [C99-based standards] (INTPTR_MAX): Likewise.
25524 [C99-based standards] (UINTPTR_MAX): Likewise.
25525 [C99-based standards] (INTMAX_MIN): Likewise.
25526 [C99-based standards] (INTMAX_MAX): Likewise.
25527 [C99-based standards] (UINTMAX_MAX): Likewise.
25528 [C99-based standards] (PTRDIFF_MIN): Likewise.
25529 [C99-based standards] (PTRDIFF_MAX): Likewise.
25530 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25531 [C99-based standards] (SIZE_MAX): Likewise.
25532 [C99-based standards] (WCHAR_MAX): Likewise.
25533 [C99-based standards] (WINT_MAX): Likewise.
25534 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25535 constraint on value.
25536 [C99-based standards] (WCHAR_MIN): Likewise.
25537 [C99-based standards] (WINT_MIN): Likewise.
25538 [C99-based standards] (*_t): Allow.
25539 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25540 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25541 Include math.h-data and complex.h-data. Remove all expectations
25542 of math.h and complex.h contents.
25543 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25545 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25546 (struct tm): Expect tag.
25547 [C99-based-standards] (wcstof): Expect function.
25548 [C99-based-standards] (wcstold): Likewise.
25549 [C99-based-standards] (wcstoll): Likewise.
25550 [C99-based-standards] (wcstoull): Likewise.
25551 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25552 macro-int-constant. Specify type.
25553 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25554 constraint on value.
25555 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25557 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25559 [ISO C standards]: Do not allow headers.
25560 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25561 wcs[abcdefghijklmnopqrstuvwxyz]*.
25562 [ISO C standards] (*_t): Do not allow.
25563 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25565 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25566 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25568 [ISO C standards]: Do not allow headers.
25569 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25570 is[abcdefghijklmnopqrstuvwxyz]*.
25571 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25572 to[abcdefghijklmnopqrstuvwxyz]*.
25573 [ISO C standards] (*_t): Do not allow.
25574 * conform/data/stdalign.h-data: New file.
25575 * conform/data/stdbool.h-data: Likewise.
25576 * conform/data/stdnoreturn.h-data: Likewise.
25578 2012-11-07 Roland McGrath <roland@hack.frob.com>
25581 * manual/filesys.texi (Directory Entries): Typo fix.
25582 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25584 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25586 * elf/elf.h (EM_AARCH64): New macro.
25587 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25588 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25589 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25590 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25591 (R_AARCH64_TLSDESC): Likewise.
25592 (NT_ARM_TLS): Likewise.
25593 (NT_ARM_HW_BREAK): Likewise.
25594 (NT_ARM_HW_WATCH): Likewise.
25596 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25599 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25600 (__ieee754_powl): Saturate nonzero exponents with absolute value
25601 below 0x1p-79 to +/- 0x1p-79.
25602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25603 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25604 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25605 nonzero exponents with absolute value below 0x1p-32 to +/-
25607 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25608 (__ieee754_powl): Saturate nonzero exponents with absolute value
25609 below 0x1p-79 to +/- 0x1p-79.
25610 * math/libm-test.inc (pow_test): Add more tests.
25612 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25614 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25615 _dl_s390_cap_flags with kernel. Increase string length.
25616 (_dl_s390_platforms): Add z196 and zEC12.
25618 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25620 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25621 Change XOPEN21K to XOPEN2K.
25623 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25625 * string/memmove.c: Use memcpy when possible.
25627 2012-11-06 Andreas Jaeger <aj@suse.de>
25629 * po/eo.po: Update from translation team.
25631 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25635 exponent and small x and y exponents, scale x or y up. Increase
25636 by 2 the exponent used in scaling up.
25637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25639 * math/libm-test.inc (fma_test): Add more tests.
25640 (fma_test_towardzero): Likewise.
25641 (fma_test_downward): Likewise.
25642 (fma_test_upward): Likewise.
25644 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25647 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25651 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25652 namespace for names of struct fields.
25653 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25655 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25656 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25658 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25661 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25663 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25665 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25669 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25672 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25676 definitely overflow as x * y not x * y + z.
25677 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25678 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25679 * math/libm-test.inc (fma_test): Add more tests.
25680 (fma_test_towardzero): Likewise.
25681 (fma_test_downward): Likewise.
25682 (fma_test_upward): Likewise.
25684 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25688 * include/stub-tag.h: Remove file.
25689 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25691 * manual/maint.texi (Porting): Don't reference it.
25692 * Makerules ($(objpfx)stubs): Likewise.
25693 * dirent/closedir.c: Don't include <stub-tag.h>.
25694 * dirent/dirfd.c: Likewise.
25695 * dirent/fdopendir.c: Likewise.
25696 * dirent/getdents.c: Likewise.
25697 * dirent/getdents64.c: Likewise.
25698 * dirent/opendir.c: Likewise.
25699 * dirent/readdir.c: Likewise.
25700 * dirent/readdir64.c: Likewise.
25701 * dirent/readdir64_r.c: Likewise.
25702 * dirent/readdir_r.c: Likewise.
25703 * dirent/rewinddir.c: Likewise.
25704 * dirent/seekdir.c: Likewise.
25705 * dirent/telldir.c: Likewise.
25706 * gmon/profil.c: Likewise.
25707 * grp/setgroups.c: Likewise.
25708 * inet/if_index.c: Likewise.
25709 * io/access.c: Likewise.
25710 * io/chdir.c: Likewise.
25711 * io/chmod.c: Likewise.
25712 * io/chown.c: Likewise.
25713 * io/close.c: Likewise.
25714 * io/dup.c: Likewise.
25715 * io/dup2.c: Likewise.
25716 * io/dup3.c: Likewise.
25717 * io/euidaccess.c: Likewise.
25718 * io/faccessat.c: Likewise.
25719 * io/fchdir.c: Likewise.
25720 * io/fchmod.c: Likewise.
25721 * io/fchmodat.c: Likewise.
25722 * io/fchown.c: Likewise.
25723 * io/fchownat.c: Likewise.
25724 * io/fcntl.c: Likewise.
25725 * io/flock.c: Likewise.
25726 * io/fstatfs.c: Likewise.
25727 * io/fstatfs64.c: Likewise.
25728 * io/fstatvfs.c: Likewise.
25729 * io/fstatvfs64.c: Likewise.
25730 * io/futimens.c: Likewise.
25731 * io/fxstat.c: Likewise.
25732 * io/fxstat64.c: Likewise.
25733 * io/fxstatat.c: Likewise.
25734 * io/fxstatat64.c: Likewise.
25735 * io/getcwd.c: Likewise.
25736 * io/isatty.c: Likewise.
25737 * io/lchmod.c: Likewise.
25738 * io/lchown.c: Likewise.
25739 * io/link.c: Likewise.
25740 * io/linkat.c: Likewise.
25741 * io/lseek.c: Likewise.
25742 * io/lseek64.c: Likewise.
25743 * io/lxstat64.c: Likewise.
25744 * io/mkdir.c: Likewise.
25745 * io/mkdirat.c: Likewise.
25746 * io/mkfifo.c: Likewise.
25747 * io/mkfifoat.c: Likewise.
25748 * io/open.c: Likewise.
25749 * io/open64.c: Likewise.
25750 * io/openat.c: Likewise.
25751 * io/openat64.c: Likewise.
25752 * io/pipe.c: Likewise.
25753 * io/pipe2.c: Likewise.
25754 * io/poll.c: Likewise.
25755 * io/posix_fadvise.c: Likewise.
25756 * io/posix_fadvise64.c: Likewise.
25757 * io/posix_fallocate.c: Likewise.
25758 * io/posix_fallocate64.c: Likewise.
25759 * io/read.c: Likewise.
25760 * io/readlink.c: Likewise.
25761 * io/readlinkat.c: Likewise.
25762 * io/rmdir.c: Likewise.
25763 * io/sendfile.c: Likewise.
25764 * io/sendfile64.c: Likewise.
25765 * io/statfs.c: Likewise.
25766 * io/statfs64.c: Likewise.
25767 * io/statvfs.c: Likewise.
25768 * io/statvfs64.c: Likewise.
25769 * io/symlink.c: Likewise.
25770 * io/symlinkat.c: Likewise.
25771 * io/ttyname.c: Likewise.
25772 * io/ttyname_r.c: Likewise.
25773 * io/umask.c: Likewise.
25774 * io/unlink.c: Likewise.
25775 * io/unlinkat.c: Likewise.
25776 * io/utime.c: Likewise.
25777 * io/utimensat.c: Likewise.
25778 * io/write.c: Likewise.
25779 * io/xmknod.c: Likewise.
25780 * io/xmknodat.c: Likewise.
25781 * io/xstat.c: Likewise.
25782 * io/xstat64.c: Likewise.
25783 * login/getpt.c: Likewise.
25784 * login/grantpt.c: Likewise.
25785 * login/unlockpt.c: Likewise.
25786 * math/e_acoshl.c: Likewise.
25787 * math/e_acosl.c: Likewise.
25788 * math/e_asinl.c: Likewise.
25789 * math/e_atan2l.c: Likewise.
25790 * math/e_atanhl.c: Likewise.
25791 * math/e_coshl.c: Likewise.
25792 * math/e_expl.c: Likewise.
25793 * math/e_fmodl.c: Likewise.
25794 * math/e_gammal_r.c: Likewise.
25795 * math/e_hypotl.c: Likewise.
25796 * math/e_j0l.c: Likewise.
25797 * math/e_j1l.c: Likewise.
25798 * math/e_jnl.c: Likewise.
25799 * math/e_lgammal_r.c: Likewise.
25800 * math/e_log10l.c: Likewise.
25801 * math/e_log2l.c: Likewise.
25802 * math/e_logl.c: Likewise.
25803 * math/e_powl.c: Likewise.
25804 * math/e_rem_pio2l.c: Likewise.
25805 * math/e_sinhl.c: Likewise.
25806 * math/e_sqrtl.c: Likewise.
25807 * math/fclrexcpt.c: Likewise.
25808 * math/fedisblxcpt.c: Likewise.
25809 * math/feenablxcpt.c: Likewise.
25810 * math/fegetenv.c: Likewise.
25811 * math/fegetexcept.c: Likewise.
25812 * math/fegetround.c: Likewise.
25813 * math/feholdexcpt.c: Likewise.
25814 * math/fesetenv.c: Likewise.
25815 * math/fesetround.c: Likewise.
25816 * math/feupdateenv.c: Likewise.
25817 * math/fgetexcptflg.c: Likewise.
25818 * math/fraiseexcpt.c: Likewise.
25819 * math/fsetexcptflg.c: Likewise.
25820 * math/ftestexcept.c: Likewise.
25821 * math/k_cosl.c: Likewise.
25822 * math/k_rem_pio2l.c: Likewise.
25823 * math/k_sinl.c: Likewise.
25824 * math/k_tanl.c: Likewise.
25825 * math/s_asinhl.c: Likewise.
25826 * math/s_atanl.c: Likewise.
25827 * math/s_cbrtl.c: Likewise.
25828 * math/s_erfl.c: Likewise.
25829 * math/s_expm1l.c: Likewise.
25830 * math/s_log1pl.c: Likewise.
25831 * math/s_tanhl.c: Likewise.
25832 * misc/acct.c: Likewise.
25833 * misc/brk.c: Likewise.
25834 * misc/chflags.c: Likewise.
25835 * misc/chroot.c: Likewise.
25836 * misc/fchflags.c: Likewise.
25837 * misc/fgetxattr.c: Likewise.
25838 * misc/flistxattr.c: Likewise.
25839 * misc/fremovexattr.c: Likewise.
25840 * misc/fsetxattr.c: Likewise.
25841 * misc/fsync.c: Likewise.
25842 * misc/ftruncate.c: Likewise.
25843 * misc/futimes.c: Likewise.
25844 * misc/futimesat.c: Likewise.
25845 * misc/getdomain.c: Likewise.
25846 * misc/getdtsz.c: Likewise.
25847 * misc/gethostid.c: Likewise.
25848 * misc/gethostname.c: Likewise.
25849 * misc/getloadavg.c: Likewise.
25850 * misc/getpagesize.c: Likewise.
25851 * misc/getsysstats.c: Likewise.
25852 * misc/getxattr.c: Likewise.
25853 * misc/gtty.c: Likewise.
25854 * misc/ioctl.c: Likewise.
25855 * misc/lgetxattr.c: Likewise.
25856 * misc/listxattr.c: Likewise.
25857 * misc/llistxattr.c: Likewise.
25858 * misc/lremovexattr.c: Likewise.
25859 * misc/lsetxattr.c: Likewise.
25860 * misc/lutimes.c: Likewise.
25861 * misc/madvise.c: Likewise.
25862 * misc/mincore.c: Likewise.
25863 * misc/mlock.c: Likewise.
25864 * misc/mlockall.c: Likewise.
25865 * misc/mmap.c: Likewise.
25866 * misc/mprotect.c: Likewise.
25867 * misc/msync.c: Likewise.
25868 * misc/munlock.c: Likewise.
25869 * misc/munlockall.c: Likewise.
25870 * misc/munmap.c: Likewise.
25871 * misc/preadv.c: Likewise.
25872 * misc/preadv64.c: Likewise.
25873 * misc/ptrace.c: Likewise.
25874 * misc/pwritev.c: Likewise.
25875 * misc/pwritev64.c: Likewise.
25876 * misc/readv.c: Likewise.
25877 * misc/reboot.c: Likewise.
25878 * misc/remap_file_pages.c: Likewise.
25879 * misc/removexattr.c: Likewise.
25880 * misc/revoke.c: Likewise.
25881 * misc/select.c: Likewise.
25882 * misc/setdomain.c: Likewise.
25883 * misc/setegid.c: Likewise.
25884 * misc/seteuid.c: Likewise.
25885 * misc/sethostid.c: Likewise.
25886 * misc/sethostname.c: Likewise.
25887 * misc/setregid.c: Likewise.
25888 * misc/setreuid.c: Likewise.
25889 * misc/setxattr.c: Likewise.
25890 * misc/sstk.c: Likewise.
25891 * misc/stty.c: Likewise.
25892 * misc/swapoff.c: Likewise.
25893 * misc/swapon.c: Likewise.
25894 * misc/sync.c: Likewise.
25895 * misc/syncfs.c: Likewise.
25896 * misc/syscall.c: Likewise.
25897 * misc/truncate.c: Likewise.
25898 * misc/ualarm.c: Likewise.
25899 * misc/usleep.c: Likewise.
25900 * misc/ustat.c: Likewise.
25901 * misc/utimes.c: Likewise.
25902 * misc/vhangup.c: Likewise.
25903 * misc/writev.c: Likewise.
25904 * posix/_exit.c: Likewise.
25905 * posix/alarm.c: Likewise.
25906 * posix/execve.c: Likewise.
25907 * posix/fexecve.c: Likewise.
25908 * posix/fork.c: Likewise.
25909 * posix/fpathconf.c: Likewise.
25910 * posix/getaddrinfo.c: Likewise.
25911 * posix/getegid.c: Likewise.
25912 * posix/geteuid.c: Likewise.
25913 * posix/getgid.c: Likewise.
25914 * posix/getgroups.c: Likewise.
25915 * posix/getlogin.c: Likewise.
25916 * posix/getlogin_r.c: Likewise.
25917 * posix/getpgid.c: Likewise.
25918 * posix/getpid.c: Likewise.
25919 * posix/getppid.c: Likewise.
25920 * posix/getresgid.c: Likewise.
25921 * posix/getresuid.c: Likewise.
25922 * posix/getsid.c: Likewise.
25923 * posix/getuid.c: Likewise.
25924 * posix/glob64.c: Likewise.
25925 * posix/nanosleep.c: Likewise.
25926 * posix/pathconf.c: Likewise.
25927 * posix/pause.c: Likewise.
25928 * posix/posix_madvise.c: Likewise.
25929 * posix/pread.c: Likewise.
25930 * posix/pread64.c: Likewise.
25931 * posix/pwrite.c: Likewise.
25932 * posix/pwrite64.c: Likewise.
25933 * posix/sched_getaffinity.c: Likewise.
25934 * posix/sched_getp.c: Likewise.
25935 * posix/sched_gets.c: Likewise.
25936 * posix/sched_primax.c: Likewise.
25937 * posix/sched_primin.c: Likewise.
25938 * posix/sched_rr_gi.c: Likewise.
25939 * posix/sched_setaffinity.c: Likewise.
25940 * posix/sched_setp.c: Likewise.
25941 * posix/sched_sets.c: Likewise.
25942 * posix/sched_yield.c: Likewise.
25943 * posix/setgid.c: Likewise.
25944 * posix/setlogin.c: Likewise.
25945 * posix/setpgid.c: Likewise.
25946 * posix/setresgid.c: Likewise.
25947 * posix/setresuid.c: Likewise.
25948 * posix/setsid.c: Likewise.
25949 * posix/setuid.c: Likewise.
25950 * posix/sleep.c: Likewise.
25951 * posix/spawni.c: Likewise.
25952 * posix/sysconf.c: Likewise.
25953 * posix/times.c: Likewise.
25954 * posix/wait.c: Likewise.
25955 * posix/wait3.c: Likewise.
25956 * posix/wait4.c: Likewise.
25957 * posix/waitpid.c: Likewise.
25958 * resolv/gai_sigqueue.c: Likewise.
25959 * resource/getpriority.c: Likewise.
25960 * resource/getrlimit.c: Likewise.
25961 * resource/getrusage.c: Likewise.
25962 * resource/nice.c: Likewise.
25963 * resource/setpriority.c: Likewise.
25964 * resource/setrlimit.c: Likewise.
25965 * resource/ulimit.c: Likewise.
25966 * rt/aio_cancel.c: Likewise.
25967 * rt/aio_fsync.c: Likewise.
25968 * rt/aio_read.c: Likewise.
25969 * rt/aio_sigqueue.c: Likewise.
25970 * rt/aio_suspend.c: Likewise.
25971 * rt/aio_write.c: Likewise.
25972 * rt/clock_getres.c: Likewise.
25973 * rt/clock_gettime.c: Likewise.
25974 * rt/clock_nanosleep.c: Likewise.
25975 * rt/clock_settime.c: Likewise.
25976 * rt/lio_listio.c: Likewise.
25977 * rt/mq_close.c: Likewise.
25978 * rt/mq_getattr.c: Likewise.
25979 * rt/mq_notify.c: Likewise.
25980 * rt/mq_open.c: Likewise.
25981 * rt/mq_receive.c: Likewise.
25982 * rt/mq_send.c: Likewise.
25983 * rt/mq_setattr.c: Likewise.
25984 * rt/mq_timedreceive.c: Likewise.
25985 * rt/mq_timedsend.c: Likewise.
25986 * rt/mq_unlink.c: Likewise.
25987 * rt/shm_open.c: Likewise.
25988 * rt/shm_unlink.c: Likewise.
25989 * rt/timer_create.c: Likewise.
25990 * rt/timer_delete.c: Likewise.
25991 * rt/timer_getoverr.c: Likewise.
25992 * rt/timer_gettime.c: Likewise.
25993 * rt/timer_settime.c: Likewise.
25994 * setjmp/__longjmp.c: Likewise.
25995 * setjmp/setjmp.c: Likewise.
25996 * signal/kill.c: Likewise.
25997 * signal/killpg.c: Likewise.
25998 * signal/raise.c: Likewise.
25999 * signal/sigaction.c: Likewise.
26000 * signal/sigaltstack.c: Likewise.
26001 * signal/sigblock.c: Likewise.
26002 * signal/sigignore.c: Likewise.
26003 * signal/sigintr.c: Likewise.
26004 * signal/signal.c: Likewise.
26005 * signal/sigpause.c: Likewise.
26006 * signal/sigpending.c: Likewise.
26007 * signal/sigqueue.c: Likewise.
26008 * signal/sigreturn.c: Likewise.
26009 * signal/sigset.c: Likewise.
26010 * signal/sigsetmask.c: Likewise.
26011 * signal/sigstack.c: Likewise.
26012 * signal/sigsuspend.c: Likewise.
26013 * signal/sigtimedwait.c: Likewise.
26014 * signal/sigvec.c: Likewise.
26015 * signal/sigwait.c: Likewise.
26016 * signal/sigwaitinfo.c: Likewise.
26017 * signal/sysv_signal.c: Likewise.
26018 * socket/accept.c: Likewise.
26019 * socket/accept4.c: Likewise.
26020 * socket/bind.c: Likewise.
26021 * socket/connect.c: Likewise.
26022 * socket/getpeername.c: Likewise.
26023 * socket/getsockname.c: Likewise.
26024 * socket/getsockopt.c: Likewise.
26025 * socket/isfdtype.c: Likewise.
26026 * socket/listen.c: Likewise.
26027 * socket/recv.c: Likewise.
26028 * socket/recvfrom.c: Likewise.
26029 * socket/recvmsg.c: Likewise.
26030 * socket/send.c: Likewise.
26031 * socket/sendmsg.c: Likewise.
26032 * socket/sendto.c: Likewise.
26033 * socket/setsockopt.c: Likewise.
26034 * socket/shutdown.c: Likewise.
26035 * socket/sockatmark.c: Likewise.
26036 * socket/socket.c: Likewise.
26037 * socket/socketpair.c: Likewise.
26038 * stdio-common/ctermid.c: Likewise.
26039 * stdio-common/cuserid.c: Likewise.
26040 * stdio-common/remove.c: Likewise.
26041 * stdio-common/rename.c: Likewise.
26042 * stdio-common/renameat.c: Likewise.
26043 * stdio-common/tempname.c: Likewise.
26044 * stdlib/getcontext.c: Likewise.
26045 * stdlib/makecontext.c: Likewise.
26046 * stdlib/setcontext.c: Likewise.
26047 * stdlib/swapcontext.c: Likewise.
26048 * stdlib/system.c: Likewise.
26049 * streams/fattach.c: Likewise.
26050 * streams/fdetach.c: Likewise.
26051 * streams/getmsg.c: Likewise.
26052 * streams/getpmsg.c: Likewise.
26053 * streams/putmsg.c: Likewise.
26054 * streams/putpmsg.c: Likewise.
26055 * sysdeps/unix/bsd/getpt.c: Likewise.
26056 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26057 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26058 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26061 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26062 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26063 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26064 * sysvipc/msgctl.c: Likewise.
26065 * sysvipc/msgget.c: Likewise.
26066 * sysvipc/msgrcv.c: Likewise.
26067 * sysvipc/msgsnd.c: Likewise.
26068 * sysvipc/semctl.c: Likewise.
26069 * sysvipc/semget.c: Likewise.
26070 * sysvipc/semop.c: Likewise.
26071 * sysvipc/semtimedop.c: Likewise.
26072 * sysvipc/shmat.c: Likewise.
26073 * sysvipc/shmctl.c: Likewise.
26074 * sysvipc/shmdt.c: Likewise.
26075 * sysvipc/shmget.c: Likewise.
26076 * termios/tcdrain.c: Likewise.
26077 * termios/tcflow.c: Likewise.
26078 * termios/tcflush.c: Likewise.
26079 * termios/tcgetattr.c: Likewise.
26080 * termios/tcgetpgrp.c: Likewise.
26081 * termios/tcsendbrk.c: Likewise.
26082 * termios/tcsetattr.c: Likewise.
26083 * termios/tcsetpgrp.c: Likewise.
26084 * time/adjtime.c: Likewise.
26085 * time/clock.c: Likewise.
26086 * time/getitimer.c: Likewise.
26087 * time/gettimeofday.c: Likewise.
26088 * time/setitimer.c: Likewise.
26089 * time/settimeofday.c: Likewise.
26090 * time/stime.c: Likewise.
26091 * time/time.c: Likewise.
26093 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26095 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26098 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26100 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26102 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26106 FE_TONEAREST before applying Dekker multiplication and Knuth
26107 addition. Clear inexact exceptions and check for exact zero
26108 results afterwards.
26109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26110 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26111 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26112 * math/libm-test.inc (fma_test): Add more tests.
26113 (fma_test_towardzero): Likewise.
26114 (fma_test_downward): Likewise.
26115 (fma_test_upward): Likewise.
26116 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26118 (libc_fesetround): New macro.
26119 (libc_fesetroundf): Likewise.
26120 (libc_fesetroundl): Likewise.
26121 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26123 (libc_fesetround_387): Likewise.
26124 (libc_fesetroundf): New macro.
26125 (libc_fesetround): Likewise.
26126 (libc_fesetroundl): Likewise.
26127 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26129 (libc_fesetroundf): New macro.
26130 (libc_fesetround): Likewise.
26131 (libc_fesetroundl): Likewise.
26132 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26133 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26134 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26136 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26137 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26139 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26140 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26142 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26146 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26147 integer constant usable in #if and use that to give value to enum
26149 (FE_DIVBYZERO): Likewise.
26150 (FE_UNDERFLOW): Likewise.
26151 (FE_OVERFLOW): Likewise.
26152 (FE_INVALID): Likewise.
26153 (FE_INVALID_SNAN): Likewise.
26154 (FE_INVALID_ISI): Likewise.
26155 (FE_INVALID_IDI): Likewise.
26156 (FE_INVALID_ZDZ): Likewise.
26157 (FE_INVALID_IMZ): Likewise.
26158 (FE_INVALID_COMPARE): Likewise.
26159 (FE_INVALID_SOFTWARE): Likewise.
26160 (FE_INVALID_SQRT): Likewise.
26161 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26162 (FE_TONEAREST): Likewise.
26163 (FE_TOWARDZERO): Likewise.
26164 (FE_UPWARD): Likewise.
26165 (FE_DOWNWARD): Likewise.
26166 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26167 (FE_DIVBYZERO): Likewise.
26168 (FE_OVERFLOW): Likewise.
26169 (FE_UNDERFLOW): Likewise.
26170 (FE_INEXACT): Likewise.
26171 (FE_TONEAREST): Likewise.
26172 (FE_DOWNWARD): Likewise.
26173 (FE_UPWARD): Likewise.
26174 (FE_TOWARDZERO): Likewise.
26175 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26176 (FE_UNDERFLOW): Likewise.
26177 (FE_OVERFLOW): Likewise.
26178 (FE_DIVBYZERO): Likewise.
26179 (FE_INVALID): Likewise.
26180 (FE_TONEAREST): Likewise.
26181 (FE_TOWARDZERO): Likewise.
26182 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26183 (FE_OVERFLOW): Likewise.
26184 (FE_UNDERFLOW): Likewise.
26185 (FE_DIVBYZERO): Likewise.
26186 (FE_INEXACT): Likewise.
26187 (FE_TONEAREST): Likewise.
26188 (FE_TOWARDZERO): Likewise.
26189 (FE_UPWARD): Likewise.
26190 (FE_DOWNWARD): Likewise.
26191 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26192 (FE_DIVBYZERO): Likewise.
26193 (FE_OVERFLOW): Likewise.
26194 (FE_UNDERFLOW): Likewise.
26195 (FE_INEXACT): Likewise.
26196 (FE_TONEAREST): Likewise.
26197 (FE_DOWNWARD): Likewise.
26198 (FE_UPWARD): Likewise.
26199 (FE_TOWARDZERO): Likewise.
26201 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26203 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26205 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26207 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26208 commands. Quote $PWD.
26209 (blacklist_exports): Don't use remove_newlines. Replace "declare
26211 (remove_newlines): Remove.
26213 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26215 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26216 * stdlib/stdlib.h (atof): Moved to ...
26217 * include/bits/stdlib-float.h: Here. New file.
26218 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26219 * stdlib/bits/stdlib-float.h: New file.
26220 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26222 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26225 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26227 * conform/conformtest.pl (@headers): Add fenv.h.
26228 * conform/data/fenv.h-data: New file.
26229 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26230 include of <math/fenv.h>.
26232 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26233 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26234 && !UNIX98]. Enables tests for XOPEN2K8.
26235 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26236 POSIX2008]: Likewise.
26238 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26239 (struct rusage): Do not expect type or its members.
26242 * math/math.h (FP_NAN): Define macro to integer constant usable in
26243 #if and use that to give value to enum constant.
26244 (FP_INFINITE): Likewise.
26245 (FP_ZERO): Likewise.
26246 (FP_SUBNORMAL): Likewise.
26247 (FP_NORMAL): Likewise.
26249 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26251 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26252 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26255 2012-11-02 Roland McGrath <roland@hack.frob.com>
26257 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26258 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26259 autoconf-time if not.
26260 * configure.in: Remove AC_PREREQ.
26262 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26264 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26265 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26266 of the internal implementation.
26268 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26270 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26271 except include of <misc/sys/syslog.h>.
26273 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26276 function returns with a NULL context exit with zero.
26278 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26280 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26282 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26284 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26285 (run_program_cmd): This.
26286 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26287 (tst_langinfo): New variable. Use it.
26289 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26291 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26292 floating point opcodes.
26294 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26296 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26299 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26301 * sysdeps/mach/hurd/powerpc: Remove directory.
26302 * sysdeps/mach/powerpc: Likewise.
26304 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26306 * scripts/check-local-headers.sh: Ignore c++ headers.
26308 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26310 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26311 __libc_cleanup_region_start argument.
26313 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26318 x * y using scaling, not as x * y + z.
26319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26321 * math/libm-test.inc (fma_test): Add more tests.
26322 (fma_test_towardzero): Likewise.
26323 (fma_test_downward): Likewise.
26324 (fma_test_upward): Likewise.
26326 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26328 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26330 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26332 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26335 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26337 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26339 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26346 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26349 Fix the order of the list for glibc 2.17.
26350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26353 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26357 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26360 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26361 for low part of x being zero before using __atanl (y).
26362 * math/libm-test.inc (atan2_test): Add another test.
26364 * manual/install.texi (Configuring and compiling): Document
26365 general use of test-wrapper and test-wrapper-env.
26366 * INSTALL: Regenerated.
26368 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26369 (__fma): Do not extract and scale down low bits on after-rounding
26370 systems when result rounded to normal precision would have normal
26372 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26373 (__fmal): Do not extract and scale down low bits on after-rounding
26374 systems when result rounded to normal precision would have normal
26376 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26377 (__fmal): Do not extract and scale down low bits on after-rounding
26378 systems when result rounded to normal precision would have normal
26380 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26382 (fma_test): Add more tests.
26383 (fma_test_towardzero): Likewise.
26384 (fma_test_downward): Likewise.
26385 (fma_test_upward): Likewise.
26387 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26389 * sysdeps/i386/tininess.h: Renamed to ...
26390 * sysdeps/x86/tininess.h: This.
26391 * sysdeps/x86_64/tininess.h: Removed.
26393 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26395 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26396 input. Use $(build-program-cmd).
26397 ($(objpfx)tst-array1-static.out): Likewise.
26398 ($(objpfx)tst-array2.out): Likewise.
26399 ($(objpfx)tst-array3.out): Likewise.
26400 ($(objpfx)tst-array4.out): Likewise.
26401 ($(objpfx)tst-array5.out): Likewise.
26402 ($(objpfx)tst-array5-static.out): Likewise.
26404 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26406 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26409 * nss/nsswitch.h (nss_interface_function): Provide new
26410 macro for use with NSS functions.
26411 * grp/initgroups.c: Use new macro.
26412 * nss/getXXbyYY.c: Likewise.
26413 * nss/getXXbyYY_r.c: Likewise.
26414 * nss/getXXent.c: Likewise.
26415 * nss/getXXent_r.c: Likewise.
26416 * sysdeps/posix/getaddrinfo.c: Likewise.
26418 2012-10-30 Andreas Jaeger <aj@suse.de>
26420 * po/ru.po: Update Russion translation from translation project.
26422 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26427 result and shift together with sticky bit instead of replicating
26428 round-to-nearest rounding.
26429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26430 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26431 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26432 missing underflow exceptions.
26433 (fma_test_towardzero): Add more tests.
26434 (fma_test_downward): Likewise.
26435 (fma_test_upward): Likewise.
26438 * sysdeps/generic/tininess.h: New file.
26439 * sysdeps/i386/tininess.h: Likewise.
26440 * sysdeps/sh/tininess.h: Likewise.
26441 * sysdeps/x86_64/tininess.h: Likewise.
26442 * stdlib/tst-strtod-underflow.c: Likewise.
26443 * stdlib/tst-tininess.c: Likewise.
26444 * stdlib/strtod_l.c: Include <tininess.h>.
26445 (round_and_return): Do not set errno for exact underflow cases.
26446 Force an underflow exception when setting errno for underflow.
26447 Determine underflow based on rounding to normal precision if
26448 TININESS_AFTER_ROUNDING.
26449 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26450 ERANGE for exact underflow cases.
26451 * stdlib/Makefile (tests): Add tst-tininess and
26452 tst-strtod-underflow.
26453 ($(objpfx)tst-tininess): Use $(link-libm).
26454 ($(objpfx)tst-strtod-underflow): Likewise.
26456 2012-10-30 Andreas Jaeger <aj@suse.de>
26459 * elf/Makefile (tests): Remove conditional for have-initfini-array
26460 since this is now always required and the variable does not exist
26462 (tests-static): Likewise.
26463 (modules-names): Likewise.
26465 * po/eo.po: Add Esperanto translation from translation project.
26467 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26468 merged with constructor/destructor.
26469 (init_array): Likewise.
26470 * elf/tst-array2dep.c (fini_array): Likewise.
26471 (init_array): Likewise.
26473 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26475 * manual/message.texi: Delete @cartouche tags.
26477 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26479 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26481 * sysdeps/mach/hurd/fsync.c: Likewise.
26483 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26484 [_POSIX_REALTIME_SIGNALS]: Change condition to
26485 [_POSIX_REALTIME_SIGNALS > 0].
26487 2012-10-27 Andreas Jaeger <aj@suse.de>
26489 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26490 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26492 [__WORDSIZE != 64]: Likewise.
26494 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26496 * iconvdata/tst-table.sh: Remove ${SHELL}.
26497 * iconvdata/tst-tables.sh: Likewise.
26499 2012-10-25 David S. Miller <davem@davemloft.net>
26501 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26502 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26507 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26508 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26509 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26512 2012-10-25 Roland McGrath <roland@hack.frob.com>
26514 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26515 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26518 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26519 Jim Blandy <jimb@codesourcery.com>
26521 * scripts/cross-test-ssh.sh: New file.
26522 * manual/install.texi (Configuring and compiling): Document use of
26524 * INSTALL: Regenerated.
26526 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26528 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26531 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26533 * Makeconfig (run-program-prefix): Fix comment.
26535 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26536 Jim Blandy <jimb@codesourcery.com>
26538 * Makeconfig (test-wrapper): New variable,
26539 (test-wrapper-env): Likewise.
26540 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26541 (run-built-tests): Define to yes.
26542 (run-program-prefix): Use $(test-wrapper).
26543 (built-program-cmd): Likewise.
26544 * Rules (make-test-out): Use $(test-wrapper-env) and
26545 $(host-built-program-cmd).
26546 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26547 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26549 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26550 $(test-wrapper-env) to tst-rtld-load-self.sh.
26551 ($(objpfx)order2.out): Use $(test-wrapper).
26552 ($(objpfx)tst-initorder.out): Likewise.
26553 ($(objpfx)tst-initorder2.out): Likewise.
26554 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26555 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26556 (test_wrapper_env): New variable. Use it to run ld.so.
26557 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26558 Use it to run ld.so.
26559 (test_wrapper_env): Likewise.
26560 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26561 $(test-wrapper) to run-iconv-test.sh.
26562 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26563 (ICONV): Use $test_wrapper.
26564 * posix/Makefile ($(objpfx)globtest.out): Pass
26565 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26566 globtest.sh, not $(run-program-prefix).
26567 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26568 (test_wrapper): Likewise.
26569 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26570 set together with run_via_rtld_prefix.
26571 (run_program_prefix): Define in terms of test_wrapper and
26572 run_via_rtld_prefix.
26574 2012-10-24 Roland McGrath <roland@hack.frob.com>
26576 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26577 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26581 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26582 Declare __clock_getres, __clock_gettime, __clock_settime,
26583 __clock_nanosleep, and __clock_getcpuclockid.
26584 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26585 Remove librt_hidden_def (clock_gettime).
26586 * sysdeps/unix/clock_gettime.c: Likewise.
26587 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26588 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26589 * rt/clock_getres.c: Define __clock_getres as an alias.
26590 * sysdeps/posix/clock_getres.c: Likewise.
26591 * rt/clock_settime.c: Define __clock_settime as an alias.
26592 * sysdeps/unix/clock_settime.c: Likewise.
26593 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26594 * sysdeps/unix/clock_nanosleep.c: Likewise.
26595 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26596 * rt/clock-compat.c: New file.
26597 * rt/Makefile (librt-routines): Add clock-compat and move
26598 $(clock-routines) to ...
26599 (routines): ... here, new variable.
26600 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26601 Don't add get_clockfreq here.
26602 * rt/Versions (libc: GLIBC_2.17): New version set.
26603 Add clock_* symbols here.
26604 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26605 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26606 (GLIBC_2.17): Add clock_* symbols.
26607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26618 * NEWS: Mention the move.
26620 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26621 Use __open, __read, __close rather than their public counterparts.
26622 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26623 (__get_clockfreq_via_cpuinfo): Likewise.
26624 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26625 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26627 * config.h.in (HAVE_IFUNC): New #undef.
26628 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26630 * configure: Regenerated.
26632 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26634 * configure.in: Move READELF check to start of file.
26635 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26636 libc_cv_asm_gnu_indirect_function in the process.
26637 * configure: Regenerated.
26639 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26641 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26642 send the output to /dev/null.
26643 (libc_cv_cc_with_libunwind): Likewise.
26644 (libc_cv_as_noexecstack): Likewise.
26645 * configure: Regenerate.
26647 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26649 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26651 * posix/globtest.sh (TMPDIR): Do not set.
26652 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26653 (testout): Likewise.
26655 2012-10-24 Andreas Jaeger <aj@suse.de>
26657 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26658 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26659 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26660 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26661 posix_fadvise64, posix_fallocate64.
26663 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26664 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26665 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26667 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26669 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26672 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26673 <bits/fcntl-linux.h>.
26674 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26676 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26677 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26678 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26679 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26680 [__WORDSIZE != 64]: Likewise.
26682 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26684 * Makeconfig (run-built-tests): New variable.
26685 * Rules [$(cross-compiling) = yes]: Change condition to
26686 [$(run-built-tests) = no].
26687 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26688 to [$(run-built-tests) = yes].
26689 * elf/Makefile [$(cross-compiling) = no]: Likewise
26690 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26691 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26692 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26693 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26694 * io/Makefile [$(cross-compiling) = no]: Likewise.
26695 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26696 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26697 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26698 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26699 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26700 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26701 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26702 * string/Makefile [$(cross-compiling) = no]: Likewise.
26704 * posix/Makefile ($(objpfx)globtest.out): Pass
26705 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26706 $(rtld-installed-name).
26707 * posix/globtest.sh (elf_objpfx): Remove variable.
26708 (rtld_installed_name): Likewise.
26709 (library_path): Likewise.
26710 (run_program_prefix): New variable. Use for running globtest
26713 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26714 Joseph Myers <joseph@codesourcery.com>
26716 * Makeconfig (host-built-program-cmd): New variable.
26717 * elf/Makefile (tst-stackguard1-ARGS): Use
26718 $(host-built-program-cmd).
26719 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26720 (tst-spawn-ARGS): Likewise.
26721 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26723 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26724 Jim Blandy <jimb@codesourcery.com>
26726 * Makeconfig (run-via-rtld-prefix): New variable.
26727 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26728 (built-program-cmd): Likewise.
26730 2012-10-22 Andreas Jaeger <aj@suse.de>
26732 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26733 __O_RSYNC if it exists, otherwise to O_SYNC.
26735 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26736 Joseph Myers <joseph@codesourcery.com>
26738 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26740 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26742 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26745 2012-10-22 Andreas Jaeger <aj@suse.de>
26747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26752 bits/fcntl-linux.h.
26754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26755 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26762 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26763 Joseph Myers <joseph@codesourcery.com>
26765 * config.make.in (NM): New variable.
26767 2012-10-21 Andreas Jaeger <aj@suse.de>
26769 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26770 definitions and declarations that are provided by
26771 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26773 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26776 * elf/Makefile (tests-static): Add tst-leaks1-static.
26777 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26778 ($(objpfx)tst-leaks1-static): New rule.
26779 ($(objpfx)tst-leaks1-static-mem): Likewise.
26780 (tst-leaks1-static-ENV): New macro.
26781 * elf/dl-open.c (dl_open_worker): Check the main application
26782 only if SHARED is defined.
26783 * elf/tst-leaks1-static.c: New file.
26785 2012-10-20 Andreas Jaeger <aj@suse.de>
26787 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26788 generic values for Linux.
26789 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26790 and declarations that are provided by <bits/fcntl-linux.h> and
26791 include <bits/fcntl-linux.h>.
26792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26793 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26795 2012-10-20 Roland McGrath <roland@hack.frob.com>
26797 * io/fcntl.h: Move include of <bits/types.h> to the top and
26798 include it unconditionally.
26800 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26802 * wcsmbs/Makefile (tests-ifunc): New variable.
26803 (tests): Add $(tests-ifunc).
26804 * wcsmbs/test-wcschr-ifunc.c: New file.
26805 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26806 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26807 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26808 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26809 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26811 * string/Makefile (tests-ifunc): New variable.
26812 (tests): Add $(tests-ifunc).
26813 * string/test-memccpy.c (TEST_NAME): New macro.
26814 * string/test-memchr.c (TEST_NAME): Likewise.
26815 * string/test-memcmp.c (TEST_NAME): Likewise.
26816 * string/test-memcpy.c (TEST_NAME): Likewise.
26817 * string/test-memmem.c (TEST_NAME): Likewise.
26818 * string/test-memmove.c (TEST_NAME): Likewise.
26819 * string/test-memset.c (TEST_NAME): Likewise.
26820 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26821 * string/test-stpcpy.c (TEST_NAME): Likewise.
26822 * string/test-stpncpy.c (TEST_NAME): Likewise.
26823 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26824 * string/test-strcasestr.c (TEST_NAME): Likewise.
26825 * string/test-strcat.c (TEST_NAME): Likewise.
26826 * string/test-strchr.c (TEST_NAME): Likewise.
26827 * string/test-strcmp.c(TEST_NAME): Likewise.
26828 * string/test-strcpy.c (TEST_NAME): Likewise.
26829 * string/test-strcspn.c (TEST_NAME): Likewise.
26830 * string/test-strlen.c (TEST_NAME): Likewise.
26831 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26832 * string/test-strncmp.c (TEST_NAME): Likewise.
26833 * string/test-strncpy.c (TEST_NAME): Likewise.
26834 * string/test-strnlen.c (TEST_NAME): Likewise.
26835 * string/test-strpbrk.c (TEST_NAME): Likewise.
26836 * string/test-strrchr.c (TEST_NAME): Likewise.
26837 * string/test-strspn.c (TEST_NAME): Likewise.
26838 * string/test-strstr.c (TEST_NAME): Likewise.
26839 * string/test-bcopy-ifunc.c: New file.
26840 * string/test-bzero-ifunc.c: Likewise.
26841 * string/test-memccpy-ifunc.c: Likewise.
26842 * string/test-memchr-ifunc.c: Likewise.
26843 * string/test-memcmp-ifunc.c: Likewise.
26844 * string/test-memcpy-ifunc.c: Likewise.
26845 * string/test-memmem-ifunc.c: Likewise.
26846 * string/test-memmove-ifunc.c: Likewise.
26847 * string/test-mempcpy-ifunc.c: Likewise.
26848 * string/test-memset-ifunc.c: Likewise.
26849 * string/test-rawmemchr-ifunc.c: Likewise.
26850 * string/test-stpcpy-ifunc.c: Likewise.
26851 * string/test-stpncpy-ifunc.c: Likewise.
26852 * string/test-strcasecmp-ifunc.c: Likewise.
26853 * string/test-strcasestr-ifunc.c: Likewise.
26854 * string/test-strcat-ifunc.c: Likewise.
26855 * string/test-strchr-ifunc.c: Likewise.
26856 * string/test-strchrnul-ifunc.c: Likewise.
26857 * string/test-strcmp-ifunc.c: Likewise.
26858 * string/test-strcpy-ifunc.c: Likewise.
26859 * string/test-strcspn-ifunc.c: Likewise.
26860 * string/test-strlen-ifunc.c: Likewise.
26861 * string/test-strncasecmp-ifunc.c: Likewise.
26862 * string/test-strncat-ifunc.c: Likewise.
26863 * string/test-strncmp-ifunc.c: Likewise.
26864 * string/test-strncpy-ifunc.c: Likewise.
26865 * string/test-strnlen-ifunc.c: Likewise.
26866 * string/test-strpbrk-ifunc.c: Likewise.
26867 * string/test-strrchr-ifunc.c: Likewise.
26868 * string/test-strspn-ifunc.c: Likewise.
26869 * string/test-strstr-ifunc.c: Likewise.
26871 * debug/Makefile (tests-ifunc): New variable.
26872 (tests): Add $(tests-ifunc).
26873 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26874 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26875 * debug/test-stpcpy_chk-ifunc.c: New file.
26876 * debug/test-strcpy_chk-ifunc.c: Likewise.
26878 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26881 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26882 header is not read in.
26884 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26886 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26887 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26888 directly. Pass built executable to script as
26889 $(built-program-cmd).
26890 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26891 $testprogram without using LD_LIBRARY_PATH and $ldso.
26893 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26894 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26895 $(rtld-installed-name).
26896 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26897 (rtld_installed_name): Likewise.
26898 (library_path): Likewise.
26899 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26900 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26901 $(run-program-prefix) to tst-tables.sh.
26902 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26903 it to run tst-table-from and tst-table-to.
26904 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26905 Pass it to tst-table.sh.
26906 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26907 $(run-program-prefix) to tst-gettext.sh.
26908 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26910 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26912 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26913 to run tst-gettext.
26914 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26915 to run tst-gettext2.
26916 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26917 to run tst-translit.
26918 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26919 $(run-program-prefix) to tst-mtrace.sh.
26920 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26922 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26923 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26924 $(rtld-installed-name).
26925 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26926 (rtld_installed_name): Likewise.
26927 (run_program_prefix): New variable. Use it to run wordexp-test.
26929 * Makeconfig (ARCH): Remove all definitions.
26930 (machine): Likewise.
26931 [ARCH]: Remove conditional code.
26932 [!objdir]: Give error.
26933 [!objdir] (objpfx): Remove.
26934 [!objdir] (common-objpfx): Likewise.
26935 [!objdir] (common-objdir): Likewise.
26936 * configure.in (config_makefile): Remove. Hardcode Makefile in
26937 AC_CONFIG_FILES call.
26938 * configure: Regenerated.
26941 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26943 (testout): Likewise.
26945 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26946 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26947 $(rtld-installed-name).
26948 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26949 (rtld_installed_name): Likwise.
26950 (runit): Remove function.
26951 (run_getconf): New variable, Use it for running getconf binary.
26953 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26956 * string/test-memmem.c (check_result): New function.
26957 (do_one_test): Use it.
26958 (check1): New function.
26959 (test_main): Use it.
26961 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26963 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26965 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26967 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26968 (_G_LSEEK64): Likewise.
26969 (_G_MMAP64): Likewise.
26970 (_G_FSTAT64): Likewise.
26971 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26972 (_G_LSEEK64): Likewise.
26973 (_G_MMAP64): Likewise.
26974 (_G_FSTAT64): Likewise.
26975 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26976 unconditional. Call __mmap64 directly.
26977 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26978 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26979 __lseek64 directly.
26980 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26981 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26983 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26984 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26985 __lseek64 directly.
26986 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26987 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26988 __lseek64 directly.
26989 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26990 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26991 __lseek64 directly.
26992 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26993 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26994 __fxstat64 directly.
26995 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26996 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26998 (freopen64) [!_G_OPEN64]: Remove conditional code.
26999 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27001 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27002 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27004 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27005 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27007 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27008 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27010 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27011 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27013 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27014 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27016 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27017 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27019 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27021 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27024 * manual/memory.texi (Malloc Tunable Parameters): Add note
27025 about free list pointers overwriting some perturb bytes.
27026 Wording suggested by Roland McGrath.
27028 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27030 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27031 (lgamma_test): Likewise.
27032 (tgamma_test): Likewise.
27034 2012-10-16 Florian Weimer <fweimer@redhat.com>
27037 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27038 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27040 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27042 * NEWS: Mention BZ #14716.
27043 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27044 when removing AVAILABLE1_USES_J macro.
27046 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27048 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27049 (__bswap_64): __uint64_t for unsigned 64-bit int.
27051 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27053 * include/string.h (memmem): Declare libc hidden alias.
27054 * string/memmem.c (memmem): Define libc hidden alias.
27055 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27056 __read, __close instead of open, read, close.
27058 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27061 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27063 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27064 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27065 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27067 (__rawmemchr_sse2): Likewise.
27068 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27069 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27070 (__strchr_sse2): Likewise.
27071 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27072 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27073 (__strcasecmp_sse2): Likewise.
27074 (__strncasecmp_sse2): Likewise.
27075 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27076 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27077 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27078 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27079 (__strrchr_sse2): Likewise.
27080 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27082 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27083 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27084 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27085 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27086 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27087 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27088 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27089 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27090 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27091 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27092 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27093 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27094 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27095 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27096 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27097 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27098 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27099 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27100 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27101 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27102 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27103 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27104 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27105 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27106 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27107 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27108 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27109 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27110 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27111 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27113 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27115 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27116 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27117 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27118 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27120 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27122 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27123 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27124 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27125 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27127 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27128 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27129 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27130 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27131 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27132 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27133 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27134 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27135 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27136 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27137 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27138 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27139 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27140 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27141 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27142 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27143 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27144 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27145 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27146 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27147 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27148 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27149 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27150 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27151 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27152 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27153 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27154 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27155 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27156 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27157 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27158 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27159 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27160 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27161 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27162 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27163 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27164 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27165 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27166 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27167 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27169 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27170 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27171 * include/ifunc-impl-list.h: New file.
27172 * misc/ifunc-impl-list.c: Likewise.
27173 * misc/Makefile (routines): Add ifunc-impl-list.
27174 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27175 * string/test-string.h: Include <ifunc-impl-list.h>.
27176 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27177 TEST_NAME]: New variables.
27178 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27180 (test_init): Call __libc_ifunc_impl_list to initialize
27181 func_list if TEST_IFUNC and TEST_NAME are defined.
27183 * string/Makefile (strop-tests): Add bcopy and bzero.
27184 * string/test-bcopy.c: New file.
27185 * string/test-bzero.c: Likewise.
27186 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27188 * string/test-memset.c: Support bzero test if TEST_BZERO is
27190 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27192 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27194 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27197 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27199 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27200 * configure: Regenerated.
27202 * Makeconfig (+link-static-before-libc): Don't include
27203 $(link-static-libc).
27205 * libio/libio.h (_IO_pos_t): Remove.
27207 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27209 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27212 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27214 * crypt/crypt-entry.c: Include fips-private.h.
27215 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27216 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27217 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27218 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27220 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27222 * crypt/crypt-private.h: Include stdbool.h.
27223 (_ufc_setup_salt_r): Return bool.
27224 * crypt/crypt-entry.c: Include errno.h.
27225 (__crypt_r): Return NULL with EINVAL for bad salt.
27226 * crypt/crypt_util.c (bad_for_salt): New.
27227 (_ufc_setup_salt_r): Check that salt is long enough and within
27228 the specified alphabet.
27229 * crypt/badsalttest.c: New file.
27230 * crypt/Makefile (tests): Add it.
27231 ($(objpfx)badsalttest): New.
27233 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27235 * NEWS: Add entry for BZ #14602.
27237 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27239 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27241 * math/libm-test.inc: Update comment listing what functions and
27243 (isgreater_test): New function.
27244 (isgreaterequal_test): Likewise.
27245 (isless_test): Likewise.
27246 (islessequal_test): Likewise.
27247 (islessgreater_test): Likewise.
27248 (isunordered_test): Likewise.
27249 (main): Call the new functions.
27251 2012-10-09 Roland McGrath <roland@hack.frob.com>
27253 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27254 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27255 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27256 * sysdeps/i386/configure: Regenerated.
27257 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27258 * sysdeps/mach/configure: Regenerated.
27259 * sysdeps/mach/hurd/configure: Regenerated.
27260 * sysdeps/powerpc/configure: Regenerated.
27261 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27262 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27263 * sysdeps/s390/s390-32/configure: Regenerated.
27264 * sysdeps/s390/s390-64/configure: Regenerated.
27265 * sysdeps/sh/configure: Regenerated.
27266 * sysdeps/sparc/configure: Regenerated.
27267 * sysdeps/unix/sysv/linux/configure: Regenerated.
27268 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27269 * sysdeps/x86_64/configure: Regenerated.
27271 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27272 defined. Don't check if MAP is NULL.
27274 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27276 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27277 (_G_stat64): Likewise.
27278 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27279 (_G_stat64): Likewise.
27280 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27281 instead of struct _G_stat64.
27282 * libio/fileops.c (mmap_remap_check): Likewise.
27283 (decide_maybe_mmap): Likewise.
27284 (_IO_new_file_seekoff): Likewise.
27285 (_IO_file_stat): Likewise.
27286 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27288 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27289 instead of struct _G_stat64.
27290 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27292 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27295 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27297 (CHECK_EOL): New macro.
27298 (two_way_short_needle): Check beginning of haystack for EOL. Use
27300 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27301 Replace with CHECK_EOL.
27302 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27303 Replace with CHECK_EOL.
27305 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27307 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27309 * math/libm-test.inc: Update comment listing what functions and
27311 (finite_test): New function.
27312 (isinf_test): Likewise.
27313 (isnan_test): Likewise.
27314 (fpclassify_test): Test subnormal input.
27315 (isfinite_test): Likewise.
27316 (isnormal_test): Likewise.
27317 (main): Call the new functions.
27319 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27322 * Makerules (%.dynsym): Force C locale when running
27323 $(OBJDUMP) --dynamic-syms.
27325 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27327 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27330 2012-10-06 David S. Miller <davem@davemloft.net>
27332 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27333 upper 32-bits of the length value in %o2 since we use branch-on-register
27334 tests which consider the entire 64-bit register.
27336 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27338 * string/test-strstr.c (check2): Add a test for page boundary.
27340 2012-10-05 David S. Miller <davem@davemloft.net>
27342 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27343 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27345 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27347 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27348 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27349 and bzero when HWCAP_SPARC_CRYPTO is present.
27351 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27354 * string/test-strstr.c (check2): New function.
27355 (test_main): Call check2.
27357 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27359 * string/bug-strcasestr1.c (do_test): Moved to ...
27360 * string/test-strcasestr.c (check1): Here. New function.
27361 (do_one_test): Break out result checking code into ...
27362 (check_result): This. New function.
27363 (do_one_test): Call check_result.
27364 (test_main): Call check1.
27365 * string/bug-strchr1.c (do_test): Moved to ...
27366 * string/test-strchr.c (check1): Here. New function.
27367 (do_one_test): Break out result checking code into ...
27368 (check_result): This. New function.
27369 (do_one_test): Call check_result.
27370 (test_main): Call check1.
27371 * string/bug-strstr1.c (main): Moved to ...
27372 * string/test-strstr.c (check1): Here. New function.
27373 (do_one_test): Break out result checking code into ...
27374 (check_result): This. New function.
27375 (do_one_test): Call check_result.
27376 (test_main): Call check1.
27377 * string/bug-strcasestr1.c: Removed.
27378 * string/bug-strchr1.c: Likewise.
27379 * string/bug-strstr1.c: Likewise.
27381 * elf/Makefile (dl-routines): Add hwcaps.
27382 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27383 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27384 (_dl_important_hwcaps): Moved to ...
27385 * elf/dl-hwcaps.c: Here. New file.
27386 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27389 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27390 if IS_IN_rtld isn't defined.
27392 * elf/dl-support.c (_dl_sysinfo_map): New.
27393 Include "get-dynamic-info.h" and "setup-vdso.h".
27394 (_dl_non_dynamic_init): Call setup_vdso.
27395 * elf/dynamic-link.h: Don't include <assert.h>.
27396 (elf_get_dynamic_info): Moved to ...
27397 * elf/get-dynamic-info.h: Here. New file.
27398 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27399 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27400 * elf/setup-vdso.h: Here. New file.
27401 * elf/rtld.c: Include "setup-vdso.h".
27402 (dl_main): Call setup_vdso.
27404 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27406 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27407 creal in comment listing functions tested. List finite, isinf,
27408 isnan, isless, islessequal, isgreater, isgreaterequal,
27409 islessgreater, isunordered, lgamma_r and pow10 as functions and
27410 macros not tested. Mention which functions not tested are aliases
27411 for other functions. Fix typo. Note that signs of NaNs are not
27414 * scripts/config.guess: Update from config.git.
27415 * scripts/config.sub: Likewise.
27417 2012-10-04 Roland McGrath <roland@hack.frob.com>
27419 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27420 * misc/madvise.c (madvise): Renamed to __madvise.
27421 Make madvise a weak alias.
27422 * include/sys/mman.h: Declare __madvise.
27423 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27424 * sysdeps/unix/syscalls.list
27425 (madvise): Make __madvise the strong name, and madvise a weak alias.
27426 * sysdeps/unix/sysv/linux/syscalls.list
27427 (madvise, mmap): Remove redundant entries.
27428 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27429 * malloc/malloc.c (mtrim): Likewise.
27430 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27432 2012-10-03 Roland McGrath <roland@hack.frob.com>
27434 * sysdeps/mach/hurd/dl-cache.c: File removed.
27435 * config.h.in (USE_LDCONFIG): New #undef.
27436 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27437 * configure: Regenerated.
27438 * elf/Makefile (dl-routines): Add dl-cache only under
27439 [$(use-ldconfig) = yes].
27440 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27441 cache on [USE_LDCONFIG].
27442 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27444 * elf/rtld.c (dl_main): Likewise.
27446 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27448 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27449 _SC_LEVEL4_CACHE_LINESIZE.
27451 2012-10-03 Roland McGrath <roland@hack.frob.com>
27453 * sysdeps/unix/bsd/confstr.h: File removed.
27455 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27457 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27460 2012-10-02 Roland McGrath <roland@hack.frob.com>
27462 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27463 Make 'mapoff' field ElfW(Off) rather than off_t.
27465 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27467 * nscd/Makefile: Remove nscd-cflags and all its users.
27468 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27469 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27472 * malloc.c (malloc_printerr): Clarify error message.
27474 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27478 Set bit_FMA_Usable if FMA is supported.
27479 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27481 (bit_FMA4_Usable): Updated.
27482 (index_FMA_Usable): New macro.
27483 (CPUID_FMA): Likewise
27484 (HAS_FMA): Defined with bit_FMA_Usable.
27486 2012-10-01 Roland McGrath <roland@hack.frob.com>
27488 * bits/types.h (__swblk_t): Type removed.
27489 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27490 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27491 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27492 (__SWBLK_T_TYPE): Likewise.
27493 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27494 (__SWBLK_T_TYPE): Likewise.
27495 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27496 (__SWBLK_T_TYPE): Likewise.
27497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27498 (__SWBLK_T_TYPE): Likewise.
27500 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27501 Honza Horak <hhorak@redhat.com>
27503 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27504 (xdr_mapname): Use YPMAXMAP as maxsize.
27505 (xdr_peername): Use YPMAXPEER as maxsize.
27506 (xdr_keydat): Use YPAXRECORD as maxsize.
27507 (xdr_valdat): Use YPMAXRECORD as maxsize.
27509 2012-10-01 Roland McGrath <roland@hack.frob.com>
27511 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27513 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27514 * csu/init-first.c: ... here.
27515 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27516 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27517 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27518 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27519 * sysdeps/i386/init-first.c: File removed.
27520 * sysdeps/sh/init-first.c: File removed.
27522 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27526 if x * y might underflow to zero and z is zero.
27527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27529 * math/libm-test.inc (min_subnorm_value): New variable.
27530 (fma_test): Add more tests.
27531 (fma_test_towardzero): Likewise.
27532 (fma_test_downward): Likewise
27533 (fma_test_upward): Likewise.
27534 (initialize): Set min_subnorm_value.
27536 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27541 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27542 mode for addition resulting in exact zero.
27543 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27544 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27546 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27547 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27548 * math/libm-test.inc (fma_test): Add more tests.
27549 (fma_test_towardzero): New function.
27550 (fma_test_downward): Likewise.
27551 (fma_test_upward): Likewise.
27552 (main): Call the new functions.
27554 2012-09-28 David S. Miller <davem@davemloft.net>
27556 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27558 2012-09-28 Roland McGrath <roland@hack.frob.com>
27560 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27561 instead of SIGALRM.
27563 * sysdeps/gnu/_G_config.h: Moved to ...
27564 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27565 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27566 * sysdeps/generic/_G_config.h: ... here.
27568 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27570 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27572 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27573 Conditionalize target on [libnss_test1.so-version].
27575 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27577 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27578 (elfobjdir): Move out of conditionals.
27580 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27581 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27582 (__nss_lookup_function): Conditionalize label remove_from_tree on
27583 [!DO_STATIC_NSS || SHARED], matching its only use.
27585 2012-09-28 David S. Miller <davem@davemloft.net>
27587 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27588 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27590 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27592 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27593 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27594 when HWCAP_SPARC_CRYPTO is present.
27596 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27598 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27600 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27603 * stdio-common/vfprintf.c (process_string_arg): Revert
27606 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27608 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27610 * stdio-common/tst-sprintf.c: Include <locale.h>
27611 (main): Test sprintf's handling of incomplete multibyte
27614 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27616 * elf/dl-runtime.c (VERSYMIDX): Removed.
27617 * elf/dl-version.c (VERSYMIDX): Likewise.
27618 * elf/do-rel.h (VERSYMIDX): Likewise.
27619 (VALIDX): Likewise.
27620 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27621 * elf/rtld.c (VALIDX): Likewise.
27622 (ADDRIDX): Likewise.
27623 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27624 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27625 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27626 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27627 (VALIDX): Likewise.
27628 (ADDRIDX): Likewise.
27630 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27632 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27634 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27637 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27639 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27640 addresses are in the same scope as 192.0.2/24.
27641 * posix/gai.conf: Document new scope table defaults.
27643 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27646 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27647 for ftell. Compute offsets from write pointers instead.
27648 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27650 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27653 * libio/Makefile (tests): New test case tst-fseek.
27654 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27655 combination works in wide mode.
27656 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27657 state when the external buffer state changes.
27659 2012-09-27 David S. Miller <davem@davemloft.net>
27662 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27663 pass reloc->r_addend in as the 'high' argument to
27664 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27668 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27670 * rt/tst-aio2.c: Include <pthread.h>.
27671 * rt/tst-aio3.c: Likewise.
27673 2012-09-27 Steve Ellcey <sellcey@mips.com>
27675 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27677 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27679 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27680 contents on [SHARED].
27682 2012-09-26 Marek Polacek <polacek@redhat.com>
27686 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27687 for C++ and GCC <4.3 as well as for non GCC compilers.
27689 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27693 2012-09-25 Roland McGrath <roland@hack.frob.com>
27695 * Makefile.in (all, install): Declare with .PHONY.
27696 Reported by Michael Hope <michael.hope@linaro.org>.
27698 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27700 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27701 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27703 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27705 (sydep_routines): Add the new and the internal functions.
27706 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27707 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27709 (GLIBC_2.17): Add the new function.
27710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27711 (GLIBC_2.17): Likewise.
27712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27713 (GLIBC_2.17): Likewise.
27714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27715 (GLIBC_2.17): Likewise.
27716 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27718 2012-09-25 Alan Modra <amodra@gmail.com>
27720 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27721 Add release barrier before setting once_control to say
27722 initialisation is done. Add hints on lwarx. Use macro in
27724 (clear_once_control): Add release barrier.
27726 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27729 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27731 * math/s_clog10.c (__clog10): Likewise.
27732 * math/s_clog10f.c (__clog10f): Likewise.
27733 * math/s_clog10l.c (__clog10l): Likewise.
27734 * math/s_clogf.c (__clogf): Likewise.
27735 * math/s_clogl.c (__clogl): Likewise.
27736 * math/Makefile (libm-calls): Add x2y2m1.
27737 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27738 (__x2y2m1): Likewise.
27739 (__x2y2m1l): Likewise.
27740 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27741 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27742 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27743 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27744 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27745 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27746 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27747 * sysdeps/i386/fpu/libm-test-ulps: Update.
27748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27751 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27752 int as type of variable DEPTH.
27753 (glob): Use size_t instead of int as type of variables NEWCOUNT
27756 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27758 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27759 Add s_sincosf-sse2.
27760 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27761 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27762 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27763 macros for using routine as __sincosf_ia32.
27764 Use macro for function declaration and weak_alias.
27765 * sysdeps/i386/fpu/libm-test-ulps: Update.
27767 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27770 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27771 subnormal argument.
27772 * math/s_cexpf.c (__cexpf): Likewise.
27773 * math/s_csinf.c (__csinf): Likewise.
27774 * math/s_csinhf.c (__csinhf): Likewise.
27775 * math/s_ctanf.c (__ctanf): Likewise.
27776 * math/s_ctanhf.c (__ctanhf): Likewise.
27777 * math/s_ccosh.c (__ccoshf): Likewise.
27778 * math/s_cexp.c (__cexpl): Likewise.
27779 * math/s_csin.c (__csin): Likewise.
27780 * math/s_csinh.c (__csinh): Likewise.
27781 * math/s_ctan.c (__ctan): Likewise.
27782 * math/s_ctanh.c (ctanh): Likewise.
27783 * math/s_ccoshl.c (__ccoshl): Likewise.
27784 * math/s_cexpl.c (__cexpl): Likewise.
27785 * math/s_csinl.c (__csinl): Likewise.
27786 * math/s_csinhl.c (__csinhl): Likewise.
27787 * math/s_ctanl.c (__ctanl): Likewise.
27788 * math/s_ctanhl.c (__ctanhl): Likewise.
27790 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27792 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27793 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27794 (_IO_off_t): Define to __off_t, not _G_off_t.
27795 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27796 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27797 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27798 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27799 type of __dummy and __dummy2 fields.
27800 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27801 (_G_ssize_t): Likewise.
27802 (_G_off_t): Likewise.
27803 (_G_pid_t): Likewise.
27804 (_G_uid_t): Likewise.
27805 (_G_wchar_t): Likewise.
27806 (_G_wint_t): Likewise.
27807 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27808 (_G_ssize_t): Likewise.
27809 (_G_off_t): Likewise.
27810 (_G_pid_t): Likewise.
27811 (_G_uid_t): Likewise.
27812 (_G_wchar_t): Likewise.
27813 (_G_wint_t): Likewise.
27814 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27815 (_G_ssize_t): Likewise.
27816 (_G_off_t): Likewise.
27817 (_G_pid_t): Likewise.
27818 (_G_uid_t): Likewise.
27819 (_G_wchar_t): Likewise.
27820 (_G_wint_t): Likewise.
27822 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27824 * malloc/arena.c: Include malloc-sysdep.h.
27825 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27826 is sufficient to shrink the heap or an unmap is needed.
27827 * sysdeps/generic/malloc-sysdep.h: New file. Define
27828 new function check_may_shrink_heap.
27829 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27830 new function check_may_shrink_heap.
27832 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27834 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27837 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27839 * catgets/test-gencat.sh: Add "set -e".
27840 * elf/tst-pathopt.sh: Likewise.
27841 * grp/tst_fgetgrent.sh: Likewise.
27842 * iconvdata/run-iconv-test.sh: Likewise.
27843 * intl/tst-gettext.sh: Likewise.
27844 * intl/tst-gettext2.sh: Likewise.
27845 * intl/tst-gettext4.sh: Likewise.
27846 * intl/tst-gettext6.sh: Likewise.
27847 * intl/tst-translit.sh: Likewise.
27848 * io/ftwtest-sh: Likewise.
27849 * libio/test-freopen.sh: Likewise.
27850 * malloc/tst-mtrace.sh: Likewise.
27851 * posix/globtest.sh: Likewise.
27852 * posix/tst-getconf.sh: Likewise.
27853 * posix/wordexp-tst.sh: Likewise.
27854 * stdio-common/tst-printf.sh: Likewise.
27855 * stdio-common/tst-unbputc.sh: Likewise.
27856 * stdlib/tst-fmtmsg.sh: Likewise.
27857 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27858 * catgets/Makefile: Do not specify -e option when running
27859 testsuite shell scripts.
27860 * elf/Makefile: Likewise.
27861 * grp/Makefile: Likewise.
27862 * iconvdata/Makefile: Likewise.
27863 * intl/Makefile: Likewise.
27864 * io/Makefile: Likewise.
27865 * libio/Makefile: Likewise.
27866 * malloc/Makefile: Likewise.
27867 * posix/Makefile: Likewise.
27868 * stdio-common/Makefile: Likewise.
27869 * stdlib/Makefile: Likewise.
27870 * sysdeps/x86_64/Makefile: Likewise.
27872 * io/ftwtest-sh: Add copyright header.
27873 * posix/globtest.sh: Likewise.
27874 * posix/tst-getconf.sh: Likewise.
27875 * posix/wordexp-tst.sh: Likewise.
27876 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27878 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27881 * Makeconfig (+link): Defined as $(+link-static) if
27882 $(build-shared) isn't yes.
27883 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27885 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27887 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27890 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27891 new chunk size with MALLOC_ALIGN_MASK.
27893 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27896 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27898 (__printf_fphex): Determine rounding using get_rounding_mode and
27900 * stdio-common/tst-printf-round.c (struct hex_test): New
27902 (hex_tests): New variable.
27903 (test_hex_in_one_mode): New function.
27904 (do_test): Also run tests for hex float output.
27906 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27908 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27909 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27910 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27911 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27912 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27913 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27914 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27915 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27917 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27919 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27920 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27921 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27922 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27924 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27927 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27929 * elf/tst-rtld-load-self.sh: New test.
27930 * elf/Makefile: Run it.
27932 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27934 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27935 (tst-writev-ENV): Remove.
27936 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27938 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27940 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27942 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27944 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27946 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27948 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27949 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27950 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27953 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27956 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27957 * config.make.in (have-cpp-asm-debuginfo): Removed.
27958 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27959 * configure: Regenerated.
27961 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27964 * stdio-common/printf_fp.c: Include <stdbool.h> and
27966 (___printf_fp): Determine rounding using get_rounding_mode and
27968 * stdio-common/tst-printf-round.c: New file.
27969 * stdio-common/Makefile (tests): Add tst-printf-round.
27970 (link-libm): New variable.
27971 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27973 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27976 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27977 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27979 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27982 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27984 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27985 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27986 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27987 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27989 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27992 * include/rounding-mode.h: New file.
27993 * sysdeps/generic/get-rounding-mode.h: Likewise.
27994 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27995 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27996 (MAX_VALUE): New macro.
27997 (MIN_VALUE): Likewise.
27998 (overflow_value): New function.
27999 (underflow_value): Likewise.
28000 (round_and_return): Use overflow_value and underflow_value to
28001 determine return values in overflow and underflow cases. Use
28002 round_away to determine rounding depending on rounding mode.
28003 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28004 determine return values in overflow and underflow cases.
28005 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28006 (struct test_results): New structure.
28007 (struct test): Use struct test_results to store expected results
28008 for all rounding modes.
28009 (TEST): Include expected results for all rounding modes.
28010 (test_in_one_mode): New function.
28011 (do_test): Use test_in_one_mode to compute and check results.
28012 Check results for all rounding modes.
28013 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28016 2012-12-09 Allan McRae <allan@archlinux.org>
28018 * sysdeps/i386/fpu/libm-test-ulps: Update
28020 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28022 * sysdeps/generic/_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/gnu/_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.
28038 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28039 (_G_int32_t): Likewise.
28040 (_G_uint16_t): Likewise.
28041 (_G_uint32_t): Likewise.
28042 (_G_HAVE_BOOL): Likewise.
28043 (_G_HAVE_ATEXIT): Likewise.
28044 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28045 (_G_HAVE_IO_FILE_OPEN): Likewise.
28047 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28049 * csu/libc-tls.c: Update copyright years.
28051 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28053 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28054 [!_G_USING_THUNKS]: Remove conditional code.
28055 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28056 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28058 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28059 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28060 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28061 (_G_VTABLE_LABEL_PREFIX): Likewise.
28062 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28063 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28064 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28065 (_G_VTABLE_LABEL_PREFIX): Likewise.
28066 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28067 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28068 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28069 (_G_VTABLE_LABEL_PREFIX): Likewise.
28070 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28072 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28074 * libio/Makefile: Include ../Makeconfig before tests.
28075 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28076 only if $(build-shared) is yes.
28078 * iconv/gconv_db.c: Update copyright years.
28080 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28082 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28083 unwind info if defined PIC. Fix special cases description.
28084 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28086 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28088 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28090 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28092 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28094 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28097 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28098 (LDLIBS-tst-chk4): This.
28099 (LDFLAGS-tst-chk5): Renamed to ...
28100 (LDLIBS-tst-chk5): This.
28101 (LDFLAGS-tst-chk6): Renamed to ...
28102 (LDLIBS-tst-chk6): This.
28103 (LDFLAGS-tst-lfschk4): Renamed to ...
28104 (LDLIBS-tst-lfschk4): This.
28105 (LDFLAGS-tst-lfschk5): Renamed to ...
28106 (LDLIBS-tst-lfschk5): This.
28107 (LDFLAGS-tst-lfschk6): Renamed to ...
28108 (LDLIBS-tst-lfschk6): This.
28110 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28111 on $(common-objpfx)soversions.mk.
28113 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28116 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28119 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28121 * malloc/arena.c (arena_get_retry): New function that gets
28122 another arena for the caller to try its request on.
28123 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28124 current arena cannot fulfill the request.
28125 (__libc_memalign): Likewise.
28126 (__libc_memalign): Likewise.
28127 (__libc_pvalloc): Likewise.
28128 (__libc_calloc): Likewise.
28130 2012-09-05 John Tobey <john.tobey@gmail.com>
28133 * manual/arith.texi (Operations on Complex): Fix description
28134 of carg branch cut.
28136 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28139 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28143 * manual/memory.texi (Memory): Make order of menu items match
28146 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28148 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28149 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28150 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28152 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28154 * csu/libc-tls.c (static_dtv): Renamed to ...
28155 (_dl_static_dtv): This. Make it global.
28156 (_dl_initial_dtv): Removed.
28157 (__libc_setup_tls): Updated.
28158 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28159 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28162 2012-09-06 Petr Machata <pmachata@redhat.com>
28164 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28165 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28166 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28167 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28169 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28172 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28173 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28176 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28179 * Makeconfig (link-static-before-libc): Replace $(+prector)
28181 (link-static-after-libc): Replace $(+postctor) with
28183 (link-bounded): Replace $(+prector)/$(+postctor) with
28184 $(+prectorT)/$(+postctorT).
28185 (+prectorT): New macro.
28186 (+postctorT): Likewise.
28188 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28190 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28191 (round_str): Handle values above the maximum for IBM long double
28193 * stdlib/tst-strtod-round.c (tests): Regenerated.
28195 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28197 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28199 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28200 zarch_nohighgprs around the zarch optimized routines.
28201 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28202 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28203 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28206 2012-09-05 David S. Miller <davem@davemloft.net>
28208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28210 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28211 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28212 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28213 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28216 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28218 * malloc/arena.c: Fold copyright years.
28219 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28221 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28223 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28225 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28227 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28229 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28231 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28232 change internal state upon failure.
28234 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28236 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28237 * malloc/memusage.c (mmap): Likewise.
28238 (mmap64, mremap): Likewise. Adjust name in comment.
28240 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28242 * libio/fileops.c: Fix typos in comments.
28243 * libio/oldfileops.c: Likewise.
28244 * libio/wfileops.c: Likewise.
28246 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28249 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28250 (tst-malloc-usable-ENV): Set environment for test case.
28251 * malloc/hooks.c (malloc_check_get_size): New function to get
28253 * malloc/malloc.c (musable): Use malloc_check_get_size.
28254 * malloc/tst-malloc-usable.c: New test case.
28256 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28258 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28260 2012-09-05 Allan McRae <allan@archlinux.org>
28263 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28264 determine header location.
28265 * configure: Regenerated.
28267 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28269 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28271 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28272 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28274 (test): Regenerate.
28276 2012-09-04 David S. Miller <davem@davemloft.net>
28278 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28279 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28280 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28282 2012-09-04 Florian Weimer <fweimer@redhat.com>
28284 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28287 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28289 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28292 * libio/iogetdelim.c: Include <limits.h>.
28293 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28294 + len + 1 would overflow.
28296 2012-09-03 Andreas Jaeger <aj@suse.de>
28298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28299 * sysdeps/i386/fpu/libm-test-ulps: Update.
28301 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28303 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28304 Add s_sinf-sse2, s_conf-sse2.
28306 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28307 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28308 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28309 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28311 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28312 for using routine as __sinf_ia32.
28313 Use macro for function declaration and weak_alias.
28314 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28315 for using routine as __cosf_ia32.
28316 Use macro for function declaration and weak_alias.
28318 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28319 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28321 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28322 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28325 * math/libm-test.inc (cos_test): Add more test cases.
28326 (sin_test): Likewise.
28327 (sincos_test): Likewise.
28329 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28331 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28332 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28334 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28336 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28339 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28340 first element of the GOT.
28341 (elf_machine_load_address): Return the difference between
28342 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28344 2012-09-01 Allan McRae <allan@archlinux.org>
28347 * configure.in (AWK): Require gawk version 3.0 or later.
28348 * configure: Regenerated.
28350 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28352 * sysdeps/unix/sysv/linux/kernel-features.h
28353 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28354 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28355 [__NR_clock_getres]: Make code unconditional.
28356 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28357 (clock_getcpuclockid): Remove code left unreachable by removal of
28359 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28360 code unconditional.
28361 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28362 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28363 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28364 Make code unconditional.
28365 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28366 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28367 * sysdeps/unix/sysv/linux/clock_settime.c
28368 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28370 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28371 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28373 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28376 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28377 scripts/test-installation.pl.
28379 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28380 and $ld_so_version if it is set.
28382 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28385 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28386 failure if reading from procfs failed.
28387 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28389 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28391 * sysdeps/unix/sysv/linux/kernel-features.h
28392 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28393 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28394 Remove conditional code.
28395 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28396 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28397 Remove conditional code.
28398 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28399 * sysdeps/unix/sysv/linux/i386/fxstat.c
28400 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28402 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28403 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28405 * sysdeps/unix/sysv/linux/i386/lxstat.c
28406 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28408 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28409 Remove conditional code.
28410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28411 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28412 Remove conditional code.
28413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28414 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28415 <kernel-features.h>.
28416 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28418 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28419 Remove conditional code.
28420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28421 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28422 Remove conditional.
28424 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28427 * NEWS: Add fixed bug number.
28429 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28432 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28433 underflowing exponent in case of negative sign.
28434 * stdlib/tst-strtod-round-data: Add more tests.
28435 * stdlib/tst-strtod-round.c (tests): Regenerated.
28438 * stdlib/strtod_l.c (NDIG): Remove.
28439 (HEXNDIG): Likewise.
28440 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28441 smallest representable value.
28442 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28443 lie within an exact representation of 1/2 ulp of the result.
28444 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28446 (TENS_P9_IDX): Define unconditionally.
28447 (TENS_P9_SIZE): Likewise.
28448 (TENS_P10_IDX): Likewise.
28449 (TENS_P10_SIZE): Likewise.
28450 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28451 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28452 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28453 entries for 10^2^13 and 10^2^14.
28454 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28455 (TENS_P13_IDX): Define.
28456 (TENS_P13_SIZE): Likewise.
28457 (TENS_P14_IDX): Likewise.
28458 (TENS_P14_SIZE): Likewise.
28459 (_fpioconst_pow10): Change array size to
28460 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28462 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28463 1024]: Add entries for 10^2^13 and 10^2^14.
28464 [LAST_POW10 > _LAST_POW10]: Remove #error.
28465 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28466 (_fpioconst_pow10): Change array size to
28467 FPIOCONST_POW10_ARRAY_SIZE.
28468 * stdlib/gen-fpioconst.c: New file.
28469 * stdlib/gen-tst-strtod-round.c: Likewise.
28470 * stdlib/tst-strtod-round-data: Likewise.
28471 * stdlib/tst-strtod-round.c: Likewise.
28472 * stdlib/Makefile (tests): Add tst-strtod-round.
28475 * stdlib/strtod_l.c: Include <stdint.h>.
28476 (NDEBUG): Do not define.
28477 (round_and_return): Change EXPONENT parameter to type intmax_t.
28478 Rearrange calculations to avoid internal overflow possibilities.
28479 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28480 Rearrange calculations to avoid internal overflow possibilities.
28481 Assert that number fits inside MPNSIZE limbs.
28482 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28483 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28484 calculations and add assertions to avoid internal overflow
28485 possibilities. Add casts to avoid signed/unsigned operations.
28486 * stdlib/tst-strtod-overflow.c: New file.
28487 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28489 2012-08-25 Marek Polacek <polacek@redhat.com>
28491 * time/time.h: Fix some typos in comments.
28493 2012-08-23 Roland McGrath <roland@hack.frob.com>
28495 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28496 * posix/tst-rfc3484-2.c: Likewise.
28497 * posix/tst-rfc3484-3.c: Likewise.
28499 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28501 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28502 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28504 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28506 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28507 #include of fxstatat64.c.
28509 2012-08-22 Roland McGrath <roland@hack.frob.com>
28511 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28512 * shadow/getspent_r.c: Likewise.
28513 * shadow/getspnam.c: Likewise.
28514 * shadow/getspnam_r.c: Likewise.
28515 * gshadow/getsgent.c: Likewise.
28516 * gshadow/getsgent_r.c: Likewise.
28517 * gshadow/getsgnam.c: Likewise.
28518 * gshadow/getsgnam_r.c: Likewise.
28519 * inet/getnetbyad.c: Likewise.
28520 * inet/getnetbyad_r.c: Likewise.
28521 * inet/getnetbynm.c: Likewise.
28522 * inet/getnetbynm_r.c: Likewise.
28523 * inet/getnetent.c: Likewise.
28524 * inet/getnetent_r.c: Likewise.
28525 * inet/getproto.c: Likewise.
28526 * inet/getproto_r.c: Likewise.
28527 * inet/getprtent.c: Likewise.
28528 * inet/getprtent_r.c: Likewise.
28529 * inet/getprtname.c: Likewise.
28530 * inet/getprtname_r.c: Likewise.
28531 * inet/getrpcbyname.c: Likewise.
28532 * inet/getrpcbyname_r.c: Likewise.
28533 * inet/getrpcbynumber.c: Likewise.
28534 * inet/getrpcbynumber_r.c: Likewise.
28535 * inet/getrpcent.c: Likewise.
28536 * inet/getrpcent_r.c: Likewise.
28537 * inet/getaliasent.c: Likewise.
28538 * inet/getaliasent_r.c: Likewise.
28539 * inet/getaliasname.c: Likewise.
28540 * inet/getaliasname_r.c: Likewise.
28541 * nscd/getgrgid_r.c: Likewise.
28542 * nscd/getgrnam_r.c: Likewise.
28543 * nscd/gethstbyad_r.c: Likewise.
28544 * nscd/gethstbynm3_r.c: Likewise.
28545 * nscd/getpwnam_r.c: Likewise.
28546 * nscd/getpwuid_r.c: Likewise.
28547 * nscd/getsrvbynm_r.c: Likewise.
28548 * nscd/getsrvbypt_r.c: Likewise.
28549 * nscd/gai.c: Likewise.
28551 * configure.in (build_nscd): New substituted variable, set
28552 by --disable-build-nscd and defaults to $use_nscd.
28553 * configure: Regenerated.
28554 * config.make.in (build-nscd): New substituted variable.
28555 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28556 Change conditional to require [$(build-nscd) = yes] as well.
28557 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28560 * configure.in (use_nscd): New substituted variable, set by
28561 --disable-nscd. If enabled, define USE_NSCD.
28562 * configure: Regenerated.
28563 * config.h.in: Add USE_NSCD.
28564 * config.make.in (use-nscd): New substituted variable.
28565 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28566 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28567 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28568 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28569 (CFLAGS-getgrnam_r.c): Likewise.
28570 (CFLAGS-initgroups.c): Likewise.
28571 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28572 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28574 * inet/getnetgrent_r.c
28575 (nscd_setnetgrent): New function, broken out of ...
28576 (setnetgrent): ... here. Call it.
28577 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28578 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28579 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28580 * nscd/Makefile (routines, aux): Move definitions after include of
28581 Makeconfig. Conditionalize on [$(use-nscd) != no].
28582 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28583 Conditionalize on [USE_NSCD].
28584 (is_nscd, nscd_init_cb): Likewise.
28585 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28586 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28587 * nss/nss_db/db-init.c: Likewise.
28588 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28590 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28591 (make_request): Use it.
28592 (cache_valid_p): New function.
28593 (__check_pf): Use it.
28594 * NEWS: Add item for --disable-nscd.
28596 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28598 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28599 to support sed >= 4.2.1-20-ga9bf076.
28600 * configure: Regenerated.
28602 2012-08-22 Roland McGrath <roland@hack.frob.com>
28604 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28605 Conditionalize whole body on [IREL].
28607 2012-08-22 Jeff Law <law@redhat.com>
28610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28611 if the family is PF_UNSPEC.
28613 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28615 * Makerules (lib-version): Rename from V.
28616 (install-lib-nosubdir): Change V to lib-version.
28618 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28621 * powerpc32/power6/wcschr.c: New file.
28622 * powerpc32/power6/wcscpy.c: New file.
28623 * powerpc32/power6/wcsrchr.c: New file.
28624 * powerpc64/power6/wcschr.c: New file.
28625 * powerpc64/power6/wcscpy.c: New file.
28626 * powerpc64/power6/wcsrchr.c: New file.
28628 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28630 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28631 (two_way_short_needle): Use it.
28632 * string/strstr.c (AVAILABLE1_USES_J): Define.
28633 * string/strcasestr.c: Likewise.
28635 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28637 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28640 * NEWS: Add an entry.
28641 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28642 define their defaults.
28643 (two_way_short_needle): Detect end-of-string on-the-fly.
28644 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28645 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28646 * string/bug-strcasestr1.c: New test.
28647 * string/Makefile: Run it.
28649 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28652 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28653 the first character.
28655 2012-08-21 Roland McGrath <roland@hack.frob.com>
28657 * csu/elf-init.c (__libc_csu_irel): Function removed.
28658 * csu/libc-start.c (apply_irel): New function.
28659 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28661 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28663 * sysdeps/unix/sysv/linux/kernel-features.h
28664 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28665 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28666 <kernel-features.h>.
28667 [__NR_fadvise64_64]: Make code unconditional.
28668 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28669 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28670 !__NR_fadvise64_64)]: Likewise.
28671 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28672 !__NR_fadvise64_64))]: Likewise.
28673 [__NR_fadvise64]: Make code unconditional.
28674 [!__NR_fadvise64]: Remove conditional code.
28675 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28676 <kernel-features.h>.
28677 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28679 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28682 not include <kernel-features.h>.
28683 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28685 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28687 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28688 include <kernel-features.h>.
28689 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28691 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28694 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28696 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28697 slight instruction rearrangements per scrollpipe analysis.
28698 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28700 2012-08-20 Roland McGrath <roland@hack.frob.com>
28702 * manual/syslog.texi (syslog; vsyslog, closelog):
28703 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28704 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28706 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28707 DSOCAPS to match condition on defining it.
28709 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28711 * sysdeps/unix/sysv/linux/kernel-features.h
28712 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28714 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28715 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28717 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28718 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28720 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28721 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28723 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28724 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28726 * sysdeps/unix/sysv/linux/kernel-features.h
28727 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28728 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28730 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28731 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28732 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28733 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28734 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28735 Make code unconditional.
28736 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28737 (__mmap64) [!__NR_mmap2]: Likewise.
28738 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28739 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28740 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28741 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28742 [__NR_mmap2]: Make code unconditional.
28743 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28744 (__mmap64) [!__NR_mmap2]: Likewise.
28746 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28748 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28750 2012-08-18 Andreas Jaeger <aj@suse.de>
28752 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28754 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28756 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28757 * include/unistd.h (__have_sock_cloexec): Likewise.
28758 (__have_pipe2): Likewise.
28759 (__have_dup3): Likewise.
28761 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28764 * include/unistd.h (__have_pipe2): Change define into an extern int.
28765 (__have_dup3): Likewise.
28766 * socket/have_sock_cloexec.c: Include fcntl.h.
28767 (__have_pipe2): New variable.
28768 (__have_dup3): Likewise.
28770 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28772 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28774 2012-08-17 Marek Polacek <polacek@redhat.com>
28776 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28777 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28779 2012-08-17 Roland McGrath <roland@hack.frob.com>
28781 * configure.in: Add AC_SUBST for sysheaders.
28782 * configure: Regenerated.
28783 * config.make.in (sysheaders): New substituted variable.
28785 * sysdeps/unix/mkfifo.c: Moved ...
28786 * sysdeps/posix/mkfifo.c: ... here.
28787 * sysdeps/unix/mkfifoat.c: Moved ...
28788 * sysdeps/posix/mkfifoat.c: ... here.
28790 * sysdeps/unix/utime.c: Moved ...
28791 * sysdeps/posix/utime.c: ... here.
28793 * sysdeps/unix/time.c: Moved ...
28794 * sysdeps/posix/time.c: ... here.
28795 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28796 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28798 * sysdeps/unix/nice.c: Moved ...
28799 * sysdeps/posix/nice.c: ... here.
28801 * sysdeps/unix/alarm.c: Moved ...
28802 * sysdeps/posix/alarm.c: ... here.
28804 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28806 2012-08-17 Jeff Law <law@redhat.com>
28808 * intl/Makefile (codeset_mo): New variable.
28809 ($(codeset_mo)): New target.
28810 (tst-codeset.out): Depend on that. Remove explicit rule.
28811 (tst-gettext3.out, tst-gettext5.out): Likewise.
28812 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28813 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28814 * intl/tst-codeset.sh: Remove.
28815 * intl/tst-gettext3.sh: Likewise.
28816 * intl/tst-gettext5.sh: Likewise.
28818 2012-08-17 Roland McGrath <roland@hack.frob.com>
28820 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28821 * sysdeps/unix/syscalls.list: ... here.
28823 * sysdeps/posix/getaddrinfo.c
28824 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28825 (gaiconf_init, gaiconf_reload): Use them.
28826 [!_STATBUF_ST_NSEC]
28827 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28828 Define using time_t rather than struct timespec.
28830 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28831 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28833 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28835 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28836 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28839 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28840 __libc_cleanup_push argument.
28842 * bits/param.h: New file.
28843 * misc/sys/param.h: New file.
28844 * include/sys/param.h: New file.
28845 * misc/Makefile (headers): Add bits/param.h.
28846 * sysdeps/generic/sys/param.h: File removed.
28847 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28848 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28849 * sysdeps/mach/hurd/bits/param.h: New file.
28850 * sysdeps/mach/hurd/sys/param.h: File removed.
28852 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28855 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28857 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28858 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28861 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28862 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28863 rather than -D_IO_MTSAFE_IO conditionally.
28864 * stdio-common/Makefile (CPPFLAGS): Likewise.
28865 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28866 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28867 Use $(libio-mtsafe).
28868 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28869 of -D_IO_MTSAFE_IO.
28870 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28871 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28872 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28873 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28874 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28875 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28876 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28877 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28878 (CFLAGS-fread_u_chk.c): Likewise.
28879 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28880 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28881 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28882 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28883 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28884 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28885 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28886 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28887 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28889 * libio/Makefile: Test [$(libc-reentrant) = yes]
28890 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28893 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28894 * sysdeps/pthread/configure: File removed.
28895 * sysdeps/pthread/Makeconfig: New file.
28896 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28897 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28899 2012-08-16 Gary Benson <gbenson@redhat.com>
28901 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28902 unmapping the first object in a namespace.
28904 2012-08-16 Roland McGrath <roland@hack.frob.com>
28906 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28907 (__internal_setnetgrent): ... this. Add internal_function to
28908 definition. Add libc_hidden_def.
28909 (setnetgrent): Update caller.
28910 (internal_endnetgrent): Renamed to ...
28911 (__internal_endnetgrent): ... this. Add internal_function to
28912 definition. Add libc_hidden_def.
28913 (endnetgrent): Update caller.
28914 (internal_getnetgrent_r): Renamed to ...
28915 (__internal_getnetgrent_r): ... this. Add internal_function to
28916 definition. Add libc_hidden_def.
28917 (__getnetgrent_r): Update caller.
28918 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28920 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28922 * stdlib/longlong.h: Update from GCC.
28924 2012-08-16 Roland McGrath <roland@hack.frob.com>
28926 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28927 on _QL, which is set by umul_ppmm but never used.
28928 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28929 variables, which are set by GMP macros but never used.
28930 * stdio-common/_itowa.c (_itowa): Likewise.
28931 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28932 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28934 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28936 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28937 struct La_sh_regs is not constant.
28938 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28939 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28940 and struct La_sparc64_regs are not constant.
28942 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28944 * sysdeps/unix/sysv/linux/kernel-features.h
28945 (__ASSUME_POSIX_TIMERS): Remove.
28946 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28947 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28948 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28949 Make code unconditional.
28950 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28951 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28952 Make code unconditional.
28953 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28954 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28955 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28956 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28957 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28958 Make code unconditional.
28959 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28960 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28961 (__libc_missing_posix_timers): Remove.
28963 2012-08-15 Roland McGrath <roland@hack.frob.com>
28965 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28966 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28968 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28970 * elf/dl-sym.c: Include <stdlib.h>.
28972 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28973 constants, which avoids warnings in 32-bit builds.
28975 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28976 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28978 * misc/lseek.c: File moved to ...
28979 * io/lseek.c: ... here.
28981 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28983 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28984 shifting LEN more than 31 bits at once.
28986 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28989 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28990 segmentation fault for a case of two empty input strings.
28991 * string/test-strncasecmp.c (check1): Renamed to...
28992 (bz12205): ...this.
28993 (bz14195): Add new testcase for two empty input strings and N > 0.
28994 (test_main): Call new testcase, adapt for renamed function.
28996 2012-08-15 Andreas Jaeger <aj@suse.de>
28999 * crypt/md5test2.c: New test, based on test supplied by Serge
29000 Belyshev <belyshev@depni.sinp.msu.ru>.
29001 * crypt/Makefile (xtests): Add md5test-giant..
29002 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29004 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29007 * crypt/md5.c (md5_process_block): Don't assume the buffer
29008 length is less than 2**32.
29009 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29010 length is less than 2**64.
29012 2012-08-15 Roland McGrath <roland@hack.frob.com>
29014 * string/str-two-way.h: Include <sys/param.h>.
29015 (MAX): Macro removed.
29017 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29018 Move #define and #undef of memmove to just before and after
29019 including <string.h>.
29021 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29022 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29023 and after including <string.h>. Move declarations of
29024 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29025 to before #include "string/memmove.c".
29027 * include/dirent.h: Declare __getdirentries.
29029 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29030 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29032 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29034 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29035 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29036 * sysdeps/i386/configure: Regenerated.
29037 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29038 STABS_CURRENT_FILE, and STABS_FUN.
29039 (END): Remove call to STABS_FUN_END.
29040 (STABS_CURRENT_FILE1): Delete.
29041 (STABS_CURRENT_FILE): Likewise.
29042 (STABS_FUN): Likewise.
29043 (STABS_FUN_END): Likewise.
29044 (STABS_FUN2): Likewise.
29045 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29046 * sysdeps/x86_64/configure: Regenerated.
29048 2012-08-14 Roland McGrath <roland@hack.frob.com>
29050 * elf/dl-open.c: Include <atomic.h>.
29051 * elf/dl-lookup.c: Likewise.
29053 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29055 * sysdeps/unix/sysv/linux/kernel-features.h
29056 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29057 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29059 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29061 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29062 condition on __ASSUME_CLONE_THREAD_FLAGS.
29064 2012-08-14 Andreas Jaeger <aj@suse.de>
29066 * sysdeps/i386/fpu/libm-test-ulps: Update.
29068 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29070 * include/atomic.h (atomic_exchange_and_add): Split into ...
29071 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29074 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29078 2012-08-13 Jeff Law <law@redhat.com>
29080 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29081 null byte in the output string.
29083 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29085 * sysdeps/unix/sysv/linux/kernel-features.h
29086 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29087 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29088 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29089 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29090 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29091 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29092 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29094 2012-08-09 Jeff Law <law@redhat.com>
29097 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29098 When avoid_arena is set, don't retry in the that arena. Pick the
29099 next one, whatever it might be.
29100 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29101 (arena_lock): Pass in new parameter to arena_get2.
29102 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29104 (__libc_malloc): Unify retrying after main arena failure with
29105 __libc_memalign version.
29106 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29108 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29111 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29112 to __redirect_strstr.
29113 (__strstr_sse42): Use typeof __redirect_strstr.
29114 (__strstr_ia32): Likewise.
29115 (__libc_strstr): New prototype.
29116 (strstr): Renamed to ...
29117 (__libc_strstr): This.
29118 (strstr): New strong alias of __libc_strstr.
29119 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29120 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29123 (__libc_time): New prototype.
29124 (time_ifunc): Replace time with __libc_time.
29125 (time): New strong alias and hidden definition of __libc_time.
29126 (__GI_time): Remove strong alias.
29127 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29128 Include <stddef.h>.
29129 (memmove): Redefined to __redirect_memmove.
29130 (__memmove_sse2): Use typeof __redirect_memmove.
29131 (__memmove_ssse3): Likewise.
29132 (__memmove_ssse3_back): Likewise.
29133 (__libc_memmove): New prototype.
29134 (memmove): Renamed to ...
29135 (__libc_memmove): This.
29136 (memmove): New strong alias of __libc_memmove.
29138 2012-08-08 Mark Salter <msalter@redhat.com>
29141 (R_MN10300_TLS_GD): Define.
29142 (R_MN10300_TLS_LD): Likewise.
29143 (R_MN10300_TLS_LDO): Likewise.
29144 (R_MN10300_TLS_GOTIE): Likewise.
29145 (R_MN10300_TLS_IE): Likewise.
29146 (R_MN10300_TLS_LE): Likewise.
29147 (R_MN10300_TLS_DTPMOD): Likewise.
29148 (R_MN10300_TLS_DTPOFF): Likewise.
29149 (R_MN10300_TLS_TPOFF): Likewise.
29150 (R_MN10300_SYM_DIFF): Likewise.
29151 (R_MN10300_ALIGN): Likewise.
29152 (R_MN10300_NUM): Update.
29154 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29156 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29159 2012-08-08 Roland McGrath <roland@hack.frob.com>
29161 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29163 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29164 sysdeps/unix -> sysdeps/posix move.
29165 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29167 2012-08-07 Allan McRae <allan@archlinux.org>
29170 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29171 (SUNOS_CPP): Likewise.
29172 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29174 (open_input): Call CPP using execvp.
29176 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29178 * sysdeps/unix/sysv/linux/kernel-features.h
29179 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29180 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29181 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29182 (__ASSUME_WAITID_SYSCALL): Likewise.
29183 * sysdeps/unix/sysv/linux/dl-execstack.c
29184 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29185 code unconditional.
29186 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29188 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29189 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29190 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29192 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29194 [__ASSUME_WAITID_SYSCALL]: Likewise.
29195 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29197 2012-08-07 Roland McGrath <roland@hack.frob.com>
29199 * sysdeps/unix/closedir.c: Renamed to ...
29200 * sysdeps/posix/closedir.c: ... here.
29201 * sysdeps/unix/dirfd.c: Renamed to ...
29202 * sysdeps/posix/dirfd.c: ... here.
29203 * sysdeps/unix/dirstream.h: Renamed to ...
29204 * sysdeps/posix/dirstream.h: ... here.
29205 * sysdeps/unix/fdopendir.c: Renamed to ...
29206 * sysdeps/posix/fdopendir.c: ... here.
29207 * sysdeps/unix/opendir.c: Renamed to ...
29208 * sysdeps/posix/opendir.c: ... here.
29209 * sysdeps/unix/readdir.c: Renamed to ...
29210 * sysdeps/posix/readdir.c: ... here.
29211 * sysdeps/unix/readdir_r.c: Renamed to ...
29212 * sysdeps/posix/readdir_r.c: ... here.
29213 * sysdeps/unix/rewinddir.c: Renamed to ...
29214 * sysdeps/posix/rewinddir.c: ... here.
29215 * sysdeps/unix/seekdir.c: Renamed to ...
29216 * sysdeps/posix/seekdir.c: ... here.
29217 * sysdeps/unix/telldir.c: Renamed to ...
29218 * sysdeps/posix/telldir.c: ... here.
29219 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29220 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29221 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29222 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29224 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29225 * bits/fcntl.h: ... here.
29227 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29229 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29230 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29231 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29232 (struct flock): Move l_start, l_len to the beginning.
29233 Use __pid_t for l_pid.
29234 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29235 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29236 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29237 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29238 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29239 [__USE_LARGEFILE64] (struct flock64): New type.
29240 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29242 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29243 * bits/dirent.h: ... here.
29245 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29246 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29248 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29250 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29251 Change from 2.6.0 to 2.6.16.
29252 * sysdeps/unix/sysv/linux/configure: Regenerated.
29253 * sysdeps/unix/sysv/linux/kernel-features.h
29254 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29255 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29257 (__ASSUME_UTIMES): Likewise.
29258 (__ASSUME_CLONE_STOPPED): Remove.
29259 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29260 architectures, not kernel version.
29261 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29262 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29263 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29264 (__ASSUME_WAITID_SYSCALL): Likewise.
29265 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29266 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29267 * README: State 2.6.16 as minimum Linux kernel version. Do not
29268 refer to older versions.
29270 2012-08-06 Roland McGrath <roland@hack.frob.com>
29272 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29273 Define alphasort64 as an alias.
29274 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29275 Define versionsort64 as an alias.
29276 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29277 Define scandir64 as an alias.
29278 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29279 Define scandirat64 as an alias.
29280 * dirent/alphasort64.c (alphasort64):
29281 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29282 * dirent/versionsort64.c: Likewise.
29283 * dirent/scandir64.c: Likewise.
29284 * dirent/scandirat64.c: Likewise.
29285 * sysdeps/wordsize-64/alphasort.c: File removed.
29286 * sysdeps/wordsize-64/alphasort64.c: File removed.
29287 * sysdeps/wordsize-64/scandir.c: File removed.
29288 * sysdeps/wordsize-64/scandir64.c: File removed.
29289 * sysdeps/wordsize-64/scandirat.c: File removed.
29290 * sysdeps/wordsize-64/scandirat64.c: File removed.
29291 * sysdeps/wordsize-64/versionsort.c: File removed.
29292 * sysdeps/wordsize-64/versionsort64.c: File removed.
29293 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29294 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29295 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29296 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29297 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29298 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29299 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29300 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29302 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29303 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29304 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29305 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29306 [defined __arch64__ || defined __sparcv9]
29307 (__INO_T_MATCHES_INO64_T): New macro.
29308 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29309 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29310 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29311 * sysdeps/unix/sysv/linux/bits/dirent.h
29312 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29313 (_DIRENT_MATCHES_DIRENT64): New macro.
29315 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29316 Define lockf64 as an alias.
29317 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29318 Define fseeko64 as an alias.
29319 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29320 Define ftello64 as an alias.
29321 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29322 Define _IO_fgetpos64 and fgetpos64 as aliases.
29323 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29324 Define _IO_fsetpos64 and fsetpos64 as aliases.
29325 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29326 Conditionalize body on this.
29327 * libio/fseeko64.c: Likewise.
29328 * libio/ftello64.c: Likewise.
29329 * libio/iofgetpos64.c: Likewise.
29330 * libio/iofsetpos64.c: Likewise.
29331 * sysdeps/wordsize-64/lockf.c: File removed.
29332 * sysdeps/wordsize-64/lockf64.c: File removed.
29333 * sysdeps/wordsize-64/fseeko.c: File removed.
29334 * sysdeps/wordsize-64/fseeko64.c: File removed.
29335 * sysdeps/wordsize-64/ftello.c: File removed.
29336 * sysdeps/wordsize-64/ftello64.c: File removed.
29337 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29338 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29339 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29340 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29341 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29342 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29343 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29344 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29345 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29346 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29347 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29348 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29349 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29350 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29352 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29353 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29354 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29355 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29356 [defined __arch64__ || defined __sparcv9]
29357 (__OFF_T_MATCHES_OFF64_T): New macro.
29358 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29359 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29361 (__OFF_T_MATCHES_OFF64_T): New macro.
29363 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29365 * stdlib/secure-getenv.c (__secure_getenv): Replace
29366 GLIBC_2_16 with GLIBC_2_17.
29368 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29370 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29373 2012-08-03 David S. Miller <davem@davemloft.net>
29375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29377 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29379 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29381 (__ASSUME_CORRECT_SI_PID): Likewise.
29382 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29383 (__ASSUME_TMPFS_NAME): Likewise.
29384 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29385 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29386 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29387 (HAVE_AUX_SECURE): Make definition unconditional.
29388 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29389 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29391 2012-08-03 Roland McGrath <roland@hack.frob.com>
29393 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29394 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29395 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29396 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29397 __eloop_threshold instead of SYMLOOP_MAX.
29399 * sysdeps/generic/eloop-threshold.h: New file.
29400 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29402 * elf/chroot_canon.c (chroot_canon): Likewise.
29404 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29407 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29408 Change to 2.6.0 everywhere.
29409 * sysdeps/unix/sysv/linux/configure: Regenerated.
29410 * sysdeps/unix/sysv/linux/kernel-features.h
29411 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29412 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29414 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29415 (__ASSUME_FUTEX_REQUEUE): Remove.
29416 (__ASSUME_STATFS64): Define unconditionally.
29417 (__ASSUME_AT_SECURE): Likewise.
29418 (__ASSUME_CORRECT_SI_PID): Likewise.
29419 (__ASSUME_TGKILL): Define without depending on kernel version for
29421 (__ASSUME_UTIMES): Likewise.
29422 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29424 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29425 (__ASSUME_TMPFS_NAME): Likewise.
29426 * README: Update reference to Linux kernel versions.
29428 2012-08-02 Marek Polacek <polacek@redhat.com>
29431 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29432 libc_cv_asm_type_prefix with %.
29433 * configure: Regenerated.
29434 * include/libc-symbols.h: Remove comment about
29435 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29436 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29437 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29438 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29439 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29440 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29441 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29442 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29443 * elf/tst-unique2mod1.c: Likewise.
29444 * elf/tst-unique1mod2.c: Likewise.
29445 * elf/tst-unique1mod1.c: Likewise.
29446 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29447 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29448 Replace ASM_TYPE_DIRECTIVE with .type.
29449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29450 * sysdeps/i386/sysdep.h: Likewise.
29451 * sysdeps/x86_64/sysdep.h: Likewise.
29452 * sysdeps/sh/sysdep.h: Likewise.
29453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29454 Do not define ASM_TYPE_DIRECTIVE.
29455 * sysdeps/powerpc/sysdep.h: Likewise.
29456 * sysdeps/powerpc/powerpc32/sysdep.h:
29457 Replace ASM_TYPE_DIRECTIVE with .type.
29458 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29459 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29460 * sysdeps/i386/fpu/e_powf.S: Likewise.
29461 * sysdeps/i386/fpu/e_expl.S: Likewise.
29462 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29463 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29464 * sysdeps/i386/fpu/e_pow.S: Likewise.
29465 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29466 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29467 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29468 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29469 * sysdeps/i386/fpu/e_log2.S: Likewise.
29470 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29471 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29472 * sysdeps/i386/fpu/e_powl.S: Likewise.
29473 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29474 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29475 * sysdeps/i386/fpu/e_logl.S: Likewise.
29476 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29477 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29478 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29479 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29480 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29481 * sysdeps/i386/fpu/e_log.S: Likewise.
29482 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29483 * sysdeps/i386/fpu/e_logf.S: Likewise.
29484 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29485 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29486 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29487 * sysdeps/i386/fpu/e_log10.S: Likewise.
29488 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29489 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29490 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29491 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29492 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29493 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29494 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29495 * sysdeps/i386/i686/strtok.S: Likewise.
29496 * sysdeps/i386/i386-mcount.S: Likewise.
29497 * sysdeps/i386/strtok.S: Likewise.
29498 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29499 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29500 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29501 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29502 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29503 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29504 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29505 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29506 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29507 * sysdeps/x86_64/_mcount.S: Likewise.
29508 * sysdeps/x86_64/strtok.S: Likewise.
29509 * sysdeps/sh/_mcount.S: Likewise.
29511 2012-08-01 Roland McGrath <roland@hack.frob.com>
29513 * libio/iofopen.c: Include <fcntl.h>.
29514 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29515 (_IO_fopen64, fopen64): Define as aliases.
29516 * libio/iofopen64.c: Include <fcntl.h>.
29517 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29518 Conditionalize body on this.
29519 * sysdeps/wordsize-64/iofopen.c: File removed.
29520 * sysdeps/wordsize-64/iofopen64.c: File removed.
29522 2012-08-01 Marek Polacek <polacek@redhat.com>
29524 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29525 Use dlfcn directly instead of a variable.
29526 (binfmt-subdir): Do not define.
29529 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29531 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29532 Remove all definitions.
29533 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29534 <kernel-features.h>.
29535 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29536 (miss_F_GETOWN_EX): Remove all definitions.
29537 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29539 [!__ASSUME_FCNTL64]: Remove conditional code.
29540 [__ASSUME_FCNTL64]: Make code unconditional.
29541 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29542 <kernel-features.h>.
29543 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29544 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29545 (lockf64) [__NR_fcntl64]: Make code unconditional.
29546 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29548 * sysdeps/unix/sysv/linux/kernel-features.h
29549 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29550 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29551 Make code unconditional.
29552 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29553 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29555 [__NR_vfork]: Make code unconditional.
29556 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29557 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29559 [__NR_vfork]: Make code unconditional.
29560 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29561 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29563 2012-08-01 Roland McGrath <roland@hack.frob.com>
29565 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29566 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29568 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29569 Define mkstemp64 as an alias.
29570 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29571 Define mkstemps64 as an alias.
29572 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29573 Define mkostemp64 as an alias.
29574 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29575 Define mkostemps64 as an alias.
29576 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29577 Conditionalize body on this.
29578 * misc/mkostemp64.c: Likewise.
29579 * misc/mkostemps64.c: Likewise.
29580 * misc/mkstemps64.c: Likewise.
29581 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29582 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29583 * sysdeps/wordsize-64/mkostemp.c: File removed.
29584 * sysdeps/wordsize-64/mkstemp.c: File removed.
29585 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29586 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29587 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29588 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29591 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29592 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29593 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29594 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29596 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29597 compat_symbol macros from <shlib-compat.h> rather than the underlying
29598 default_symbol_version and symbol_version macros, so that DEFAULT
29599 lines in shlib-versions are respected.
29600 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29602 2012-08-01 Florian Weimer <fweimer@redhat.com>
29604 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29605 Declare with warn_unused_result.
29606 (setgid, setregid, setegid, setresgid): Likewise.
29607 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29609 * WUR-REPORT: Remove set*id functions.
29611 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29613 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29615 2012-07-31 Roland McGrath <roland@hack.frob.com>
29618 * include/sys/socket.h (__libc_accept, __libc_accept4):
29619 Add attribute_hidden.
29620 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29622 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29624 * inet/getnetgrent_r.c (setup): Likewise.
29626 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29628 2012-07-31 David S. Miller <davem@davemloft.net>
29630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29632 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29635 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29636 value between 1.0 and 2.0 and smaller part has absolute value less
29638 * math/s_clog10.c (__clog10): Likewise.
29639 * math/s_clog10f.c (__clog10f): Likewise.
29640 * math/s_clog10l.c (__clog10l): Likewise.
29641 * math/s_clogf.c (__clogf): Likewise.
29642 * math/s_clogl.c (__clogl): Likewise.
29643 * math/libm-test.inc (clog_test): Add more tests.
29644 (clog10_test): Likewise.
29645 * sysdeps/i386/fpu/libm-test-ulps: Update.
29646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29648 2012-07-31 Florian Weimer <fweimer@redhat.com>
29650 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29651 Exit with zero in case no suitable GID is found, and write a
29652 message to standard error.
29654 2012-07-30 Roland McGrath <roland@hack.frob.com>
29656 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29658 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29659 (MAXPATHLEN): Removed.
29660 (NOGROUP, NODEV): New macros.
29661 (setbit, clrbit, isset, isclr): New macros.
29662 (howmany, roundup, powerof2): New macros.
29663 (DEV_BSIZE): New macro.
29665 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29666 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29668 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29669 definition on [!__NO_LONG_DOUBLE_MATH].
29671 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29672 PTR_MANGLE and PTR_DEMANGLE.
29674 * socket/accept4.c (accept4): Rename to __libc_accept4.
29675 Define accept4 as a weak alias.
29677 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29678 on [_DIRENT_HAVE_D_TYPE].
29679 * io/ftw.c (ftw_dir): Likewise.
29681 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29683 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29685 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29686 Use the BSD numbers rather than the arbitrary ones we had.
29687 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29688 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29689 (SIGXCPU, SIGXFSZ): New macros.
29692 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29693 initializer on [_LIBC_REENTRANT].
29695 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29696 definitions inside [_POSIX_MAPPED_FILES].
29698 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29700 * dirent/opendir.c: Include <fcntl.h>.
29702 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29703 (__libc_getspecific): Likewise.
29704 (__libc_key_create): Likewise.
29706 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29707 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29708 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29709 (tmpfile64): Define as alias.
29710 * sysdeps/wordsize-64/tmpfile.c: File removed.
29711 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29712 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29713 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29715 * stdio-common/vfscanf.c: Include <stdbool.h>.
29716 * nss/makedb.c: Likewise.
29717 * stdio-common/_i18n_number.h: Likewise.
29718 * argp/argp-help.c: Likewise.
29719 * posix/wordexp.c: Likewise.
29720 * sysdeps/posix/spawni.c: Likewise.
29721 * nss/nss_files/files-initgroups.c: Likewise.
29722 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29723 * nss/nss_files/files-initgroups.c: Likewise.
29724 * nss/nss_db/db-netgrp.c: Likewise.
29725 * nss/nss_db/db-initgroups.c: Likewise.
29726 * io/fchmodat.c: Include <sys/stat.h>.
29728 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29729 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29731 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29734 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29735 Add multiple inclusion protection.
29737 2012-07-27 David S. Miller <davem@davemloft.net>
29739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29741 2012-07-27 Gary Benson <gbenson@redhat.com>
29744 * elf/rtld.c: Include <stap-probe.h>.
29745 (dl_main): Added static probes "init_start" and "init_complete".
29746 * elf/dl-load.c: Include <stap-probe.h>.
29747 (lose): Take new parameter "nsid".
29748 Added static probe "map_failed".
29749 (_dl_map_object_from_fd): Pass namespace id to lose.
29750 Added static probe "map_start".
29751 (open_verify): Pass namespace id to lose.
29752 * elf/dl-open.c: Include <stap-probe.h>.
29753 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29754 and "reloc_complete".
29755 * elf/dl-close.c: Include <stap-probe.h>.
29756 (_dl_close_worker): Added static probes "unmap_start" and
29758 * elf/rtld-debugger-interface.txt: New file documenting the above.
29760 2012-07-26 Roland McGrath <roland@hack.frob.com>
29762 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29763 rather than a string variable.
29764 * sunrpc/rpc_main.c (h_output): Likewise.
29765 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29767 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29769 * inet/check_native.c: New file.
29771 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29774 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29775 if larger part has absolute value 1.0.
29776 * math/s_clog10.c (__clog10): Likewise.
29777 * math/s_clog10f.c (__clog10f): Likewise.
29778 * math/s_clog10l.c (__clog10l): Likewise.
29779 * math/s_clogf.c (__clogf): Likewise.
29780 * math/s_clogl.c (__clogl): Likewise.
29781 * math/libm-test.inc (clog_test): Add more tests.
29782 (clog10_test): Likewise.
29783 * sysdeps/i386/fpu/libm-test-ulps: Update.
29784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29786 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29787 (pltexit): Likewise.
29788 (La_regs): Likewise.
29789 (La_retval): Likewise.
29790 (int_retval): Likewise.
29791 Update #error for removed macros to refer only to definitions in
29793 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29795 (pltexit): Likewise.
29796 (La_regs): Likewise.
29797 (La_retval): Likewise.
29798 (int_retval): Likewise.
29799 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29801 (pltexit): Likewise.
29802 (La_regs): Likewise.
29803 (La_retval): Likewise.
29804 (int_retval): Likewise.
29805 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29807 (pltexit): Likewise.
29808 (La_regs): Likewise.
29809 (La_retval): Likewise.
29810 (int_retval): Likewise.
29811 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29813 (pltexit): Likewise.
29814 (La_regs): Likewise.
29815 (La_retval): Likewise.
29816 (int_retval): Likewise.
29817 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29819 (pltexit): Likewise.
29820 (La_regs): Likewise.
29821 (La_retval): Likewise.
29822 (int_retval): Likewise.
29823 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29825 (pltexit): Likewise.
29826 (La_regs): Likewise.
29827 (La_retval): Likewise.
29828 (int_retval): Likewise.
29829 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29830 macro definitions in tst-audit.h.
29831 * sysdeps/i386/tst-audit.h: New file.
29832 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29833 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29834 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29835 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29836 * sysdeps/sh/tst-audit.h: Likewise.
29837 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29838 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29839 * sysdeps/x86_64/tst-audit.h: Likewise.
29841 2012-07-26 Andreas Jaeger <aj@suse.de>
29843 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29846 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29847 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29848 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29850 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29851 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29852 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29854 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29857 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29859 (si_call_addr, si_syscall, si_arch): Define new macro.
29860 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29862 (si_call_addr, si_syscall, si_arch): Define new marcro.
29863 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29865 (si_call_addr, si_syscall, si_arch): Define new macro.
29866 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29868 (si_call_addr, si_syscall, si_arch): Define new macro.
29870 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29873 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29874 Change to 2.4.21 where previously 2.4.1.
29875 * sysdeps/unix/sysv/linux/configure: Regenerated.
29876 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29877 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29878 Linux kernel version.
29879 (__ASSUME_STD_AUXV): Remove.
29880 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29882 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29883 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29884 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29885 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29886 (__ASSUME_NETLINK_SUPPORT): Likewise.
29887 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29888 (__no_netlink_support): Remove conditional definition.
29889 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29891 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29892 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29893 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29894 (if_nameindex_ioctl): Remove.
29895 (if_nameindex_netlink): Do not handle __no_netlink_support.
29896 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29898 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29899 Remove conditional code.
29900 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29902 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29904 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29905 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29906 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29908 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29909 [!__ASSUME_STD_AUXV]: Remove conditional code.
29910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29911 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29912 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29914 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29915 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29917 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29919 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29920 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29922 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29924 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29927 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29930 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29931 code unconditional.
29932 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29934 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29936 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29939 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29941 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29944 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29945 code unconditional.
29946 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29948 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29950 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29953 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29954 code unconditional.
29955 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29957 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29959 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29962 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29964 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29965 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29966 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29967 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29968 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29969 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29970 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29971 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29972 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29973 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29974 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29975 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29976 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29977 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29978 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29979 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29980 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29981 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29982 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29983 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29984 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29985 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29986 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29988 2012-07-25 Florian Weimer <fweimer@redhat.com>
29990 * Versions.def: Add GLIBC_2.17.
29991 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29992 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29993 Introduce __libc_secure_getenv.
29994 * stdlib/Versions (2.17): Add secure_getenv
29995 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29996 * stdlib/secure-getenv.c: Rename __secure_getenv to
29997 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29998 symbol __secure_getenv for GLIBC_2.0.
29999 * stdlib/tst-secure-getenv.c: New.
30000 * stdlib/Makefile (tests): Add testcase.
30001 * manual/startup.texi (Environment Access): Document
30003 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30004 __libc_secure_getenv.
30005 * inet/ruserpass.c (ruserpass): Likewise.
30006 * malloc/mtrace.c (mtrace): Likewise.
30007 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30008 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30009 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30010 * sysdeps/posix/tempname.c: Likewise. Evaluate
30011 HAVE_SECURE_GETENV.
30012 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30013 __secure_getenv to __libc_secure_getenv.
30014 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30027 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30029 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30030 (struct La_i86_retval): Likewise.
30031 (struct La_x86_64_regs): Likewise.
30032 (struct La_x86_64_retval): Likewise.
30033 (struct La_x32_regs): Likewise.
30034 (struct La_x32_retval): Likewise.
30035 (struct La_ppc32_regs): Likewise.
30036 (struct La_ppc32_retval): Likewise.
30037 (struct La_ppc64_regs): Likewise.
30038 (struct La_ppc64_retval): Likewise.
30039 (struct La_sh_regs): Likewise.
30040 (struct La_sh_retval): Likewise.
30041 (struct La_s390_32_regs): Likewise.
30042 (struct La_s390_32_retval): Likewise.
30043 (struct La_s390_64_regs): Likewise.
30044 (struct La_s390_64_retval): Likewise.
30045 (struct La_sparc32_regs): Likewise.
30046 (struct La_sparc32_retval): Likewise.
30047 (struct La_sparc64_regs): Likewise.
30048 (struct La_sparc64_retval): Likewise.
30049 (struct audit_ifaces): Remove architecture-specific pltenter and
30051 * sysdeps/i386/ldsodefs.h: New file.
30052 * sysdeps/powerpc/ldsodefs.h: Likewise.
30053 * sysdeps/s390/ldsodefs.h: Likewise.
30054 * sysdeps/sh/ldsodefs.h: Likewise.
30055 * sysdeps/sparc/ldsodefs.h: Likewise.
30056 * sysdeps/x86_64/ldsodefs.h: Likewise.
30058 2012-07-25 Marek Polacek <polacek@redhat.com>
30061 * math/libm-test.inc (yn_test): Add another test.
30062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30063 to ERANGE when the result is +-Inf.
30064 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30065 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30066 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30067 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30069 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30071 * conform/data/time.h-data (NULL): Use macro-constant. Require
30073 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30075 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30077 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30079 * configure.in <sysdeps resolving>: Correct printing
30081 * configure: Regenerate.
30083 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30085 * math/w_ilogb.c: Include <limits.h>.
30086 * math/w_ilogbl.c: Likewise.
30088 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30090 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30091 va_copy. Document allowing for unavailable va_copy only as
30092 pre-C99 compatibility.
30093 * manual/string.texi (Copying and Concatenation): Use va_copy
30094 instead of __va_copy in concat example.
30096 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30098 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30099 (__sendto): Use create_address_port. Initialize APORT and deallocate
30102 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30103 with O_NOLINK passed to __file_name_lookup.
30105 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30106 with O_NOLINK passed to __file_name_lookup.
30108 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30109 negative N or less than NGIDS.
30111 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30112 type to string_t. Set ERANGE as errno and return it if NAME is not big
30113 enough. Use memcpy instead of strncpy.
30115 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30117 * elf/Makefile (check-data): Remove.
30118 (localplt.data): New vpath directive.
30119 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30120 instead of $(check-data).
30121 * scripts/data/localplt-generic.data: Move to ...
30122 * sysdeps/generic/localplt.data: ... here.
30123 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30124 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30125 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30128 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30131 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30134 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30137 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30140 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30144 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30146 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30147 PPC32 and PPC64 files.
30148 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30149 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30151 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30153 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30154 __makecontext_ret to ...
30155 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30156 ... here and call exit if uc_link is NULL. New file.
30157 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30158 __makecontext_ret.S.
30159 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30160 __makecontext_ret to ...
30161 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30162 ... here and call exit if uc_link is NULL. New file.
30163 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30164 __makecontext_ret.S.
30166 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30168 * elf/elf.h (R_390_IRELATIVE): New definition.
30169 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30170 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30171 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30172 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30173 (elf_machine_lazy_rel): Likewise.
30174 * sysdeps/s390/dl-irel.h: New file.
30175 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30176 * sysdeps/s390/s390-64/memset.S: New asm code.
30177 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30178 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30179 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30180 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30181 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30182 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30184 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30185 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30186 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30187 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30188 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30189 * sysdeps/s390/s390-32/memset.S: New asm code.
30190 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30192 2012-07-17 Marek Polacek <polacek@redhat.com>
30195 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30196 * sysdeps/s390/s390-64/configure.in: Likewise.
30197 * sysdeps/sparc/configure.in: Likewise.
30198 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30199 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30200 * sysdeps/i386/configure.in: Likewise.
30201 * sysdeps/x86_64/configure.in: Likewise.
30202 * sysdeps/sh/configure.in: Likewise.
30203 * sysdeps/s390/s390-32/configure: Regenerated.
30204 * sysdeps/s390/s390-64/configure: Likewise.
30205 * sysdeps/x86_64/configure: Likewise.
30206 * sysdeps/sh/configure: Likewise.
30207 * sysdeps/powerpc/powerpc64/configure: Likewise.
30208 * sysdeps/powerpc/powerpc32/configure: Likewise.
30209 * sysdeps/sparc/configure: Likwise.
30210 * sysdeps/i386/configure: Likewise.
30212 * elf/dl-open.c: Comment fixes.
30214 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30216 * Makefile [CXX] (check-data): Remove.
30217 [CXX] (c++-types.data): New vpath directive.
30218 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30219 vpath. Do not allow for C++ type data being missing.
30220 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30221 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30222 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30223 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30224 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30225 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30226 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30229 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30232 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30235 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30238 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30241 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30244 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30247 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30250 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30251 definitions to architecture-specific files.
30252 (TLS_IE): Likewise.
30253 (TLS_LD): Likewise.
30254 (TLS_GD): Likewise.
30255 * sysdeps/i386/tls-macros.h: New file.
30256 * sysdeps/powerpc/tls-macros.h: Likewise.
30257 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30258 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30259 * sysdeps/sh/tls-macros.h: Likewise.
30260 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30261 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30262 * sysdeps/x86_64/tls-macros.h: Likewise.
30264 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30266 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30267 zero value for regular exit case.
30269 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30270 (__start_context): Preserve zero value for regular exit case.
30272 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30273 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30275 * manual/setjmp.texi (setcontext): Clarify normal process
30276 termination when uc_link is the null pointer.
30277 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30280 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30282 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30283 preprocessor. Test for each exception mask separately.
30285 2012-07-16 Andreas Jaeger <aj@suse.de>
30287 * po/ru.po: Update from translation team.
30289 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30291 * conform/data/string.h-data (NULL): Use macro-constant. Require
30293 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30294 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30295 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30296 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30299 2012-07-13 Andreas Jaeger <aj@suse.de>
30301 * po/fr.po: Update from translation team.
30303 2012-07-12 Marek Polacek <polacek@redhat.com>
30306 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30307 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30310 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30313 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30314 Change to 2.4.1 where previously 2.4.0.
30315 * sysdeps/unix/sysv/linux/configure: Regenerated.
30316 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30317 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30319 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30320 (__ASSUME_AT_CLKTCK): Remove.
30321 (__ASSUME_AT_PAGESIZE): Likewise.
30322 (__ASSUME_AT_XID): Likewise.
30323 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30324 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30325 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30327 (HAVE_AUX_PAGESIZE): Likewise.
30328 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30329 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30330 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30332 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30336 the temporary buffer used to invoke __gethostbyname2_r,
30337 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30338 host_data / struct gaih_addrtuple.
30339 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30340 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30341 header file nss/nsswitch.h.
30342 * nss/nsswitch.h (global scope): Add definition of implementation
30343 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30344 resolv/nss_dns/dns-host.c).
30346 2012-07-11 Andreas Jaeger <aj@suse.de>
30348 * po/fr.po: Update from translation team.
30350 * po/sv.po: Update from translation team
30351 * po/fr.po: Another update from translation team.
30353 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30355 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30356 for subnormals or multiply small sinh result by itself.
30357 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30360 2012-07-11 David S. Miller <davem@davemloft.net>
30362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30364 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30367 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30368 (INTERNAL_MARK): Shift it here.
30370 2012-07-10 Marek Polacek <polacek@redhat.com>
30373 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30374 libc_cv_asm_global_directive with .globl.
30375 * configure: Regenerated.
30376 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30378 * sysdeps/i386/configure: Regenerated.
30379 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30381 * sysdeps/x86_64/configure: Regenerated.
30382 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30383 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30384 * elf/tst-unique2mod2.c: Likewise.
30385 * elf/tst-unique2mod1.c: Likewise.
30386 * elf/tst-unique1mod2.c: Likewise.
30387 * elf/tst-unique1mod1.c: Likewise.
30388 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30389 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30390 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30391 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30392 * sysdeps/mach/sysdep.h: Likewise.
30393 * sysdeps/i386/sysdep.h: Likewise.
30394 * sysdeps/i386/i386-mcount.S: Likewise.
30395 * sysdeps/x86_64/_mcount.S: Likewise.
30396 * sysdeps/x86_64/sysdep.h: Likewise.
30397 * sysdeps/sh/_mcount.S: Likewise.
30398 * sysdeps/sh/sysdep.h: Likewise.
30399 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30400 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30401 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30402 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30403 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30404 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30405 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30406 * locale/localeinfo.h: Likewise.
30407 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30408 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30410 2012-07-09 Roland McGrath <roland@hack.frob.com>
30413 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30415 * manual/message.texi (The Uniforum approach): Likewise.
30416 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30417 (glibc iconv Implementation): Likewise.
30419 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30422 * math/s_clog.c (__clog): Avoid scaling a value down where that
30423 could result in underflow.
30424 * math/s_clog10.c (__clog10): Likewise.
30425 * math/s_clog10f.c (__clog10f): Likewise.
30426 * math/s_clog10l.c (__clog10l): Likewise.
30427 * math/s_clogf.c (__clogf): Likewise.
30428 * math/s_clogl.c (__clogl): Likewise.
30429 * math/libm-test.inc (clog_test): Add more tests.
30430 (clog10_test): Likewise.
30431 * sysdeps/i386/fpu/libm-test-ulps: Update.
30432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30434 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30437 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30438 by 7 not 8 to examine high bit of fractional part.
30441 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30442 for call to __mcount_internal.
30443 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30444 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30445 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30447 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30450 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30451 approximation for values within 0x1p-13f of an odd multiple of
30453 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30454 exception. Add more tests.
30455 * sysdeps/i386/fpu/libm-test-ulps: Update.
30458 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30459 inputs and return -1 for them. Do not check for +Inf in case not
30460 reachable for +Inf.
30461 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30462 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30463 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30464 and return -1 for them. Do not check for +Inf in case not
30465 reachable for +Inf.
30466 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30468 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30469 and return -1 for them. Do not check for +Inf in case not
30470 reachable for +Inf.
30471 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30472 spurious underflow.
30473 * sysdeps/i386/fpu/libm-test-ulps: Update.
30474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30476 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30478 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30480 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30484 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30485 could result in spurious underflow. Scale down values above
30486 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30487 * math/s_csqrtf.c (__csqrtf): Likewise.
30488 * math/s_csqrtl.c (__csqrtl): Likewise.
30489 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30490 spurious underflow.
30491 * sysdeps/i386/fpu/libm-test-ulps: Update.
30492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30494 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30496 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30498 * catgets/xopen-msg.awk: New file.
30499 * catgets/xopen-msg.sed: Removed.
30501 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30503 * intl/po2test.awk: New file.
30504 * intl/po2test.sed: Removed.
30506 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30509 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30510 or multiply small sinh result by itself.
30511 * math/s_ctanf.c (__ctanf): Likewise.
30512 * math/s_ctanh.c (__ctanh): Likewise.
30513 * math/s_ctanhf.c (__ctanhf): Likewise.
30514 * math/s_ctanhl.c (__ctanhl): Likewise.
30515 * math/s_ctanl.c (__ctanl): Likewise.
30516 * math/libm-test.inc (ctan_test_tonearest): New function.
30517 (ctan_test_towardzero): Likewise.
30518 (ctan_test_downward): Likewise.
30519 (ctan_test_upward): Likewise.
30520 (ctanh_test_tonearest): Likewise.
30521 (ctanh_test_towardzero): Likewise.
30522 (ctanh_test_downward): Likewise.
30523 (ctanh_test_upward): Likewise.
30524 (main): Call these new functions.
30525 * sysdeps/i386/fpu/libm-test-ulps: Update.
30526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30528 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30530 * .gitignore: Delete /ports entry.
30532 2012-07-03 Andreas Jaeger <aj@suse.de>
30534 * po/bg.po: Update from translation team.
30535 * po/cs.po: Likewise.
30536 * po/de.po: Likewise.
30537 * po/hr.po: Likewise.
30538 * po/nl.pl: Likewise.
30539 * po/pl.po: Likewise.
30540 * po/vi.po: Likewise.
30542 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30544 * Makeconfig [!+link] (+link-before-libc): New variable.
30545 [!+link] (+link-after-libc): Likewise.
30546 [!+link] (+link-tests): Likewise.
30547 [!+link] (+link): Define in terms of $(+link-before-libc) and
30548 $(+link-after-libc).
30549 [!+link-static] (+link-static-before-libc): New variable.
30550 [!+link-static] (+link-static-after-libc): Likewise.
30551 [!+link-static] (+link-static-tests): Likewise.
30552 [!+link-static] (+link-static): Define in terms of
30553 $(+link-static-before-libc) and $(+link-static-after-libc).
30554 [build-shared] (link-libc-before-gnulib): New variable.
30555 [build-shared] (link-libc-tests): Likewise.
30556 [build-shared] (link-libc): Define in terms of
30557 $(link-libc-before-gnulib).
30558 [!build-shared] (link-libc-tests): New variable.
30559 (link-libc-static-tests): New variable.
30560 [!gnulib] (gnulib-arch): New variable.
30561 [!gnulib] (gnulib-tests): Likewise.
30562 [!gnulib] (static-gnulib-arch): Likewise.
30563 [!gnulib] (static-gnulib-tests): Likewise.
30564 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30565 Define with "=" instead of ":=".
30566 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30567 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30568 * Rules (binaries-all-notests): New variable.
30569 (binaries-all-tests): Likewise.
30570 (binaries-static-notests): Likewise.
30571 (binaries-static-tests): Likewise.
30572 (binaries-all): Define using $(binaries-all-notests) and
30573 $(binaries-all-tests).
30574 (binaries-static): Define using $(binaries-static-notests) and
30575 $(binaries-static-tests).
30576 (binaries-shared-tests): New variable.
30577 (binaries-shared-notests): Likewise.
30578 (binaries-shared): Remove variable.
30579 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30580 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30581 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30582 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30583 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30584 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30585 * elf/Makefile (sln-modules): New variable.
30586 (extra-objs): Add $(sln-modules:=.o).
30587 (ldconfig-modules): Add static-stubs.
30588 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30589 * elf/static-stubs.c: New file.
30592 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30593 by 7 not 8 to examine high bit of fractional part. Use volatile
30594 variables when splitting into final array of floats if
30595 __FLT_EVAL_METHOD__ != 0.
30596 * math/libm-test.inc (cos_test): Add another test.
30597 (sin_test): Likewise.
30598 * sysdeps/i386/fpu/libm-test-ulps: Update.
30601 * math/libm-test.inc (cosh_test): Add more tests.
30603 * version.h (RELEASE): Set to "development".
30604 (VERSION): Set to "2.16.90".
30606 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30608 * NEWS: Update copyright. Remove last-updated date.
30609 Mention math library bug fixes and timezone data changes.
30610 * README: Mention GNU/Hurd, x32, and HPPA support status.
30612 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30614 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30616 2012-06-27 Andreas Jaeger <aj@suse.de>
30618 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30620 2012-06-25 Andreas Jaeger <aj@suse.de>
30622 * sysdeps/s390/fpu/libm-test-ulps: Update.
30624 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30625 Thomas Schwinge <thomas@codesourcery.com>
30627 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30628 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30632 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30634 * sysdeps/mach/start.c: Remove file.
30635 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30636 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30637 * sysdeps/sh/init-first.c: Likewise.
30639 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30640 registers for frame unwinding purposes, add CFI directives.
30641 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30642 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30643 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30646 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30647 __fortify_fail returning.
30648 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30650 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30651 sysdeps/sh/____longjmp_chk.S.
30652 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30653 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30654 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30655 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30657 * sysdeps/sh/abort-instr.h: New file.
30658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30659 process in case exit returns.
30661 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30662 initialize the GOT register before use.
30664 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30665 calculation of ARGC > 4.
30667 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30668 meaningful names to some local labels.
30670 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30671 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30673 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30674 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30675 (__arch_compare_and_exchange_val_16_acq): Likewise.
30676 (__arch_compare_and_exchange_val_32_acq): Likewise.
30677 (atomic_exchange_and_add): Fix gUSA sequence.
30678 (atomic_add): Likewise.
30679 (atomic_add_negative): Likewise.
30680 (atomic_add_zero): Likewise.
30681 (atomic_bit_test_set): Likewise.
30683 2012-06-22 Andreas Schwab <schwab@redhat.com>
30686 * include/link.h (struct link_map): Add l_free_initfini.
30687 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30689 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30690 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30691 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30694 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30696 * configure.in: Use AC_LANG_SOURCE.
30697 * configure: Regenerate.
30699 2012-06-22 Roland McGrath <roland@hack.frob.com>
30701 * configure.in (libc_cv_localstatedir): New substituted variable.
30702 * configure: Regenerated.
30703 * config.make.in (localstatedir): New variable, substituted from
30704 libc_cv_localstatedir.
30705 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30706 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30707 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30708 * sysdeps/gnu/configure: Regenerated.
30710 2012-06-21 Jeff Law <law@redhat.com>
30713 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30714 free. Simplify list management for _LIBC case.
30716 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30719 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30720 Clear sign bit of 64-bit integer value before comparing against
30723 * sysdeps/mach/configure: Regenerated.
30725 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30728 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30730 2012-06-21 Jeff Law <law@redhat.com>
30733 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30734 uint16_t for elements in the "seen" array to avoid char overflows.
30735 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30736 * elf/dl-open.c (dl_open_worker): Likewise.
30738 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30740 * scripts/list-sources.sh: Scan PORTS for translations.
30741 * po/libc.pot: Regenerated.
30743 2012-06-21 Andreas Jaeger <aj@suse.de>
30746 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30748 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30749 * bits/byteswap-16.h (__bswap_16): Likewise.
30750 * bits/byteswap.h (__bswap_constant_16): Likewise.
30752 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30755 * sysdeps/i386/fpu_control.h: Removed.
30756 * sysdeps/x86_64/fpu_control.h: Moved to ...
30757 * sysdeps/x86/fpu_control.h: Here.
30759 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30760 (_FPU_SETCW): Likewise.
30762 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30765 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30766 * sysdeps/x86/fpu/bits/mathinline.h: This.
30767 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30771 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30772 functions if __x86_64__ is defined.
30774 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30776 * string/endian.h: Add !__ASSEMBLER__ condition for including
30777 conversion interfaces.
30779 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30783 of ABS(x) in calculating zero to negative powers other than odd
30785 * math/libm-test.inc (pow_test): Add more tests.
30787 2012-06-15 Andreas Jaeger <aj@suse.de>
30789 * manual/contrib.texi (Contributors): Update entry of Liubov
30790 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30793 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30795 * string/string.h: Add __wur to GNU version of strerror_r.
30797 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30800 * string/Makefile (tests): Add tst-strtok_r.
30801 * string/tst-strtok_r.c: New file.
30802 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30803 RAX_LP/RDX_LP on SAVE_PTR.
30805 2012-06-14 Roland McGrath <roland@hack.frob.com>
30807 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30809 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30811 * libm_test.inc (csqrt_test): Allow more spurious underflow
30813 (j0_test): Likewise.
30814 (j1_test): Likewise.
30815 (y0_test): Likewise.
30816 (y1_test): Likewise.
30818 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30820 * po/Makefile (libc.pot): Use UTF-8 charset.
30822 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30825 Suppress sign-conversion warning from FD_SET.
30826 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30827 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30828 not unsigned long int.
30829 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30831 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30835 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30836 __extern_always_inline instead of __extern_inline.
30837 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30838 (__signbit): Likewise.
30839 (__signbitl): Support C++ namespace.
30840 (lrintf): New inline function.
30842 (llrintf): Likewise.
30843 (llrint): Likewise.
30853 (floorf): Likewise.
30854 (nearbyint): Likewise.
30855 (nearbyintf): Likewise.
30857 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30859 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30860 non-default versions.
30862 2012-06-11 Roland McGrath <roland@hack.frob.com>
30865 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30867 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30869 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30870 (FE_UPWARD, FE_DOWNWARD): Don't define.
30871 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30872 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30874 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30876 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30877 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30879 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30881 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30883 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30884 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30886 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30889 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30890 * sysdeps/i386/fpu/Implies: New file.
30891 * sysdeps/x86_64/fpu/Implies: Likewise.
30892 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30893 * sysdeps/x86/fpu/bits/fenv.h: This.
30895 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30898 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30901 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30902 character 0xffff that matches the last element of the
30905 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30910 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30913 values higher than 25.6283.
30915 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30917 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30918 subnormal exponent extraction and add some __builtin_expect.
30919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30920 Fix for subnormal mantissa calculation.
30922 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30924 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30925 cpu2 is -1 and errno is not ENOSYS.
30927 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30930 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30931 * sysdeps/x86/bits/string.h: This.
30932 * sysdeps/x86_64/bits/string.h: Removed.
30934 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30935 if not compiling for x86-64, but compiling for >= i486.
30937 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30938 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30940 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30941 New macro from Linux kernel 3.4.0.
30942 (FP_XSTATE_MAGIC2): Likewise.
30943 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30944 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30945 (struct _fpx_sw_bytes): New struct.
30946 (struct _xsave_hdr): Likewise.
30947 (struct _ymmh_state): Likewise.
30948 (struct _xstate): Likewise.
30950 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30951 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30952 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30953 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30954 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30955 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30957 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30958 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30959 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30960 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30961 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30962 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30964 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30967 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30968 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30969 (sysdep_headers): Include sys/platform/ppc.h.
30970 * sysdeps/powerpc/test-gettimebase.c: Test for
30971 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30972 * manual/Makefile (appendices): Include platform.texi.
30973 * manual/contrib.texi (Contributors): Update @node pointers.
30974 * manual/maint.texi (Maintenance): Likewise.
30975 (Platform): New node.
30976 * manual/platform.texi: New file. Document the new features.
30978 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30979 Jakub Jelinek <jakub@redhat.com>
30982 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30983 where __builtin_expect is unavailable.
30985 2012-06-03 David S. Miller <davem@davemloft.net>
30987 * stdlib/longlong.h: Updated from GCC.
30989 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30992 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30993 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30996 (GLIBC_2.16): Likewise.
30998 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31000 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31002 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31005 (default-abi): New variable.
31006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31007 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31009 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31011 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31013 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31016 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31017 definition. Document in comment.
31019 2012-06-01 David S. Miller <davem@davemloft.net>
31021 * stdlib/longlong.h: Updated from GCC.
31023 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31026 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31027 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31028 sys/debugreg.h sys/io.h here.
31029 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31030 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31032 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31033 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31034 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31035 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31036 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31037 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31039 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31040 Define only if __x86_64__ is defined.
31042 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31046 Use int64_t for variable i.
31047 * math/libm-test.inc (fmod_test): Add more tests.
31049 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31050 z computation is not scheduled after fetestexcept.
31051 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31052 Use math_force_eval instead of asm to ensure calculation scheduled
31053 before exception test.
31054 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31055 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31057 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31060 computation is not scheduled after fetestexcept.
31062 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31065 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31066 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31068 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31070 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31071 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31073 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31076 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31078 (__WCHAR_MIN): Support __WORDSIZE == 64.
31079 (__WCHAR_MAX): Likewise.
31081 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31082 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31085 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31086 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31089 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31090 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31092 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31093 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31095 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31096 Defined to 1 if __x86_64__ isn't defined.
31097 (_STAT_VER_LINUX_OLD): New.
31098 (st_atime): Remove duplicate.
31099 (st_mtime): Likewise.
31100 (st_ctime): Likewise.
31102 2012-05-31 David S. Miller <davem@davemloft.net>
31104 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31107 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31109 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31113 * elf/dl-reloc.c: Include <_itoa.h>.
31114 (_dl_reloc_bad_type): Remove use of INTUSE.
31115 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31116 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31117 * stdio-common/psiginfo.c (psiginfo): Likewise.
31118 * stdio-common/psignal.c (psignal): Likewise.
31119 * string/strsignal.c (strsignal): Likewise.
31120 * include/signal.h (_sys_siglist): Declare hidden proto.
31121 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31122 INTVARDEF with libc_hidden_data_def.
31123 * stdio-common/itoa-udigits.c: Likewise.
31124 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31125 (_itoa_lower_digits_internal): Remove declaration.
31126 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31127 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31128 (_sys_sigabbrev_internal): Remove aliases.
31129 (_sys_siglist): Define hidden alias.
31131 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31136 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31139 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31140 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31142 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31143 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31144 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31145 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31146 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31147 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31149 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31150 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31151 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31153 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31161 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31162 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31163 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31165 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31166 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31167 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31168 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31169 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31170 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31172 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31173 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31175 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31176 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31178 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31179 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31180 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31182 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31183 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31185 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31187 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31188 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31189 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31191 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31193 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31195 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31197 * math/math.h (M_El): Use two more decimal places.
31198 (M_LOG2El): Likewise.
31199 (M_LOG10El): Likewise.
31200 (M_LN2l): Likewise.
31201 (M_LN10l): Likewise.
31203 (M_PI_2l): Likewise.
31204 (M_PI_4l): Likewise.
31205 (M_1_PIl): Likewise.
31206 (M_2_PIl): Likewise.
31207 (M_2_SQRTPIl): Likewise.
31208 (M_SQRT2l): Likewise.
31209 (M_SQRT1_2l): Likewise.
31211 2012-05-31 David S. Miller <davem@davemloft.net>
31213 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31214 values between float registers.
31215 * sysdeps/sparc/sparc64/memset.S: Likewise.
31216 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31218 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31220 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31221 -D_FORTIFY_SOURCE=1.
31222 (CPPFLAGS-tst-longjmp_chk.c): Define.
31223 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31224 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31225 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31226 CFLAGS-tst-wchar-h.c.
31228 2012-05-31 Marek Polacek <polacek@redhat.com>
31231 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31232 __endmntent_internal): Remove declaration.
31233 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31234 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31235 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31237 2012-05-30 David S. Miller <davem@davemloft.net>
31239 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31240 (___Q_simulate_exceptions): Use real FP ops rather than writing
31242 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31245 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31248 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31249 * sysdeps/x86/bits/xtitypes.h: This.
31251 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31252 * sysdeps/x86/bits/wordsize.h: This.
31254 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31255 * sysdeps/x86/bits/huge_vall.h: This.
31257 * sysdeps/i386/bits/select.h: Removed.
31258 * sysdeps/x86_64/bits/select.h: Renamed to ...
31259 * sysdeps/x86/bits/select.h: This.
31261 * sysdeps/i386/bits/setjmp.h: Removed.
31262 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31263 * sysdeps/x86/bits/setjmp.h: This.
31265 * sysdeps/i386/bits/mathdef.h: Removed.
31266 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31267 * sysdeps/x86/bits/mathdef.h: This.
31269 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31272 * include/sys/socket.h (__connect_internal)
31273 (__libc_sa_len_internal): Remove declaration.
31274 (__connect, __libc_sa_len): Declare hidden_proto.
31275 (SA_LEN): Remove use of INTUSE.
31276 * socket/connect.c: Add libc_hidden_def.
31277 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31278 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31279 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31281 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31282 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31283 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31284 of adding _internal alias.
31286 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31289 * sysdeps/i386/bits/link.h: Removed.
31290 * sysdeps/i386/bits/linkmap.h: Likewise.
31291 * sysdeps/x86_64/bits/link.h: Renamed to ...
31292 * sysdeps/x86/bits/link.h: This.
31293 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31294 * sysdeps/x86/bits/linkmap.h: This.
31296 * sysdeps/i386/bits/endian.h: Removed.
31297 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31298 * sysdeps/x86/bits/endian.h: This.
31300 * sysdeps/i386/bits/byteswap.h: Removed.
31301 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31302 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31303 * sysdeps/x86/bits/byteswap.h: This.
31304 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31305 * sysdeps/x86/bits/byteswap-16.h: This.
31306 * sysdeps/i386/Implies: Add x86.
31307 * sysdeps/x86_64/Implies: Likewise.
31309 2012-05-30 David S. Miller <davem@davemloft.net>
31311 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31312 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31313 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31314 (FP_TRAPPING_EXCEPTIONS): Define.
31315 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31316 (FP_TRAPPING_EXCEPTIONS): Define.
31317 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31318 subnormals only when inexact has been signalled or underflow
31319 exceptions are enabled.
31320 (_FP_PACK_CANONICAL): Likewise.
31322 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31325 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31326 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31328 2012-05-30 Richard Henderson <rth@twiddle.net>
31330 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31331 with #ifndef NOT_IN_libc.
31333 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31334 marked to avoid plt entry.
31336 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31339 * Makeconfig (default-abi): New macro.
31340 (abi-includes): Likewise.
31341 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31342 $(abi-$(default-abi)-lib-soname) for soname if defined.
31343 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31345 * Makefile (installed-stubs): Likewise.
31346 * include/stubs-biarch.h: Removed.
31347 * scripts/lib-names.awk: Only handle one library at a time.
31348 * scripts/soversions.awk: Remove WORDSIZE support.
31349 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31351 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31353 (syscall-list-default-condition): Likewise.
31354 (syscall-list-default-condition): Likewise.
31355 (syscall-list-includes): Likewise.
31356 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31357 syscall-list-* with abi-*. Handle undefined abi-variants.
31358 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31359 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31360 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31361 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31362 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31363 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31365 (syscall-list-32-options): Likewise.
31366 (syscall-list-32-condition): Likewise.
31367 (syscall-list-64-options): Likewise.
31368 (syscall-list-64-condition): Likewise.
31369 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31371 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31374 (abi-64-ld-soname): New macro.
31375 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31376 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31379 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31380 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31382 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31384 * sysdeps/unix/sysv/linux/kernel-features.h
31385 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31386 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31387 include <kernel-features.h>.
31388 [!__NR_ftruncate64]: Remove conditional code.
31389 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31390 [__NR_ftruncate64]: Make code unconditional.
31391 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31392 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31393 include <kernel-features.h>.
31394 [!__NR_ftruncate64]: Remove conditional code.
31395 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31396 [__NR_ftruncate64]: Make code unconditional.
31397 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31399 include <kernel-features.h>.
31400 [!__NR_ftruncate64]: Remove conditional code.
31401 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31402 [__NR_ftruncate64]: Make code unconditional.
31403 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31405 include <kernel-features.h>.
31406 [!__NR_ftruncate64]: Remove conditional code.
31407 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31408 [__NR_ftruncate64]: Make code unconditional.
31409 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31411 * configure.in (libc_cv_fpie): Weaken to a compile test using
31412 LIBC_TRY_CC_OPTION.
31413 * configure: Regenerated.
31415 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31430 2012-05-27 David S. Miller <davem@davemloft.net>
31432 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31434 (__Q_simulate_exceptions): Return void. Change to simulate
31435 exceptions by writing into the %fsr.
31436 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31437 (__Qp_handle_exceptions): Likewise.
31439 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31440 __Qp_handle_exceptions.
31441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31442 __Qp_handle_exceptions.
31443 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31444 as unused and give dummy FP_RND_NEAREST initializer.
31445 (FP_INHIBIT_RESULTS): Define.
31446 (___Q_simulate_exceptions): Update declaration.
31447 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31449 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31450 as unused and give dummy FP_RND_NEAREST initializer.
31451 (__Qp_handle_exceptions): Update declaration.
31452 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31455 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31457 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31458 the temporary FPU control word.
31459 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31460 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31461 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31462 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31463 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31464 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31465 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31466 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31467 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31468 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31469 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31471 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31473 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31476 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31478 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31479 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31480 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31481 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31483 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31484 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31487 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31489 * po/h.po: Update from translation team.
31491 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31493 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31495 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31496 handling of denormals.
31497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31498 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31499 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31500 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31506 2012-05-26 Marek Polacek <polacek@redhat.com>
31509 * math/libm-test.inc (fma_test): Don't always expect underflow
31512 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31515 * elf/tst-execstack.c: Include stackinfo.h.
31516 (do_test): Adjust test case to ensure that pthread_getattr_np
31517 behaviour remains the same after marking stack executable.
31519 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31521 * sysdeps/unix/sysv/linux/kernel-features.h
31522 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31523 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31525 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31526 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31527 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31529 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31530 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31532 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31534 * configure.in: Define the default includes to being none.
31535 * configure: Regenerated.
31537 2012-05-25 Roland McGrath <roland@hack.frob.com>
31539 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31540 * sysdeps/x86_64/setjmp.S: Likewise.
31541 * sysdeps/i386/bsd-setjmp.S: Likewise.
31542 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31543 * sysdeps/i386/setjmp.S: Likewise.
31544 * sysdeps/i386/__longjmp.S: Likewise.
31545 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31546 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31548 * include/stap-probe.h: New file.
31549 * configure.in: Handle --enable-systemtap.
31550 * configure: Regenerated.
31551 * config.h.in (USE_STAP_PROBE): New #undef.
31552 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31553 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31554 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31556 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31560 to 2.4.0 where earlier.
31561 * sysdeps/unix/sysv/linux/configure: Regenerated.
31562 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31563 <kernel-features.h>.
31564 [__ASSUME_32BITUIDS]: Make code unconditional.
31565 [!__ASSUME_32BITUIDS]: Remove conditional code.
31566 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31567 <kernel-features.h>.
31568 [__ASSUME_32BITUIDS]: Make code unconditional.
31569 [!__ASSUME_32BITUIDS]: Remove conditional code.
31570 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31571 [__ASSUME_32BITUIDS]: Make code unconditional.
31572 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31573 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
31606 <kernel-features.h>.
31607 [__ASSUME_32BITUIDS]: Make code unconditional.
31608 [!__ASSUME_32BITUIDS]: Remove conditional code.
31609 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31610 <kernel-features.h>.
31611 [__ASSUME_32BITUIDS]: Make code unconditional.
31612 [!__ASSUME_32BITUIDS]: Remove conditional code.
31613 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31614 <kernel-features.h>.
31615 [__NR_setresgid] (__setresgid): Do not declare.
31616 [__ASSUME_32BITUIDS]: Make code unconditional.
31617 [!__ASSUME_32BITUIDS]: Remove conditional code.
31618 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31619 <kernel-features.h>.
31620 [__NR_setresuid] (__setresuid): Do not declare.
31621 [__ASSUME_32BITUIDS]: Make code unconditional.
31622 [!__ASSUME_32BITUIDS]: Remove conditional code.
31623 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
31656 <kernel-features.h>.
31657 [__ASSUME_32BITUIDS]: Make code unconditional.
31658 [!__ASSUME_32BITUIDS]: Remove conditional code.
31659 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31660 <kernel-features.h>.
31661 [__ASSUME_32BITUIDS]: Make code unconditional.
31662 [!__ASSUME_32BITUIDS]: Remove conditional code.
31663 * sysdeps/unix/sysv/linux/kernel-features.h
31664 (__ASSUME_SETRESUID_SYSCALL): Remove.
31665 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31666 (__ASSUME_32BITUIDS): Likewise.
31667 (__ASSUME_LDT_WORKS): Likewise.
31668 (__ASSUME_O_DIRECTORY): Likewise.
31669 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31670 architecture but not kernel version.
31671 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31672 (__ASSUME_MMAP2_SYSCALL): Likewise.
31673 (__ASSUME_STAT64_SYSCALL): Likewise.
31674 (__ASSUME_IPC64): Likewise.
31675 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31676 <kernel-features.h>.
31677 [__ASSUME_32BITUIDS]: Make code unconditional.
31678 [!__ASSUME_32BITUIDS]: Remove conditional code.
31679 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31680 <kernel-features.h>.
31681 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31682 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31683 132096]: Remove conditional code.
31684 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31685 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31686 <kernel-features.h>.
31687 [__ASSUME_32BITUIDS]: Make code unconditional.
31688 [!__ASSUME_32BITUIDS]: Remove conditional code.
31689 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31690 <kernel-features.h>.
31691 [__ASSUME_32BITUIDS]: Make code unconditional.
31692 [!__ASSUME_32BITUIDS]: Remove conditional code.
31693 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31694 <kernel-features.h>.
31695 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31697 (__setresgid): Do not declare.
31698 [__ASSUME_32BITUIDS]: Make code unconditional.
31699 [!__ASSUME_32BITUIDS]: Remove conditional code.
31700 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31701 <kernel-features.h>.
31702 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31704 (__setresuid): Do not declare.
31705 [__ASSUME_32BITUIDS]: Make code unconditional.
31706 [!__ASSUME_32BITUIDS]: Remove conditional code.
31707 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31708 <kernel-features.h>.
31709 [__ASSUME_32BITUIDS]: Make code unconditional.
31710 [!__ASSUME_32BITUIDS]: Remove conditional code.
31711 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31712 <kernel-features.h>.
31713 [__ASSUME_32BITUIDS]: Make code unconditional.
31714 [!__ASSUME_32BITUIDS]: Remove conditional code.
31716 2012-05-25 Richard Henderson <rth@twiddle.net>
31718 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31719 dl_hwcap to ifunc resolver.
31720 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31722 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31723 dl_hwcap to ifunc resolver.
31724 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31726 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31729 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31730 for |x| <= 2**-26, not 2**-57.
31731 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31734 2012-05-24 Jeff Law <law@redhat.com>
31736 * stdio-common/Makefile (tests): Add bug25.
31737 * stdio-common/bug25.c: New test.
31739 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31742 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31743 multiple of MALLOC_ALIGNMENT in size.
31744 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31746 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31748 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31750 (FILENAME_MAX): Use macro-int-constant.
31751 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31752 (_IOFBF): Use macro-int-constant.
31753 (_IOLBF): Likewise.
31754 (_IONBF): Likewise.
31755 (SEEK_CUR): Likewise.
31756 (SEEK_END): Likewise.
31757 (SEEK_SET): Likewise.
31758 (TMP_MAX): Likewise.
31759 (EOF): Use macro-int-constant. Require < 0.
31760 (NULL): Use macro-constant. Require == 0.
31761 (stdin): Require type to be FILE *.
31762 (stdout): Likewise.
31763 (stderr): Likewise.
31764 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31765 macro-int-constant.
31766 (EXIT_SUCCESS): Likewise.
31767 (NULL): Use macro-constant. Require == 0.
31768 (RAND_MAX): Use macro-int-constant.
31769 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31770 [C99-based standards] (strtof): Require function.
31771 [C99-based standards] (strtold): Likewise.
31772 [C99-based standards] (strtoll): Likewise.
31773 [C99-based standards] (strtoull): Likewise.
31774 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31775 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31776 [ISO || ISO99 || ISO11] (math.h): Likewise.
31777 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31778 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31781 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31784 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31785 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31786 * intl/dgettext.c (DCGETTEXT): Likewise.
31787 * intl/gettext.c (DCGETTEXT): Likewise.
31788 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31789 * posix/regex_internal.h (gettext): Likewise.
31790 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31791 Remove declaration.
31792 * include/argz.h (__argz_count_internal)
31793 (__argz_stringify_internal): Remove declaration.
31794 (__argz_count, __argz_stringify): Declare hidden proto.
31795 * intl/dcgettext.c: Remove use of INTDEF.
31796 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31797 * string/argz-stringify.c: Likewise.
31798 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31799 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31800 Declare hidden proto.
31801 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31802 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31803 Declare hidden proto.
31804 * include/stdio.h (__asprintf_internal): Don't declare.
31805 (__asprintf): Don't define as macro. Declare hidden proto.
31806 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31807 (__fsetlocking): Declare hidden proto.
31808 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31809 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31811 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31812 (_IO_setlinebuf): Remove use of INTUSE.
31813 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31814 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31815 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31816 Remove declaration.
31817 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31818 (_IO_do_flush): Remove use of INTUSE.
31819 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31820 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31821 (_IO_adjust_column, _IO_least_wmarker)
31822 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31823 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31824 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31825 (_IO_default_doallocate, _IO_wdefault_doallocate)
31826 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31827 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31828 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31829 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31830 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31831 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31832 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31833 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31834 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31835 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31836 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31837 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31838 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31840 (_IO_flush_all_internal, _IO_adjust_column_internal)
31841 (_IO_default_uflow_internal, _IO_default_finish_internal)
31842 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31843 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31844 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31845 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31846 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31847 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31848 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31849 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31850 (_IO_file_close_internal, _IO_file_close_it_internal)
31851 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31852 (_IO_file_init_internal, _IO_file_attach_internal)
31853 (_IO_file_fopen_internal, _IO_file_read_internal)
31854 (_IO_file_sync_internal, _IO_file_seek_internal)
31855 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31856 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31857 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31858 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31859 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31860 (_IO_list_all_internal, _IO_link_in_internal)
31861 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31862 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31863 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31864 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31865 (_IO_do_write_internal, _IO_padn_internal)
31866 (_IO_getline_info_internal, _IO_getline_internal)
31867 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31868 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31869 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31870 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31871 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31872 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31873 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31874 with libc_hidden_ver, remove use of INTUSE.
31875 * libio/genops.c: Likewise.
31876 * libio/freopen.c: Likewise.
31877 * libio/freopen64.c: Likewise.
31878 * libio/iofclose.c: Likewise.
31879 * libio/iofdopen.c: Likewise.
31880 * libio/iofflush.c: Likewise.
31881 * libio/iofflush_u.c: Likewise.
31882 * libio/iofgets.c: Likewise.
31883 * libio/iofgets_u.c: Likewise.
31884 * libio/iofopen.c: Likewise.
31885 * libio/iofopncook.c: Likewise.
31886 * libio/iofread.c: Likewise.
31887 * libio/iofread_u.c: Likewise.
31888 * libio/ioftell.c: Likewise.
31889 * libio/iofwrite.c: Likewise.
31890 * libio/iogetline.c: Likewise.
31891 * libio/iogets.c: Likewise.
31892 * libio/iogetwline.c: Likewise.
31893 * libio/iopadn.c: Likewise.
31894 * libio/iopopen.c: Likewise.
31895 * libio/ioseekoff.c: Likewise.
31896 * libio/ioseekpos.c: Likewise.
31897 * libio/iosetbuffer.c: Likewise.
31898 * libio/iosetvbuf.c: Likewise.
31899 * libio/ioungetc.c: Likewise.
31900 * libio/ioungetwc.c: Likewise.
31901 * libio/iovdprintf.c: Likewise.
31902 * libio/iovsprintf.c: Likewise.
31903 * libio/iovsscanf.c: Likewise.
31904 * libio/memstream.c: Likewise.
31905 * libio/obprintf.c: Likewise.
31906 * libio/oldfileops.c: Likewise.
31907 * libio/oldiofclose.c: Likewise.
31908 * libio/oldiofdopen.c: Likewise.
31909 * libio/oldiofopen.c: Likewise.
31910 * libio/oldiopopen.c: Likewise.
31911 * libio/oldstdfiles.c: Likewise.
31912 * libio/putc.c: Likewise.
31913 * libio/setbuf.c: Likewise.
31914 * libio/setlinebuf.c: Likewise.
31915 * libio/stdfiles.c: Likewise.
31916 * libio/strops.c: Likewise.
31917 * libio/vasprintf.c: Likewise.
31918 * libio/vscanf.c: Likewise.
31919 * libio/vsnprintf.c: Likewise.
31920 * libio/vswprintf.c: Likewise.
31921 * libio/wfiledoalloc.c: Likewise.
31922 * libio/wfileops.c: Likewise.
31923 * libio/wgenops.c: Likewise.
31924 * libio/wmemstream.c: Likewise.
31925 * libio/wstrops.c: Likewise.
31926 * libio/__fpurge.c: Likewise.
31927 * libio/__fsetlocking.c: Likewise.
31928 * assert/assert.c: Likewise.
31929 * debug/fgets_chk.c: Likewise.
31930 * debug/fgets_u_chk.c: Likewise.
31931 * debug/fread_chk.c: Likewise.
31932 * debug/fread_u_chk.c: Likewise.
31933 * debug/gets_chk.c: Likewise.
31934 * debug/obprintf_chk.c: Likewise.
31935 * debug/vasprintf_chk.c: Likewise.
31936 * debug/vdprintf_chk.c: Likewise.
31937 * debug/vsnprintf_chk.c: Likewise.
31938 * debug/vsprintf_chk.c: Likewise.
31939 * malloc/mtrace.c: Likewise.
31940 * misc/error.c: Likewise.
31941 * misc/syslog.c: Likewise.
31942 * stdio-common/asprintf.c: Likewise.
31943 * stdio-common/fxprintf.c: Likewise.
31944 * stdio-common/getw.c: Likewise.
31945 * stdio-common/isoc99_fscanf.c: Likewise.
31946 * stdio-common/isoc99_scanf.c: Likewise.
31947 * stdio-common/isoc99_vfscanf.c: Likewise.
31948 * stdio-common/isoc99_vscanf.c: Likewise.
31949 * stdio-common/isoc99_vsscanf.c: Likewise.
31950 * stdio-common/printf-prs.c: Likewise.
31951 * stdio-common/printf_fp.c: Likewise.
31952 * stdio-common/printf_fphex.c: Likewise.
31953 * stdio-common/printf_size.c: Likewise.
31954 * stdio-common/putw.c: Likewise.
31955 * stdio-common/scanf.c: Likewise.
31956 * stdio-common/sprintf.c: Likewise.
31957 * stdio-common/tmpfile.c: Likewise.
31958 * stdio-common/vfprintf.c: Likewise.
31959 * stdio-common/vfscanf.c: Likewise.
31960 * stdlib/strfmon_l.c: Likewise.
31961 * sunrpc/openchild.c: Likewise.
31962 * sunrpc/xdr_stdio.c: Likewise.
31963 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31964 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31966 2012-05-24 Roland McGrath <roland@hack.frob.com>
31968 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31970 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31971 in the third column, to generate for the shared library an IFUNC
31972 that uses _dl_vdso_vsym.
31973 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31974 * Makeconfig (object-suffixes-noshared): New variable.
31976 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31977 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31978 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31979 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31982 * include/sys/time.h (__gettimeofday): Remove macro.
31983 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31984 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31986 (__gettimeofday): Add libc_hidden_def.
31987 (gettimeofday): Add libc_hidden_weak.
31988 * sysdeps/mach/gettimeofday.c: Likewise.
31989 * sysdeps/posix/gettimeofday.c: Likewise.
31990 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31991 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31993 (__gettimeofday_internal): Remove strong_alias.
31994 (__gettimeofday): Add libc_hidden_def.
31995 (gettimeofday): Add libc_hidden_weak.
31996 * sysdeps/unix/syscalls.list (gettimeofday):
31997 Remove __gettimeofday_internal alias.
31999 2012-05-24 Daniel Jacobowitz <drow@false.org>
32000 H.J. Lu <hongjiu.lu@intel.com>
32003 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32004 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32005 (largebin_index_32_big): New.
32006 (largebin_index): Use it for 16-byte alignment.
32007 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32008 correction with front_misalign.
32010 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32038 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32039 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32041 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32045 * math/libm-test.inc (exp_test): Add test from bug 14036.
32046 (pow_test): Add test from bug 10846.
32048 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32050 (special_function): Do not include flags in test name.
32051 (parse_args): Likewise.
32052 * sysdeps/i386/fpu/libm-test-ulps: Update.
32053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32054 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32055 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32058 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32060 * math/libm-test.inc ("Philosophy"): Update comment about
32062 (UNDERFLOW_EXCEPTION): New macro.
32063 (UNDERFLOW_EXCEPTION_OK): Likewise.
32064 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32065 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32066 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32067 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32068 (INVALID_EXCEPTION_OK): Update value.
32069 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32070 (OVERFLOW_EXCEPTION_OK): Likewise.
32071 (IGNORE_ZERO_INF_SIGN): Likewise.
32072 (test_exceptions): Handle underflow exceptions.
32073 (acos_test): Update for underflow exception expectations.
32074 (cexp_test): Likewise.
32075 (clog_test): Likewise.
32076 (clog10_test): Likewise.
32077 (csqrt_test): Likewise.
32078 (ctan_test): Likewise.
32079 (ctanh_test): Likewise.
32080 (exp_test): Likewise.
32081 (exp10_test): Likewise.
32082 (exp2_test): Likewise.
32083 (expm1_test): Likewise.
32084 (fma_test): Likewise.
32085 (j0_test): Likewise.
32086 (jn_test): Likewise.
32087 (nexttoward_test): Likewise.
32088 (pow_test): Likewise.
32089 (scalbn_test): Likewise.
32090 (scalbln_test): Likewise.
32091 (tan_test): Likewise.
32092 (y1_test): Likewise.
32093 * sysdeps/i386/fpu/libm-test-ulps: Update.
32094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32096 2012-05-23 David S. Miller <davem@davemloft.net>
32098 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32099 (__libc_sigaction): Remove unused local variables.
32101 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32103 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32105 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32107 mktime: avoid signed integer overflow
32108 * time/mktime.c (__mktime_internal): Do not mishandle the case
32109 where diff == INT_MIN.
32111 mktime: simplify computation of average
32112 * time/mktime.c (ranged_convert): Use new time_t_avg function
32113 instead of rolling our own (probably-slower) code.
32115 mktime: do not assume signed right shift propagates sign bit
32116 * time/mktime.c (isdst_differ): New static function.
32117 (__mktime_internal): No need to normalize tm_isdst now.
32118 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32121 mktime: merge another wrapv change from gnulib
32122 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32123 from some compilers.
32125 mktime: remove incorrect attempt at unusual arithmetics
32126 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32127 The code didn't really work on such machines anyway.
32128 (TYPE_MINIMUM): Assume two's complement.
32129 (twos_complement_arithmetic): Verify that long_int and time_t
32130 are two's complement (or unsigned, in the latter case).
32132 mktime: check signed shifts on long_int and time_t, too
32133 * time/mktime.c (SHR): Check that shifts work as desired
32134 on the types long_int and time_t too, as SHR is used on
32137 mktime: do not assume 'long' is wide enough
32138 * time/mktime.c (verify): Move decl up.
32139 (long_int): New type.
32140 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32141 to remove assumption in the code that 'long' is wide enough to
32142 store year values. This assumption is not true on x32 and on
32143 some non-glibc platforms.
32145 mktime: merge wrapv change from gnulib
32146 * time/mktime.c (WRAPV): New macro.
32147 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32148 (guess_time_tm, __mktime_internal): Do not assume that signed
32149 integer overflow wraps around; modern compilers generate code
32150 where this assumption is no longer valid.
32152 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32154 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32155 Replace "jmp L(pseudo_end)" with "ret".
32156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32159 2012-05-23 Andreas Jaeger <aj@suse.de>
32161 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32162 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32164 2012-05-23 Andreas Jaeger <aj@suse.de>
32165 Maximilian Attems <max@stro.at>
32167 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32170 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32172 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32173 code so that pseudo_end is just ret and the stack pointer is
32174 correct also for static library in error case.
32176 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32178 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32179 move to syscalls.list.
32180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32185 * manual/install.texi (Running make install): Do not mention Linux
32186 kernel version for which pt_chown is not needed.
32187 (Linux): Do not mention problems with nscd with 2.0 kernels.
32188 * INSTALL: Regenerated.
32190 2012-05-23 Andreas Jaeger <aj@suse.de>
32192 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32193 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32195 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32196 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32197 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32198 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32199 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32200 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32202 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32203 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32204 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32205 * sysdeps/unix/sysv/linux/bits/in.h
32206 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32208 2012-05-22 Roland McGrath <roland@hack.frob.com>
32210 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32211 (PREPARE_VERSION): Just use assert instead, it will be elided
32212 under [NDEBUG] anyway.
32214 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32216 * sysdeps/unix/sysv/linux/Makefile: Include
32217 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32218 (sysdep_routines): Remove sysctl.
32219 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32220 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32221 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32222 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32223 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32225 2012-05-22 Andreas Jaeger <aj@suse.de>
32227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32228 that pseudo_end is just ret and the stack pointer is correct also
32229 for static library in error case.
32231 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32234 * nss/nsswitch.c (defconfig_entries): New variable.
32235 (__nss_database_lookup): Don't leak defconfig entries.
32236 (nss_parse_service_list): Don't leak on error paths.
32237 (free_database_entries): New function.
32238 (free_defconfig): New function.
32239 (free_mem): Move common code to free_database_entries.
32241 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32243 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32245 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32247 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32248 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32251 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32252 (INTERNAL_SYSCALL_TYPES): Likewise.
32253 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32254 (LOAD_REGS_TYPES_[1-6]): Likewise.
32255 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32256 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32258 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32260 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32261 copysignl for GLIBC_2_0.
32262 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32263 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32265 logbl for GLIBC_2_0.
32266 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32267 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32269 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32271 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32272 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32274 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32277 * time/mktime.c: Update copyright years.
32279 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32281 mktime: merge comment-quoting-style change from gnulib
32282 * time/mktime.c: Quote 'like this' in comments.
32283 The GNU coding standards suggest that we no longer quote `like this',
32284 as "`" and "'" are typically rendered asymmetrically nowadays.
32285 The typical gnulib style is to quote 'like this' when quoting
32286 code, and "like this" when quoting English.
32288 * time/mktime.c (compile-command): Add "-I.".
32290 mktime: merge mktime-internal.h change from gnulib
32291 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32293 mktime: merge time_r change from gnulib
32294 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32296 mktime: merge DEBUG change from gnulib
32297 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32298 case system <time.h> has a #define.
32300 mktime: merge <sys/types.h> change from gnulib
32301 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32302 since <time.t> is now guaranteed to define time_t.
32304 mktime: merge HAVE_CONFIG_H change from gnulib
32305 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32307 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32312 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32314 (struct rusage): Use anonymous union to pad each field to
32317 2012-05-21 David S. Miller <davem@davemloft.net>
32319 * Makefules (o-iterator): Remove .s cases.
32320 (compile-command.s): Delete.
32321 (COMPILE.s): Delete.
32322 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32324 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32326 * configure.in (libc_cv_predef_stack_protector): Only consider
32327 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32328 * configure: Regenerated.
32330 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32333 New macro. Use R*LP on int and pointer.
32334 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32335 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32336 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32337 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32339 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32340 [__WORDSIZE_TIME64_COMPAT32] instead of
32341 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32342 (struct utmp): Likewise.
32343 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32344 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32346 (__WORDSIZE_TIME64_COMPAT32): This.
32347 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32348 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32349 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32350 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32351 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32352 (__WORDSIZE_TIME64_COMPAT32): New macro.
32354 2012-05-21 Andreas Jaeger <aj@suse.de>
32356 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32357 only if [SHARED]. Add prototype for __wcschr_ia32.
32359 2012-05-21 Roland McGrath <roland@hack.frob.com>
32361 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32362 of %rbp unmolested in the jmp_buf while mangling the low bits.
32363 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32364 unmolested high bits of %rbp while demangling the low bits.
32365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32367 2012-05-21 Andreas Jaeger <aj@suse.de>
32369 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32370 * sunrpc/svc_simple.c: Use it for registerrpc.
32371 * sunrpc/xcrypt.c: Use it for passwd2des.
32373 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32375 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32377 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32378 Don't define if [__SYSCALL_WORDSIZE != 32].
32379 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32382 2012-05-21 Bruno Haible <bruno@clisp.org>
32383 Andreas Jaeger <aj@suse.de>
32385 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32386 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32387 inptr and inend for must_buffer_ch.
32388 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32389 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32390 * stdio-common/Makefile (tests): Remove bug15.
32391 (bug15-ENV): Remove macro.
32392 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32395 2012-05-19 Andreas Jaeger <aj@suse.de>
32396 Roland McGrath <roland@hack.frob.com>
32398 * manual/contrib.texi: Completely rewritten. It contains now an
32399 alphabetical list of contributors and their contributions.
32401 2012-05-21 Richard Henderson <rth@twiddle.net>
32403 * misc/getauxval.c (__getauxval): Use unsigned long int.
32404 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32405 (getauxval): Use unsigned long int.
32407 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32409 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32411 2012-05-21 Roland McGrath <roland@hack.frob.com>
32413 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32414 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32415 __alignof__ (long double).
32417 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32421 2012-05-20 Richard Henderson <rth@twiddle.net>
32423 * misc/getauxval.c: New file.
32424 * misc/sys/auxv.h: New file.
32425 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32426 (routines): Add getauxval.
32427 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32428 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32429 * elf/dl-sysdep.c (_dl_auxv): Remove.
32430 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32431 * elf/dl-support.c (_dl_auxv): New variable.
32432 (_dl_aux_init): Initialize it.
32433 * manual/startup.texi (Auxiliary Vector): New node.
32434 * sysdeps/generic/bits/hwcap.h: New file.
32435 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32436 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32437 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32438 * sysdeps/sparc/sysdep.h: ... here. Include it.
32439 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32452 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32456 2012-05-19 David S. Miller <davem@davemloft.net>
32458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32460 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32463 * math/s_ccosh.c: Include <float.h>
32464 (__ccosh): Avoid internal overflow calculating sinh and cosh
32465 values before multiplying by sin and cos values.
32466 * math/s_ccoshf.c: Likewise.
32467 * math/s_ccoshl.c: Likewise.
32468 * math/s_csin.c: Likewise.
32469 * math/s_csinf.c: Likewise.
32470 * math/s_csinl.c: Likewise.
32471 * math/s_csinh.c: Likewise.
32472 * math/s_csinhf.c: Likewise.
32473 * math/s_csinhl.c: Likewise.
32474 * math/libm-test.inc (ccos_test): Add more tests.
32475 (ccosh_test): Likewise.
32476 (csin_test): Likewise.
32477 (csinh_test): Likewise.
32478 * sysdeps/i386/fpu/libm-test-ulps: Update.
32479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32481 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32483 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32484 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32486 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32488 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32490 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32491 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32492 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32493 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32494 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32495 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32496 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32497 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32498 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32499 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32500 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32501 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32502 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32503 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32504 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32505 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32506 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32507 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32508 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32509 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32510 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32511 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32512 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32513 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32514 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32515 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32516 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32517 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32518 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32519 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32520 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32522 2012-05-18 Andreas Jaeger <aj@suse.de>
32524 * csu/.gitignore: Delete.
32526 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32528 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32529 (timex): Use __syscall_slong_t.
32531 2012-05-18 Andreas Jaeger <aj@suse.de>
32532 Carlos O'Donell <carlos_odonell@mentor.com>
32534 * manual/install.texi (Configuring and compiling): Update
32535 description about files modified in the source directory.
32536 * INSTALL: Regenerated.
32538 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32540 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32541 value. Use "or" to set return value to -1.
32542 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32543 negate return value.
32545 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32547 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32548 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32549 failure if the compiler has Graphite support disabled.
32550 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32552 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32553 (CFLAGS-memmove.c): Likewise.
32554 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32557 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32559 * sysdeps/x86_64/x32/_itoa.h: New file.
32561 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32562 getdents system call only if kernel and user dirents have the
32563 same d_ino and d_off.
32565 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32566 LLONG_MAX != LONG_MAX.
32567 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32568 (_fitoa_word): Likewise.
32570 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32572 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32573 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32574 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32576 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32577 include <bits/wordsize.h>. Check __x86_64__ instead of
32579 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32580 if __x86_64__ is defined. Use anonymous union on fpstate.
32582 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32585 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32587 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32588 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32589 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32590 Refer to _rtld_local_ro instead of _rtld_global_ro.
32591 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32593 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32595 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32597 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32598 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32599 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32601 * sysdeps/powerpc/powerpc32/dl-machine.c
32602 (__elf_machine_runtime_setup) [PROF]: Don't reference
32605 2012-05-18 Andreas Jaeger <aj@suse.de>
32607 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32608 function only available for GCCs before 3.4 since GCC 3.4
32609 introduced a builtin.
32611 (llrintf): Likewise.
32612 (llrint): Likewise.
32619 (nearbyint): Likewise.
32620 (nearbyintf): Likewise.
32624 (floorf): Likewise.
32626 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32628 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32629 on both fields and cast pointer to __syscall_ulong_t.
32631 * bits/types.h (__fsword_t): New type.
32632 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32633 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32635 (__FSWORD_T_TYPE): Likewise.
32636 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32637 (__FSWORD_T_TYPE): Likewise.
32638 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32639 (__FSWORD_T_TYPE): Likewise.
32640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32641 (__FSWORD_T_TYPE): Likewise.
32642 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32643 __SWORD_TYPE with __fsword_t.
32644 (statfs64): Likewise.
32646 2012-05-17 David S. Miller <davem@davemloft.net>
32648 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32650 2012-05-17 Andreas Jaeger <aj@suse.de>
32652 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32655 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32657 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32659 2012-05-17 Andreas Jaeger <aj@suse.de>
32661 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32664 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32666 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32668 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32670 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32671 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32673 2012-05-17 Andreas Jaeger <aj@suse.de>
32674 Carlos O'Donell <carlos_odonell@mentor.com>
32677 * sysdeps/x86_64/multiarch/init-arch.h
32678 (bit_YMM_Usable): Rename to...
32679 (bit_AVX_Usable): ... this.
32680 (bit_FMA4_Usable): New macro.
32681 (bit_XMM_state): New macro.
32682 (bit_YMM_state): New macro.
32683 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32684 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32685 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32686 (CPUID_OSXSAVE): New macro.
32687 (CPUID_AVX): New macro.
32688 (CPUID_FMA4): New macro.
32689 (index_YMM_Usable): Rename to...
32690 (index_AVX_Usable): ... this.
32691 (HAS_AVX): Use HAS_ARCH_FEATURE.
32692 (HAS_FMA4): Likewise.
32693 (HAS_YMM_USABLE): Remove.
32694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32695 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32697 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32698 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32699 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32700 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32701 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32703 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32705 * math/libm-test.c: Support platforms without multiple rounding modes.
32706 * math/bug-nextafter.c: Support platforms without FP exceptions.
32707 * math/bug-nexttoward.c: Likewise.
32708 * math/test-fenv.c: Likewise.
32709 * math/test-misc.c: Likewise.
32710 * stdlib/bug-getcontext.c: Likewise.
32712 2012-05-17 Andreas Jaeger <aj@suse.de>
32714 * manual/examples/search.c (critter_cmp): Change signature to
32716 * manual/string.texi (Collation Functions): Likewise.
32718 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32720 * bits/types.h: Fold copyright years.
32721 * bits/typesizes.h: Likewise.
32722 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32726 * time/time.h: Likewise.
32728 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32731 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32732 in instead of returning them. Return void.
32733 (__libc_mallinfo): Accumulate over all arenas.
32734 (__malloc_stats): Adjust for change in int_mallinfo interface.
32736 2012-05-16 Roland McGrath <roland@hack.frob.com>
32739 * configure.in (NM): Add AC_CHECK_TOOL for it.
32740 (libc_extra_cflags): New substituted variable.
32741 Check for -fstack-protector being used implicitly.
32742 * configure: Regenerated.
32743 * config.make.in (config-extra-cflags): New variable,
32744 gets @libc_extra_cflags@.
32745 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32748 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32749 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32750 * configure: Regenerated.
32751 * config.make.in (CPPUNDEFS): New substituted variable.
32752 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32753 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32754 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32756 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32758 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32759 (mq_attr): Use __syscall_slong_t.
32761 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32763 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32764 Check __x86_64__ instead of __WORDSIZE.
32765 (_STAT_VER_LINUX): Likewise.
32766 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32767 __syscall_ulong_t and __syscall_slong_t.
32768 (stat64): Likewise.
32770 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32772 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32774 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32776 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32778 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32780 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32783 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32784 include <bits/wordsize.h>. Check __x86_64__ instead of
32786 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32788 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32791 include <bits/wordsize.h>. Check __x86_64__ instead of
32793 (user_regs_struct): Use "__extension__ unsigned long long"
32794 instead of "unsigned long" if __x86_64__ is defined.
32795 (user): Likewise. Pad after pointer field if __ILP32__ is
32798 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32800 * configure.in (makeinfo): Require version 4.5 or later. Allow
32802 * configure: Regenerated.
32803 * manual/install.texi (texinfo): Increase version requirement to
32805 * INSTALL: Regenerated.
32807 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32809 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32811 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32813 * sysdeps/x86_64/x32/ffs.c: New file.
32815 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32817 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32818 defined. Use __syscall_ulong_t.
32819 (shminfo): Use __syscall_ulong_t.
32820 (shm_info): Likewise.
32822 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32825 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32827 (msgqnum_t): Use __syscall_ulong_t.
32828 (msglen_t): Likewise.
32829 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32832 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32833 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32835 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32837 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32838 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32840 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32844 include <bits/wordsize.h>. Check __x86_64__ instead of
32847 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32848 "unsigned long long int" if __x86_64__ is defined.
32849 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32851 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32852 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32853 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32855 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32857 (GET_PC): Cast to uintptr_t first.
32858 (GET_FRAME): Likewise.
32859 (GET_STACK): Likewise.
32861 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32862 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32863 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32864 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32865 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32866 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32867 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32868 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32869 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32870 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32871 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32872 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32873 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32874 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32875 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32876 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32877 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32878 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32879 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32880 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32881 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32882 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32883 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32884 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32885 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32886 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32887 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32888 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32889 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32891 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32893 * Makerules (+depfiles): Also collect depfiles from .oS in
32895 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32896 .oS, $(libnldbl-routines)).
32898 * Makerules (native-compile-mkdep-flags): Define.
32899 * sunrpc/Makefile (extra-objs): Add $(addprefix
32900 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32901 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32902 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32903 calling $(make-target-directory).
32905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32907 * bits/types.h (__snseconds_t): Removed.
32908 * time/time.h (struct timespec): Replace __snseconds_t with
32910 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32911 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32914 (__SNSECONDS_T_TYPE): Likewise.
32915 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32916 (__SNSECONDS_T_TYPE): Likewise.
32917 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32918 (__SNSECONDS_T_TYPE): Likewise.
32920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32922 * sysdeps/mach/hurd/bits/typesizes.h
32923 (__SYSCALL_SLONG_TYPE): New macro.
32924 (__SYSCALL_ULONG_TYPE): Likewise.
32926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32928 * bits/types.h (__syscall_slong_t): New type.
32929 (__syscall_ulong_t): Likewise.
32931 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32932 (__SYSCALL_ULONG_TYPE): Likewise.
32933 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32934 (__SYSCALL_SLONG_TYPE): Likewise.
32935 (__SYSCALL_ULONG_TYPE): Likewise.
32936 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32937 (__SYSCALL_SLONG_TYPE): Likewise.
32938 (__SYSCALL_ULONG_TYPE): Likewise.
32939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32940 (__SYSCALL_SLONG_TYPE): Likewise.
32941 (__SYSCALL_ULONG_TYPE): Likewise.
32943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32945 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32946 Add sigaltstack-offsets.sym.
32947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32948 <sigaltstack-offsets.h>.
32949 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32950 longjmp_msg pointer.
32951 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32952 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32954 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32956 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32958 * elf/stackguard-macros.h: Remove file.
32959 * sysdeps/generic/stackguard-macros.h: New file.
32960 * sysdeps/i386/stackguard-macros.h: Likewise.
32961 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32962 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32963 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32964 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32965 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32966 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32967 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32968 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32969 <elf/stackguard-macros.h>.
32972 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32973 __aligned__ in attribute.
32974 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32975 (gregset_t): Likewise.
32977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32979 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32980 * sysdeps/x86_64/64/Implies-after: Here. New file.
32981 * sysdeps/x86_64/x32/Implies-after: New file.
32983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32985 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32986 and access return value for _dl_profile_fixup. Use R10_LP to
32989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32991 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32995 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32996 * sysdeps/x86_64/x32/sysdep.h: New file.
32998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33000 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33001 * sysdeps/x86_64/setjmp.S: Likewise.
33003 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33005 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33006 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33007 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33008 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33009 remove unused global constant.
33011 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33013 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33014 include of <not-cancel.h>.
33016 2012-05-15 Roland McGrath <roland@hack.frob.com>
33018 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33020 2012-05-15 Jeff Law <law@redhat.com>
33021 Andreas Jaeger <aj@suse.de>
33024 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33026 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33027 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33028 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33029 code changing __hst_map_handle.map.
33031 2012-05-15 Roland McGrath <roland@hack.frob.com>
33033 * configure.in (sysnames): Look for Implies-before and Implies-after
33035 * configure: Regenerated.
33037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33039 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33040 8-byte data alignment with LP_SIZE alignment.
33042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33044 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33049 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33053 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33054 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33055 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33057 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33061 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33062 (stackinfo_sub_sp): Likewise.
33064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33071 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33081 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33085 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33086 into R11_LP and load __x86_64_shared_cache_size_half into
33089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33091 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33094 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33100 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33102 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33103 powerpc32/power7/fpu/s_logb.c via #include.
33104 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33105 powerpc32/power7/fpu/s_logbf.c via #include.
33106 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33107 powerpc32/power7/fpu/s_logbl.c via #include.
33109 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33111 * README.libm: Remove file.
33113 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33115 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33116 count for x32. Use R*_LP and omit operand-size suffix.
33118 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33120 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33121 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33122 * sysdeps/x86_64/x32/shlib-versions: New file.
33124 2012-05-14 Roland McGrath <roland@hack.frob.com>
33126 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33127 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33128 Use _dl_fatal_printf instead.
33130 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33132 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33133 set if not set by the user. Do not allow for being unset.
33134 * sysdeps/unix/sysv/linux/configure: Regenerated.
33136 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33138 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33139 the `q' suffix from lea and replace .quad with ASM_ADDR.
33141 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33144 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33146 (PTR_DEMANGLE): Likewise.
33148 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33150 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33152 (ASM_ADDR): Likewise.
33153 (RAX_LP): Likewise.
33154 (RBP_LP): Likewise.
33155 (RBX_LP): Likewise.
33156 (RCX_LP): Likewise.
33157 (RDI_LP): Likewise.
33158 (RSI_LP): Likewise.
33159 (RSP_LP): Likewise.
33162 (R10_LP): Likewise.
33163 (R10_LP): Likewise.
33164 (R11_LP): Likewise.
33165 (R12_LP): Likewise.
33166 (R13_LP): Likewise.
33167 (R14_LP): Likewise.
33168 (R15_LP): Likewise.
33170 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33172 * sysdeps/x86_64/x32/dl-machine.h: New file.
33174 2012-05-14 Andreas Jaeger <aj@suse.de>
33176 * manual/Makefile (subdir): Remove export of subdir.
33177 (all): Remove target.
33178 (.PHONY): Remove all from list.
33179 (mkinstalldirs): Remove.
33180 (.PHONY): Remove installdirs from list.
33181 ($(inst_infodir)/libc.info): Use make-target-directory.
33182 (installdirs): Remove.
33183 (subdir_%): Remove.
33184 (glibc-targets): Remove.
33187 ($(objpfx)stubs ../po/manual.pot): Remove.
33188 ($(objpfx)stamp%): Remove.
33189 (make-target-directory): Remove.
33190 (subdir_install): Remove.
33191 (routines): Remove.
33198 * manual/.gitignore: Remove, it's not needed anymore.
33199 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33201 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33203 (texis): Renamed to $(objpfx)texis.
33204 (texis-path): New, contains path to generated files.
33205 (chapters.%): Use texis-path for complete path, add extra argument
33207 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33208 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33209 (summary,texi, stamp-summary): Use complete path of
33210 files. Generate files in build dir.
33211 (dir-add.texi): Build in build dir.
33212 (libm-err.texi,stamp-libm-err): Likewise.
33213 (version.texi, stamp-version): Likewise.
33214 (.%c.texi): Likewise.
33215 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33216 (mostlyclean): Remove target.
33217 (realclean): Remove target.
33218 (generated): Add new variable with contents from mostlyclean and
33219 realclean, remove entries duplicated in common-mostlyclean, add
33220 stamp-libm-err and stamp-version.
33221 (generated-dirs): Add libc directory.
33222 ($(inst_infodir)/libc.info): Install files from build dir.
33224 * manual/install.texi (Configuring and compiling): Adjust since
33225 the info files are not part of the tar ball anymore.
33227 2012-05-14 Andreas Jaeger <aj@suse.de>
33229 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33232 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33235 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33236 to 2.2.0 where earlier.
33237 * sysdeps/unix/sysv/linux/configure: Regenerated.
33238 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33239 Remove conditional code.
33240 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33241 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33242 Remove conditional code.
33243 [!__NR_lchown]: Likewise.
33244 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33245 [__NR_lchown]: Likewise.
33246 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33247 comment referencing __ASSUME_LCHOWN_SYSCALL.
33248 * sysdeps/unix/sysv/linux/i386/sigaction.c
33249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33251 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33252 Remove conditional code.
33253 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33254 (__protocol_available): Remove #if 0 code.
33255 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33257 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33258 * sysdeps/unix/sysv/linux/kernel-features.h
33259 (__ASSUME_GETCWD_SYSCALL): Don't define.
33260 (__ASSUME_REALTIME_SIGNALS): Likewise.
33261 (__ASSUME_PREAD_SYSCALL): Likewise.
33262 (__ASSUME_PWRITE_SYSCALL): Likewise.
33263 (__ASSUME_POLL_SYSCALL): Likewise.
33264 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33265 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33267 (__ASSUME_SIOCGIFNAME): Don't define.
33268 (__ASSUME_MSG_NOSIGNAL): Likewise.
33269 (__ASSUME_SENDFILE): Define unconditionally.
33270 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33271 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33273 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33274 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33275 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33276 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33277 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33278 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33279 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33281 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33284 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33285 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33287 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33290 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33293 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33296 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33304 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33305 Remove conditional code.
33306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33307 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33308 Remove conditional code.
33309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33310 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33311 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33312 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33313 Remove conditional code.
33314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33315 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33316 Remove conditional code.
33317 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33318 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33319 Remove conditional code.
33320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33321 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33322 Remove conditional code.
33323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33324 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33325 Remove conditional code.
33326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33327 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33328 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33330 * sysdeps/unix/sysv/linux/sigaction.c
33331 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33332 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33333 * sysdeps/unix/sysv/linux/sigpending.c
33334 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33335 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33336 * sysdeps/unix/sysv/linux/sigprocmask.c
33337 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33338 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33339 * sysdeps/unix/sysv/linux/sigsuspend.c
33340 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33341 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33342 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33343 (__libc_missing_rt_sigs): Remove.
33344 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33345 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33346 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33347 Remove conditional code.
33348 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33349 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33351 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33352 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33353 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33354 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33356 2012-05-14 Andreas Jaeger <aj@suse.de>
33358 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33359 it's not used in glibc.
33360 (__coshm1): Likewise.
33361 (__acosh1p): Likewise.
33364 * manual/string.texi (Copying and Concatenation): Add missing
33365 variable in concat example.
33366 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33372 __builtin_clzl with __builtin_clzll.
33374 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33377 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33380 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33382 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33383 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33384 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33385 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33387 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33389 * NEWS: Update ia64 info.
33391 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33393 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33396 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33398 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33399 * sysdeps/unix/syscalls.list (dup3): Likewise.
33400 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33401 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33403 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33405 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33406 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33408 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33410 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33412 (TLS_IE): Use mov/add instead of movq/addq to load thread
33414 (TLS_GD_PREFIX): New.
33417 2012-05-11 David S. Miller <davem@davemloft.net>
33419 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33420 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33421 (_FPU_SETCW): Likewise.
33423 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33425 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33426 is 32-byte aligned.
33428 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33431 * iconvdata/gb18030.c: Update tables.
33432 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33433 characters specially.
33434 (BODY for TO_LOOP): Add encoding of missing ranges.
33436 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33439 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33440 * sysdeps/mach/hurd/dup3.c: Likewise.
33441 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33442 * sysdeps/powerpc/memmove.c:: Likewise.
33444 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33446 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33447 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33449 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33451 * elf/elf.h (R_X86_64_RELATIVE64): New.
33452 (R_X86_64_NUM): Updated.
33453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33454 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33455 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33456 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33457 tst-quad1pie tst-quad2pie
33458 (modules-names): Add tst-quadmod1 tst-quadmod2.
33459 ($(objpfx)tst-quad1): New dependency.
33460 ($(objpfx)tst-quad2): Likewise.
33461 ($(objpfx)tst-quad1pie): Likewise.
33462 ($(objpfx)tst-quad2pie): Likewise.
33463 * sysdeps/x86_64/tst-quad1.c: New file.
33464 * sysdeps/x86_64/tst-quad1pie.c: New file.
33465 * sysdeps/x86_64/tst-quad2.c: Likewise.
33466 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33467 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33468 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33469 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33470 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33474 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33475 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33476 * streams/stropts.h (t_scalar_t): Define type.
33478 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33479 (_PATH_PRESERVE): Set to "/var/lib".
33480 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33482 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33485 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33486 if __dir_mkfile succeeded.
33488 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33489 checking for _hurd_dtablesize. Unlock it right after having
33490 finished _hurd_dtable allocation.
33492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33494 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33495 * sysdeps/mach/hurd/configure: Regenerated.
33496 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33497 special-casing to...
33498 * sysdeps/gnu/configure.in: ... this new file.
33499 * sysdeps/unix/sysv/linux/configure: Regenerated.
33500 * sysdeps/gnu/configure: New generated file.
33502 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33503 for Linux: use nsec instead of usec, as well as:
33504 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33505 members of type struct timespec.
33506 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33508 (struct stat64): Likewise.
33509 (_STATBUF_ST_NSEC): New macro.
33510 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33512 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33513 __strtoul_internal rather than strtoul.
33515 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33517 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33520 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33522 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33523 which preserves existing values.
33524 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33526 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33528 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33529 TIMEOUT values. Return EINVAL for NFDS values either negative or
33530 greater than FD_SETSIZE.
33532 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33534 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33535 allocated, call __vm_protect to finish enabling the existing space, and
33536 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33537 allocate the remainder.
33539 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33541 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33542 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33544 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33546 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33547 sysdeps/mach/hurd/readlink.c.
33549 * posix/tst-sysconf.c (posix_options): Only use
33550 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33551 _POSIX_SYNCHRONIZED_IO when they are defined
33552 * sysdeps/mach/hurd/bits/posix_opt.h:
33553 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33554 (_XOPEN_REALTIME): Undefine macro.
33555 (_XOPEN_REALTIME_THREADS): Undefine macro.
33556 (_XOPEN_SHM): Undefine macro.
33557 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33559 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33561 (_POSIX_ASYNC_IO): Undefine macro.
33562 (_POSIX_PRIORITIZED_IO): Undefine macro.
33563 (_POSIX_SPIN_LOCKS): Define macro to -1.
33565 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33566 SA_NODEFER, SA_RESETHAND.
33567 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33568 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33573 * elf/Makefile (pldd-modules): Define unconditionally.
33575 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33577 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33581 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33582 Return ENOENT when name is empty.
33583 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33585 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33587 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33589 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33593 Fix mlock in all cases except non-readable pages.
33594 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33595 instead of VM_PROT_ALL as parameter to __vm_wire function.
33597 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33598 (__mkdir): When path is `/', just fail with EEXIST.
33599 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33601 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33603 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33604 <sys/uio.h> (for writev).
33605 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33606 and <sys/param.h> (for MIN).
33608 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33610 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33611 REQUESTED_TIME. Properly set the remaining time and return EINTR
33614 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33616 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33617 Depend on against $(link-rpcuserlibs).
33619 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33621 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33622 (__libc_stack_end): Do not use attribute_relro.
33623 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33624 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33625 to libthread-provided value.
33626 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33629 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33632 * bits/libc-lock.h (__libc_once_get): New macro.
33633 * sysdeps/mach/bits/libc-lock.h: Likewise.
33634 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33636 instead of using implementation details.
33638 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33639 * libio/freopen.c: Likewise.
33640 * libio/freopen64.c: Likewise.
33641 * misc/syslog.c: Likewise.
33642 * nscd/connections.c: Likewise.
33643 * nscd/netgroupcache.c: Likewise.
33644 * sysdeps/posix/getcwd.c: Likewise.
33646 2012-05-10 Roland McGrath <roland@hack.frob.com>
33648 * math/w_ilogbf.c: Add #include <limits.h>.
33650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33652 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33653 path instead of returning without unlocking.
33655 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33656 immediate-write ioctls.
33657 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33659 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33661 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33662 __builtin_frame_address instead of making assumptions about the
33663 location of the return address relative to DATA. Force early load of
33664 the return address.
33665 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33666 __builtin_frame_address.
33669 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33670 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33671 implement dup3 and do some further code clean-ups.
33672 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33673 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33675 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33677 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33679 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33680 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33681 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33682 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33683 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33686 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33687 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33688 when handler == SIG_ERR, not when handler != SIG_ERR.
33690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33692 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33693 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33696 accept4 for GNU Hurd.
33697 * include/sys/socket.h (__libc_accept4): New prototype.
33698 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33699 to implement __libc_accept4.
33700 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33702 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33704 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33705 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33706 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33707 signal-defines.sym.
33709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33711 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33713 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33715 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33716 assertion on O_CLOEXEC flag.
33717 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33718 * hurd/intern-fd.c: Likewise.
33719 * hurd/port2fd.c: Likewise.
33721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33724 * bits/in.h (IPV6_PKTINFO): Define new macro.
33725 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33727 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33732 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33733 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33734 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33735 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33737 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33738 * math/libm-test.inc (logb_test) : Additional logb tests.
33740 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33741 Andreas Jaeger <aj@suse.de>
33743 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33744 * configure: Regenerated.
33745 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33746 * config.make.in (link-obsolete-rpc): New substituted variable.
33747 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33748 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33749 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33750 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33751 so that libc.a contains the symbols.
33752 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33753 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33754 * sunrpc/auth_none.c: Likewise.
33755 * sunrpc/auth_unix.c: Likewise.
33756 * sunrpc/authdes_prot.c: Likewise.
33757 * sunrpc/authuxprot.c: Likewise.
33758 * sunrpc/clnt_gen.c: Likewise.
33759 * sunrpc/clnt_perr.c: Likewise.
33760 * sunrpc/clnt_raw.c: Likewise.
33761 * sunrpc/clnt_simp.c: Likewise.
33762 * sunrpc/clnt_tcp.c: Likewise.
33763 * sunrpc/clnt_udp.c: Likewise.
33764 * sunrpc/clnt_unix.c: Likewise.
33765 * sunrpc/des_crypt.c: Likewise.
33766 * sunrpc/des_soft.c: Likewise.
33767 * sunrpc/get_myaddr.c: Likewise.
33768 * sunrpc/key_call.c: Likewise.
33769 * sunrpc/key_prot.c: Likewise.
33770 * sunrpc/netname.c: Likewise.
33771 * sunrpc/pm_getmaps.c: Likewise.
33772 * sunrpc/pm_getport.c: Likewise.
33773 * sunrpc/pmap_clnt.c: Likewise.
33774 * sunrpc/pmap_prot.c: Likewise.
33775 * sunrpc/pmap_prot2.c: Likewise.
33776 * sunrpc/pmap_rmt.c: Likewise.
33777 * sunrpc/publickey.c: Likewise.
33778 * sunrpc/rpc_cmsg.c: Likewise.
33779 * sunrpc/rpc_common.c: Likewise.
33780 * sunrpc/rpc_dtable.c: Likewise.
33781 * sunrpc/rpc_prot.c: Likewise.
33782 * sunrpc/rpc_thread.c: Likewise.
33783 * sunrpc/rtime.c: Likewise.
33784 * sunrpc/svc.c: Likewise.
33785 * sunrpc/svc_auth.c: Likewise.
33786 * sunrpc/svc_raw.c: Likewise.
33787 * sunrpc/svc_run.c: Likewise.
33788 * sunrpc/svc_tcp.c: Likewise.
33789 * sunrpc/svc_udp.c: Likewise.
33790 * sunrpc/svc_unix.c: Likewise.
33791 * sunrpc/svcauth_des.c: Likewise.
33792 * sunrpc/xcrypt.c: Likewise.
33793 * sunrpc/xdr.c: Likewise.
33794 * sunrpc/xdr_array.c: Likewise.
33795 * sunrpc/xdr_float.c: Likewise.
33796 * sunrpc/xdr_intXX_t.c: Likewise.
33797 * sunrpc/xdr_mem.c: Likewise.
33798 * sunrpc/xdr_rec.c: Likewise.
33799 * sunrpc/xdr_ref.c: Likewise.
33800 * sunrpc/xdr_sizeof.c: Likewise.
33801 * sunrpc/xdr_stdio.c: Likewise.
33803 2012-05-10 Roland McGrath <roland@hack.frob.com>
33805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33806 change. Update copyright years.
33808 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33810 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33812 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33813 Joseph Myers <joseph@codesourcery.com>
33814 Paul Pluzhnikov <ppluzhnikov@google.com>
33817 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33819 [cross-compiling] (extra-libs): Likewise.
33820 [cross-compiling] (extra-libs-others): Likewise.
33821 [cross-compiling] (librpcsvc-routines): Likewise.
33822 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33823 [cross-compiling] (omit-deps): Likewise.
33824 (sunrpc-CPPFLAGS): New variable.
33825 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33826 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33827 (cross-rpcgen-objs): New variable.
33828 (extra-objs): Append $(cross-rpcgen-objs).
33829 ($(cross-rpcgen-objs)): New rule.
33830 ($(objpfx)cross-rpcgen): Likewise.
33831 (rpcgen-cmd): Define to use $(built-program-file). Expand
33833 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33834 ($(objpfx)x%.stmp): Likewise.
33835 * sunrpc/proto.h [IS_IN_build] (_): Define.
33836 [IS_IN_build] (_libc_intl_domainname): Likewise.
33838 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33840 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33841 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33842 and R_X86_64_TPOFF64.
33844 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33846 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33847 sysdeps/unix/sysv/syscalls.list.
33850 * sysdeps/unix/sysv/syscalls.list: Remove file.
33852 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33855 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33856 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33857 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33858 (__LC_IDENTIFICATION): Make these macros useful in #if
33859 expressions, as required by C99.
33861 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33863 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33864 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33867 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33869 * stdlib/longlong.h: Updated from GCC.
33871 2012-05-09 Andreas Jaeger <aj@suse.de>
33873 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33874 default is first entry.
33875 (run_mode): Set type.
33876 (main): Remove informal message about syslog.
33877 (options): Fix typo.
33880 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33883 (llrintf): Likewise.
33884 (llrint): Likewise.
33887 (nearbyint): Likewise.
33888 (nearbyintf): Likewise.
33890 2012-05-09 Andreas Jaeger <aj@suse.de>
33891 Pedro Alves <palves@redhat.com>
33893 * nscd/nscd.c (run_mode): Use enum.
33894 (main): Cleanup coding style issue.
33896 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33897 Andreas Jaeger <aj@suse.de>
33899 * nscd/nscd.c (go_background): Replaced with...
33900 (run_mode): ... this.
33901 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33902 (options): Add -F --foreground.
33903 (main): Implement it.
33904 (parse_opt): Parse it.
33906 2012-05-09 Andreas Jaeger <aj@suse.de>
33909 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33910 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33911 -Wconversion warning.
33912 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33915 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33917 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33919 (LC_ALL): Use macro-int-constant.
33920 (LC_COLLATE): Likewise.
33921 (LC_CTYPE): Likewise.
33922 (LC_MESSAGES): Likewise.
33923 (LC_MONETARY): Likewise.
33924 (LC_NUMERIC): Likewise.
33925 (LC_TIME): Likewise.
33926 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33927 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33928 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33929 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33931 [C99-based standards] (float_t): Expect type.
33932 [C99-based standards] (double_t): Expect type.
33933 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33935 [C99-based standards] (HUGE_VALL): Likewise.
33936 [C99-based standards] (INFINITY): Likewise.
33937 [C99-based standards] (NAN): Likewise.
33938 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33939 [C99-based standards] (FP_NAN): Likewise.
33940 [C99-based standards] (FP_NORMAL): Likewise.
33941 [C99-based standards] (FP_SUBNORMAL): Likewise.
33942 [C99-based standards] (FP_ZERO): Likewise.
33943 [C99-based standards] (FP_FAST_FMA): Use
33944 optional-macro-int-constant. Specify type. Require == 1.
33945 [C99-based standards] (FP_FAST_FMAF): Likewise.
33946 [C99-based standards] (FP_FAST_FMAL): Likewise.
33947 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33948 [C99-based standards] (FP_ILOGBNAN): Likewise.
33949 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33951 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33952 [C99-based standards] (math_errhandling): Specify type.
33953 [ISO99 || ISO11] (signgam): Do not allow.
33954 [non-C99-based standards] (copysignf): Do not allow.
33955 [non-C99-based standards] (exp2f): Likewise.
33956 [non-C99-based standards] (log2f): Likewise.
33957 [non-C99-based standards] (modff): Allow.
33958 [non-C99-based standards] (erff): Do not allow.
33959 [non-C99-based standards] (erfcf): Likewise.
33960 [non-C99-based standards] (gammaf): Likewise.
33961 [non-C99-based standards] (hypotf): Likewise.
33962 [non-C99-based standards] (j0f): Likewise.
33963 [non-C99-based standards] (j1f): Likewise.
33964 [non-C99-based standards] (jnf): Likewise.
33965 [non-C99-based standards] (lgammaf): Likewise.
33966 [non-C99-based standards] (tgammaf): Likewise.
33967 [non-C99-based standards] (y0f): Likewise.
33968 [non-C99-based standards] (y1f): Likewise.
33969 [non-C99-based standards] (ynf): Likewise.
33970 [non-C99-based standards] (isnanf): Likewise.
33971 [non-C99-based standards] (acoshf): Likewise.
33972 [non-C99-based standards] (asinhf): Likewise.
33973 [non-C99-based standards] (atanhf): Likewise.
33974 [non-C99-based standards] (cbrtf): Likewise.
33975 [non-C99-based standards] (expm1f): Likewise.
33976 [non-C99-based standards] (ilogbf): Likewise.
33977 [non-C99-based standards] (log1pf): Likewise.
33978 [non-C99-based standards] (logbf): Likewise.
33979 [non-C99-based standards] (nextafterf): Likewise.
33980 [non-C99-based standards] (remainderf): Likewise.
33981 [non-C99-based standards] (rintf): Likewise.
33982 [non-C99-based standards] (scalbf): Likewise.
33983 [non-C99-based standards] (copysignl): Likewise.
33984 [non-C99-based standards] (exp2l): Likewise.
33985 [non-C99-based standards] (log2l): Likewise.
33986 [non-C99-based standards] (modfl): Allow.
33987 [non-C99-based standards] (erfl): Do not allow.
33988 [non-C99-based standards] (erfcl): Likewise.
33989 [non-C99-based standards] (gammal): Likewise.
33990 [non-C99-based standards] (hypotl): Likewise.
33991 [non-C99-based standards] (j0l): Likewise.
33992 [non-C99-based standards] (j1l): Likewise.
33993 [non-C99-based standards] (jnl): Likewise.
33994 [non-C99-based standards] (lgammal): Likewise.
33995 [non-C99-based standards] (tgammal): Likewise.
33996 [non-C99-based standards] (y0l): Likewise.
33997 [non-C99-based standards] (y1l): Likewise.
33998 [non-C99-based standards] (ynl): Likewise.
33999 [non-C99-based standards] (isnanl): Likewise.
34000 [non-C99-based standards] (acoshl): Likewise.
34001 [non-C99-based standards] (asinhl): Likewise.
34002 [non-C99-based standards] (atanhl): Likewise.
34003 [non-C99-based standards] (cbrtl): Likewise.
34004 [non-C99-based standards] (expm1l): Likewise.
34005 [non-C99-based standards] (ilogbl): Likewise.
34006 [non-C99-based standards] (log1pl): Likewise.
34007 [non-C99-based standards] (logbl): Likewise.
34008 [non-C99-based standards] (nextafterl): Likewise.
34009 [non-C99-based standards] (remainderl): Likewise.
34010 [non-C99-based standards] (rintl): Likewise.
34011 [non-C99-based standards] (scalbl): Likewise.
34012 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34013 [non-C99-based standards] (FP_*): Do not allow.
34014 [C99-based standards] (FP_*): Change to
34015 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34016 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34018 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34019 (SIG_ERR): Likewise.
34020 [X/Open-based standards] (SIG_HOLD): Likewise.
34021 (SIG_IGN): Likewise.
34022 (SIGABRT): Use macro-int-constant. Specify type. Require
34024 (SIGFPE): Likewise.
34025 (SIGILL): Likewise.
34026 (SIGINT): Likewise.
34027 (SIGSEGV): Likewise.
34028 (SIGTER): Likewise.
34029 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34031 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34034 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34038 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34039 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34040 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34041 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34042 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34043 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34044 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34045 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34046 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34047 [X/Open-based standards] (SIGTRAP): Likewise.
34048 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34049 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34050 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34051 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34052 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34055 2012-05-08 Ian Wienand <ianw@vmware.com>
34058 * time/tzset.c (__tzset_parse_tz): Update default rules for
34059 daylight time changes in the Energy Policy Act of 2005.
34061 2012-05-09 Andreas Jaeger <aj@suse.de>
34064 * elf/ldconfig.c (parse_conf): Change string to make clear that
34065 ldconfig only issued a warning if ld.so.conf does not exist.
34067 2012-05-08 David S. Miller <davem@davemloft.net>
34069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34070 movxtod instead of popping the value on the stack.
34072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34074 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34076 * config.h.in: Add HAVE_ARM_PCS_VFP.
34078 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34081 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34082 checking but the checks are disabled for any reason.
34084 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34086 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34087 and ELF64_R_TYPE with ELFW(R_TYPE).
34089 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34091 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34092 (ulimit): Likewise.
34094 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34095 (settimeofday): Likewise.
34097 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34099 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34100 a struct th_u2 inside the union, and move tu_block/tu_code into
34101 a new th_u3 union of tu_block/tu_code inside of that. Move
34102 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34103 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34104 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34105 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34106 (th_stuff): Change to th_u1.tu_stuff.
34108 (th_msg): Change to th_u1.th_u2.tu_data.
34110 2012-05-07 David S. Miller <davem@davemloft.net>
34112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34115 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34116 (SETUP_PIC_REG): Use it.
34117 (SETUP_PIC_REG_LEAF): Use it.
34119 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34123 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34125 (EXPL_FINITE): Likewise.
34126 (FLDLOG): Likewise.
34127 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34128 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34130 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34132 (EXPL_FINITE): Likewise.
34133 (FLDLOG): Likewise.
34134 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34135 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34137 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34138 test of -max_value argument for long double.
34139 * sysdeps/i386/fpu/libm-test-ulps: Update.
34140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34142 2012-05-06 David S. Miller <davem@davemloft.net>
34144 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34145 quad soft-float symbols whose references which are compiler
34147 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34149 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34153 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34155 (EXPL_FINITE): Likewise.
34156 (FLDLOG): Likewise.
34159 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34160 Adjust comments for base varying.
34161 (__expl_finite): Change alias to EXPL_FINITE.
34162 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34164 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34165 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34166 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34167 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34168 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34170 (EXPL_FINITE): Likewise.
34171 (FLDLOG): Likewise.
34174 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34175 Adjust comments for base varying.
34176 (__expl_finite): Change alias to EXPL_FINITE.
34177 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34182 * math/libm-test.inc (check_float_internal): Correct ulp
34183 calculation for subnormal expected results.
34185 2012-05-06 Andreas Jaeger <aj@suse.de>
34187 * Makeconfig (+math-flags): New, set to -frounding-math.
34188 (+cflags): Add +math-flags so that all of glibc gets compiled with
34191 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34193 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34195 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34201 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34202 (__ieee754_expl): Allow for and saturate large arguments.
34203 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34204 (u_threshold): Likewise.
34205 (__exp): Call __ieee754_exp before checking for overflow and
34207 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34208 (u_threshold): Likewise.
34209 (__expf): Call __ieee754_expf before checking for overflow and
34211 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34212 (u_threshold): Likewise.
34213 (__expl): Call __ieee754_expl before checking for overflow and
34215 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34216 (__ieee754_expl): Allow for and saturate large arguments.
34217 * math/libm-test.inc (exp_test): Add another test. Do not allow
34218 missing overflow exception on overflow.
34219 (expm1_test): Do not allow missing overflow exception on overflow.
34221 * sysdeps/i386/fpu/e_expl.c: Move to ...
34222 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34223 rather than using inline asm.
34224 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34225 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34226 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34228 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34231 (signal): Likewise.
34235 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34237 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34238 sysdeps/unix/common/syscalls.list.
34239 (fchmod): Likewise.
34240 (fchown): Likewise.
34241 (ftruncate): Likewise.
34242 (getrusage): Likewise.
34243 (gettimeofday): Likewise.
34244 (setpgid): Likewise.
34245 (setregid): Likewise.
34246 (setreuid): Likewise.
34247 (sigaction): Likewise.
34248 (truncate): Likewise.
34249 (vhangup): Likewise.
34250 * sysdeps/unix/common/syscalls.list: Remove file.
34251 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34252 * sysdeps/unix/sysv/linux/Implies: Likewise.
34254 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34256 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34258 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34262 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34265 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34268 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34271 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34274 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34277 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34280 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34284 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34288 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34291 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34295 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34299 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34301 * sysdeps/unix/common/bits/dirent.h: Remove file.
34302 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34304 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34305 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34306 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34307 * sysdeps/unix/bsd/isatty.c: Likewise.
34308 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34309 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34310 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34312 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34316 long double comparison inaccuracies.
34317 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34320 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34322 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34323 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34325 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34329 nonzero digits before rounding a hex value.
34330 * stdlib/tst-strtod.c (tests): Add another test.
34332 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34334 * sysdeps/s390/fpu/libm-test-ulps: Update.
34336 2012-05-03 Andreas Jaeger <aj@suse.de>
34338 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34339 does not get optimized out.
34340 (malloc_opt_barrier): New.
34342 2012-05-03 Andreas Jaeger <aj@suse.de>
34343 Roland McGrath <roland@hack.frob.com>
34345 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34346 intermediate file deletion.
34347 (generated): Add .symlist files.
34349 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34352 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34353 Redirect under this condition.
34354 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34355 [__USE_GNU] (__dprintf_chk): Not under this condition.
34356 [__USE_GNU] (__vdprintf_chk): Likewise.
34357 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34358 under this condition.
34359 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34360 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34361 [__USE_XOPEN2K8] (vdprintf): Likewise.
34362 [__USE_GNU] (__dprintf_chk): Not under this condition.
34363 [__USE_GNU] (__vdprintf_chk): Likewise.
34364 [__USE_GNU] (dprintf): Likewise.
34365 [__USE_GNU] (vdprintf): Likewise.
34367 2012-05-03 Roland McGrath <roland@hack.frob.com>
34369 * elf/Makefile (common-generated): Set this instead of generated for
34370 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34371 $(all-built-dso)-derived lists.
34373 2012-05-03 Andreas Jaeger <aj@suse.de>
34375 * sysdeps/i386/fpu/libm-test-ulps: Update.
34378 * FAQ.in: Likewise.
34379 * scripts/gen-FAQ.pl: Likewise.
34380 * manual/install.texi (Installation): Point to online location of
34382 * Makefile (files-for-dist): Remove FAQ.
34385 2012-05-02 Allan McRae <allan@archlinux.org>
34387 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34388 (LDFLAGS-reldepmod5.so): Likewise.
34389 (LDFLAGS-reldep6mod1.so): Likewise.
34390 (LDFLAGS-reldep6mod4.so): Likewise.
34391 (LDFLAGS-reldep8mod3.so): Likewise.
34392 (LDFLAGS-unload4mod1.so): Likewise.
34393 (LDFLAGS-unload4mod2.so): Likewise.
34394 (LDFLAGS-tst-initorder): Likewise.
34395 (LDFLAGS-tst-initordera2.so): Likewise.
34396 (LDFLAGS-tst-initordera3.so): Likewise.
34397 (LDFLAGS-tst-initordera4.so): Likewise.
34398 (LDFLAGS-tst-initorderb2.so): Likewise.
34399 (LDFLAGS-noload): Likewise.
34400 (LDFLAGS-next): Likewise.
34401 (LDFLAGS-order2mod1.so): Likewise.
34402 (LDFLAGS-order2mod2.so): Likewise.
34403 (LDFLAGS-tst-initorder2): Likewise.
34404 (LDFLAGS-tst-initorder2a.so): Likewise.
34405 (LDFLAGS-tst-initorder2b.so): Likewise.
34406 (LDFLAGS-tst-initorder2c.so): Likewise.
34407 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34409 2012-05-02 David S. Miller <davem@davemloft.net>
34411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34413 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34416 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34418 2012-05-02 Andreas Jaeger <aj@suse.de>
34420 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34421 since we manipulate rounding mode.
34422 (CPPFLAGS-test-idouble.c): Likewise.
34423 (CPPFLAGS-test-ifloat.c): Likewise.
34424 (CFLAGS-test-ldouble.c): Likewise.
34425 (CFLAGS-test-double.c): Likewise.
34426 (CFLAGS-test-float.c): Likewise.
34427 (CFLAGS-test-misc.c): Likewise.
34428 (CFLAGS-test-test-fenv.c): Likewise.
34430 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34434 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34435 comparisons to determine direction to adjust input.
34437 2012-05-01 Roland McGrath <roland@hack.frob.com>
34439 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34440 output to the target.
34442 * scripts/localplt.awk: New file.
34443 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34444 (check-localplt-CFLAGS): Variable removed.
34445 ($(all-built-dso:=.jmprel)): New static pattern rule.
34446 (generated): Add those targets.
34447 (localplt-built-dso): New variable.
34448 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34450 * elf/check-localplt.c: File removed.
34452 * scripts/check-execstack.awk: New file.
34453 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34454 (check-execstack-CFLAGS): Variable removed.
34455 ($(objpfx)check-execstack.h): Target removed.
34456 ($(objpfx)execstack-default): New target.
34457 (generated): Add that instead of check-execstack.h.
34458 ($(all-built-dso:=.phdr)): New static pattern rule.
34459 (generated): Add those targets.
34460 * elf/check-execstack.c: File removed.
34462 * scripts/check-textrel.awk: New file.
34463 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34464 (check-textrel-CFLAGS): Variable removed.
34465 (all-built-dso): Use := to define.o
34466 ($(all-built-dso:=.dyn)): New static pattern rule.
34467 (generated): Add those targets.
34468 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34469 * config.make.in (READELF): New substituted variable.
34470 * elf/check-textrel.c: File removed.
34472 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34474 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34476 * conform/data/ctype.h-data [C99-based standards] (isblank):
34478 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34479 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34481 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34482 Specify type. Require positive value.
34483 (EILSEQ): Likewise.
34484 (ERANGE): Likewise.
34485 [ISO || POSIX] (EILSEQ): Do not expect.
34486 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34487 Specify type. Require positive value.
34488 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34489 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34490 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34491 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34492 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34493 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34494 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34495 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34496 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34497 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34498 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34499 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34500 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34501 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34502 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34503 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34504 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34505 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34506 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34507 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34508 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34509 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34510 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34511 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34512 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34513 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34514 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34515 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34516 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34517 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34518 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34519 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34520 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34521 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34522 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34523 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34524 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34525 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34526 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34527 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34528 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34529 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34530 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34531 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34532 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34533 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34534 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34535 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34536 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34537 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34538 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34539 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34540 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34541 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34542 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34543 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34544 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34545 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34546 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34547 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34548 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34549 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34550 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34551 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34552 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34553 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34554 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34555 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34556 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34557 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34558 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34559 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34560 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34561 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34562 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34563 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34564 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34566 (FLT_ROUNDS): Expect as macro, not constant.
34567 (FLT_MANT_DIG): Use macro-int-constant.
34568 (DBL_MANT_DIG): Likewise.
34569 (LDBL_MANT_DIG): Likewise.
34570 (FLT_DIG): Likewise.
34571 (DBL_DIG): Likewise.
34572 (LDBL_DIG): Likewise.
34573 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34574 (DBL_MIN_EXP): Likewise.
34575 (LDBL_MIN_EXP): Likewise.
34576 (FLT_MAX_EXP): Use macro-int-constant.
34577 (DBL_MAX_EXP): Likewise.
34578 (LDBL_MAX_EXP): Likewise.
34579 (FLT_MAX_10_EXP): Likewise.
34580 (DBL_MAX_10_EXP): Likewise.
34581 (LDBL_MAX_10_EXP): Likewise.
34582 (FLT_MAX): Use macro-constant.
34583 (DBL_MAX): Likewise.
34584 (LDBL_MAX): Likewise.
34585 (FLT_EPSILON): Use macro-constant. Give upper bound.
34586 (DBL_EPSILON): Likewise.
34587 (LDBL_EPSILON): Likewise.
34588 (FLT_MIN): Likewise.
34589 (DBL_MIN): Likewise.
34590 (LDBL_MIN): Likewise.
34591 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34592 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34593 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34594 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34595 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34596 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34597 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34598 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34599 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34600 [ISO11] (FLT_TRUE_MIN): Likewise.
34601 [ISO11] (LDBL_TRUE_MIN): Likewise.
34602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34603 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34604 (SCHAR_MIN): Use macro-int-constant. Specify type.
34605 (SCHAR_MAX): Likewise.
34606 (UCHAR_MAX): Likewise.
34607 (CHAR_MIN): Likewise.
34608 (CHAR_MAX): Likewise.
34609 (MB_LEN_MAX): Use macro-int-constant.
34610 (SHRT_MIN): Use macro-int-constant. Specify type.
34611 (SHRT_MAX): Likewise.
34612 (USHRT_MAX): Likewise.
34613 (INT_MAX): Likewise.
34614 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34616 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34618 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34620 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34621 bound negative. Suffix upper bound with "L".
34622 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34624 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34626 [C99-based standards] (LLONG_MAX): Likewise.
34627 [C99-based standards] (ULLONG_MAX): Likewise.
34628 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34630 [ISO11] (max_align_t): Require type.
34631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34633 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34634 from $CFLAGS, without defining away __attribute__ calls.
34635 (checknamespace): Use $CFLAGS_namespace.
34637 * conform/conformtest.pl (@keywords): Only include C99 keywords
34638 for standards based on C99 or C11.
34640 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34642 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34645 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34646 usability of symbols in #if.
34648 * conform/conformtest.pl: If macro or constant types start
34649 "promoted:", expect the symbol to be of the following type
34650 promoted by the integer promotions.
34652 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34653 in one place. Also handle "macro-constant".
34655 * conform/conformtest.pl: Only accept expected macro values with
34656 "==". Parse all "macro" lines in one place.
34657 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34659 * conform/conformtest.pl: Handle braced types on "constant" lines
34660 instead of handling "typed-constant".
34661 * conform/data/signal.h-data: Use "constant" instead of
34664 * conform/conformtest.pl: Handle "optional-" at start of lines in
34665 one place rather than duplicating several cases. Handle each
34666 format of "macro" line with initial "optional-".
34668 * conform/conformtest.pl: Only accept expected constant or
34669 optional-constant values with "==". Parse all "constant" lines in
34670 one place. Parse all "optional-constant" lines in one place.
34671 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34672 * conform/data/fmtmsg.h-data: Likewise.
34673 * conform/data/netinet/in.h-data: Likewise.
34674 * conform/data/tar.h-data: Likewise.
34675 * conform/data/limits.h-data: Use "==" form on "constant" and
34676 "optional-constant" lines.
34678 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34679 Use -std=c99 for XOPEN2K.
34680 (@knownproblems): Remove.
34681 (newtoken): Don't check %isknown.
34683 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34684 Do not expect macro.
34685 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34686 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34687 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34688 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34689 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34690 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34691 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34692 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34693 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34694 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34695 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34696 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34697 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34698 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34699 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34700 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34701 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34702 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34703 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34704 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34705 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34706 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34707 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34708 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34709 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34710 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34711 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34712 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34713 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34714 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34715 [XPG3] (acosh): Likewise.
34716 [XPG3] (asinh): Likewise.
34717 [XPG3] (atanh): Likewise.
34718 [XPG3] (cbrt): Likewise.
34719 [XPG3] (expm1): Likewise.
34720 [XPG3] (ilogb): Likewise.
34721 [XPG3] (log1p): Likewise.
34722 [XPG3] (logb): Likewise.
34723 [XPG3] (nextafter): Likewise.
34724 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34725 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34726 [XPG3] (remainder): Likewise.
34727 [XPG3] (rint): Likewise.
34728 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34729 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34730 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34731 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34732 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34733 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34734 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34735 [UNIX98 || XOPEN2K] (scalb): Expect.
34736 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34737 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34738 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34739 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34740 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34741 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34742 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34743 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34744 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34745 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34746 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34747 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34748 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34749 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34750 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34751 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34752 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34753 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34754 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34755 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34756 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34757 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34758 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34759 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34760 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34761 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34762 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34763 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34764 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34765 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34766 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34767 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34768 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34769 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34770 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34771 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34772 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34773 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34774 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34775 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34776 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34777 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34778 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34779 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34780 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34781 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34782 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34783 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34784 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34785 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34786 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34787 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34788 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34789 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34790 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34791 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34792 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34793 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34794 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34795 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34796 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34797 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34798 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34799 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34800 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34801 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34802 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34803 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34804 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34805 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34806 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34807 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34808 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34809 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34810 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34811 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34812 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34813 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34814 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34815 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34816 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34817 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34818 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34819 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34820 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34821 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34822 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34823 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34824 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34825 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34826 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34827 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34828 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34829 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34830 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34831 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34832 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34833 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34834 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34835 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34836 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34837 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34838 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34839 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34840 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34841 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34842 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34843 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34844 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34845 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34846 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34847 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34848 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34849 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34850 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34851 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34852 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34853 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34854 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34855 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34856 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34857 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34858 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34859 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34860 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34861 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34862 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34863 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34864 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34865 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34866 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34867 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34868 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34869 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34870 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34871 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34872 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34874 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34875 _XOPEN_SOURCE_EXTENDED for XPG4.
34877 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34879 * Makeconfig (localtime): Remove variable.
34880 (inst_localtime-file): Likewise.
34882 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34903 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34907 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34908 comparisons to determine direction to adjust input.
34909 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34910 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34911 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34913 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34915 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34917 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34918 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34920 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34922 * math/libm-test.inc (nexttoward_test): Add more tests.
34924 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34927 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34928 in version GLIBC_2.1, not GLIBC_2.0.
34929 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34932 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34935 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34937 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34938 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34939 * math/libm-test.inc (acos_test): Add more tests.
34940 (asin_test): Likewise.
34941 * sysdeps/i386/fpu/libm-test-ulps: Update.
34942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34945 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34947 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34948 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34949 * math/libm-test.inc (acos_test_tonearest): New function.
34950 (acos_test_towardzero): Likewise.
34951 (acos_test_downward): Likewise.
34952 (acos_test_upward): Likewise.
34953 (asin_test_tonearest): Likewise.
34954 (asin_test_towardzero): Likewise.
34955 (asin_test_downward): Likewise.
34956 (asin_test_upward): Likewise.
34957 (main): Call the new functions.
34958 * sysdeps/i386/fpu/libm-test-ulps: Update.
34959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34963 * math/e_exp10.c: Include <float.h>.
34964 (__ieee754_exp10): Handle underflow here rather than multiplying
34965 large negative argument by M_LN10.
34966 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34968 * math/e_exp10l.c: Include <float.h>.
34969 (__ieee754_exp10l): Handle underflow here rather than multiplying
34970 large negative argument by M_LN10l.
34971 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34972 spurious overflow exception on underflow.
34974 2012-04-29 Marek Polacek <polacek@redhat.com>
34976 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34977 (__fortify_function): New macro.
34978 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34979 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34980 __extern_always_inline.
34981 * libio/bits/stdio2.h: Likewise.
34982 * libio/bits/stdio.h: Likewise.
34983 * string/string.h: Likewise.
34984 * string/bits/string3.h: Likewise.
34985 * include/stdio.h: Likewise.
34986 * stdlib/bits/stdlib.h: Likewise.
34987 * stdlib/stdlib.h: Likewise.
34988 * rt/bits/mqueue2.h: Likewise.
34989 * rt/mqueue.h: Likewise.
34990 * posix/bits/unistd.h: Likewise.
34991 * posix/unistd.h: Likewise.
34992 * io/bits/poll2.h: Likewise.
34993 * io/bits/fcntl2.h: Likewise.
34994 * io/fcntl.h: Likewise.
34995 * io/sys/poll.h: Likewise.
34996 * misc/bits/syslog.h: Likewise.
34997 * misc/bits/syslog-ldbl.h: Likewise.
34998 * misc/sys/syslog.h: Likewise.
34999 * socket/bits/socket2.h: Likewise.
35000 * socket/sys/socket.h: Likewise.
35001 * debug/tst-chk1.c: Likewise.
35002 * wcsmbs/bits/wchar2.h: Likewise.
35003 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35004 * wcsmbs/wchar.h: Likewise.
35006 2012-04-29 Andreas Jaeger <aj@suse.de>
35008 * Makerules (tests): Remove enable-check-abi protection.
35009 (check-abi-warn): Remove.
35010 (check-abi-%): Remove check-abi-warn usage.
35012 * configure.in: Remove check-abi configure option.
35013 * configure: Regenerated.
35014 * config.make.in (enable-check-abi): Remove.
35016 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35019 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35020 double functions to double *_finite functions.
35023 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35024 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35026 * stdio-common/Makefile (tests): Add tst-sprintf3.
35027 * stdio-common/tst-sprintf3.c: New file.
35029 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35030 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35032 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35034 * conform/conformtest.pl: Remove duplicate typed-constant
35037 2012-04-28 David S. Miller <davem@davemloft.net>
35039 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35040 (check-abi-%): Remove AWK script prerequisite and explicit
35042 (check-abi): Rewrite to just diff the symlist with the abilist.
35043 (config-tls, config-abi-config): Delete, no longer used.
35044 (update-abi-%): Remove AWK script and explicit abilist directory.
35045 (update-abi): Rewrite to simply compare and conditionally copy the
35046 symlist and the sysdep abilist file. Remove update-abi-config
35048 * abilist/ld.abilist: Remove.
35049 * abilist/libBrokenLocale.abilist: Remove.
35050 * abilist/libanl.abilist: Remove.
35051 * abilist/libcrypt.abilist: Remove.
35052 * abilist/libdl.abilist: Remove.
35053 * abilist/librt.abilist: Remove.
35054 * abilist/libthread_db.abilist: Remove.
35055 * abilist/libutil.abilist: Remove.
35056 * scripts/extract-abilist.awk: Remove.
35057 * scripts/merge-abilist.awk: Remove.
35058 * sysdeps/generic/libcidn.abilist: New file.
35059 * sysdeps/generic/libnss_compat.abilist: New file.
35060 * sysdeps/generic/libnss_db.abilist: New file.
35061 * sysdeps/generic/libnss_dns.abilist: New file.
35062 * sysdeps/generic/libnss_files.abilist: New file.
35063 * sysdeps/generic/libnss_hesiod.abilist: New file.
35064 * sysdeps/generic/libnss_nis.abilist: New file.
35065 * sysdeps/generic/libnss_nisplus.abilist: New file.
35066 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35067 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35068 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35070 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35071 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35072 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35073 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35074 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35075 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35076 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35077 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35078 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35080 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35081 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35082 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35083 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35085 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35086 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35087 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35088 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35089 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35090 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35092 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35093 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35094 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35096 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35199 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35200 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35201 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35204 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35205 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35206 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35207 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35208 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35209 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35210 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35211 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35212 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35264 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35266 * conform/conformtest.pl: Fix typo in handling typed-constant from
35269 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35271 * README: Cut down references to pre-2.6 Linux kernels and
35272 Linuxthreads. Update lists of configurations in libc and ports
35273 and sort alphabetically. Say "or newer" with Linux kernel version
35276 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35278 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35281 * math/libm-test.inc (logb_test_downward): New test to expose
35282 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35285 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35288 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35290 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35291 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35293 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35295 * sysdeps/unix/i386/brk.S: Remove file.
35296 * sysdeps/unix/i386/dl-brk.S: Likewise.
35297 * sysdeps/unix/i386/pipe.S: Likewise.
35298 * sysdeps/unix/i386/sigreturn.S: Likewise.
35299 * sysdeps/unix/i386/syscall.S: Likewise.
35300 * sysdeps/unix/i386/vfork.S: Likewise.
35301 * sysdeps/unix/i386/wait.S: Likewise.
35303 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35304 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35306 * configure.in (arm*-none*): Do not allow without
35307 --enable-hacker-mode.
35308 (netbsd*): Remove case setting base_os.
35309 (386bsd*): Likewise.
35310 (freebsd*): Likewise.
35313 (sunos*): Likewise.
35314 (ultrix*): Likewise.
35315 (newsos*): Likewise.
35316 (dynix*): Likewise.
35322 (minix*): Likewise.
35323 (irix4*): Likewise.
35324 (irix6*): Likewise.
35325 (solaris[2-9]*): Likewise.
35327 * configure: Regenerated.
35329 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35332 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35333 overflow or cancellation in calculating denominator.
35334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35336 down expression to avoid unexpected rounding in newer GCCs.
35337 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35339 2012-04-26 David S. Miller <davem@davemloft.net>
35341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35342 long-double compat symbols.
35343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35357 2012-04-25 David S. Miller <davem@davemloft.net>
35359 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35360 HWCAP_* values only after the memory barriers have been defined.
35361 (atomic_full_barrier): Define.
35362 (atomic_read_barrier): Define.
35363 (atomic_write_barrier): Define.
35365 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35367 * shlib-versions: Add libgcc_s version information.
35368 * sysdeps/generic/libgcc_s.h: Remove.
35369 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35371 * sysdeps/gnu/unwind-resume.c: Likewise.
35372 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35374 2012-04-25 David S. Miller <davem@davemloft.net>
35376 * sysdeps/unix/sparc/brk.S: Delete.
35377 * sysdeps/unix/sparc/dl-brk.S: Delete.
35378 * sysdeps/unix/sparc/pipe.S: Delete.
35379 * sysdeps/unix/sparc/sysdep.S: Delete.
35380 * sysdeps/unix/sparc/sysdep.h: Delete.
35381 * sysdeps/unix/sparc/vfork.S: Delete.
35382 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35383 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35384 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35385 (ret_ERRVAL, r0, r1, MOVE): Define.
35386 (JUMPTARGET): Remove.
35387 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35388 sysdeps/unix/sparc/sysdep.h
35389 (ENTRY, END): Remove.
35390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35392 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35394 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35395 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35398 * timezone/README: Update upstream location and email address for
35400 * timezone/zdump.c: Update from tzcode 2012b.
35401 * timezone/zic.c: Likewise.
35403 * configure.in (libc_cv_as_needed): Remove test.
35404 * configure: Regenerated.
35405 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35406 conditional definition.
35407 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35408 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35409 * config.make.in (have-as-needed): Remove variable.
35411 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35412 Paul Pluzhnikov <ppluzhnikov@google.com>
35414 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35417 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35419 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35420 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35421 * sysdeps/sh/strlen.S: Likewise.
35423 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35425 * sysdeps/unix/fork.S: Remove file.
35426 * sysdeps/unix/i386/fork.S: Likewise.
35427 * sysdeps/unix/sparc/fork.S: Likewise.
35429 * sysdeps/unix/system.c: Remove file.
35430 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35432 * sysdeps/unix/getegid.S: Remove file.
35433 * sysdeps/unix/geteuid.S: Likewise.
35435 2012-04-24 Roland McGrath <roland@hack.frob.com>
35437 * scripts/check-localplt.awk: New file.
35438 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35440 * scripts/data/localplt-generic.data: Add a comment.
35442 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35443 NODE when __dir_mkfile failed.
35444 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35445 Reported by Ludovic Courtès <ludo@gnu.org>.
35447 2012-04-24 Andreas Jaeger <aj@suse.de>
35449 * Makerules (common-clean): Also remove gen-as-const-headers
35452 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35454 * Makerules (native-compile): Do not change working directory for
35455 build. Use $(OUTPUT_OPTION) in command.
35456 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35458 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35461 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35462 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35463 * math/libm-test.inc (floor_test): Add more tests.
35464 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35466 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35468 * sysdeps/unix/getdents.c: Remove file.
35469 * sysdeps/unix/sysv/getdents.c: Likewise.
35470 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35472 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35473 sysdeps/unix/mman/syscalls.list.
35475 (mprotect): Likewise.
35477 (munmap): Likewise.
35478 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35479 * sysdeps/unix/mman/syscalls.list: Remove.
35480 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35482 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35483 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35484 * configure: Regenerated.
35485 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35486 $(libgcc_s_suffix).
35487 * config.make.in (libgcc_s_suffix): Remove variable.
35489 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35491 * sysdeps/unix/sysv/gethostname.c: Move to ...
35492 * sysdeps/posix/gethostname.c: ... here.
35494 * sysdeps/unix/execve.S: Remove file.
35496 * sysdeps/unix/_exit.S: Remove file.
35498 2012-04-23 Andreas Jaeger <aj@suse.de>
35501 * manual/Makefile: Remove make dist support, there's no
35502 need for a stand-alone documentation tar ball.
35503 (TEXI2DVI): Define always, it's not in Makeconfig.
35506 (edition): Removed.
35507 (glibc-doc-$(edition).tar): Removed
35511 (ETAGS): Remove, it's in Makeconfig.
35512 (move-if-change): Remove, it's in Makeconfig.
35514 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35517 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35518 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35519 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35520 (strtod_l, strtof_l, strtold_l): Remove __wur.
35521 It is not necessarily an error to ignore strtol's return value.
35522 One can reliably look at the stored endptr to decide whether
35523 the number had valid syntax.
35525 2012-04-21 Andreas Jaeger <aj@suse.de>
35528 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35530 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35532 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35533 * sysdeps/unix/sysv/Versions: Remove file.
35535 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35540 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35544 version from __vm86.
35546 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35548 * sysdeps/unix/common/lxstat.c: Remove file.
35549 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35551 * sysdeps/unix/sysv/Makefile: Remove file.
35553 * sysdeps/unix/sysv/direct.h: Remove file.
35555 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35556 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35557 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35558 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35559 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35560 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35561 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35563 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35565 * sysdeps/unix/xmknod.c: Remove file.
35566 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35568 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35570 * sysdeps/unix/sysv/i386/time.S: Remove file.
35572 * sysdeps/unix/fxstat.c: Remove file.
35573 * sysdeps/unix/xstat.c: Likewise.
35574 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35576 * sysdeps/unix/sysv/sigaction.c: Remove file.
35578 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35579 (sysdep_headers): Remove variable.
35580 [termio.h not in sysdep_headers] (generated): Likewise.
35581 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35582 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35583 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35584 * sysdeps/unix/sysv/tcflow.c: Likewise.
35585 * sysdeps/unix/sysv/tcflush.c: Likewise.
35586 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35587 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35588 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35589 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35590 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35592 * sysdeps/unix/siglist.c: Remove file.
35594 * sysdeps/unix/getppid.S: Remove file.
35596 * sysdeps/unix/mkdir.c: Remove file.
35597 * sysdeps/unix/rmdir.c: Likewise.
35599 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35601 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35603 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35604 errlist-compat value.
35606 2012-04-18 David S. Miller <davem@davemloft.net>
35608 * sysdeps/generic/memcopy.h (reg_char): Delete.
35609 * debug/strcat_chk.c: Use char, not reg_char.
35610 * debug/strcpy_chk.c: Likewise.
35611 * debug/strncat_chk.c: Likewise.
35612 * debug/strncpy_chk.c: Likewise.
35613 * string/memchr.c: Likewise.
35614 * string/memrchr.c: Likewise.
35615 * string/rawmemchr.c: Likewise.
35616 * string/strcat.c: Likewise.
35617 * string/strchr.c: Likewise.
35618 * string/strchrnul.c: Likewise.
35619 * string/strcmp.c: Likewise.
35620 * string/strcpy.c: Likewise.
35621 * string/strncat.c: Likewise.
35622 * string/strncmp.c: Likewise.
35623 * string/strncpy.c: Likewise.
35625 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35627 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35628 __builtin_memcopy is called when src and dest ranges are known to not
35631 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35633 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35634 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35635 fwd_align_merge macro call.
35636 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35637 bwd_align_merge macro call.
35638 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35640 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35642 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35643 bwd_align_merge macros.
35644 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35645 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35646 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35648 2012-04-18 David S. Miller <davem@davemloft.net>
35650 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35652 2012-04-18 Andreas Jaeger <aj@suse.de>
35655 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35656 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35657 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35659 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35660 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35661 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35663 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35664 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35665 Adjust for changed ldbl-128 files.
35667 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35668 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35669 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35671 2012-04-17 David S. Miller <davem@davemloft.net>
35673 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35675 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35677 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35678 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35679 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35680 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35681 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35682 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35684 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35687 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35688 * math/libm-test.inc: Add ilogb errno and exception tests.
35689 * math/w_ilogb.c: New file: ilogb wrapper.
35690 * math/w_ilogbf.c: New file: ilogbf wrapper.
35691 * math/w_ilogbl.c: New file: ilogbl wrapper.
35692 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35693 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35694 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35695 exception being thrown with 0.0 as argument.
35696 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35697 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35698 exception being thrown with 0.0 as argument.
35699 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35700 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35701 exception being thrown with 0.0 as argument.
35702 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35703 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35704 exception being thrown with 0.0 as argument.
35705 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35706 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35707 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35708 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35709 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35710 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35711 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35712 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35713 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35715 2012-04-17 Petr Baudis <pasky@ucw.cz>
35717 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35720 2012-04-16 Marek Polacek <polacek@redhat.com>
35722 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35724 2012-04-16 Marek Polacek <polacek@redhat.com>
35726 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35727 operands of fdivp instruction.
35729 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35731 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35732 * elf/tst-auditmod3b.c: Likewise.
35733 * elf/tst-auditmod4b.c: Likewise.
35734 * elf/tst-auditmod5b.c: Likewise.
35735 * elf/tst-auditmod6b.c: Likewise.
35736 * elf/tst-auditmod6c.c: Likewise.
35737 * elf/tst-auditmod7b.c: Likewise.
35738 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35739 * sysdeps/x86_64/preconfigure.in: Likewise.
35740 * sysdeps/x86_64/preconfigure: Regenerated.
35742 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35744 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35747 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35750 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35752 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35755 * locale/iso-639.def: Fix gl language name. Spotted by
35758 2012-04-12 Roland McGrath <roland@hack.frob.com>
35761 * libio/libio.h (__io_write_fn): Update comment.
35763 2012-04-12 Petr Baudis <pasky@ucw.cz>
35766 * stdio.texi (Hook Functions): The user provided writer function
35767 is not allowed to return -1.
35769 2012-04-11 David S. Miller <davem@davemloft.net>
35771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35773 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35775 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35776 Add a leading slash to rtkaio.
35778 2012-04-11 Jim Meyering <meyering@redhat.com>
35781 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35782 It is not necessarily an error to ignore fwrite's return
35783 value. One can reliably use ferror to test for errors after
35786 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35788 * bits/types.h (__snseconds_t): New type.
35789 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35791 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35792 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35793 (__SNSECONDS_T_TYPE): Likewise.
35794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35795 (__SNSECONDS_T_TYPE): Likewise.
35796 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35797 (__SNSECONDS_T_TYPE): Likewise.
35799 2012-04-10 Andreas Jaeger <aj@suse.de>
35802 * manual/time.texi (Processor Time): Return type of times is
35803 elapsed real time since an arbitrary point in the past.
35804 (CPU Time): Move CLK_TCK from here...
35805 (Processor Time): ...to here. Correct description.
35806 * manual/conf.texi (Constants for Sysconf): Correct description of
35809 2012-04-10 David S. Miller <davem@davemloft.net>
35812 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35813 where the is a gap between DT_REL(A) and DT_JMPREL.
35815 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35817 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35818 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35819 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35821 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35823 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35824 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35825 (dl_main): Handle --inhibit-cache.
35826 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35828 * elf/dl-load.c (_dl_map_object): Use it.
35829 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35831 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35834 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35835 (__ieee754_powl): Saturate large exponents rather than testing for
35836 overflow of y*log2(x).
35837 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35838 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35842 * math/s_ctan.c: Include <float.h>.
35843 (__ctan): Avoid internal overflow or cancellation in calculating
35845 * math/s_ctanf.c: Likewise.
35846 * math/s_ctanl.c: Likewise.
35847 * math/s_ctanh.c: Likewise.
35848 * math/s_ctanhf.c: Likewise.
35849 * math/s_ctanhl.c: Likewise.
35850 * math/libm-test.inc (ctan_test): Add more tests.
35851 (ctanh_test): Likewise.
35852 * sysdeps/i386/fpu/libm-test-ulps: Update.
35853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35855 2012-04-09 Andreas Jaeger <aj@suse.de>
35858 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35859 is an optional BSD extension.
35862 * manual/stdio.texi (Opening Streams): Document additional fopen
35865 2012-04-09 Roland McGrath <roland@hack.frob.com>
35867 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35868 %eax without telling the compiler.
35870 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35873 * manual/install.texi: Use sourceware.org.
35875 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35878 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35879 (__ieee754_pow): Generate overflow and underflow using huge*huge
35880 and tiny*tiny rather than just returning constant infinity or zero
35881 for large exponents.
35882 * math/libm-test.inc (pow_test): Require overflow exceptions for
35883 applicable cases of large exponents.
35886 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35887 (__ieee754_pow): Use iterative multiplication algorithm only for
35888 integer exponents with absolute value below 1024. Check for odd
35889 integer exponents when using algorithm for real exponents.
35890 * math/libm-test.inc (pow_test): Add more tests.
35891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35893 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35896 * math/libm-test.inc (exp_test): Do not allow overflow exception
35899 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35902 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35903 instead of __kernel_standard_f.
35905 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35907 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35908 * sysdeps/x86_64/memset_chk.S: Likewise.
35910 2012-04-08 Andreas Jaeger <aj@suse.de>
35913 * manual/startup.texi (Environment Access): Describe return value
35914 for putenv and setenv.
35917 * manual/filesys.texi (Directory Entries): Add description for
35921 * manual/filesys.texi (Directory Entries): Clarify that it's file
35922 system not operating system in the description of DT_UNKNOWN.
35925 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35927 2012-04-08 Stephen Compall <s11@member.fsf.org>
35930 * manual/llio.texi (Opening and Closing Files): Add cross
35931 reference to explain mode argument.
35933 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35935 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35936 * sysdeps/x86_64/memset_chk.S: Likewise.
35938 2012-04-07 David S. Miller <davem@davemloft.net>
35940 * elf/elf.h (R_SPARC_WDISP10): Define.
35941 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35943 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35944 R_SPARC_SIZE64 and R_SPARC_H34.
35946 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35948 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35949 conditions and remove no longer applicable assertion.
35951 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35953 * bits/byteswap.h: Include <features.h>.
35954 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35955 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35957 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35959 * bits/byteswap.h (__bswap_16): Removed.
35960 Include <bits/byteswap-16.h> to get __bswap_16.
35961 * sysdeps/i386/bits/byteswap.h: Likewise.
35962 * sysdeps/s390/bits/byteswap.h: Likewise.
35963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35964 * bits/byteswap-16.h: New file.
35965 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35966 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35967 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35968 * string/Makefile (headers): Add bits/byteswap-16.h.
35970 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35973 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35975 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35976 * nss/tst-nss-static.c: New.
35978 2012-04-06 Robert Millan <rmh@gnu.org>
35981 * manual/llio.texi (File Position Primitive): lseek
35982 refers to WHENCE when it really means OFFSET.
35984 2012-04-06 Andreas Jaeger <aj@suse.de>
35986 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35987 strncmp declarations.
35989 * abilist/libc.abilist: Add __poll and __ppoll.
35991 2012-04-05 David S. Miller <davem@davemloft.net>
35993 * scripts/check-local-headers.sh: Accept a host triplet in the
35994 path matched by the exclude regexp.
35996 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35998 * sysdeps/powerpc/powerpc32/dl-machine.h
35999 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36000 * sysdeps/s390/s390-32/dl-machine.h
36001 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36002 * sysdeps/sparc/sparc32/dl-machine.h
36003 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36004 * sysdeps/sparc/sparc64/dl-machine.h
36005 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36007 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36009 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36010 undefined symbol errors.
36012 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36015 2012-04-05 Michael Matz <matz@suse.de>
36018 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36020 2012-04-05 Andreas Jaeger <aj@suse.de>
36023 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36026 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36028 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36029 which ROUND is no valid rounding mode.
36031 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36033 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36035 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36037 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36039 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36040 an exception using FPU order intentionally.
36042 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36044 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36045 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36046 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36047 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36049 2012-04-05 Simon Josefsson <simon@josefsson.org>
36052 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36053 EINVAL when BUFLEN is too smal.
36055 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36058 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36059 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36061 2012-04-03 Andreas Jaeger <aj@suse.de>
36064 * manual/setjmp.texi (System V contexts): Fix sentence.
36067 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36068 New macro for this case.
36069 [!__GNUC__] (__bswap_64): New inline function for this case.
36070 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36071 * bits/byteswap.h: Likewise.
36072 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36073 ull, guard with __GLIBC_HAVE_LONG_LONG.
36075 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36076 __GLIBC_HAVE_LONG_LONG.
36078 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36079 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36081 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36084 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36085 inptr and inend, rather than using last_ch.
36087 2012-04-02 David S. Miller <davem@davemloft.net>
36089 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36090 * stdio-common/printf-parse.h (read_int): Change return type to
36091 'int', return -1 on INT_MAX overflow.
36092 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36093 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36094 overflows INT_MAX. Check for overflow of in-format-string precision
36095 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36096 SIZE_MAX not INT_MAX for integer overflow test.
36097 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36098 skip the construct in the format string but do not record anything.
36099 * stdio-common/bug22.c: Adjust to test both width/prevision
36100 INT_MAX overflow as well as total length INT_MAX overflow. Check
36101 explicitly for proper errno values.
36103 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36105 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36107 * string/test-strcmp.c [! WIDE]: Likewise.
36108 * time/tst-mktime2.c: Likewise for INT_MAX.
36109 * string/test-string.h: #include <sys/param.h> for MIN.
36111 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36112 * sysdeps/i386/init-first.c (init): Likewise.
36113 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36114 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36115 * sysdeps/sh/init-first.c (init): Likewise.
36117 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36119 * po/ru.po: Update from translation team.
36120 * po/vi.po: Likewise.
36122 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36124 * resolv/nss_dns/dns-host.c: Merge copyright years.
36126 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36129 Optimize memcpy with prefetch if
36130 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36131 src, dst pointers have unequal 16 byte alignments.
36133 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36136 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36137 from a CNAME entry and return the minimum ttl for the query.
36138 (gaih_getanswer_slice): Likewise.
36140 2012-03-30 Jeff Law <law@redhat.com>
36142 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36144 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36145 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36147 * resolv/nss_dns/dns-host.c: Update copyright year.
36149 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36151 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36152 requests to save a system call. Fix check that all bytes are sent.
36154 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36155 comments for sendmmsg.
36157 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36160 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36161 with only 1 character between 0x0041 and 0x01b0.
36162 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36163 * wcsmbs/tst-mbsnrtowcs.c: New file.
36165 2012-03-29 David S. Miller <davem@davemloft.net>
36167 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36168 small copies by hand.
36170 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36173 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36174 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36177 2012-03-28 David S. Miller <davem@davemloft.net>
36179 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36180 that branches into memcpy.
36181 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36182 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36184 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36187 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36188 implementation too.
36189 * sysdeps/sparc/mempcpy.S: New file.
36191 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36192 the IFUNC routine in the libc case.
36193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36195 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36196 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36197 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36198 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36199 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36200 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36201 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36202 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36204 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36205 loop to 256 bytes instead of 64 bytes and fix test signedness.
36207 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36208 * sysdeps/sparc/sparc32/Makefile: rather than here...
36209 * sysdeps/sparc/sparc64/Makefile: and here.
36211 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36213 * malloc/mallocbug.c: Avoid warnings about unused variables.
36215 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36218 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36219 in the right place. Discard and retry query if response is
36220 larger than input buffer size.
36222 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36227 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36228 x for large integer exponent.
36229 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36230 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36231 sign of result as needed afterwards.
36232 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36233 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36234 result for underflowing pow the same as for overflow.
36235 (__kernel_standard_l): Handle powl overflow and underflow here
36236 rather than calling __kernel_standard.
36237 * math/libm-test.inc (pow_test): Add more tests.
36252 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36253 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36254 (__kernel_standard_l): New function.
36255 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36257 * math/w_acosl.c (__acosl): Likewise.
36258 * math/w_asinl.c (__asinl): Likewise.
36259 * math/w_atan2l.c (__atan2l): Likewise.
36260 * math/w_atanhl.c (__atanhl): Likewise.
36261 * math/w_coshl.c (__coshl): Likewise.
36262 * math/w_exp10l.c (__exp10l): Likewise.
36263 * math/w_exp2l.c (__exp2l): Likewise.
36264 * math/w_fmodl.c (__fmodl): Likewise.
36265 * math/w_hypotl.c (__hypotl): Likewise.
36266 * math/w_j0l.c (__j0l, __y0l): Likewise.
36267 * math/w_j1l.c (__j1l, __y1l): Likewise.
36268 * math/w_jnl.c (__jnl, __ynl): Likewise.
36269 * math/w_lgammal.c (__lgammal): Likewise.
36270 * math/w_log10l.c (__log10l): Likewise.
36271 * math/w_log2l.c (__log2l): Likewise.
36272 * math/w_logl.c (__logl): Likewise.
36273 * math/w_powl.c (__powl): Likewise.
36274 * math/w_remainderl.c (__remainderl): Likewise.
36275 * math/w_scalbl.c (sysv_scalbl): Likewise.
36276 * math/w_sinhl.c (__sinhl): Likewise.
36277 * math/w_sqrtl.c (__sqrtl): Likewise.
36278 * math/w_tgammal.c (__tgammal): Likewise.
36279 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36280 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36281 * math/libm-test.inc (acos_test): Add more tests.
36282 (acosh_test): Likewise.
36283 (asin_test): Likewise.
36284 (atanh_test): Likewise.
36285 (exp_test): Likewise.
36286 (exp10_test): Likewise.
36287 (exp2_test): Likewise.
36288 (expm1_test): Likewise.
36289 (lgamma_test): Likewise.
36290 (log_test): Likewise.
36291 (log10_test): Likewise.
36292 (log1p_test): Likewise.
36293 (log2_test): Likewise.
36294 (pow_test): Do not allow some spurious overflow exceptions.
36295 (sqrt_test): Add more tests.
36296 (tgamma_test): Likewise.
36297 (y0_test): Likewise.
36298 (y1_test): Likewise.
36299 (yn_test): Likewise.
36301 2012-03-27 Anton Blanchard <anton@samba.org>
36303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36305 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36306 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36307 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36309 2012-03-27 David S. Miller <davem@davemloft.net>
36311 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36313 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36314 have-as-vis3 check.
36316 2012-03-27 Andreas Jaeger <aj@suse.de>
36318 * sysdeps/x86_64/elf/configure.in: Moved to ...
36319 * sysdeps/x86_64/configure.in: ... here.
36320 * sysdeps/x86_64/elf/start.S: Moved to ...
36321 * sysdeps/x86_64/start.S: ... here.
36322 * sysdeps/x86_64/elf/configure: Delete.
36324 * sysdeps/x86_64/configure.in: Merge contents from
36325 sysdeps/i386/configure.in (without i686 check).
36327 * sysdeps/i386/elf/Versions: Merge into ...
36328 * sysdeps/i386/Versions: ... this.
36329 * sysdeps/i386/elf/Versions: Delete file.
36330 * sysdeps/i386/elf/start.S: Moved to ...
36331 * sysdeps/i386/start.S: ...here.
36332 * sysdeps/i386/elf/configure.in: Merge into...
36333 * sysdeps/i386/configure.in: ...here.
36334 * sysdeps/i386/elf/configure.in: Delete file.
36335 * sysdeps/i386/elf/configure: Delete file.
36337 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36338 * debug/backtracesyms.c: ... here.
36339 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36340 * debug/backtracesymsfd.c: ... here.
36341 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36342 * sysdeps/generic/ifunc-sel.h: ... here.
36344 * sysdeps/unix/i386/start.c: Delete file.
36345 * sysdeps/unix/sparc/start.c: Delete file.
36346 * sysdeps/unix/start.c: Delete file.
36348 * sysdeps/sh/elf/configure.in: Moved to ...
36349 * sysdeps/sh/configure.in: ... here.
36350 * sysdeps/sh/elf/start.S: Moved to ...
36351 * sysdeps/sh/start.S: ... here.
36352 * sysdeps/sh/elf/configure: Delete file.
36354 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36355 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36356 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36357 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36358 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36359 * sysdeps/powerpc/powerpc64/start.S: here.
36360 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36361 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36362 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36363 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36364 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36366 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36367 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36368 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36369 * sysdeps/powerpc/powerpc32/start.S: ... here.
36370 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36371 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36372 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36374 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36375 * sysdeps/powerpc/ifunc-sel.h: ... here.
36376 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36377 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36379 * sysdeps/sparc/elf/configure.in: Moved to ...
36380 * sysdeps/sparc/configure.in: ... here.
36381 * sysdeps/sparc/elf/configure: Delete file.
36382 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36383 * sysdeps/sparc/sparc32/start.S: ... here.
36384 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36385 * sysdeps/sparc/sparc64/start.S: ... here.
36386 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36387 * sysdeps/sparc/sparc32/Makefile: ... this.
36388 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36389 * sysdeps/sparc/sparc64/Makefile: ... this.
36391 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36392 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36393 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36394 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36395 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36396 * sysdeps/s390/s390-32/setjmp.S: ... here.
36397 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36398 * sysdeps/s390/s390-32/configure.in: ... here.
36399 * sysdeps/s390/s390-32/elf/configure: Delete file.
36400 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36401 * sysdeps/s390/s390-32/start.S: ... here.
36403 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36404 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36405 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36406 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36407 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36408 * sysdeps/s390/s390-64/setjmp.S: ... here.
36409 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36410 * sysdeps/s390/s390-64/configure.in: ... here
36411 * sysdeps/s390/s390-64/elf/configure: Delete file.
36412 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36413 * sysdeps/s390/s390-64/start.S: ... here.
36414 * sysdeps/s390/s390-64/elf/configure: Delete.
36416 * configure.in: Remove support for elf directories in sysdeps.
36418 * configure: Regenerated.
36419 * sysdeps/i386/configure: Regenerated.
36420 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36421 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36422 * sysdeps/s390/s390-32/configure: Regenerated.
36423 * sysdeps/s390/s390-64/configure: Regenerated.
36424 * sysdeps/sh/configure: Regenerated.
36425 * sysdeps/sparc/configure: Regenerated.
36426 * sysdeps/x86_64/configure: Regenerated.
36428 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36433 denormal result into account.
36435 2012-03-25 Roland McGrath <roland@hack.frob.com>
36437 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36438 Reported by Allan McRae <allan@archlinux.org>.
36440 2012-03-23 Jeff Law <law@redhat.com>
36442 * nss/getnssent.c (__nss_getent): Fix typo.
36444 2012-03-23 David S. Miller <davem@davemloft.net>
36446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36448 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36450 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36451 to pad to uint64_t for each field.
36452 (dl_tls_index): Replace unsigned long with uint64_t.
36454 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36455 Paul Pluzhnikov <ppluzhnikov@google.com>
36458 * grp/Makefile (otherlibs): Don't set it.
36459 * inet/Makefile (otherlibs): Likewise.
36460 * login/Makefile (otherlibs): Likewise.
36461 * nscd/Makefile (otherlibs): Likewise.
36462 * posix/Makefile (otherlibs): Likewise.
36463 * pwd/Makefile (otherlibs): Likewise.
36464 * rt/Makefile (otherlibs): Likewise.
36465 * sunrpc/Makefile (otherlibs): Likewise.
36466 * nss/Makefile (otherlibs): Likewise.
36467 Add libnss_files to routines and static-only-routines.
36468 ($(objpfx)getent): Remove rule.
36469 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36470 static-only-routines.
36472 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36475 * math/s_cexp.c: Include <float.h>.
36476 (__cexp): Handle exp result overflowing not necessarily
36477 overflowing both real and imaginary parts of result.
36478 * math/s_cexpf.c: Likewise.
36479 * math/s_cexpl.c: Likewise.
36480 * math/libm-test.inc (cexp_test): Add more tests.
36481 * sysdeps/i386/fpu/libm-test-ulps: Update.
36482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36484 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36486 * include/link.h (ELFW): New macro.
36487 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36488 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36490 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36492 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36495 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36497 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36499 (struct La_x32_retval): Likewise.
36501 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36503 * sysdeps/x86_64/preconfigure.in: New file.
36504 * sysdeps/x86_64/preconfigure: New generated file.
36506 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36509 * math/e_exp2l.c: Include <float.h>.
36510 (__ieee754_exp2l): Handle overflow and underflow cases
36511 separately. Only pass fractional part of argument to
36513 * math/libm-test.inc (exp2_test): Add more tests.
36515 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36516 negating x to take absolute value.
36517 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36519 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36520 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36522 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36523 computing low part if x was negated.
36524 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36526 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36528 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36529 la_x32_gnu_pltexit.
36530 (pltexit): Cast int_retval to ptrdiff_t.
36531 * elf/tst-auditmod3b.c: Likewise.
36532 * elf/tst-auditmod4b.c: Likewise.
36533 * elf/tst-auditmod5b.c: Likewise.
36534 * elf/tst-auditmod6b.c: Likewise.
36535 * elf/tst-auditmod6c.c: Likewise.
36536 * elf/tst-auditmod7b.c: Likewise.
36538 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36539 and x32_gnu_pltexit.
36541 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36542 __ELF_NATIVE_CLASS.
36543 (La_x32_regs): New macro.
36544 (La_x32_retval): Likewise.
36545 (la_x32_gnu_pltenter): New function prototype.
36546 (la_x32_gnu_pltexit): Likewise.
36548 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36550 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36555 * configure.in (libc_cv_cc_nofma): Check for option to disable
36556 generation of FMA instructions.
36557 * configure: Regenerate.
36558 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36559 * sysdeps/ieee754/dbl-64/Makefile: New file.
36560 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36561 Remove brandred-fma4.
36562 (CFLAGS-brandred-fma4.c): Remove.
36563 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36564 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36566 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36569 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36571 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36572 LLONG_MAX != LONG_MAX.
36573 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36574 (_fitoa_word): Likewise.
36575 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36576 LLONG_MAX != LONG_MAX.
36577 * stdio-common/_itowa.h: Include <_itoa.h>.
36578 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36579 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36580 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36581 only if not defined.
36582 (_ITOA_WORD_TYPE): Likewise.
36583 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36584 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36586 2012-03-21 David S. Miller <davem@davemloft.net>
36588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36590 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36592 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36593 of x86_64 when setting libc_cv_slibdir, libdir and
36595 * sysdeps/unix/sysv/linux/configure: Regenerated.
36597 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36599 * manual/lang.texi (Old Varargs): Remove section.
36600 (How Variadic): Update menu.
36601 (va_start): Do not mention varargs.h.
36603 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36604 Joseph Myers <joseph@codesourcery.com>
36606 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36608 * configure: Regenerated.
36610 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36612 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36613 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36616 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36619 * Makefile (files-for-dist): Remove NOTES.
36620 (NOTES): Remove rule.
36621 * README: Don't refer to NOTES.
36622 * manual/creature.texi: Don't include macros.texi.
36623 * manual/intro.texi (creature.texi): Remove comment referring to
36626 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36627 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36628 * configure: Regenerated.
36629 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36630 LIBC_TRY_CC_OPTION.
36631 (libc_cv_as_i686): Likewise.
36632 (libc_cv_cc_avx): Likewise.
36633 (libc_cv_cc_sse2avx): Likewise.
36634 (libc_cv_cc_fma4): Likewise.
36635 (libc_cv_cc_novzeroupper): Likewise.
36636 * sysdeps/i386/configure: Regenerated.
36639 * sysdeps/i386/fpu/s_cexp.S: Remove.
36640 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36641 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36642 * math/libm-test.inc (cexp_test): Add more tests.
36643 * sysdeps/i386/fpu/libm-test-ulps: Update.
36644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36646 2012-03-21 Allan McRae <allan@archlinux.org>
36648 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36650 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36653 * math/w_exp2.c: Do not include <float.h>.
36654 (o_threshold, u_threshold): Remove.
36655 (__exp2): Calculate result before checking finiteness and calling
36657 * math/w_exp2f.c: Likewise.
36658 * math/w_exp2l.c: Likewise.
36659 * math/libm-test.inc (exp2_test): Require overflow exception for
36663 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36664 range of signed 64-bit integers before using fistpll. Remove
36665 checks for whether integers fit in mantissa bits.
36666 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36667 the range of signed 32-bit integers before using fistpl. Remove
36668 checks for whether integers fit in mantissa bits.
36669 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36670 (__ieee754_powl): Test for y outside the range of signed 64-bit
36671 integers before using fistpll. Reduce 64-bit values to 63-bit
36673 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36674 divide-by-zero is raised for zero to large negative powers.
36675 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36676 (__ieee754_powl): Test for y outside the range of signed 64-bit
36677 integers before using fistpll. Reduce 64-bit values to 63-bit
36679 * math/libm-test.inc (pow_test): Add more tests.
36681 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36683 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36684 <stdio-common/_itoa.h>.
36685 * debug/segfault.c: Likewise.
36686 * elf/dl-cache.c: Likewise.
36687 * elf/dl-minimal.c: Likewise.
36688 * elf/dl-misc.c: Likewise.
36689 * elf/dl-sysdep.c: Likewise.
36690 * elf/dl-version.c: Likewise.
36691 * elf/rtld.c: Likewise.
36692 * hurd/hurdsock.c: Likewise.
36693 * hurd/lookup-retry.c: Likewise.
36694 * malloc/malloc.c: Likewise.
36695 * malloc/mtrace.c: Likewise.
36696 * nscd/nscd_getgr_r.c: Likewise.
36697 * nscd/nscd_getpw_r.c: Likewise.
36698 * nscd/nscd_getserv_r.c: Likewise.
36699 * posix/getopt_init.c: Likewise.
36700 * posix/wordexp.c: Likewise.
36701 * stdio-common/_itoa.c: Likewise.
36702 * stdio-common/printf_fphex.c: Likewise.
36703 * stdio-common/vfprintf.c: Likewise.
36704 * string/_strerror.c: Likewise.
36705 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36706 * sysdeps/i386/i686/hp-timing.h: Likewise.
36707 * sysdeps/mach/_strerror.c: Likewise.
36708 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36709 * sysdeps/mach/hurd/sethostid.c: Likewise.
36710 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36711 * sysdeps/mach/xpg-strerror.c: Likewise.
36712 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36713 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36714 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36715 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36716 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36717 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36718 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36719 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36720 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36721 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36722 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36723 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36724 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36725 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36726 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36727 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36728 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36729 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36730 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36731 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36732 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36734 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36736 * stdio-common/_itoa.h: Moved to ...
36737 * sysdeps/generic/_itoa.h: Here.
36739 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36741 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36742 instead of "_itoa.h" and "_itowa.h".
36743 * stdio-common/vfprintf.: Likewise.
36745 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36749 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36750 (__signbit): Likwise.
36751 (llrintf): Likwise.
36754 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36756 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36759 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36761 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36762 OVERFLOW_EXCEPTION_OK.
36763 * math/libm-test.inc ("Philosophy"): Update comment about
36765 (OVERFLOW_EXCEPTION): Define.
36766 (OVERFLOW_EXCEPTION_OK): Likewise.
36767 (INVALID_EXCEPTION_OK): Renumber.
36768 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36769 (IGNORE_ZERO_INF_SIGN): Likewise.
36770 (test_exceptions): Handle FE_OVERFLOW.
36771 (exp10_test): Expect overflow exceptions.
36772 (exp2_test): Likewise.
36773 (expm1_test): Likewise.
36774 (nextafter_test): Likewise.
36775 (pow_test): Likewise.
36776 (scalbn_test): Likewise.
36777 (scalbln_test): Likewise.
36779 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36781 * sysdeps/x86_64/bits/atomic.h
36782 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36784 (atomic_exchange_acq): Likewise.
36785 (__arch_exchange_and_add_body): Likewise.
36786 (__arch_add_body): Likewise.
36787 (atomic_add_negative): Likewise.
36788 (atomic_add_zero): Likewise.
36790 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36792 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36793 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36795 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36797 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36798 Check __x86_64__ instead of __WORDSIZE.
36800 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36802 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36804 2012-03-19 David S. Miller <davem@davemloft.net>
36806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36808 * sysdeps/sparc/fpu/fenv_private.h: New file.
36809 * sysdeps/sparc/fpu/math_private.h: Use it.
36810 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36812 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36813 (libc_feholdexcept_setroundl): Remove.
36814 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36816 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36817 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36819 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36821 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36822 int64_t instead of long int.
36823 (INSERT_WORDS64): Likwise.
36825 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36827 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36828 _Unwind_GetCFA return to _Unwind_Ptr first.
36830 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36833 * math/s_clog.c: Include <float.h>.
36834 (__clog): Scale large or subnormal inputs.
36835 * math/s_clogf.c: Likewise.
36836 * math/s_clogl.c: Likewise.
36837 * math/s_clog10.c: Include <float.h>.
36838 (M_LOG10_2): Define.
36839 (__clog10): Scale large or subnormal inputs.
36840 * math/s_clog10f.c: Likewise.
36841 * math/s_clog10l.c: Likewise.
36842 * math/libm-test.inc (clog_test): Add more tests.
36843 (clog10_test): Likewise.
36844 * sysdeps/i386/fpu/libm-test-ulps: Update.
36845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36848 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36850 * math/libm-test.inc (atan2_test): Add another test.
36852 * Makerules (common-objdir-compile): Remove.
36853 * sysdeps/unix/Makefile (config-generated): Do not add
36854 $(unix-generated) to variable.
36855 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36856 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36858 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36860 [generic bits/local_lim.h] (before-compile): Do not append to
36862 [generic bits/local_lim.h] (common-generated): Likewise.
36863 [generic sys/param.h] (before-compile): Do not append to variable.
36864 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36865 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36866 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36867 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36869 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36870 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36871 [generic sys/param.h] ($(addprefix
36872 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36873 [generic sys/param.h] (common-generated): Do not append to
36875 [generic sys/param.h] (sysdep_headers): Likewise.
36876 [generic bits/errno.h] (before-compile): Do not append to
36878 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36880 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36881 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36882 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36883 [generic bits/errno.h] (common-generated): Do not append to
36885 [generic bits/ioctls.h] (before-compile): Do not append to
36887 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36889 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36890 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36891 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36893 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36894 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36895 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36896 [generic bits/ioctls.h] (common-generated): Do not append to
36898 [generic sys/syscall.h] (syscall.h): Remove variable.
36899 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36901 [generic sys/syscall.h] (before-compile): Do not append to
36903 [generic sys/syscall.h] (common-generated): Likewise.
36904 * sysdeps/unix/errnos-tmpl.c: Remove file.
36905 * sysdeps/unix/errnos.awk: Likewise.
36906 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36907 * sysdeps/unix/ioctls.awk: Likewise.
36908 * sysdeps/unix/mk-local_lim.c: Likewise.
36909 * sysdeps/unix/snarf-ioctls: Likewise.
36911 2012-03-19 Richard Henderson <rth@twiddle.net>
36913 * sysdeps/i386/fpu/fenv_private.h: New file.
36914 * sysdeps/i386/fpu/math_private.h: Use it.
36915 (math_opt_barrier, math_force_eval): Remove.
36916 (libc_feholdexcept_setround_53bit): Remove.
36917 (libc_feupdateenv_53bit): Remove.
36918 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36919 (math_opt_barrier, math_force_eval): Remove.
36920 (libc_feholdexcept): Remove.
36921 (libc_feholdexcept_setround): Remove.
36922 (libc_fetestexcept, libc_fesetenv): Remove.
36923 (libc_feupdateenv_test): Remove.
36924 (libc_feupdateenv, libc_feholdsetround): Remove.
36925 (libc_feresetround): Remove.
36927 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36928 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36930 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36931 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36932 (libc_feupdateenv_testl): New.
36933 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36934 (libc_feupdateenv_testf): New.
36935 (libc_feupdateenv): Use libc_feupdateenv_test.
36936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36937 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36939 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36940 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36941 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36942 (libc_feresetround_noex): New.
36943 (libc_feresetround_noexf): New.
36944 (libc_feresetround_noexl): New.
36945 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36946 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36947 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36948 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36951 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36953 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36954 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36955 SET_RESTORE_ROUND_NOEX.
36956 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36957 SET_RESTORE_ROUND_NOEXF.
36958 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36959 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36960 (libc_feholdsetroundf): New.
36961 (libc_feresetround, libc_feresetroundf): New.
36963 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36964 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36965 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36967 * sysdeps/generic/math_private.h: Include <fenv.h>.
36968 (default_libc_feholdexcept): New.
36969 (default_libc_feholdexcept_setround): New.
36970 (default_libc_fesetenv, default_libc_feupdateenv): New.
36971 (libc_feholdexcept): Only define if undefined.
36972 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36973 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36974 (libc_feholdexcept_setroundl): Likewise.
36975 (libc_feholdexcept_setround_53bit): Likewise.
36976 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36977 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36978 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36979 (libc_feupdateenv_53bit): Likewise.
36980 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36981 (libc_feholdexcept): Convert from macro to inline function.
36982 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36983 (libc_fesetenv, libc_feupdateenv): Likewise.
36985 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36986 not previously defined.
36987 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36988 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36989 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36990 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36991 * sysdeps/ieee754/flt-32/math_private.h: New file.
36992 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36993 math_private.h below SET_FLOAT_WORD.
36994 (__isnan, __isinf_ns, __finite): Remove.
36995 (__isnanf, __isinf_nsf, __finitef): Remove.
36997 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37001 2012-03-17 David S. Miller <davem@davemloft.net>
37004 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37007 2012-03-16 David S. Miller <davem@davemloft.net>
37009 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37013 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37015 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37016 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37017 sysdep_routines when subdir is sysvipc.
37018 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37019 __getshmlba helper.
37021 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37023 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37025 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37028 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37030 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37031 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37032 (__lround): Renamed to ...
37033 (__llround): This. Replace long int with long long int.
37034 Define lround functions as aliases of llround functions.
37035 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37037 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37039 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37040 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37041 adresses to uintptr_t. Replace "long int" and "unsigned long
37042 int" with "greg_t" on va_arg.
37044 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37046 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37047 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37049 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37050 Move e_machine check before EI_CLASS check. Handle x32
37051 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37052 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37053 SKIP_EM_IA_64 and include
37054 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37056 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37057 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37058 (add_system_dir): New macro.
37060 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37061 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37063 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37074 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37076 * math/w_j0f.c (j0f): Likewise.
37078 * math/w_j0l.c (__j0l): Likewise.
37080 * math/w_j1.c (j1): Likewise.
37082 * math/w_j1f.c (j1f): Likewise.
37084 * math/w_j1l.c (__j1l): Likewise.
37086 * math/w_jn.c (jn): Likewise.
37088 * math/w_jnf.c (jnf): Likewise.
37090 * math/w_jnl.c (__jnl): Likewise.
37092 * math/libm-test.inc (j0_test): Add more tests.
37093 (j1_test): Likewise.
37094 (jn_test): Likewise. Add trailing semicolon to existing test.
37095 (y0_test): Likewise.
37096 (y1_test): Likewise.
37097 * sysdeps/i386/fpu/libm-test-ulps: Update.
37098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37102 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37103 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37104 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37105 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37106 (__tanl): Set errno for infinite argument.
37107 * sysdeps/i386/fpu/mptan.c: Remove.
37108 * sysdeps/i386/fpu/s_tan.S: Likewise.
37109 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37110 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37111 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37112 * math/libm-test.inc (tan_test): Add more tests and enable more
37113 tests for double and long double.
37114 * sysdeps/i386/fpu/libm-test-ulps: Update.
37115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37117 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37119 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37120 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37122 2012-03-16 Roland McGrath <roland@hack.frob.com>
37124 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37125 * configure.in: Use it for both main tree and add-ons.
37126 * configure: Regenerated.
37128 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37130 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37132 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37134 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37138 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37139 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37140 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37141 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37142 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37144 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37146 != 0 for prec == 2.
37147 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37148 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37149 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37150 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37151 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37152 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37153 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37154 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37155 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37156 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37157 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37158 * math/libm-test.inc (cos_test): Add more tests and enable more
37159 tests for long double.
37160 (sin_test): Likewise.
37161 (sincos_test): Likewise.
37162 * sysdeps/i386/fpu/libm-test-ulps: Update.
37163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37165 2012-03-16 David S. Miller <davem@davemloft.net>
37167 * sysdeps/sparc/fpu/math_private.h: New file.
37169 2012-03-15 David S. Miller <davem@davemloft.net>
37171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37181 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37185 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37186 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37188 * sysdeps/sparc/sparc-ifunc.h: New file.
37189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37234 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37236 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37240 2012-03-15 Andreas Jaeger <aj@suse.de>
37243 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37244 ieee754/flt-32 implementation for sin, cos and sincos.
37245 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37246 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37247 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37248 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37249 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37250 ieee754/flt-32 implementation for tan.
37252 * math/libm-test.inc (cos_test): Enable some large input tests for
37254 (sin_test): Likewise.
37255 (sincos_test): Likewise.
37256 (tan_test): Add tests for large input.
37258 * sysdeps/i386/fpu/libm-test-ulps: Update.
37260 2012-03-15 Andreas Jaeger <aj@suse.de>
37263 * math/libm-test.inc (cos_test): Add more test cases.
37264 (sin_test): Likewise.
37265 (sincos_test): Likewise.
37267 2012-03-15 Andreas Jaeger <aj@suse.de>
37270 * math/libm-test.inc (cos_test): Add a test case for large input
37272 (sin_test): Likewise.
37273 (sincos_test): Likewise.
37275 2012-03-15 Andreas Jaeger <aj@suse.de>
37276 Joseph Myers <joseph@codesourcery.com>
37279 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37280 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37281 * sysdeps/i386/fpu/branred.c: Likewise.
37282 * sysdeps/i386/fpu/dosincos.c: Likewise.
37283 * sysdeps/i386/fpu/mpa.c: Likewise.
37284 * sysdeps/i386/fpu/s_cos.S: Likewise.
37285 * sysdeps/i386/fpu/s_sin.S: Likewise.
37286 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37287 * sysdeps/i386/fpu/sincos32.c: Likewise.
37289 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37291 (libc_feupdateenv_53bit): Define.
37292 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37294 (libc_feupdateenv_53bit): Define.
37296 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37297 53 bit (without extend i386 double precision).
37299 * math/libm-test.inc (sincos_test): Add tests for large input.
37303 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37305 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37309 2012-03-15 David S. Miller <davem@davemloft.net>
37311 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37312 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37313 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37314 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37339 fmin/fmax sysdep routines.
37340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37342 2012-03-14 David S. Miller <davem@davemloft.net>
37344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37348 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37350 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37351 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37364 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37366 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37367 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37368 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37371 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37416 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37421 * sysdeps/sparc/configure.in: New file.
37422 * sysdeps/sparc/configure: Generate.
37423 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37424 * configure: Regenerate.
37425 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37426 * config.make.in (have-as-vis3): New.
37427 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37428 available use -Av9d instead of -Av9a.
37429 * sysdeps/sparc/sparc64/Makefile: Likewise.
37430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37443 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37445 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37446 fzeros/fnegs to load 0x80000000 into a float register instead of
37448 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37450 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37454 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37455 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37456 ($(inst_includedir)/bits/syscall.h): Remove rule.
37457 ($(objpfx)bits/syscall.d): Include instead of
37458 $(objpfx)syscall-list.d.
37459 (generated): Change syscall-list.h and syscall-list.d to
37460 bits/syscall.h and bits/syscall.d.
37462 2012-03-14 Roland McGrath <roland@hack.frob.com>
37465 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37467 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37470 * math/s_csqrt.c: Include <float.h>.
37471 (__csqrt): Scale large or subnormal inputs.
37472 * math/s_csqrtf.c: Likewise.
37473 * math/s_csqrtl.c: Likewise.
37474 * math/libm-test.inc (csqrt_test): Add more tests.
37475 * sysdeps/i386/fpu/libm-test-ulps: Update.
37476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37479 * math/libm-test.inc (hypot_test): Add more tests.
37481 2012-03-13 David S. Miller <davem@davemloft.net>
37484 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37485 double-precision for the calculation instead of scaling.
37487 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37489 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37490 manipulate bits before adding and subtracting TWO52[sx].
37491 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37492 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37494 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37496 2012-03-13 David S. Miller <davem@davemloft.net>
37498 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37499 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37501 rtld-global-offsets.h
37502 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37504 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37507 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37509 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37510 'err' in the ifdef scope in which it is actually used.
37512 * nss/nss_db/db-init.c: Include string.h
37514 2012-03-12 David S. Miller <davem@davemloft.net>
37516 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37517 masking out of the most significant byte of random value used.
37518 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37519 Fix coding style in previous change.
37521 * sysdeps/unix/sysv/linux/kernel-features.h
37522 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37523 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37525 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37528 2012-03-11 David S. Miller <davem@davemloft.net>
37530 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37531 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37532 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37533 for 'resultvar' otherwise things get truncated on 64-bit.
37535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37536 Fix masking out of the most significant byte of random value used.
37538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37540 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37544 2012-03-09 David S. Miller <davem@davemloft.net>
37546 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37547 variables with appropriate CPP guards.
37548 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37549 from the frame pointer, not the stack pointer. Correct layout
37550 comments. Fix test on resulting framesize and the management of
37551 the outregs buffer for pltexit. Preserve floating point return
37552 values across _dl_call_pltexit call.
37553 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37554 framesize and the management of the outregs buffer for pltexit.
37555 Preserve floating point return values across _dl_call_pltexit
37557 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37558 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37559 (la_sparc64_gnu_pltexit): New functions.
37560 (print_exit): Fix format string for return register value.
37562 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37564 * sunrpc/Makefile (others): Add rpcgen.
37565 ($(objpfx)rpcgen): Remove special build rule and dependency on
37567 * sunrpc/rpcgen.c: New file.
37569 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37572 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37573 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37574 * sysdeps/i386/crti.S: Likewise.
37575 * sysdeps/i386/crtn.S: Likewise.
37576 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37577 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37578 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37579 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37580 * sysdeps/sh/crti.S: Likewise.
37581 * sysdeps/sh/crtn.S: Likewise.
37582 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37585 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37587 * locale/programs/locfile-kw.gperf: Likewise.
37588 * locale/programs/charmap-kw.h: Regenerated.
37589 * locale/programs/locfile-kw.h: Likewise.
37592 * intl/plural.y: Replace FSF snail mail address with URL.
37593 * intl/plural.c: Regenerated.
37595 2012-03-09 Richard Henderson <rth@twiddle.net>
37597 * include/math_private.h: Remove file.
37598 * math/math_private.h: Move file ...
37599 * sysdeps/generic/math_private.h: ... here.
37601 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37602 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37603 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37605 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37606 and <math_private.h>.
37607 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37608 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37609 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37610 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37611 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37612 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37613 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37615 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37616 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37623 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37624 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37625 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37628 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37632 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37637 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37639 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37640 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37641 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37642 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37643 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37644 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37646 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37647 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37648 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37649 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37650 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37651 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37652 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37653 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37654 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37660 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37661 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37666 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37667 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37668 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37670 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37671 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37672 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37673 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37674 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37675 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37676 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37677 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37678 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37679 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37680 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37681 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37682 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37684 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37686 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37687 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37688 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37689 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37690 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37691 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37692 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37693 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37694 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37695 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37696 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37697 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37698 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37699 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37700 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37701 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37702 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37703 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37704 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37705 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37706 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37707 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37708 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37709 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37710 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37711 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37712 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37713 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37714 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37715 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37716 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37717 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37718 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37719 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37720 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37721 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37722 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37723 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37724 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37725 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37726 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37727 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37728 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37729 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37730 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37731 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37732 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37733 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37734 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37735 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37736 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37737 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37738 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37739 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37740 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37741 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37742 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37743 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37744 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37745 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37746 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37747 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37748 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37749 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37750 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37751 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37752 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37753 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37754 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37755 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37756 * sysdeps/ieee754/k_standard.c: Likewise.
37757 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37758 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37759 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37760 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37761 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37762 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37763 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37764 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37765 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37766 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37767 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37770 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37771 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37774 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37778 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37781 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37782 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37784 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37787 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37788 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37790 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37793 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37795 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37801 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37808 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37809 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37810 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37813 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37815 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37816 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37817 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37818 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37820 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37826 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37830 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37831 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37832 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37834 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37836 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37839 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37842 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37843 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37844 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37848 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37849 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37850 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37852 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37853 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37854 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37855 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37856 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37857 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37858 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37859 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37860 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37861 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37862 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37864 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37865 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37866 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37867 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37868 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37869 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37870 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37871 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37872 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37874 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37875 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37876 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37877 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37878 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37879 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37880 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37881 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37882 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37883 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37884 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37885 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37886 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37887 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37888 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37889 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37890 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37891 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37892 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37893 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37894 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37895 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37896 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37897 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37898 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37899 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37900 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37901 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37902 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37903 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37904 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37905 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37906 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37907 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37908 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37909 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37910 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37911 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37912 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37913 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37914 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37915 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37916 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37917 * sysdeps/ieee754/s_lib_version.c: Likewise.
37918 * sysdeps/ieee754/s_matherr.c: Likewise.
37919 * sysdeps/ieee754/s_signgam.c: Likewise.
37920 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37921 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37922 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37923 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37924 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37925 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37926 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37927 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37928 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37929 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37930 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37931 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37932 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37933 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37934 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37935 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37936 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37937 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37938 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37942 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37944 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37945 * sunrpc/rpc_main.c: Likewise.
37946 * sunrpc/rpc_svcout.c: Likewise.
37948 2012-03-09 David S. Miller <davem@davemloft.net>
37950 * include/math_private.h: New file.
37952 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37954 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37955 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37956 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37957 from <bits/socket_type.h>.
37958 (enum __socket_type): Don't define here.
37959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37961 bits/socket_type.h.
37964 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37965 checking __USE_GNU.
37967 * Makerules ($(inst_includedir)/%.h): New rule.
37968 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37969 (install-others): Remove variable setting.
37970 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37972 2012-03-08 Richard Henderson <rth@twiddle.net>
37974 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37975 from macro to inline function; merge with the
37976 !__LIBC_INTERNAL_MATH_INLINES version.
37977 (__ieee754_sqrtf): Likewise.
37979 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37980 to inline function.
37981 (__rintf, __floor, __floorf): Likewise.
37983 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37984 macro to inline function.
37985 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37987 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37988 not <math/math_private.h>.
37990 2012-03-08 David S. Miller <davem@davemloft.net>
37992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37994 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37996 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37998 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38000 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38001 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38003 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38005 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38006 be defined individually, they must be defined as a block. Define
38007 S for printing a string instead of hidint the different by using a
38008 macro for adding the 'l'.
38009 * stdio-common/tst-fphex-wide.c: Adjust.
38011 2012-03-07 Marek Polacek <polacek@redhat.com>
38013 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38015 2012-03-08 Marek Polacek <polacek@redhat.com>
38018 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38019 * stdio-common/tst-fphex.c: Define a few macros to make the
38020 test reusable. Use them.
38021 * stdio-common/tst-fphex-wide.c: New file.
38023 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38026 * manual/macros.texi (gnusystems): New macro.
38027 (nongnusystems): Likewise.
38028 (gnulinuxhurdsystems): Likewise.
38029 (gnuhurdsystems): Likewise..
38030 (gnulinuxsystems): Likewise.
38031 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38032 variants of the GNU system, not "GNU system".
38033 * manual/conf.texi: Likewise.
38034 * manual/errno.texi: Likewise. Update example of errno macro
38036 * manual/filesys.texi: Likewise.
38037 (getumask): Document as specific to GNU/Hurd.
38038 * manual/install.texi: Likewise. Reword some references to
38040 * manual/intro.texi: Likewise.
38041 * manual/io.texi: Likewise.
38042 (File Name Portability): Detail which constraints are inapplicable
38043 to all GNU systems and which are only inapplicable to GNU/Hurd.
38044 * manual/job.texi: Likewise.
38045 * manual/llio.texi: Likewise.
38046 (O_NOCTTY): Document as present on GNU/Linux.
38047 * manual/maint.texi: Likewise.
38048 * manual/memory.texi: Likewise.
38049 * manual/pattern.texi: Likewise.
38050 * manual/pipe.texi: Likewise.
38051 * manual/process.texi: Likewise.
38052 * manual/resource.texi: Likewise.
38053 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38055 * manual/setjmp.texi: Likewise.
38056 * manual/signal.texi: Likewise.
38057 * manual/startup.texi: Likewise.
38058 * manual/stdio.texi: Likewise.
38059 * manual/terminal.texi: Likewise.
38060 (ONLCR): Document as POSIX.
38061 (OXTABS): Document availability on GNU/Linux as XTABS.
38062 (ONOEOT): Document availability separately from other bits.
38063 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38064 * manual/time.texi: Likewise.
38065 * manual/users.texi: Likewise.
38066 * INSTALL: Regenerated.
38067 * sysdeps/gnu/errlist.c: Regenerated.
38069 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38070 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38071 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38073 * configure: Regenerated.
38075 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38077 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38078 default includes instead of AC_HEADER_CHECK.
38079 * sysdeps/i386/configure: Regenerated.
38082 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38083 * math/s_cacoshf.c (__cacoshf): Likewise.
38084 * math/s_cacoshl.c (__cacoshl): Likewise.
38085 * math/s_casinh.c (__casinh): Set signs of result from argument.
38086 * math/s_casinhf.c (__casinhf): Likewise.
38087 * math/s_casinhl.c (__casinhl): Likewise.
38088 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38089 (casinh_test): Add more tests.
38090 * sysdeps/i386/fpu/libm-test-ulps: Update.
38091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38093 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38095 * po/zh_TW.po: Update from translation team.
38097 * login/Makefile (distribute): Remove variable.
38098 * catgets/Makefile: Likewise.
38099 * mach/Makefile: Likewise.
38100 * malloc/Makefile: Likewise.
38101 * misc/Makefile: Likewise.
38102 * iconv/Makefile: Likewise.
38103 * nscd/Makefile: Likewise.
38104 * hurd/Makefile: Likewise.
38105 * manual/Makefile: Likewise.
38106 * locale/Makefile: Likewise.
38107 * intl/Makefile: Likewise.
38108 * conform/Makefile: Likewise.
38109 * nss/Makefile: Likewise.
38110 * time/Makefile: Likewise.
38111 * soft-fp/Makefile: Likewise.
38112 * dirent/Makefile: Likewise.
38113 * gmon/Makefile: Likewise.
38114 * po/Makefile: Likewise.
38115 * rt/Makefile: Likewise.
38116 * socket/Makefile: Likewise.
38117 * math/Makefile: Likewise.
38118 * signal/Makefile: Likewise.
38119 * debug/Makefile: Likewise.
38120 * elf/Makefile: Likewise.
38121 * timezone/Makefile: Likewise.
38122 * stdlib/Makefile: Likewise.
38123 * iconvdata/Makefile: Likewise.
38124 * sunrpc/Makefile: Likewise.
38125 * io/Makefile: Likewise.
38126 * argp/Makefile: Likewise.
38127 * inet/Makefile: Likewise.
38128 * hesiod/Makefile: Likewise.
38129 * grp/Makefile: Likewise.
38130 * csu/Makefile: Likewise.
38131 * wctype/Makefile: Likewise.
38132 * crypt/Makefile: Likewise.
38133 * libio/Makefile: Likewise.
38134 * string/Makefile: Likewise.
38135 * nis/Makefile: Likewise.
38136 * resolv/Makefile: Likewise.
38137 * stdio-common/Makefile: Likewise.
38138 * wcsmbs/Makefile: Likewise.
38139 * dlfcn/Makefile: Likewise.
38140 * posix/Makefile: Likewise.
38143 * timezone/Makefile: Don't install timezone files, just the programs
38146 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38148 * nss/databases.def: Add missing gshadow entry.
38150 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38152 2012-03-06 Marek Polacek <polacek@redhat.com>
38155 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38156 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38157 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38158 * stdio-common/tst-long-dbl-fphex.c: New file.
38160 2012-03-06 David S. Miller <davem@davemloft.net>
38162 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38163 (set_obp_int): New function.
38164 (get_obp_int): New function.
38165 (__get_clockfreq_via_dev_openprom): Likewise.
38166 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38167 Avoid unused variable warnings on 'val' and use builtin_expect.
38168 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38170 (INLINE_CLONE_SYSCALL): Likewise.
38172 2012-03-05 David S. Miller <davem@davemloft.net>
38174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38176 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38180 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38181 only for |x| >= 40.
38182 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38184 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38187 Replace gettimeofday with __vdso_gettimeofday.
38189 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38190 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38191 __vdso_clock_gettime and __vdso_getcpu.
38193 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38194 time with __vdso_time.
38196 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38198 * manual/lang.texi (size_t): Note types to which size_t may be
38199 equivalent with the GNU C Library, but do not describe when
38200 differences between them are significant.
38202 2012-03-05 Andreas Jaeger <aj@suse.de>
38204 * sysdeps/i386/fpu/libm-test-ulps: Update.
38206 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38209 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38210 (__ieee754_pow): Save and restore rounding mode and use
38211 round-to-nearest for main computations.
38212 * math/libm-test.inc (pow_test_tonearest): New function.
38213 (pow_test_towardzero): Likewise.
38214 (pow_test_downward): Likewise.
38215 (pow_test_upward): Likewise.
38216 (main): Call the new functions.
38217 * sysdeps/i386/fpu/libm-test-ulps: Update.
38218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38221 * math/libm-test.inc (cosh_test_tonearest): New function.
38222 (cosh_test_towardzero): Likewise.
38223 (cosh_test_downward): Likewise.
38224 (cosh_test_upward): Likewise.
38225 (sinh_test_tonearest): Likewise.
38226 (sinh_test_towardzero): Likewise.
38227 (sinh_test_downward): Likewise.
38228 (sinh_test_upward): Likewise.
38229 (main): Call the new functions.
38230 * sysdeps/i386/fpu/libm-test-ulps: Update.
38231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38233 2012-03-05 Tom de Vries <tom@codesourcery.com>
38235 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38236 default stack guard is set in last bytes.
38237 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38239 2012-03-05 Kees Cook <keescook@chromium.org>
38241 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38244 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38245 possibly allocate from heap instead of stack.
38246 * stdio-common/bug-vfprintf-nargs.c: New file.
38247 * stdio-common/Makefile (tests): Add nargs overflow test.
38249 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38253 2012-03-03 Marek Polacek <polacek@redhat.com>
38255 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38256 * math/math_private.h: Likewise.
38257 * stdlib/tst-strtod.c: Likewise.
38258 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38259 * sysdeps/x86_64/bits/atomic.h: Likewise.
38261 2012-03-02 David S. Miller <davem@davemloft.net>
38263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38267 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38268 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38269 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38270 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38272 2012-03-02 Roland McGrath <roland@hack.frob.com>
38275 * manual/examples/README: New file, says the example source files
38276 can be used under GPL>=2.
38277 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38278 line containing just "*/".
38279 * manual/examples/add.c: Add copyright header (GPL>=2).
38280 * manual/examples/argp-ex1.c: Likewise.
38281 * manual/examples/argp-ex2.c: Likewise.
38282 * manual/examples/argp-ex3.c: Likewise.
38283 * manual/examples/argp-ex4.c: Likewise.
38284 * manual/examples/atexit.c: Likewise.
38285 * manual/examples/db.c: Likewise.
38286 * manual/examples/dir.c: Likewise.
38287 * manual/examples/dir2.c: Likewise.
38288 * manual/examples/execinfo.c: Likewise.
38289 * manual/examples/filecli.c: Likewise.
38290 * manual/examples/filesrv.c: Likewise.
38291 * manual/examples/fmtmsgexpl.c: Likewise.
38292 * manual/examples/genpass.c: Likewise.
38293 * manual/examples/inetcli.c: Likewise.
38294 * manual/examples/inetsrv.c: Likewise.
38295 * manual/examples/isockad.c: Likewise.
38296 * manual/examples/longopt.c: Likewise.
38297 * manual/examples/memopen.c: Likewise.
38298 * manual/examples/memstrm.c: Likewise.
38299 * manual/examples/mkfsock.c: Likewise.
38300 * manual/examples/mkisock.c: Likewise.
38301 * manual/examples/mygetpass.c: Likewise.
38302 * manual/examples/pipe.c: Likewise.
38303 * manual/examples/popen.c: Likewise.
38304 * manual/examples/rprintf.c: Likewise.
38305 * manual/examples/search.c: Likewise.
38306 * manual/examples/select.c: Likewise.
38307 * manual/examples/setjmp.c: Likewise.
38308 * manual/examples/sigh1.c: Likewise.
38309 * manual/examples/sigusr.c: Likewise.
38310 * manual/examples/stpcpy.c: Likewise.
38311 * manual/examples/strdupa.c: Likewise.
38312 * manual/examples/strftim.c: Likewise.
38313 * manual/examples/strncat.c: Likewise.
38314 * manual/examples/subopt.c: Likewise.
38315 * manual/examples/swapcontext.c: Likewise.
38316 * manual/examples/termios.c: Likewise.
38317 * manual/examples/testopt.c: Likewise.
38318 * manual/examples/testpass.c: Likewise.
38319 * manual/examples/timeval_subtract.c: Likewise.
38322 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38324 * manual/timeval_subtract.c.texi: ... here, new file.
38326 2012-03-02 David S. Miller <davem@davemloft.net>
38328 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38330 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38333 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38334 (__sin): Save and restore rounding mode and use round-to-nearest
38335 for all computations.
38336 (__cos): Save and restore rounding mode and use round-to-nearest
38337 for all computations.
38338 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38340 (tan): Save and restore rounding mode and use round-to-nearest for
38342 * math/libm-test.inc (cos_test_tonearest): New function.
38343 (cos_test_towardzero): Likewise.
38344 (cos_test_downward): Likewise.
38345 (cos_test_upward): Likewise.
38346 (sin_test_tonearest): Likewise.
38347 (sin_test_towardzero): Likewise.
38348 (sin_test_downward): Likewise.
38349 (sin_test_upward): Likewise.
38350 (tan_test_tonearest): Likewise.
38351 (tan_test_towardzero): Likewise.
38352 (tan_test_downward): Likewise.
38353 (tan_test_upward): Likewise.
38354 (main): Call the new functions.
38355 * sysdeps/i386/fpu/libm-test-ulps: Update.
38356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38359 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38360 small n, then large n, before computing and testing k+n.
38361 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38362 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38364 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38366 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38367 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38368 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38369 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38370 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38371 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38372 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38373 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38374 * math/libm-test.inc (scalbn_test): Add more tests.
38375 (scalbln_test): Likewise.
38377 * manual/filesys.texi (mode_t): Describe constraints on size and
38378 signedness, not exact equivalence to a particular type.
38380 (ino64_t): Likewise.
38382 (nlink_t): Likewise.
38383 (blkcnt_t): Likewise.
38384 (blkcnt64_t): Likewise.
38385 * manual/llio.texi (off_t): Likewise.
38388 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38389 (__ieee754_exp): Save and restore rounding mode and use
38390 round-to-nearest for all computations.
38391 * math/libm-test.inc (exp_test_tonearest): New function.
38392 (exp_test_towardzero): Likewise.
38393 (exp_test_downward): Likewise.
38394 (exp_test_upward): Likewise.
38395 (main): Call the new functions.
38396 * sysdeps/i386/fpu/libm-test-ulps: Update.
38397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38399 2012-03-01 Chris Demetriou <cgd@google.com>
38401 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38402 have predictable order.
38404 2012-03-01 David S. Miller <davem@davemloft.net>
38406 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38408 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38409 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38410 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38411 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38413 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38414 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38415 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38417 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38418 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38419 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38420 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38421 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38425 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38426 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38427 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38429 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38430 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38431 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38432 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38433 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38434 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38435 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38436 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38437 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38438 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38439 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38440 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38442 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38443 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38445 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38446 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38447 * sysdeps/sparc/elf/configure: Regenerated.
38449 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38451 * configure.in (AS, LD): Require binutils 2.20 or later.
38452 * configure: Regenerated.
38453 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38454 as required minimum version.
38455 * INSTALL: Regenerated.
38459 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38460 before squaring exponent.
38461 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38462 bottom long double and 27 bits of top long double before squaring
38464 * math/libm-test.inc (erfc_test): Add more tests.
38465 * sysdeps/i386/fpu/libm-test-ulps: Update.
38466 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38469 2012-03-01 Kai Tietz <ktietz@redhat.com>
38471 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38472 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38473 containing bit-fields.
38474 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38475 * soft-fp/single.h (_FP_UNION_S): Likewise.
38476 * soft-fp/double.h (_FP_UNION_D): Likewise.
38478 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38481 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38482 not include ../strcmp.S.
38483 [USE_AS_STRNCASECMP_L]: Likewise.
38484 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38485 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38486 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38487 (__strncasecmp_l_ia32): Define as alias to
38488 __strncasecmp_l_nonascii.
38491 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38492 * sysdeps/i386/fpu/libm-test-ulps: Update.
38493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38495 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38498 2012-02-29 Jeff Law <law@redhat.com>
38500 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38501 out of bounds read.
38503 2012-02-29 Marek Polacek <polacek@redhat.com>
38506 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38507 * elf/Makefile: Add rules to run tst-unused-dep.out.
38509 2012-02-28 David S. Miller <davem@davemloft.net>
38511 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38512 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38513 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38514 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38515 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38516 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38518 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38520 * math/libm-test.inc (llround_test): Move one test from
38521 lround_test. Use TEST_f_L in moved test.
38522 (lround_test): Move misplaced test to llround_test. Add testcase
38525 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38527 * sysdeps/x86_64/fpu/e_expf.S: New file.
38528 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38530 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38533 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38534 of remain_len that may cause incomplete multi-byte character and
38536 * posix/bug-regex33.c: New file.
38537 * posix/Makefile (tests): Add bug-regex33.
38539 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38541 * manual/macros.texi: New file.
38542 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38543 * manual/libc.texinfo: Include macros.texi.
38544 * manual/creatute.texi: Likewise.
38545 * manual/install.texi: Likewise.
38546 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38547 @glibcadj{} in references to the GNU C Library.
38548 * manual/charset.texi: Likewise.
38549 * manual/conf.texi: Likewise.
38550 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38551 when not using those macros.
38552 * manual/creature.texi: Likewise.
38553 * manual/crypt.texi: Likewise.
38554 * manual/errno.texi: Likewise.
38555 * manual/filesys.texi: Likewise.
38556 * manual/header.texi: Likewise.
38557 * manual/install.texi: Likewise.
38558 * manual/intro.texi: Likewise.
38559 * manual/io.texi: Likewise.
38560 * manual/job.texi: Likewise.
38561 * manual/lang.texi: Likewise.
38562 * manual/libc.texiinfo: Likewise.
38563 * manual/llio.texi: Likewise.
38564 * manual/locale.texi: Likewise.
38565 * manual/maint.texi: Likewise.
38566 * manual/math.texi: Likewise.
38567 * manual/memory.texi: Likewise.
38568 * manual/message.texi: Likewise.
38569 * manual/nss.texi: Likewise.
38570 * manual/pattern.texi: Likewise.
38571 * manual/process.texi: Likewise.
38572 * manual/resource.texi: Likewise.
38573 * manual/search.texi: Likewise.
38574 * manual/setjmp.texi: Likewise.
38575 * manual/signal.texi: Likewise.
38576 * manual/socket.texi: Likewise.
38577 * manual/startup.texi: Likewise.
38578 * manual/stdio.texi: Likewise.
38579 * manual/string.texi: Likewise.
38580 * manual/sysinfo.texi: Likewise.
38581 * manual/syslog.texi: Likewise.
38582 * manual/terminal.texi: Likewise.
38583 * manual/time.texi: Likewise.
38584 * manual/users.texi: Likewise.
38585 * INSTALL: Regenerated.
38586 * NOTES: Regenerated.
38587 * sysdeps/gnu/errlist.c: Regenerated.
38589 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38591 * include/dirent.h: Include <dirstream.h> before
38594 2012-02-28 David S. Miller <davem@davemloft.net>
38596 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38597 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38598 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38599 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38601 2012-02-27 David S. Miller <davem@davemloft.net>
38603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38605 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38606 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38609 frame pointer instead of stack pointer relative arg slot.
38610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38611 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38612 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38614 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38617 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38619 2012-02-27 David S. Miller <davem@davemloft.net>
38621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38625 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38626 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38627 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38628 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38630 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38632 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38633 later. Allow versions 5-9.
38634 * configure: Regenerated.
38635 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38636 required minimum version and 4.6 as recommended version. Do not
38637 mention bugs in GCC 2.7 and 2.8.
38638 * INSTALL: Regenerated.
38640 2012-02-27 David S. Miller <davem@davemloft.net>
38642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38646 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38647 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38648 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38649 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38651 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38652 manipulate bits before adding and subtracting TWO112[sx].
38653 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38655 2012-02-27 Roland McGrath <roland@hack.frob.com>
38658 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38659 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38660 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38661 being in POSIX, because they are in 1003.1-2008.
38663 * rt/tst-aio.c: Include <fcntl.h>.
38664 * rt/tst-aio7.c: Likewise.
38665 * rt/tst-aio64.c: Likewise.
38667 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38669 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38671 * manual/install.texi (--with-headers): Describe headers as
38672 interface headers, not private headers.
38673 (Specific advice for GNU/Linux systems): Describe use of headers
38674 from "make headers_install", not private headers from older
38676 * INSTALL: Regenerated.
38677 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38679 * sysdeps/unix/sysv/linux/configure: Regenerated.
38681 * manual/llio.texi (fclean): Remove documentation.
38683 * manual/Makefile (libc-texi-generated): New variable. Include
38685 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38686 $(libc-texi-generated), not duplicated list of files.
38687 (version.texi, stamp-version): New rules.
38688 (realclean): Remove $(libc-texi-generated), not individual files
38689 from that list. Do not remove dir-add.texinfo.
38690 * manual/libc.texinfo: Comment out uses of edition numbers and
38691 references to printed manual. Remove last-updated dates.
38692 (EDITION): Comment out.
38694 (VERSION, UPDATED): Remove.
38695 (version.texi): Include.
38697 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38699 * sysdeps/posix/spawni.c: Include <signal.h>.
38700 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38701 * sysdeps/pthread/aio_fsync.c: Likewise.
38703 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38705 * conform/Makefile (tests): Run only when not cross-compiling and
38706 when fast-check is not defined.
38708 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38709 * conform/data/limits.h-data: Fixes for POSIX2008.
38710 * conform/run-conformtest.sh: Run all tests.
38711 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38713 * include/bits/dlfcn.h: Likewise.
38714 * include/langinfo.h: Likewise.
38715 * include/monetary.h: Likewise.
38716 * include/sys/poll.h: Likewise.
38718 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38720 * posix/spawn.h: Define __need_sigset_t.
38721 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38722 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38723 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38724 to get sigevent_t only.
38725 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38726 only for __USE_GNU.
38727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38728 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38729 process_vm_writev only for __USE_GNU.
38730 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38732 * conform/Makefile: For now ignore errors from run-conformtest.
38733 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38734 POSIX to avoid namespace pollution. Don't prepend headers.
38735 * conform/data/aio.h-data: Fixes for POSIX testing.
38736 * conform/data/fcntl.h-data: Likewise.
38737 * conform/data/glob.h-data: Likewise.
38738 * conform/data/grp.h-data: Likewise.
38739 * conform/data/pthread.h-data: Likewise.
38740 * conform/data/pwd.h-data: Likewise.
38741 * conform/data/signal.h-data: Likewise.
38742 * conform/data/spawn.h-data: Likewise.
38743 * conform/data/stdio.h-data: Likewise.
38744 * conform/data/stdlib.h-data: Likewise.
38745 * conform/data/stropts.h-data: Likewise.
38746 * conform/data/sys/mman.h-data: Likewise.
38747 * conform/data/sys/stat.h-data: Likewise.
38748 * conform/data/sys/types.h-data: Likewise.
38749 * conform/data/sys/wait.h-data: Likewise.
38750 * conform/data/time.h-data: Likewise.
38751 * conform/data/unistd.h-data: Likewise.
38752 * conform/data/utime.h-data: Likewise.
38754 * io/sys/stat.h: fchmod was always in POSIX.
38755 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38756 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38757 * rt/aio.h: Define __need_timespec before including <time.h>.
38758 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38759 struct. Add forward declaration of pthread_attr_t and use it in
38761 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38762 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38763 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38764 always remove CLK_TCK definition.
38766 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38768 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38770 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38772 * conform/run-conformtest.sh: New file.
38773 * conform/Makefile: Run run-conformtest for tests.
38774 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38777 * conform/data/uchar.h-data: New file.
38778 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38779 * conform/data/arpa/inet.h-data: Likewise.
38780 * conform/data/assert.h-data: Likewise.
38781 * conform/data/complex.h-data: Likewise.
38782 * conform/data/cpio.h-data: Likewise.
38783 * conform/data/ctype.h-data: Likewise.
38784 * conform/data/dirent.h-data: Likewise.
38785 * conform/data/dlfcn.h-data: Likewise.
38786 * conform/data/errno.h-data: Likewise.
38787 * conform/data/fcntl.h-data: Likewise.
38788 * conform/data/float.h-data: Likewise.
38789 * conform/data/fmtmsg.h-data: Likewise.
38790 * conform/data/fnmatch.h-data: Likewise.
38791 * conform/data/ftw.h-data: Likewise.
38792 * conform/data/glob.h-data: Likewise.
38793 * conform/data/grp.h-data: Likewise.
38794 * conform/data/iconv.h-data: Likewise.
38795 * conform/data/inttypes.h-data: Likewise.
38796 * conform/data/langinfo.h-data: Likewise.
38797 * conform/data/libgen.h-data: Likewise.
38798 * conform/data/limits.h-data: Likewise.
38799 * conform/data/locale.h-data: Likewise.
38800 * conform/data/math.h-data: Likewise.
38801 * conform/data/monetary.h-data: Likewise.
38802 * conform/data/mqueue.h-data: Likewise.
38803 * conform/data/ndbm.h-data: Likewise.
38804 * conform/data/net/if.h-data: Likewise.
38805 * conform/data/netdb.h-data: Likewise.
38806 * conform/data/netinet/in.h-data: Likewise.
38807 * conform/data/nl_types.h-data: Likewise.
38808 * conform/data/poll.h-data: Likewise.
38809 * conform/data/pthread.h-data: Likewise.
38810 * conform/data/pwd.h-data: Likewise.
38811 * conform/data/regex.h-data: Likewise.
38812 * conform/data/sched.h-data: Likewise.
38813 * conform/data/search.h-data: Likewise.
38814 * conform/data/semaphore.h-data: Likewise.
38815 * conform/data/setjmp.h-data: Likewise.
38816 * conform/data/signal.h-data: Likewise.
38817 * conform/data/spawn.h-data: Likewise.
38818 * conform/data/stdarg.h-data: Likewise.
38819 * conform/data/stdio.h-data: Likewise.
38820 * conform/data/stdlib.h-data: Likewise.
38821 * conform/data/string.h-data: Likewise.
38822 * conform/data/strings.h-data: Likewise.
38823 * conform/data/stropts.h-data: Likewise.
38824 * conform/data/sys/ipc.h-data: Likewise.
38825 * conform/data/sys/mman.h-data: Likewise.
38826 * conform/data/sys/msg.h-data: Likewise.
38827 * conform/data/sys/resource.h-data: Likewise.
38828 * conform/data/sys/select.h-data: Likewise.
38829 * conform/data/sys/sem.h-data: Likewise.
38830 * conform/data/sys/shm.h-data: Likewise.
38831 * conform/data/sys/socket.h-data: Likewise.
38832 * conform/data/sys/stat.h-data: Likewise.
38833 * conform/data/sys/statvfs.h-data: Likewise.
38834 * conform/data/sys/time.h-data: Likewise.
38835 * conform/data/sys/timeb.h-data: Likewise.
38836 * conform/data/sys/times.h-data: Likewise.
38837 * conform/data/sys/types.h-data: Likewise.
38838 * conform/data/sys/uio.h-data: Likewise.
38839 * conform/data/sys/un.h-data: Likewise.
38840 * conform/data/sys/utsname.h-data: Likewise.
38841 * conform/data/sys/wait.h-data: Likewise.
38842 * conform/data/syslog.h-data: Likewise.
38843 * conform/data/tar.h-data: Likewise.
38844 * conform/data/termios.h-data: Likewise.
38845 * conform/data/utime.h-data: Likewise.
38846 * conform/data/utmpx.h-data: Likewise.
38847 * conform/data/varargs.h-data: Likewise.
38848 * conform/data/wchar.h-data: Likewise.
38849 * conform/data/wctype.h-data: Likewise.
38850 * conform/data/wordexp.h-data: Likewise.
38852 * include/stropts.h: New file.
38853 * include/uchar.h: New file.
38854 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38855 * include/assert.h: Likewise.
38856 * include/ctype.h: Likewise.
38857 * include/dirent.h: Likewise.
38858 * include/dlfcn.h: Likewise.
38859 * include/fcntl.h: Likewise.
38860 * include/fnmatch.h: Likewise.
38861 * include/glob.h: Likewise.
38862 * include/grp.h: Likewise.
38863 * include/libio.h: Likewise.
38864 * include/locale.h: Likewise.
38865 * include/math.h: Likewise.
38866 * include/net/if.h: Likewise.
38867 * include/netdb.h: Likewise.
38868 * include/netinet/in.h: Likewise.
38869 * include/pthread.h: Likewise.
38870 * include/pwd.h: Likewise.
38871 * include/regex.h: Likewise.
38872 * include/sched.h: Likewise.
38873 * include/search.h: Likewise.
38874 * include/setjmp.h: Likewise.
38875 * include/signal.h: Likewise.
38876 * include/stdio.h: Likewise.
38877 * include/stdlib.h: Likewise.
38878 * include/string.h: Likewise.
38879 * include/sys/cdefs.h: Likewise.
38880 * include/sys/mman.h: Likewise.
38881 * include/sys/msg.h: Likewise.
38882 * include/sys/resource.h: Likewise.
38883 * include/sys/select.h: Likewise.
38884 * include/sys/socket.h: Likewise.
38885 * include/sys/stat.h: Likewise.
38886 * include/sys/statvfs.h: Likewise.
38887 * include/sys/time.h: Likewise.
38888 * include/sys/times.h: Likewise.
38889 * include/sys/uio.h: Likewise.
38890 * include/sys/utsname.h: Likewise.
38891 * include/sys/wait.h: Likewise.
38892 * include/termios.h: Likewise.
38893 * include/time.h: Likewise.
38894 * include/ulimit.h: Likewise.
38895 * include/unistd.h: Likewise.
38896 * include/utime.h: Likewise.
38897 * include/wchar.h: Likewise.
38898 * include/wctype.h: Likewise.
38899 * include/wordexp.h: Likewise.
38901 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38903 * time/time.h: TIME_UTC must be a macro.
38904 Make timespec_get available for ISO C11 only as well.
38906 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38908 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38909 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38911 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38913 * configure.in: Use -o not -a in test for unsupported multi-arch.
38915 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38917 * manual/texinfo.tex: Update to version 2012-01-19.16.
38919 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38921 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38923 2012-02-24 Roland McGrath <roland@hack.frob.com>
38926 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38927 * manual/fdl-1.3.texi: New file.
38928 * manual/fdl-1.1.texi: File removed.
38931 * manual/libc.texinfo (FDL_VERSION): New @set.
38932 Use it for mention of FDL in cover text.
38933 (Documentation License): Use it in @include file name.
38935 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38936 Roland McGrath <roland@hack.frob.com>
38939 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38940 (not LONG_LONG_MAX and LONG_LONG_MIN.
38941 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38942 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38944 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38946 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38950 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38951 manipulate bits before adding and subtracting TWO23[sx].
38952 * math/libm-test.inc (nearbyint_test): Add more tests.
38954 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38957 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38958 bits before adding and subtracting TWO23[sx].
38959 * math/libm-test.inc (rint_test): Add more tests.
38960 (rint_test_tonearest): Likewise.
38961 (rint_test_towardzero): Likewise.
38962 (rint_test_downward): Likewise.
38963 (rint_test_upward: Likewise.
38965 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38968 * include/stdc-predef.h: New file. Extracted from features.h.
38969 * include/features.h: Include stdc-predef.h.
38970 * Makefile (headers): Add stdc-predef.h.
38971 * CONFORMANCE (Compiler limitations): Update.
38973 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38975 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38977 2012-02-21 David S. Miller <davem@davemloft.net>
38979 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38980 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38982 2012-02-20 David S. Miller <davem@davemloft.net>
38984 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38985 using a normal save/restore sequence, rather than allocating a
38986 dummy stack frame just to store a frame pointer and restore.
38987 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38989 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38991 * manual/install.texi: Fix stray word in line-wrapped comment.
38993 2012-02-20 David S. Miller <davem@davemloft.net>
38995 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38996 both binutils and gcc support GOTDATA.
38998 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38999 "rd %pc" in the PIC register setup sequences.
39001 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39002 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39003 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39004 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39005 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39006 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39007 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39008 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39009 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39010 (SYSCALL_ERROR_HANDLER): Likewise.
39011 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39012 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39013 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39014 (SYSCALL_ERROR_HANDLER): Likewise.
39016 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39017 (HAVE_GCC_GOTDATA): New.
39018 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39019 relocation support in both binutils and gcc.
39020 * sysdeps/sparc/elf/configure: Regenerate.
39022 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39023 * sysdeps/sparc/sparc32/elf/configure: Delete.
39024 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39025 * sysdeps/sparc/sparc64/elf/configure: Delete.
39026 * sysdeps/sparc/elf/configure.in: New file.
39027 * sysdeps/sparc/elf/configure: Generate.
39029 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39030 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39031 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39032 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39033 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39035 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39037 * manual/install.texi: Do not mention specific glibc version
39039 * manual/libc.texinfo (VERSION, UPDATED): Update.
39040 (@copying): Use @copyright{} and range of years.
39042 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39045 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39046 [crti.S not in sysdirs] (generated): Do not append.
39047 [crti.S not in sysdirs] (omit-deps): Likewise.
39048 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39049 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39050 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39051 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39052 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39054 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39055 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39056 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39057 * csu/defs.awk: Remove file.
39058 * sysdeps/generic/initfini.c: Likewise.
39059 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39061 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39064 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39066 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39067 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39068 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39069 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39070 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39071 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39073 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39074 (__EPOLL_PACKED): Define to empty if not defined by
39076 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39080 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39082 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39083 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39084 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39085 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39087 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39091 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39093 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39095 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39096 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39097 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39100 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39102 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39103 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39105 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39107 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39108 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39110 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39112 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39115 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39117 * math/w_acos.c: Use non-signaling floating-point comparisons.
39118 * math/w_acosf.c: Likewise.
39119 * math/w_acosh.c: Likewise.
39120 * math/w_acoshf.c: Likewise.
39121 * math/w_acoshl.c: Likewise.
39122 * math/w_acosl.c: Likewise.
39123 * math/w_asin.c: Likewise.
39124 * math/w_asinf.c: Likewise.
39125 * math/w_asinl.c: Likewise.
39126 * math/w_atanh.c: Likewise.
39127 * math/w_atanhf.c: Likewise.
39128 * math/w_atanhl.c: Likewise.
39129 * math/w_exp2.c: Likewise.
39130 * math/w_exp2f.c: Likewise.
39131 * math/w_exp2l.c: Likewise.
39132 * math/w_j0.c: Likewise.
39133 * math/w_j0f.c: Likewise.
39134 * math/w_j0l.c: Likewise.
39135 * math/w_j1.c: Likewise.
39136 * math/w_j1f.c: Likewise.
39137 * math/w_j1l.c: Likewise.
39138 * math/w_jn.c: Likewise.
39139 * math/w_jnf.c: Likewise.
39140 * math/w_log.c: Likewise.
39141 * math/w_log10.c: Likewise.
39142 * math/w_log10f.c: Likewise.
39143 * math/w_log10l.c: Likewise.
39144 * math/w_log2.c: Likewise.
39145 * math/w_log2f.c: Likewise.
39146 * math/w_log2l.c: Likewise.
39147 * math/w_logf.c: Likewise.
39148 * math/w_logl.c: Likewise.
39149 * math/w_sqrt.c: Likewise.
39150 * math/w_sqrtf.c: Likewise.
39151 * math/w_sqrtl.c: Likewise.
39152 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39153 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39154 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39155 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39156 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39158 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39161 * manual/string.texi (strnlen): Use correct parameter name in
39162 equivalent expression.
39164 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39167 * manual/users.texi (seteuid): Consistently use neweuid for
39170 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39173 * manual/nss.texi (Services in the NSS configuration): Correct
39174 list of services in example configuration file.
39176 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39179 * manual/arith.texi: Remove statements about negative zero
39180 behaving identically to zero.
39182 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39185 * manual/install.texi: Do not document upgrading from libc5.
39187 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39190 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39192 2012-02-18 David S. Miller <davem@davemloft.net>
39194 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39195 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39196 %o7 across the call.
39197 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39200 SETUP_PIC_REG_LEAF.
39201 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39202 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39203 * sysdeps/sparc/crtn.S: Likewise.
39205 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39207 * aout/Makefile: Remove.
39209 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39212 * manual/examples/argp-ex1.c (main): Format definition in GNU
39214 * manual/examples/argp-ex2.c (main): Likewise.
39215 * manual/examples/argp-ex3.c (main): Likewise.
39216 * manual/examples/argp-ex4.c (main): Likewise.
39217 * manual/examples/longopt.c (main): Use new-style prototype
39219 * manual/examples/strncat.c (main): Specify return type and use
39220 (void) for arguments.
39221 * manual/examples/subopt.c (main): Use char **argv argument.
39223 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39226 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39229 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39232 * manual/string.texi (strchr): Change when strchrnul is
39235 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39238 * manual/locale.texi (setlocale): Document LOCPATH.
39240 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39243 * manual/process.texi (execle): Move @dots{} before last argument.
39245 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39248 * manual/charset.texi (Generic Charset Conversion): Fix typo
39249 (LC_TYPE -> LC_CTYPE).
39251 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39254 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39255 (scalbnf): Likewise.
39256 (scalbnl): Likewise.
39257 (scalbln): Likewise.
39258 (scalblnf): Likewise.
39259 (scalblnl): Likewise.
39260 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39261 (vwarnx): Likewise.
39264 * manual/filesys.texi (telldir): Use braces around return type.
39265 * manual/llio.texi (mmap): Add space after comma.
39266 (mmap64): Likewise.
39267 * manual/math.texi (jn): Use @var{} on parameter names.
39273 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39275 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39277 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39278 (sched_get_priority_max): Likewise.
39279 * manual/signal.texi (sigvec): Add space after comma.
39280 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39282 (if_indextoname): Likewise.
39283 (if_freenameindex): Likewise.
39284 (sendto): Use ',' instead of '.' in prototype.
39285 * manual/startup.texi (syscall): Use @dots{} instead of literal
39287 * manual/stdio.texi (__fpending): Separate initial words of
39288 paragraph from @deftypefun line.
39289 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39291 (vsyslog): Use @var{} on parameter names.
39292 * manual/terminal.texi (stty): Use @var{} on parameter names.
39293 * manual/users.texi (getutmp): Use @var{} on parameter names.
39294 (getutmpx): Likewise.
39296 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39299 * manual/stdio.texi (fopen): Fix typos in description of
39302 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39305 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39306 get clock_id definition.
39308 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39311 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39312 (madvise): Cast every argument to void on its own.
39314 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39317 * manual/startup.texi (Exit Status): Fix typo.
39319 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39322 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39323 * manual/examples/argp-ex2.c: Likewise.
39324 * manual/examples/argp-ex3.c: Likewise.
39326 2012-02-16 Richard Henderson <rth@redhat.com>
39328 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39329 * sysdeps/s390/s390-32/initfini.c: Remove.
39330 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39331 * sysdeps/s390/s390-64/initfini.c: Remove.
39333 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39335 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39336 compiler output for sysdeps/generic/initfini.c.
39337 * sysdeps/sh/elf/initfini.c: Remove file.
39339 2012-02-16 David S. Miller <davem@davemloft.net>
39342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39344 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39345 * sysdeps/sparc/crti.S: New file.
39346 * sysdeps/sparc/crtn.S: New file.
39347 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39348 * sysdeps/sparc/sparc64/Makefile: Likewise.
39350 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39353 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39355 2012-02-15 Roland McGrath <roland@hack.frob.com>
39358 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39360 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39361 (write, read, close): Likewise.
39362 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39364 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39366 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39367 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39368 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39369 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39371 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39375 2012-02-14 Marek Polacek <polacek@redhat.com>
39377 * sysdeps/x86_64/crti.S: New file.
39378 * sysdeps/x86_64/crtn.S: New file.
39379 * sysdeps/x86_64/elf/initfini.c: Remove file.
39381 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39383 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39384 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39385 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39386 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39388 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39392 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39394 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39395 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39396 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39397 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39399 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39403 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39405 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39406 __feraiseexcept instead of feraiseexcept.
39408 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39409 nanosleep invocations.
39410 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39411 strings, and add error checking for a nanosleep invocations.
39413 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39415 Replace FSF snail mail address with URLs, as per GNU coding standards.
39416 Most of the snail mail addresses were wrong anyway, and omitting
39417 them makes the source code easier to maintain. Almost all of the
39418 changes are to license notices and to locale LC_IDENTIFICATION
39419 addresses, except for this one:
39420 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39421 not its snail mail address.
39423 2012-02-09 Richard Henderson <rth@twiddle.net>
39425 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39426 of kernel-features.h.
39428 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39430 2012-02-08 Marek Polacek <polacek@redhat.com>
39432 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39433 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39434 * sysdeps/gnu/_G_config.h: Likewise.
39435 * sysdeps/generic/_G_config.h: Likewise.
39437 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39439 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39443 * sysdeps/powerpc/powerpc32/crti.S: New file.
39444 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39445 * sysdeps/powerpc/powerpc64/crti.S: New file.
39446 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39448 * Makeconfig (have-initfini): Don't set.
39449 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39450 * configure.in (nopic_initfini): Don't substitute.
39451 * config.h.in (HAVE_INITFINI): Don't #undef.
39452 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39453 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39455 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39457 Support crti.S and crtn.S provided directly by architectures.
39458 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39459 [crti.S in sysdirs] (omit-deps): Likewise.
39460 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39461 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39462 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39463 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39464 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39465 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39466 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39467 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39468 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39469 compiler output for sysdeps/generic/initfini.c.
39470 * sysdeps/i386/elf/Makefile: Remove file.
39471 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39473 2012-02-07 Marek Polacek <polacek@redhat.com>
39475 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39476 * sysdeps/gnu/_G_config.h: Likewise.
39477 * sysdeps/mach/hurd/_G_config.h: Likewise.
39479 2012-02-07 Marek Polacek <polacek@redhat.com>
39481 * math/Makefile (tests): Add tst-CMPLX2.
39482 * math/tst-CMPLX2.c: New file.
39484 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39486 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39488 * math/libm-test.inc (jn_test): Add missing L suffix.
39490 2012-02-06 Marek Polacek <polacek@redhat.com>
39492 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39493 * sysdeps/i386/fpu/e_powf.S: Likewise.
39494 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39495 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39496 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39497 * sysdeps/i386/fpu/e_pow.S: Likewise.
39498 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39499 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39500 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39501 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39502 * sysdeps/i386/fpu/e_log2.S: Likewise.
39503 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39504 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39505 * sysdeps/i386/fpu/e_powl.S: Likewise.
39506 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39507 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39508 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39509 * sysdeps/i386/fpu/e_logl.S: Likewise.
39510 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39511 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39512 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39513 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39514 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39515 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39516 * sysdeps/i386/fpu/e_log.S: Likewise.
39517 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39518 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39519 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39520 * sysdeps/i386/fpu/e_logf.S: Likewise.
39521 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39522 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39523 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39524 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39525 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39526 * sysdeps/i386/fpu/e_log10.S: Likewise.
39527 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39528 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39529 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39530 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39531 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39532 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39533 * sysdeps/i386/asm-syntax.h: Likewise.
39534 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39535 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39536 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39537 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39538 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39539 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39540 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39541 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39542 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39543 * sysdeps/powerpc/sysdep.h: Likewise.
39544 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39545 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39547 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39550 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39552 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39554 * sysdeps/i386/sysdep.h: Include <features.h>.
39555 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39558 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39560 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39562 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39565 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39567 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39568 (SETUP_PIC_REG): Use GET_PC_THUNK.
39569 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39572 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39574 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39575 for non-PIC compilation.
39576 (SETUP_PIC_REG): Add .p2align directive.
39577 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39578 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39579 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39580 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39581 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39582 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39583 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39584 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39585 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39586 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39587 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39588 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39589 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39590 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39591 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39592 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39593 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39594 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39595 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39596 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39597 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39598 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39599 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39600 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39601 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39602 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39603 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39604 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39605 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39606 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39607 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39608 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39609 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39610 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39611 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39612 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39613 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39614 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39615 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39616 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39617 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39619 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39621 * math/tst-CMPLX.c: Include <stdio.h>.
39623 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39625 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39627 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39628 * sysdeps/sparc/bits/mathdef.h: Likewise.
39630 2012-01-31 Marek Polacek <polacek@redhat.com>
39632 * libio/libio.h: Don't define _PARAMS.
39633 * locale/programs/config.h: Don't define PARAMS.
39634 * stdlib/strtol_l.c: Likewise.
39635 (__strtol_l): Remove PARAMS from the prototype.
39637 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39639 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39640 names. Just use the correct names. Remove unnecessary wrapper
39642 * malloc/arena.c: Likewise.
39643 * malloc/hooks.c: Likewise.
39645 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39646 ARENA_TEST says not to. Simplify test for creation of a new arena.
39647 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39649 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39651 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39653 (update_get_addr): New function.
39654 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39655 GET_ADDR_MODULE parameter.
39657 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39659 * crypt/cert.c: Remove __STDC__ conditionals.
39660 * crypt/crypt-entry.c: Likewise.
39661 * crypt/crypt_util.c: Likewise.
39662 * libio/filedoalloc.c: Likewise.
39663 * libio/fileops.c: Likewise.
39664 * libio/genops.c: Likewise.
39665 * libio/iofclose.c: Likewise.
39666 * libio/iofdopen.c: Likewise.
39667 * libio/iofopen.c: Likewise.
39668 * libio/iofopen64.c: Likewise.
39669 * libio/iogetdelim.c: Likewise.
39670 * libio/iopopen.c: Likewise.
39671 * libio/obprintf.c: Likewise.
39672 * libio/oldfileops.c: Likewise.
39673 * libio/oldiofclose.c: Likewise.
39674 * libio/oldiofdopen.c: Likewise.
39675 * libio/oldiofopen.c: Likewise.
39676 * libio/oldiopopen.c: Likewise.
39677 * libio/wfiledoalloc.c: Likewise.
39678 * libio/wgenops.c: Likewise.
39679 * locale/programs/xmalloc.c: Likewise.
39680 * misc/syslog.c: Likewise.
39681 * stdio-common/xbug.c: Likewise.
39682 * string/memchr.c: Likewise.
39683 * string/memcmp.c: Likewise.
39684 * string/memrchr.c: Likewise.
39685 * string/rawmemchr.c: Likewise.
39686 * sysdeps/posix/getcwd.c: Likewise.
39687 * time/strftime_l.c: Likewise.
39689 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39691 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39692 * config.make.in (config-cflags-sse2avx): Define.
39693 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39696 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39698 * scripts/config.guess: Update from upstream config git repository.
39699 * scripts/config.sub: Likewise.
39701 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39703 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39705 (R_TILEPRO_*, R_TILEGX_*): New macros.
39707 * scripts/firstversions.awk: Fix bug in version range handling.
39709 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39711 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39713 * include/sys/epoll.h: New file.
39714 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39717 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39719 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39720 Avoid unnecessary __WORDSIZE == 64 test.
39721 (fmaxf): Use VEX format if possible.
39726 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39727 * math/math_private.h: Remove libc_fegetround* and
39729 * sysdeps/i386/configure.in: Check for -msse2avx.
39730 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39731 also if SSE2AVX is defined.
39732 Remove libc_fegetround* and libc_fesetround*.
39733 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39734 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39735 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39737 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39738 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39739 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39740 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39741 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39743 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39745 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39747 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39749 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39751 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39754 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39756 * Makeconfig (libm): Define.
39757 * elf/Makefile: Add rules to build and run tst-relsort1.
39758 * elf/tst-relsort1.c: New file.
39759 * elf/tst-relsort1mod1.c: New file.
39760 * elf/tst-relsort1mod2.c: New file.
39762 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39764 * math/s_ldexp.c: Remove __STDC__ conditionals.
39765 * math/s_ldexpf.c: Likewise.
39766 * math/s_ldexpl.c: Likewise.
39767 * math/s_nextafter.c: Likewise.
39768 * math/s_nexttowardf.c: Likewise.
39769 * math/s_significand.c: Likewise.
39770 * math/s_significandf.c: Likewise.
39771 * math/s_significandl.c: Likewise.
39772 * math/w_jnl.c: Likewise.
39773 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39774 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39775 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39776 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39777 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39778 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39779 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39780 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39781 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39782 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39783 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39784 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39785 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39786 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39787 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39788 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39789 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39790 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39791 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39792 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39793 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39794 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39795 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39796 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39797 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39798 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39799 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39800 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39801 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39802 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39803 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39804 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39805 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39806 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39807 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39808 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39809 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39810 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39811 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39812 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39813 * sysdeps/ieee754/k_standard.c: Likewise.
39814 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39815 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39816 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39817 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39818 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39819 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39820 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39822 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39823 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39824 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39825 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39826 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39827 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39828 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39829 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39830 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39831 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39832 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39833 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39834 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39835 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39838 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39842 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39843 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39844 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39845 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39846 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39847 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39849 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39850 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39851 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39852 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39853 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39854 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39856 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39857 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39858 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39859 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39860 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39861 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39862 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39863 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39864 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39865 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39866 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39867 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39868 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39869 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39870 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39871 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39872 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39873 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39874 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39875 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39876 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39877 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39878 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39879 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39880 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39881 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39882 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39883 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39884 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39885 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39886 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39887 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39888 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39889 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39890 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39891 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39892 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39893 * sysdeps/ieee754/s_matherr.c: Likewise.
39894 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39895 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39896 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39899 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39901 * crypt/md5.h: Remove __STDC__ conditionals.
39902 * libio/libioP.h: Likewise.
39903 * locale/programs/config.h: Likewise.
39904 * sysdeps/generic/sysdep.h: Likewise.
39905 * sysdeps/i386/asm-syntax.h: Likewise.
39906 * sysdeps/s390/asm-syntax.h: Likewise.
39907 * sysdeps/unix/sysdep.h: Likewise.
39908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39911 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39913 * libio/libio.h: Remove __STDC__ conditionals.
39914 * malloc/obstack.h: Likewise.
39915 * math/complex.h: Likewise.
39916 * math/math.h: Likewise.
39917 * sysdeps/generic/_G_config.h: Likewise.
39918 * sysdeps/gnu/_G_config.h: Likewise.
39919 * sysdeps/mach/hurd/_G_config.h: Likewise.
39920 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39921 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39922 * sysdeps/sparc/bits/mathdef.h: Likewise.
39924 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39927 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39928 Clean up HAS_* macros.
39929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39930 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39932 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39934 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39935 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39936 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39937 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39938 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39940 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39942 * elf/tst-unique3.cc (gets): Remove declaration.
39943 * elf/tst-unique3lib.cc (gets): Likewise.
39944 * elf/tst-unique3lib2.cc (gets): Likewise.
39945 * elf/tst-unique4.cc (gets): Likewise.
39947 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39949 * include/stdio.h: Add C++ protection. Add gets declarations and
39951 * debug/tst-chk1.c: Don't declare gets here.
39952 * stdio-common/tst-gets.c: Likewise.
39954 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39956 * posix/glob: Remove directory.
39958 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39960 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39962 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39964 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39965 of the non-standard EPFNOSUPPORT.
39967 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39969 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39970 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39971 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39973 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39975 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39977 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39979 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39981 * nscd/grpcache.c (cache_addgr): Likewise.
39982 * nscd/hstcache.c (cache_addhst): Likewise.
39983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39984 * nscd/pwdcache.c (cache_addpw): Likewise.
39985 * nscd/servicescache.c (cache_addserv): Likewise.
39987 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39989 * malloc/malloc.c: Various cleanups.
39990 * malloc/hooks.c: Likewise.
39992 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39993 * stdlib/bug-fmtmsg1.c: New file.
39995 * stdlib/fmtmsg.c (init): Add missing unlock.
39996 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39998 2012-01-12 Marek Polacek <polacek@redhat.com>
40000 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40003 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40005 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40006 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40007 macro to ensure uniqueness of label name.
40008 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40009 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40011 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40013 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40015 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40016 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40017 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40018 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40020 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40022 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40024 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40025 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40026 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40028 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40030 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40031 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40032 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40035 * math/bits/math-finite.h: Add ldexp support.
40037 2012-01-10 Marek Polacek <polacek@redhat.com>
40039 * locale/programs/localedef.h (show_archive_content): Add noreturn
40042 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40044 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40046 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40048 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40050 * io/Makefile (headers): Add bits/poll2.h.
40052 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40055 typo #include statement.
40057 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40059 * include/sys/cdefs.h: Define __attribute_alloc_size.
40060 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40061 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40062 * elf/pldd.c: Likewise.
40063 * iconv/iconv_charmap.c: Likewise.
40064 * iconv/iconvconfig.c: Likewise.
40065 * iconv/strtab.c: Likewise.
40066 * locale/programs/locale.c: Likewise.
40067 * locale/programs/localedef.h: Likewise.
40068 * locale/programs/simple-hash.c: Likewise.
40069 * nscd/nscd.h: Likewise.
40070 * nss/makedb.c: Likewise.
40071 * sysdeps/generic/ldconfig.h: Likewise.
40072 * locale/programs/localedef.c: Remove xmalloc prototype.
40073 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40075 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40077 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40080 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40082 * math/Makefile (tests): Add tst-CMPLX.
40083 * math/tst-CMPLX.c: New file.
40085 * math/complex.h (CMPLXL): Fix typo.
40087 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40088 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40090 * debug/tst-chk1.c: Add poll and ppoll tests.
40091 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40092 * include/sys/poll.h: Add hidden proto for ppoll.
40093 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40094 * sysdeps/mach/hurd/ppoll.c: Likewise.
40095 * io/ppoll.c: Likewise.
40096 * debug/poll_chk.c: New file.
40097 * debug/ppoll_chk.c: New file.
40098 * include/bits/poll2.h: New file.
40099 * io/bits/poll2.h: New file.
40102 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40104 * configure.in: static is always set to yes. Remove.
40105 * config.make.in: Don't set build-static.
40106 * Makeconfig: Remove use of build-static.
40107 * dlfcn/Makefile: Likewise.
40108 * elf/Makefile: Likewise.
40109 * math/Makefile: Likewise.
40110 * misc/Makefile: Likewise.
40111 * nptl/Makefile: Likewise.
40112 * sysdeps/mach/hurd/Makefile: Likewise.
40114 * configure.in: PWD_P is not used anymore.
40115 * config.make.in: Remove PWD_P entry.
40117 * configure.in: Remove last remnants of RANLIB.
40118 No need to check for signed size_t anymore.
40119 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40121 Remove __builtin_expect test because we require at least gcc 3.4.
40122 * aclocal.m4: Likewise.
40124 * wcsmbs/mbrtoc16.c: Implement using towc function.
40125 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40126 * wcsmbs/wcsmbsload.c: Likewise.
40127 * iconv/gconv_simple.c: Likewise.
40128 * iconv/gconv_int.h: Likewise.
40129 * iconv/gconv_builtin.h: Likewise.
40130 * iconv/iconv_prog.c: Remove CHAR16 handling.
40132 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40134 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40136 * configure.in: Remove --with-elf and --enable-bounded options.
40137 Dont set base_machine for ia64. More non-ELF conditions removed.
40138 Remove testing and setting of leading underscore information.
40139 * config.make.in (build-bounded): Set to no.
40140 * config.h.in: Remove NO_UNDERSCORES entry.
40141 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40143 * csu/start.c: Remove !NO_UNDERSCORE code.
40144 * locale/localeinfo.h: Likewise.
40145 * sysdeps/generic/machine-gmon.h: Likewise.
40146 * sysdeps/generic/sysdep.h: Likewise.
40147 * sysdeps/i386/sysdep.h: Likewise.
40148 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40149 * sysdeps/mach/sysdep.h: Likewise.
40150 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40151 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40152 * sysdeps/sh/sysdep.h: Likewise.
40153 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40154 * sysdeps/unix/i386/sysdep.S: Likewise.
40155 * sysdeps/unix/sparc/start.c: Likewise.
40156 * sysdeps/unix/sparc/sysdep.S: Likewise.
40157 * sysdeps/unix/sparc/sysdep.h: Likewise.
40158 * sysdeps/unix/start.c: Likewise.
40159 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40160 * sysdeps/x86_64/sysdep.h: Likewise.
40162 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40165 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40167 * argp/argp-fmtstream.h: Use const instead __const.
40168 * argp/argp.h: Likewise.
40169 * assert/assert.h: Likewise.
40170 * bits/fenv.h: Likewise.
40171 * bits/sched.h: Likewise.
40172 * bits/sigset.h: Likewise.
40173 * bits/sigthread.h: Likewise.
40174 * catgets/nl_types.h: Likewise.
40175 * conform/data/pthread.h-data: Likewise.
40176 * crypt/crypt-private.h: Likewise.
40177 * crypt/crypt.h: Likewise.
40178 * crypt/crypt_util.c: Likewise.
40179 * ctype/ctype.h: Likewise.
40180 * debug/execinfo.h: Likewise.
40181 * debug/mbsnrtowcs_chk.c: Likewise.
40182 * debug/mbsrtowcs_chk.c: Likewise.
40183 * debug/wcsnrtombs_chk.c: Likewise.
40184 * debug/wcsrtombs_chk.c: Likewise.
40185 * debug/wcstombs_chk.c: Likewise.
40186 * dirent/dirent.h: Likewise.
40187 * dlfcn/dlfcn.h: Likewise.
40188 * elf/neededtest4.c: Likewise.
40189 * grp/grp.h: Likewise.
40190 * gshadow/gshadow.h: Likewise.
40191 * iconv/gconv.h: Likewise.
40192 * iconv/gconv_int.h: Likewise.
40193 * iconv/gconv_simple.c: Likewise.
40194 * iconv/iconv.h: Likewise.
40195 * iconv/loop.c: Likewise.
40196 * iconv/skeleton.c: Likewise.
40197 * include/aio.h: Likewise.
40198 * include/aliases.h: Likewise.
40199 * include/argz.h: Likewise.
40200 * include/arpa/inet.h: Likewise.
40201 * include/assert.h: Likewise.
40202 * include/dirent.h: Likewise.
40203 * include/dlfcn.h: Likewise.
40204 * include/execinfo.h: Likewise.
40205 * include/fcntl.h: Likewise.
40206 * include/fenv.h: Likewise.
40207 * include/glob.h: Likewise.
40208 * include/grp.h: Likewise.
40209 * include/libintl.h: Likewise.
40210 * include/mntent.h: Likewise.
40211 * include/netdb.h: Likewise.
40212 * include/pwd.h: Likewise.
40213 * include/rpc/netdb.h: Likewise.
40214 * include/sched.h: Likewise.
40215 * include/search.h: Likewise.
40216 * include/shadow.h: Likewise.
40217 * include/signal.h: Likewise.
40218 * include/stdio.h: Likewise.
40219 * include/stdlib.h: Likewise.
40220 * include/string.h: Likewise.
40221 * include/sys/socket.h: Likewise.
40222 * include/sys/stat.h: Likewise.
40223 * include/sys/statfs.h: Likewise.
40224 * include/sys/statvfs.h: Likewise.
40225 * include/sys/syslog.h: Likewise.
40226 * include/sys/time.h: Likewise.
40227 * include/sys/uio.h: Likewise.
40228 * include/time.h: Likewise.
40229 * include/unistd.h: Likewise.
40230 * include/utmp.h: Likewise.
40231 * include/wchar.h: Likewise.
40232 * include/wctype.h: Likewise.
40233 * inet/aliases.h: Likewise.
40234 * inet/arpa/inet.h: Likewise.
40235 * inet/netinet/ether.h: Likewise.
40236 * inet/netinet/in.h: Likewise.
40237 * intl/libintl.h: Likewise.
40238 * io/bits/fcntl2.h: Likewise.
40239 * io/fcntl.h: Likewise.
40240 * io/ftw.h: Likewise.
40241 * io/sys/poll.h: Likewise.
40242 * io/sys/stat.h: Likewise.
40243 * io/sys/statfs.h: Likewise.
40244 * io/sys/statvfs.h: Likewise.
40245 * io/utime.h: Likewise.
40246 * libio/bits/stdio.h: Likewise.
40247 * libio/bits/stdio2.h: Likewise.
40248 * libio/libio.h: Likewise.
40249 * libio/libioP.h: Likewise.
40250 * libio/stdio.h: Likewise.
40251 * locale/lc-ctype.c: Likewise.
40252 * locale/locale.h: Likewise.
40253 * login/utmp.h: Likewise.
40254 * malloc/arena.c: Likewise.
40255 * malloc/malloc.c: Likewise.
40256 * malloc/malloc.h: Likewise.
40257 * malloc/mcheck.c: Likewise.
40258 * malloc/mtrace.c: Likewise.
40259 * math/bits/mathcalls.h: Likewise.
40260 * math/fenv.h: Likewise.
40261 * math/math_private.h: Likewise.
40262 * misc/bits/error.h: Likewise.
40263 * misc/bits/syslog.h: Likewise.
40264 * misc/err.h: Likewise.
40265 * misc/error.h: Likewise.
40266 * misc/fstab.h: Likewise.
40267 * misc/mntent.h: Likewise.
40268 * misc/regexp.h: Likewise.
40269 * misc/search.h: Likewise.
40270 * misc/sgtty.h: Likewise.
40271 * misc/sys/mman.h: Likewise.
40272 * misc/sys/syslog.h: Likewise.
40273 * misc/sys/uio.h: Likewise.
40274 * misc/sys/xattr.h: Likewise.
40275 * misc/ttyent.h: Likewise.
40276 * nis/rpcsvc/ypclnt.h: Likewise.
40277 * nss/nss.h: Likewise.
40278 * posix/bits/unistd.h: Likewise.
40279 * posix/fnmatch.h: Likewise.
40280 * posix/glob.h: Likewise.
40281 * posix/sched.h: Likewise.
40282 * posix/spawn.h: Likewise.
40283 * posix/sys/wait.h: Likewise.
40284 * posix/unistd.h: Likewise.
40285 * posix/wordexp.h: Likewise.
40286 * pwd/pwd.h: Likewise.
40287 * resolv/netdb.h: Likewise.
40288 * resource/sys/resource.h: Likewise.
40289 * rt/aio.h: Likewise.
40290 * rt/bits/mqueue2.h: Likewise.
40291 * rt/mqueue.h: Likewise.
40292 * shadow/shadow.h: Likewise.
40293 * signal/signal.h: Likewise.
40294 * socket/send.c: Likewise.
40295 * socket/sendto.c: Likewise.
40296 * socket/sys/socket.h: Likewise.
40297 * stdio-common/printf.h: Likewise.
40298 * stdlib/bits/stdlib.h: Likewise.
40299 * stdlib/fmtmsg.h: Likewise.
40300 * stdlib/monetary.h: Likewise.
40301 * stdlib/stdlib.h: Likewise.
40302 * stdlib/ucontext.h: Likewise.
40303 * streams/stropts.h: Likewise.
40304 * string/argz.h: Likewise.
40305 * string/bits/string2.h: Likewise.
40306 * string/string.h: Likewise.
40307 * string/strings.h: Likewise.
40308 * sunrpc/rpc/auth.h: Likewise.
40309 * sunrpc/rpc/auth_des.h: Likewise.
40310 * sunrpc/rpc/clnt.h: Likewise.
40311 * sunrpc/rpc/netdb.h: Likewise.
40312 * sunrpc/rpc/pmap_clnt.h: Likewise.
40313 * sunrpc/rpc/xdr.h: Likewise.
40314 * sysdeps/generic/inttypes.h: Likewise.
40315 * sysdeps/generic/net/if.h: Likewise.
40316 * sysdeps/generic/sys/swap.h: Likewise.
40317 * sysdeps/gnu/net/if.h: Likewise.
40318 * sysdeps/gnu/utmpx.h: Likewise.
40319 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40320 * sysdeps/i386/i486/bits/string.h: Likewise.
40321 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40322 * sysdeps/s390/bits/string.h: Likewise.
40323 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40324 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40325 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40326 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40327 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40328 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40329 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40330 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40331 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40332 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40333 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40334 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40335 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40336 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40337 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40338 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40339 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40341 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40342 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40343 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40344 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40345 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40346 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40347 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40348 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40349 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40350 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40351 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40352 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40353 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40354 * sysvipc/sys/ipc.h: Likewise.
40355 * sysvipc/sys/msg.h: Likewise.
40356 * sysvipc/sys/sem.h: Likewise.
40357 * sysvipc/sys/shm.h: Likewise.
40358 * termios/termios.h: Likewise.
40359 * time/sys/time.h: Likewise.
40360 * time/time.h: Likewise.
40361 * wcsmbs/bits/wchar2.h: Likewise.
40362 * wcsmbs/uchar.h: Likewise.
40363 * wcsmbs/wchar.h: Likewise.
40364 * wctype/wctype.h: Likewise.
40367 * Makeconfig: Remove all but ELF support including AIX support.
40368 * Makerules: Likewise.
40369 * config.h.in: Likewise.
40370 * config.make.in: Likewise.
40371 * configure: Likewise.
40372 * configure.in: Likewise.
40373 * csu/Makefile: Likewise.
40374 * csu/version.c: Likewise.
40375 * debug/Makefile: Likewise.
40376 * dlfcn/Makefile: Likewise.
40377 * elf/Makefile: Likewise.
40378 * extra-lib.mk: Likewise.
40379 * iconv/Makefile: Likewise.
40380 * include/libc-symbols.h: Likewise.
40381 * include/shlib-compat.h: Likewise.
40382 * resolv/Makefile: Likewise.
40383 * resolv/res_libc.c: Likewise.
40384 * rt/Makefile: Likewise.
40385 * sysdeps/i386/asm-syntax.h: Likewise.
40386 * sysdeps/i386/sysdep.h: Likewise.
40387 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40388 * sysdeps/mach/sysdep.h: Likewise.
40389 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40390 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40391 * sysdeps/s390/asm-syntax.h: Likewise.
40392 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40393 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40394 * sysdeps/sh/sysdep.h: Likewise.
40395 * sysdeps/unix/sparc/sysdep.h: Likewise.
40396 * sysdeps/wordsize-32/divdi3.c: Likewise.
40397 * sysdeps/x86_64/sysdep.h: Likewise.
40399 * argp/Versions: Remove _argp_unlock_xxx.
40402 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40403 * abilist/libBrokenLocale.abilist: Likewise.
40404 * abilist/libanl.abilist: Likewise.
40405 * abilist/libc.abilist: Likewise.
40406 * abilist/libcrypt.abilist: Likewise.
40407 * abilist/libdl.abilist: Likewise.
40408 * abilist/libm.abilist: Likewise.
40409 * abilist/libnsl.abilist: Likewise.
40410 * abilist/libpthread.abilist: Likewise.
40411 * abilist/libresolv.abilist: Likewise.
40412 * abilist/librt.abilist: Likewise.
40413 * abilist/libthread_db.abilist: Likewise.
40414 * abilist/libutil.abilist: Likewise.
40415 * abilist/libnss_db.abilist: New file.
40417 * scripts/abilist.awk: Add support for indirect functions.
40419 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40421 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40423 * shlib-versions: Remove entries for ports architectures.
40425 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40427 * elf/stackguard-macros.h: Remove support for IA-64.
40428 * elf/tst-auditmod1.c: Likewise.
40429 * sysdeps/generic/ldsodefs.h: Likewise.
40431 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40432 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40436 * configure.in: Remove --enable-omitfp support.
40438 * config.make.in: Likewise.
40439 * Makeconfig: Likewise.
40440 * manual/install.texi: Likewise.
40442 In case anyone cares, the IA-64 architecture could move to ports.
40443 * sysdeps/ia64/*: Removed.
40444 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40445 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40448 * configure.in: Remove entries for unsupported architectures.
40451 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40452 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40454 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40455 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40456 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40457 fall back to using wcrtomb.
40458 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40459 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40461 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40462 * wcsmbs/tst-c16c32-1.c: New file.
40464 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40467 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40469 * elf/tst-unique3.cc: Add explicit declaration of gets.
40470 * elf/tst-unique3lib.cc: Likewise.
40471 * elf/tst-unique3lib2.cc: Likewise.
40472 * elf/tst-unique4.cc: Likewise.
40474 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40476 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40479 * assert/assert.h (static_assert): Don't define for C++.
40480 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40481 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40483 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40485 * iconv/loop.c (single loop): Fix assertion in storing of
40488 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40490 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40492 * posix/getconf.c: Update copyright year.
40493 * nss/getent.c: Likewise.
40494 * nss/makedb.c: Likewise.
40495 * iconv/iconvconfig.c: Likewise.
40496 * iconv/iconv_prog.c: Likewise.
40497 * elf/ldconfig.c: Likewise.
40498 * elf/pldd.c: Likewise.
40499 * elf/sotruss.ksh: Likewise.
40500 * catgets/gencat.c: Likewise.
40501 * csu/version.c: Likewise.
40502 * elf/ldd.bash.in: Likewise.
40503 * elf/sprof.c (print_version): Likewise.
40504 * locale/programs/locale.c: Likewise.
40505 * locale/programs/localedef.c: Likewise.
40506 * login/programs/pt_chown.c: Likewise.
40507 * nscd/nscd.c (print_version): Likewise.
40508 * debug/xtrace.sh: Likewise.
40509 * malloc/memusage.sh: Likewise.
40510 * malloc/mtrace.pl: Likewise.
40511 * debug/catchsegv.sh: Likewise.
40513 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40515 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40518 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40521 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40522 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40524 * iconv/gconv_int.h: Likewise.
40525 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40526 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40527 from libc for GLIBC_2.16.
40528 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40529 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40530 * wcsmbs/uchar.h: Really define mbstate_t.
40531 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40532 * wcsmbs/c16rtomb.c: New file.
40533 * wcsmbs/mbrtoc16.c: New file.
40534 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40535 for C/POSIX locale.
40536 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40537 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40539 * wcsmbs/wchar.h: Add missing __restrict.
40541 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40544 * time/Makefile (routines): Add timespec_get.
40545 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40546 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40547 timespec for ISO C11.
40548 * time/timespec_get.c: New file.
40549 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40550 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40553 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40554 * stdlib/stdlib.h: Declare aligned_alloc.
40555 * Versions.def: Add GLIBC_2.16 for libc.
40556 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40559 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40562 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40566 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40569 * assert/assert.h (static_assert): Define.
40571 * version.h: Update for 2.16 development version.
40574 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40577 * version.h (RELEASE): Bump for 2.15 release.
40578 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40580 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40581 Patch by Marek Polacek <mpolacek@redhat.com>.
40583 * bits/byteswap.h: Protect long long constants with __extension__.
40584 * sysdeps/i386/bits/byteswap.h: Likewise.
40585 * sysdeps/ia64/bits/byteswap.h: Likewise.
40586 * sysdeps/s390/bits/byteswap.h: Likewise.
40587 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40589 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40592 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40593 destination buffer.
40594 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40596 2011-12-23 Marek Polacek <polacek@redhat.com>
40598 * elf/dl-addr.c (determine_info): Add inline keyword.
40599 * elf/tst-auditmod4b.c (check_avx): Likewise.
40600 * elf/tst-auditmod6b.c (check_avx): Likewise.
40601 * elf/tst-auditmod6c.c (check_avx): Likewise.
40602 * elf/tst-auditmod7b.c (check_avx): Likewise.
40604 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40606 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40609 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40612 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40613 processing for last bytes.
40615 2011-08-06 Bruno Haible <bruno@clisp.org>
40618 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40619 U+0385, not to U+1FEE.
40622 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40623 entry for U+00A5 U+0301.
40625 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40628 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40629 buffer for the output is too small.
40631 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40635 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40636 SSE flags if possible.
40638 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40641 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40642 processing for last bytes.
40644 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40646 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40647 (syscall-list-default-options, syscall-list-default-condition)
40648 (syscall-list-includes): Define.
40649 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40650 list of ABIs and options and #if conditions for each ABI. Do not
40651 handle common syscalls between ABIs specially.
40652 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40654 (syscall-list-variants, syscall-list-32bit-options)
40655 (syscall-list-32bit-condition, syscall-list-64bit-options)
40656 (syscall-list-64bit-condition): Define.
40657 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40658 (syscall-list-variants, syscall-list-32bit-options)
40659 (syscall-list-32bit-condition, syscall-list-64bit-options)
40660 (syscall-list-64bit-condition): Define.
40661 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40663 (syscall-list-variants, syscall-list-32bit-options)
40664 (syscall-list-32bit-condition, syscall-list-64bit-options)
40665 (syscall-list-64bit-condition): Define.
40666 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40668 (syscall-list-variants, syscall-list-32bit-options)
40669 (syscall-list-32bit-condition, syscall-list-64bit-options)
40670 (syscall-list-64bit-condition): Define.
40672 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40674 * locale/iso-639.def: Add brx entry.
40677 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40678 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40680 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40681 __feraiseexcept_renamed.
40683 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40686 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40687 EPOLLET with unsigned values.
40688 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40689 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40691 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40692 to large cancellation.
40693 * math/s_cacoshf.c: Likewise.
40694 * math/s_cacoshl.c: Likewise.
40696 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40700 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40701 * math/s_cacoshf.c: Likewise.
40702 * math/s_cacoshl.c: Likewise.
40704 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40707 * iconv/gconv.h: Define __GCONV_SWAP.
40708 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40709 * iconvdata/utf-16.c: Likewise.
40710 * iconvdata/utf-32.c: Likewise.
40712 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40715 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40716 numerator after shifting it by one limb.
40718 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40720 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40721 under [__USE_EXTERN_INLINES].
40723 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40726 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40728 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40730 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40731 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40733 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40734 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40735 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40736 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40737 for strncasecmp/strncasecmp_l compilation.
40738 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40739 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40741 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40744 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40747 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40750 * time/tzfile.c (__tzfile_read): Check values from file header.
40752 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40754 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40755 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40756 * powerpc/powerpc32/dl-start.S: Likewise.
40757 * powerpc/powerpc32/elf/start.S: Likewise.
40758 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40759 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40760 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40761 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40762 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40763 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40764 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40765 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40766 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40767 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40768 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40769 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40770 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40771 * powerpc/powerpc32/memset.S: Likewise.
40772 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40773 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40774 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40775 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40776 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40777 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40778 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40779 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40780 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40781 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40782 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40783 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40784 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40786 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40788 * math/libm-test.inc: Added more nearbyint tests.
40789 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40790 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40791 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40792 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40794 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40796 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40799 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40801 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40802 Add wcscpy-ssse3 wcscpy-c.
40803 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40804 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40805 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40806 * sysdeps/x86_64/wcschr.S: New file.
40807 * sysdeps/x86_64/wcsrchr.S: New file.
40808 * string/test-strcmp.c: Remove checking of wcscmp function for
40810 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40811 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40812 wcsrchr-sse2 wcsrchr-c.
40813 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40814 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40815 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40816 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40817 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40818 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40819 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40820 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40821 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40822 * wcsmbc/wcschr.c (WCSCHR): New macro.
40824 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40826 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40827 * wcsmbs/test-wcsrchr.c: New file.
40828 * string/test-strrchr.c: Add wcsrchr support.
40830 * wcsmbs/test-wcscpy.c: New file.
40831 * string/test-strcpy.c: Add wcscpy support.
40834 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40836 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40839 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40842 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40844 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40846 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40847 Minor optimizations.
40849 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40850 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40851 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40853 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40855 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40856 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40857 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40858 for gcc to avoid warnings.
40859 * inet/Makefile (tests): Add tst-checks.
40860 * inet/tst-checks.c: New file.
40862 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40865 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40868 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40869 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40871 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40873 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40875 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40878 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40880 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40882 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40883 conditional on GCC version.
40884 (__arch_compare_and_exchange_val_8_acq)
40885 (__arch_compare_and_exchange_val_16_acq)
40886 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40887 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40888 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40890 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40892 * sysdeps/sh/backtrace.c: New file.
40894 2011-12-02 Andreas Schwab <schwab@redhat.com>
40896 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40899 2011-12-01 Andreas Schwab <schwab@redhat.com>
40901 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40902 falling back to utime.
40904 2011-11-30 Andreas Schwab <schwab@redhat.com>
40906 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40907 expectations for float.
40909 2011-11-29 Andreas Schwab <schwab@redhat.com>
40911 * locale/weight.h (findidx): Add parameter len.
40912 * locale/weightwc.h (findidx): Likewise.
40913 * posix/fnmatch_loop.c (FCT): Adjust caller.
40914 * posix/regcomp.c (build_equiv_class): Likewise.
40915 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40916 * posix/regexec.c (check_node_accept_bytes): Likewise.
40917 * string/strcoll_l.c (STRCOLL): Likewise.
40918 * string/strxfrm_l.c (STRXFRM): Likewise.
40920 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40922 * Makefile.in: Remove CVSOPT handling.
40923 * configure.in: Remove use of AC_REVISION.
40924 * iconvdata/Makefile (distribute): No need to filter out CVS.
40925 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40928 2011-11-16 Andreas Schwab <schwab@redhat.com>
40930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40931 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40932 [USE_AS_STRNCASECMP_L]: Likewise.
40933 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40934 NO_TLS_DIRECT_SEG_REFS.
40935 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40936 Fix argument offsets for non-PIC.
40937 [USE_AS_STRNCASECMP_L]: Likewise.
40938 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40939 NO_TLS_DIRECT_SEG_REFS.
40941 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40943 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40945 * locale/loadlocale.c (_nl_load_locale): Likewise.
40947 2011-11-15 Andreas Schwab <schwab@redhat.com>
40949 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40950 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40951 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40952 (SYSCALL_GETTIME): Set errno on error.
40954 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40955 count references to noai6ai_cached.
40957 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40959 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40961 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40962 FD_CLOEXEC for /proc/self/maps.
40964 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40965 FD_CLOEXEC for /proc/meminfo.
40967 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40970 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40971 FD_CLOEXEC for given file.
40973 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40975 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40976 FD_CLOEXEC for /etc/hosts.
40977 (_gethtent): Likewise.
40979 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40981 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40982 cancellation and set FD_CLOEXEC for /etc/netgroup.
40984 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40985 reading /etc/publickey.
40987 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40988 allow cancellation when reading /etc/group.
40990 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40992 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40994 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40995 when using data file.
40997 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40999 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41000 (write_nis_obj): Use "c" and "e" in fopen.
41002 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41004 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41006 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41008 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41010 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41013 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41015 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41017 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41019 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41020 file parsing and set FD_CLOEXEC.
41022 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41024 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41026 2011-11-14 Andreas Schwab <schwab@redhat.com>
41028 * malloc/arena.c (arena_get2): Don't call reused_arena when
41029 _int_new_arena failed.
41031 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41033 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41034 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41035 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41036 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41037 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41038 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41039 to compile strcasecmp and strncasecmp.
41040 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41041 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41043 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41045 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41047 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41048 locale-defines.sym to gen-as-const-headers.
41049 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41050 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41052 to compile strcasecmp and strncasecmp.
41053 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41054 strcasecmp_l and strncasecmp_l.
41055 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41056 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41057 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41058 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41059 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41060 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41061 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41062 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41063 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41064 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41065 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41067 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41069 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41070 result of SYSDEP_GETTIME_CPU to retval.
41071 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41072 parameter list to macro. Remove trailing semicolon. Adjust users.
41074 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41077 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41079 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41081 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41082 from unused variable.
41084 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41086 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41089 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41092 * sunrpc/rpc_prot.c (rejected): Fix case value.
41094 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41095 unsigned long long int to avoid warnings in shift.
41097 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41099 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41102 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41103 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41104 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41106 * nis/nis_table.c (nis_list): Use variable of correct type for
41107 result of __follow_path call.
41109 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41111 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41112 of math functions ceil, trunc, floor, round, and sqrt, when
41113 avaliable on the platform.
41114 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41116 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41117 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41118 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41120 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41122 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41123 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41125 2011-11-11 Roland McGrath <roland@hack.frob.com>
41127 * include/unistd.h: Fix __readlink return type.
41128 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41130 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41132 * stdlib/ucontext.h: Undo last change for makecontext.
41134 2011-11-11 Andreas Schwab <schwab@redhat.com>
41136 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41138 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41139 * setjmp/setjmp.h: Mark functions as non-leaf.
41140 * setjmp/bits/setjmp2.h: Likewise.
41141 * stdlib/ucontext.h: Likewise.
41143 2011-11-10 Andreas Schwab <schwab@redhat.com>
41145 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41146 (reused_arena): Don't check arena limit.
41147 (arena_get2): Atomically check arena limit.
41149 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41151 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41152 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41157 2011-11-07 Andreas Schwab <schwab@redhat.com>
41159 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41160 handler when locking.
41162 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41163 Fix size of allocated buffer.
41165 2011-11-04 Andreas Schwab <schwab@redhat.com>
41168 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41169 declarations for long double functions.
41170 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41172 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41174 2011-11-03 Andreas Schwab <schwab@redhat.com>
41176 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41179 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41182 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41184 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41186 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41188 * include/alloca.h (stackinfo_alloca_round): Define.
41189 (extend_alloca): Use it.
41190 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41191 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41194 * scripts/check-local-headers.sh: Ignore libaudit.h.
41196 * nscd/Makefile (extra-objs): Make recursively expanded.
41198 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41200 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41201 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41203 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41204 * posix/tst-rfc3484-2.c: Likewise.
41205 * posix/tst-rfc3484-3.c: Likewise.
41207 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41209 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41211 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41212 process_vm_writev from libc using GLIBC_2.15 version.
41214 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41216 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41218 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41221 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41224 * nss/getent.c (initgroups_keys): Show error message in case no group
41227 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41228 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41229 __bump_nl_timestamp.
41230 * nscd/connections (nscd_init): When host database is served open
41231 netlink socket and request notification about configuration changes.
41232 (main_loop_poll): Track netlink file descriptor and bump timestamp
41233 in case data becomes available.
41234 (main_loop_epoll): Likewise.
41235 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41236 (database_pers_head): Add extra_data fileds.
41237 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41238 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41239 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41241 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41242 in6ai data, call __free_in6ai.
41243 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41244 Add -DHAVE_NETLINK.
41245 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41246 interface information. Reuse previous data if netlink timestamp
41248 (__bump_nl_timestamp): New function.
41249 (__free_in6ai): New function.
41251 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41253 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41254 close_not_cancel_no_status here.
41255 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41257 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41260 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41263 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41264 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41265 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41267 2011-07-03 Andreas Jaeger <aj@suse.de>
41270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41271 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41272 * math/libm-test.inc (sin_test): Add test case.
41274 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41277 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41278 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41280 * elf/chroot_canon.c (chroot_canon): Cleanups.
41282 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41285 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41286 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41288 * string/test-strchr.c: Make usable for strchrnul testing.
41289 * string/test-strchrnul.c: New file.
41290 * string/Makefile (strop-tests): Add strchrnul.
41292 * po/it.po: Update from translation team.
41293 * po/es.po: Likewise.
41295 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41297 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41298 the three constants needed as parameters. Drop the others.
41299 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41300 __m128i_strloadu_tolower.
41301 Create and initialize variable zero and use it in all the places
41302 where _mm_setzero_si128 was used.
41304 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41305 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41306 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41307 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41309 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41310 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41311 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41312 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41313 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41314 __mpranred, __mptan.
41315 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41316 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41317 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41318 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41319 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41320 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41321 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41322 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41323 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41325 2011-10-28 Andreas Schwab <schwab@redhat.com>
41327 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41328 redefine if SHARED.
41329 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41331 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41332 wide char related routines to wcsmbs subdir.
41334 2011-10-27 Andreas Schwab <schwab@redhat.com>
41337 * misc/sys/cdefs.h (__THROWNL): Define.
41338 * posix/unistd.h: Use __THREADNL instead of __THREAD
41339 for memory synchronization functions.
41341 2011-10-26 Roland McGrath <roland@hack.frob.com>
41344 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41346 * manual/stdio.texi (Obstack Streams): Node removed.
41348 2011-10-26 Andreas Schwab <schwab@redhat.com>
41350 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41351 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41352 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41354 * math/math_private.h (math_force_eval): Allow non-addressable
41356 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41358 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41360 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41361 file is not needed.
41363 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41364 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41365 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41366 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41367 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41368 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41369 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41370 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41372 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41373 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41374 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41375 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41376 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41377 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41378 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41379 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41380 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41381 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41382 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41383 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41384 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41385 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41386 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41387 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41388 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41389 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41390 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41392 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41393 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41395 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41396 place. Use VEX encoding when compiling for AVX.
41398 2011-10-25 Andreas Schwab <schwab@redhat.com>
41400 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41401 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41403 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41405 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41407 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41408 useless if() expression.
41409 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41410 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41411 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41412 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41413 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41414 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41415 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41416 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41417 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41418 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41419 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41420 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41421 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41422 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41423 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41424 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41425 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41426 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41427 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41429 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41431 2011-10-25 Andreas Schwab <schwab@redhat.com>
41433 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41435 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41437 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41439 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41440 .text section. Avoid duplicate constants.
41441 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41442 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41443 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41445 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41446 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41447 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41449 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41450 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41451 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41452 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41453 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41454 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41455 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41456 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41457 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41458 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41459 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41460 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41461 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41462 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41463 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41464 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41465 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41466 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41467 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41468 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41469 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41470 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41471 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41472 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41473 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41474 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41475 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41476 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41477 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41478 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41479 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41480 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41481 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41482 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41483 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41484 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41485 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41487 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41489 * sysdeps/x86_64/dla.h: Move to ...
41490 * sysdeps/x86_64/fpu/dla.h: ...here.
41491 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41492 situations. Use __builtin_fma only for gcc 4.6 and up.
41494 * config.make.in: Add have-mfma4 entry.
41495 * configure.in: Substitute libc_cv_cc_fma4.
41496 * math/Makefile (dbl-only-routines): Add sincostab.
41497 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41498 Use __sincostab not sincos.
41499 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41506 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41507 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41508 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41509 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41511 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41512 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41514 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41515 define aliases when function name is a macro.
41516 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41517 sysdeps/ieee754/dbl-64/sincos.tbl.
41518 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41519 fma4-enabled routines.
41520 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41521 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41522 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41523 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41524 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41525 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41526 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41527 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41528 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41529 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41530 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41531 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41532 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41533 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41534 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41535 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41536 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41537 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41538 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41539 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41540 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41541 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41542 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41543 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41544 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41545 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41547 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41548 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41549 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41551 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41554 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41555 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41557 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41558 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41559 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41560 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41562 2011-10-24 Andreas Schwab <schwab@redhat.com>
41564 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41566 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41568 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41570 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41572 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41574 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41575 Remove unused variable magic_bits.
41576 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41578 * string/strnlen.c: Define and use STRNLEN macro.
41579 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41580 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41581 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41582 * wcsmbs/wcslen.c: Define and use WCSLEN.
41583 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41584 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41585 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41586 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41587 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41588 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41589 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41591 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41594 strnlen-sse2-no-bsf.
41595 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41596 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41597 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41598 Add strnlen support.
41599 (USE_AS_STRNLEN): New macro.
41600 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41601 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41602 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41603 * sysdeps/x86_64/wcslen.S: New file.
41605 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41607 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41608 XMM-moves are used for copying on small sizes.
41610 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41612 * wcsmbs/Makefile (strop-tests): Add wcschr.
41613 * wcsmbs/test-wcschr.c: New file.
41614 * string/test-strchr.c: Update.
41615 Add wcschr support.
41618 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41620 * wcsmbs/Makefile (strop-tests): Add wcslen.
41621 * wcsmbs/test-wcslen.c: New file.
41622 * string/test-strlen.c: Update.
41623 Add wcslen support.
41626 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41628 * po/it.po: Update from translation team.
41630 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41632 * sysdeps/x86_64/wcscmp.S: Update.
41633 Fix wrong comparison semantics.
41634 wcscmp shall use signed comparison not unsigned.
41635 Don't use substraction to avoid overflow bug.
41636 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41637 * wcsmbc/wcscmp.c: Likewise.
41638 * string/test-strcmp.c: Likewise.
41639 Add new tests to check cases with negative values.
41641 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41643 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41644 * sysdeps/x86_64/dla.h: ...here. New file.
41645 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41646 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41649 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41650 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41652 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41653 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41655 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41657 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41658 __ynl_finite aliases.
41660 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41664 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41666 [DLA_FMA] (EMULV): Use DLA_FMA.
41667 [DLA_FMA] (MUL12): Use EMULV.
41668 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41669 that are not needed.
41670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41671 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41672 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41673 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41674 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41675 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41676 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41678 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41680 * math/s_nan.c: Undef __nan.
41681 * math/s_nanf.c: Undef __nanf.
41682 * math/s_nanl.c: Undef __nanl.
41683 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41686 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41688 * math/s_catan.c: Add branch predictions.
41689 * math/s_catanf.c: Likewise.
41690 * math/s_catanh.c: Likewise.
41691 * math/s_catanhf.c: Likewise.
41692 * math/s_catanhl.c: Likewise.
41693 * math/s_catanl.c: Likewise.
41694 * math/s_cexp.c: Likewise.
41695 * math/s_cexpf.c: Likewise.
41696 * math/s_cexpl.c: Likewise.
41697 * math/s_clog.c: Likewise.
41698 * math/s_clog10.c: Likewise.
41699 * math/s_clog10f.c: Likewise.
41700 * math/s_clog10l.c: Likewise.
41701 * math/s_clogf.c: Likewise.
41702 * math/s_clogl.c: Likewise.
41703 * math/s_csqrt.c: Likewise.
41704 * math/s_csqrtf.c: Likewise.
41705 * math/s_csqrtl.c: Likewise.
41706 * math/s_ctanf.c: Likewise.
41707 * math/s_ctanh.c: Likewise.
41708 * math/s_ctanhf.c: Likewise.
41709 * math/s_ctanhl.c: Likewise.
41710 * math/s_ctanl.c: Likewise.
41712 * math/math_private.h: Define __nan, __nanf, __nanl.
41713 * math/s_cacosh.c: Include <math_private.h>.
41714 * math/s_cacoshl.c: Likewise.
41715 * math/s_casinh.c: Likewise.
41716 * math/s_casinhf.c: Likewise.
41717 * math/s_casinhl.c: Likewise.
41718 * math/s_ccos.c: Rely entire on ccosh.
41719 * math/s_ccosf.c: Rely entire on ccoshf.
41720 * math/s_ccosl.c: Rely entirely on ccoshl.
41721 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41722 Remove tests for FE_INVALID.
41723 * math/s_ccoshf.c: Likewise.
41724 * math/s_ccoshl.c: Likewise.
41725 * math/s_csin.c: Likewise.
41726 * math/s_csinf.c: Likewise.
41727 * math/s_csinh.c Likewise.
41728 * math/s_csinhf.c: Likewise.
41729 * math/s_csinhl.c: Likewise.
41730 * math/s_csinl.c: Likewise.
41731 * math/s_ctan.c: Likewise.
41732 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41733 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41734 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41736 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41739 compilation problems.
41741 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41744 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41746 * sysdeps/i386/configure.in: Test for -mfma4 option.
41747 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41748 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41749 COMMON_CPUID_INDEX_80000001.
41750 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41751 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41752 use it if FMA3 is not supported.
41753 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41755 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41756 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41758 2011-10-20 Andreas Schwab <schwab@redhat.com>
41761 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41762 it would create a cycle with a link time dependency.
41764 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41766 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41768 * string/Makefile (strop-tests): Add rawmemchr.
41769 * string/test-rawmemchr.c: New file.
41771 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41772 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41773 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41774 when compiling str{,n}casecmp and when AVX is available. Hook up
41775 new optimized code in initializers.
41777 2011-10-19 Andreas Schwab <schwab@redhat.com>
41779 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41780 __feraiseexcept instead of feraiseexcept.
41782 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41784 * math/math_private.h: Define defaults for libc_fetestexcept and
41786 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41787 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41788 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41789 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41790 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41791 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41792 libc_fetestexcept and libc_feupdateenv.
41794 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41795 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41796 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41797 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41798 libc_feholdexcept_setround.
41800 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41801 Add s_nearbyint-c and s_nearbyintf-c.
41802 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41803 nearbyintf inlines.
41804 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41805 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41806 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41807 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41809 * math/math_private.h: Define defaults for libc_fegetround,
41810 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41811 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41812 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41813 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41814 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41815 standard functions.
41816 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41817 Remove comments and hacks for old compiler versions.
41818 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41819 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41820 libc_feholdexceptl.
41822 2011-10-18 Andreas Schwab <schwab@redhat.com>
41824 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41825 (__feraiseexcept_renamed): Add __NTH.
41826 (feraiseexcept): Add __NTH. Rename local variables to fix
41827 namespace violations.
41829 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41831 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41833 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41835 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41836 recently added interfaces.
41837 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41839 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41840 about macro parameter expansion.
41842 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41843 __NO_MATH_INLINES is defined. Cleanups.
41845 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41846 and __floorf is target has SSE4.1.
41847 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41848 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41849 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41850 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41852 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41854 (floorf): Likewise.
41856 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41858 2011-10-17 Andreas Schwab <schwab@redhat.com>
41860 * misc/sys/cdefs.h: Fix last change.
41862 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41865 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41867 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41869 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41870 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41871 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41872 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41873 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41874 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41875 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41876 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41877 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41878 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41879 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41880 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41881 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41882 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41883 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41884 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41885 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41886 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41887 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41888 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41889 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41890 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41892 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41893 ceil, ceilf, floor, floorf.
41895 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41896 Perform IRELATIVE relocations last.
41898 * elf/do-rel.h: Add another parameter nrelative, replacing the
41899 local variable with the same name. Change name of the function
41900 to end in Rel or Rela (uppercase).
41901 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41902 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41903 elf_dynamic_do_##reloc function.
41905 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41907 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41908 is sufficient, at least on modern CPUs.
41910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41912 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41913 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41915 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41917 * math/bits/math-finite.h: Add entries for exp.
41918 * math/e_expl.c: Add __*_finite alias.
41919 * sysdeps/i386/fpu/e_exp.S: Likewise.
41920 * sysdeps/i386/fpu/e_expf.S: Likewise.
41921 * sysdeps/i386/fpu/e_expl.c: Likewise.
41922 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41923 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41924 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41925 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41926 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41927 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41928 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41930 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41931 is sufficient, at least on modern CPUs.
41933 * ctype/ctype-info.c (__ctype_init): Define.
41934 * include/ctype.h (__ctype_init): Declare.
41935 (__ctype_b_loc): The variable is always initialized.
41936 (__ctype_toupper_loc): Likewise.
41937 (__ctype_tolower_loc): Likewise.
41938 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41939 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41941 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41943 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41945 * configure.in: Also look in $cxxmachine/include for C++ system
41948 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41950 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41951 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41952 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41953 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41954 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41955 (USE_AS_WMEMCMP): New macro.
41957 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41958 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41959 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41960 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41962 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41963 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41964 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41965 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41966 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41967 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41968 (USE_AS_WMEMCMP): New macro.
41969 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41970 * sysdeps/string/test-memcmp.c: Update.
41971 Fix simple_wmemcmp.
41973 * wcsmbs/wmemcmp.c: Update.
41974 (WMEMCMP): New macro.
41977 2011-10-12 Andreas Jaeger <aj@suse.de>
41980 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41982 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41984 * libio/iofwide.c (do_length): Avoid warning.
41986 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41988 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41990 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41992 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41993 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41994 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41995 * sysdeps/i386/i686/fpu/e_log.S: New file.
41996 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41997 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41999 * ctype/ctype.h: Add support for inlined isXXX functions when
42000 compiling C++ code.
42002 2011-10-14 Andreas Schwab <schwab@redhat.com>
42004 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42006 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42008 2011-10-13 Roland McGrath <roland@hack.frob.com>
42011 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42013 2011-10-13 Andreas Schwab <schwab@redhat.com>
42015 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42016 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42019 * sysdeps/x86_64/memrchr.S: Check for zero size.
42021 * string/stratcliff.c: Add memrchr tests.
42023 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42026 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42027 rawmemchr-sse2 rawmemchr-sse2-bsf.
42028 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42029 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42030 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42031 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42032 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42033 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42034 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42035 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42036 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42037 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42038 * string/memrchr.c (MEMRCHR): New macro.
42040 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42042 Add integration with gcc's -ffinite-math-only and optimize wrapper
42044 * Versions.def: Define GLIBC_2.15 version for libm.
42045 * math/Makefile (headers): Add bits/math-finite.h.
42046 * math/bits/math-finite.h: New file.
42047 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42048 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42049 * math/e_acoshl.c: Add __*_finite alias.
42050 * math/e_acosl.c: Likewise.
42051 * math/e_asinl.c: Likewise.
42052 * math/e_atan2l.c: Likewise.
42053 * math/e_atanhl.c: Likewise.
42054 * math/e_coshl.c: Likewise.
42055 * math/e_exp10.c: Likewise.
42056 * math/e_exp10f.c: Likewise.
42057 * math/e_exp10l.c: Likewise.
42058 * math/e_exp2l.c: Likewise.
42059 * math/e_fmodl.c: Likewise.
42060 * math/e_gammal_r.c: Likewise.
42061 * math/e_hypotl.c: Likewise.
42062 * math/e_j0l.c: Likewise.
42063 * math/e_j1l.c: Likewise.
42064 * math/e_jnl.c: Likewise.
42065 * math/e_lgammal_r.c: Likewise.
42066 * math/e_log10l.c: Likewise.
42067 * math/e_log2l.c: Likewise.
42068 * math/e_logl.c: Likewise.
42069 * math/e_powl.c: Likewise.
42070 * math/e_sinhl.c: Likewise.
42071 * math/e_sqrtl.c: Likewise.
42072 * math/e_scalb.c: Completely rewritten and optimized.
42073 * math/e_scalbf.c: Likewise.
42074 * math/e_scalbl.c: Likewise.
42075 * math/w_acos.c: Likewise.
42076 * math/w_acosf.c: Likewise.
42077 * math/w_acosl.c: Likewise.
42078 * math/w_acosh.c: Likewise.
42079 * math/w_acoshf.c: Likewise.
42080 * math/w_acoshl.c: Likewise.
42081 * math/w_asin.c: Likewise.
42082 * math/w_asinf.c: Likewise.
42083 * math/w_asinl.c: Likewise.
42084 * math/w_atan2.c: Likewise.
42085 * math/w_atan2f.c: Likewise.
42086 * math/w_atan2l.c: Likewise.
42087 * math/w_atanh.c: Likewise.
42088 * math/w_atanhf.c: Likewise.
42089 * math/w_atanhl.c: Likewise.
42090 * math/w_exp10.c: Likewise.
42091 * math/w_exp10f.c: Likewise.
42092 * math/w_exp10l.c: Likewise.
42093 * math/w_fmod.c: Likewise.
42094 * math/w_fmodf.c: Likewise.
42095 * math/w_fmodl.c: Likewise.
42096 * math/w_j0.c: Likewise.
42097 * math/w_j0f.c: Likewise.
42098 * math/w_j0l.c: Likewise.
42099 * math/w_j1.c: Likewise.
42100 * math/w_j1f.c: Likewise.
42101 * math/w_j1l.c: Likewise.
42102 * math/w_jn.c: Likewise.
42103 * math/w_jnf.c: Likewise.
42104 * math/w_log.c: Likewise.
42105 * math/w_logf.c: Likewise.
42106 * math/w_logl.c: Likewise.
42107 * math/w_log10.c: Likewise.
42108 * math/w_log10f.c: Likewise.
42109 * math/w_log10l.c: Likewise.
42110 * math/w_log2.c: Likewise.
42111 * math/w_log2f.c: Likewise.
42112 * math/w_log2l.c: Likewise.
42113 * math/w_pow.c: Likewise.
42114 * math/w_powf.c: Likewise.
42115 * math/w_powl.c: Likewise.
42116 * math/w_remainder.c: Likewise.
42117 * math/w_remainderf.c: Likewise.
42118 * math/w_remainderl.c: Likewise.
42119 * math/w_scalb.c: Likewise.
42120 * math/w_scalbf.c: Likewise.
42121 * math/w_scalbl.c: Likewise.
42122 * math/w_sqrt.c: Likewise.
42123 * math/w_sqrtf.c: Likewise.
42124 * math/w_sqrtl.c: Likewise.
42125 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42126 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42128 * math/math_private.h: Declare __kernel_standard_f.
42129 * math/w_cosh.c: Remove cruft and optimize a bit.
42130 * math/w_coshf.c: Likewise.
42131 * math/w_coshl.c: Likewise.
42132 * math/w_exp2.c: Likewise.
42133 * math/w_exp2f.c: Likewise.
42134 * math/w_exp2l.c: Likewise.
42135 * math/w_hypot.c: Likewise.
42136 * math/w_hypotf.c: Likewise.
42137 * math/w_hypotl.c: Likewise.
42138 * math/w_lgamma.c: Likewise.
42139 * math/w_lgamma_r.c: Likewise.
42140 * math/w_lgammaf.c: Likewise.
42141 * math/w_lgammaf_r.c: Likewise.
42142 * math/w_lgammal.c: Likewise.
42143 * math/w_lgammal_r.c: Likewise.
42144 * math/w_sinh.c: Likewise.
42145 * math/w_sinhf.c: Likewise.
42146 * math/w_sinhl.c: Likewise.
42147 * math/w_tgamma.c: Likewise.
42148 * math/w_tgammaf.c: Likewise.
42149 * math/w_tgammal.c: Likewise.
42150 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42151 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42152 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42153 Minor optimizations. Pretty printing. Remove cruft.
42154 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42155 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42156 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42157 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42158 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42159 * sysdeps/i386/fpu/e_asin.S: Likewise.
42160 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42161 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42162 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42163 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42164 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42165 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42166 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42167 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42168 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42169 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42170 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42171 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42172 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42173 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42174 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42175 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42176 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42177 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42178 * sysdeps/i386/fpu/e_log.S: Likewise.
42179 * sysdeps/i386/fpu/e_log10.S: Likewise.
42180 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42181 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42182 * sysdeps/i386/fpu/e_log2.S: Likewise.
42183 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42184 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42185 * sysdeps/i386/fpu/e_logf.S: Likewise.
42186 * sysdeps/i386/fpu/e_logl.S: Likewise.
42187 * sysdeps/i386/fpu/e_pow.S: Likewise.
42188 * sysdeps/i386/fpu/e_powf.S: Likewise.
42189 * sysdeps/i386/fpu/e_powl.S: Likewise.
42190 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42191 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42192 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42193 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42194 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42195 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42196 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42197 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42198 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42199 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42200 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42201 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42202 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42203 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42204 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42205 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42206 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42207 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42208 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42209 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42210 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42212 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42213 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42215 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42216 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42217 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42218 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42219 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42220 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42221 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42222 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42223 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42224 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42225 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42226 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42227 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42228 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42229 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42230 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42231 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42232 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42233 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42234 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42235 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42236 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42237 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42238 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42239 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42240 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42241 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42242 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42244 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42245 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42247 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42248 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42249 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42250 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42251 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42252 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42253 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42254 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42255 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42256 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42257 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42258 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42259 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42260 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42261 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42262 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42263 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42264 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42265 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42266 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42267 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42268 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42269 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42270 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42271 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42272 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42273 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42275 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42276 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42277 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42278 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42279 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42280 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42281 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42282 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42283 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42284 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42285 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42286 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42287 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42288 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42289 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42290 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42291 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42292 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42293 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42294 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42295 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42296 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42297 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42298 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42299 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42300 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42301 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42302 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42303 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42304 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42305 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42306 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42307 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42308 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42309 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42310 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42311 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42312 (__isnanf): Likewise.
42313 (__isinf_ns): Likewise.
42314 (__isinf_nsf): Likewise.
42315 (__finite): Likewise.
42316 (__finitef): Likewise.
42317 (__ieee754_sqrt): Define as macro.
42318 (__ieee754_sqrtf): Define as macro.
42319 (__ieee754_sqrtl): Define as macro.
42320 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42322 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42323 __FINITE_MATH_ONLY__ consistent.
42324 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42326 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42328 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42331 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42333 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42335 * po/ja.po: Update from translation team.
42337 2011-10-08 Roland McGrath <roland@hack.frob.com>
42339 * locale/programs/locarchive.c (prepare_address_space): New function.
42340 (create_archive, enlarge_archive, open_archive): Use it.
42342 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42343 inside [SHARED], where it is used.
42345 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42347 * nss/getent.c (netgroup_keys): Remove unused variable.
42348 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42350 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42352 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42353 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42355 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42356 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42357 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42358 * math/Makefile (libm-calls): Add s_isinf_ns.
42359 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42360 * math/multc3.c: Likewise.
42361 * math/s_casin.c: Likewise.
42362 * math/s_casinf.c: Likewise.
42363 * math/s_casinl.c: Likewise.
42364 * math/s_ccos.c: Likewise.
42365 * math/s_ccosf.c: Likewise.
42366 * math/s_ccosl.c: Likewise.
42367 * math/s_ctan.c: Likewise.
42368 * math/s_ctanf.c: Likewise.
42369 * math/s_ctanh.c: Likewise.
42370 * math/s_ctanhf.c: Likewise.
42371 * math/s_ctanhl.c: Likewise.
42372 * math/s_ctanl.c: Likewise.
42373 * math/w_fmod.c: Likewise.
42374 * math/w_fmodf.c: Likewise.
42375 * math/w_fmodl.c: Likewise.
42376 * math/w_remainder.c: Likewise.
42377 * math/w_remainderf.c: Likewise.
42378 * math/w_remainderl.c: Likewise.
42379 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42380 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42381 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42382 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42383 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42384 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42385 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42386 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42388 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42390 * stdio-common/printf_fphex.c: Likewise.
42391 * stdio-common/printf_size.c: Likewise.
42393 * math/e_exp10.c: Include math_private.h using <...> not "...".
42394 * math/e_exp10f.c: Likewise.
42395 * math/e_exp10l.c: Likewise.
42396 * math/e_exp2l.c: Likewise.
42397 * math/e_j0l.c: Likewise.
42398 * math/e_j1l.c: Likewise.
42399 * math/e_jnl.c: Likewise.
42400 * math/e_lgammal_r.c: Likewise.
42401 * math/e_rem_pio2l.c: Likewise.
42402 * math/e_scalb.c: Likewise.
42403 * math/e_scalbf.c: Likewise.
42404 * math/e_scalbl.c: Likewise.
42405 * math/k_cosl.c: Likewise.
42406 * math/k_sinl.c: Likewise.
42407 * math/k_tanl.c: Likewise.
42408 * math/s_cacoshf.c: Likewise.
42409 * math/s_catan.c: Likewise.
42410 * math/s_catanf.c: Likewise.
42411 * math/s_catanh.c: Likewise.
42412 * math/s_catanhf.c: Likewise.
42413 * math/s_catanhl.c: Likewise.
42414 * math/s_catanl.c: Likewise.
42415 * math/s_ccosh.c: Likewise.
42416 * math/s_ccoshf.c: Likewise.
42417 * math/s_ccoshl.c: Likewise.
42418 * math/s_cexp.c: Likewise.
42419 * math/s_cexpf.c: Likewise.
42420 * math/s_cexpl.c: Likewise.
42421 * math/s_clog.c: Likewise.
42422 * math/s_clog10.c: Likewise.
42423 * math/s_clog10f.c: Likewise.
42424 * math/s_clog10l.c: Likewise.
42425 * math/s_clogf.c: Likewise.
42426 * math/s_clogl.c: Likewise.
42427 * math/s_csin.c: Likewise.
42428 * math/s_csinf.c: Likewise.
42429 * math/s_csinh.c: Likewise.
42430 * math/s_csinhf.c: Likewise.
42431 * math/s_csinhl.c: Likewise.
42432 * math/s_csinl.c: Likewise.
42433 * math/s_csqrt.c: Likewise.
42434 * math/s_csqrtf.c: Likewise.
42435 * math/s_csqrtl.c: Likewise.
42436 * math/s_ctan.c: Likewise.
42437 * math/s_ctanf.c: Likewise.
42438 * math/s_ctanh.c: Likewise.
42439 * math/s_ctanhf.c: Likewise.
42440 * math/s_ctanhl.c: Likewise.
42441 * math/s_ctanl.c: Likewise.
42442 * math/s_ldexp.c: Likewise.
42443 * math/s_ldexpf.c: Likewise.
42444 * math/s_ldexpl.c: Likewise.
42445 * math/s_significand.c: Likewise.
42446 * math/s_significandf.c: Likewise.
42447 * math/s_significandl.c: Likewise.
42448 * math/w_acos.c: Likewise.
42449 * math/w_acosf.c: Likewise.
42450 * math/w_acosh.c: Likewise.
42451 * math/w_acoshf.c: Likewise.
42452 * math/w_acoshl.c: Likewise.
42453 * math/w_acosl.c: Likewise.
42454 * math/w_asin.c: Likewise.
42455 * math/w_asinf.c: Likewise.
42456 * math/w_asinl.c: Likewise.
42457 * math/w_atan2.c: Likewise.
42458 * math/w_atan2f.c: Likewise.
42459 * math/w_atan2l.c: Likewise.
42460 * math/w_atanh.c: Likewise.
42461 * math/w_atanhf.c: Likewise.
42462 * math/w_atanhl.c: Likewise.
42463 * math/w_cosh.c: Likewise.
42464 * math/w_coshf.c: Likewise.
42465 * math/w_coshl.c: Likewise.
42466 * math/w_dremf.c: Likewise.
42467 * math/w_exp10.c: Likewise.
42468 * math/w_exp10f.c: Likewise.
42469 * math/w_exp10l.c: Likewise.
42470 * math/w_exp2.c: Likewise.
42471 * math/w_exp2f.c: Likewise.
42472 * math/w_fmod.c: Likewise.
42473 * math/w_fmodf.c: Likewise.
42474 * math/w_fmodl.c: Likewise.
42475 * math/w_hypot.c: Likewise.
42476 * math/w_hypotf.c: Likewise.
42477 * math/w_hypotl.c: Likewise.
42478 * math/w_j0.c: Likewise.
42479 * math/w_j0f.c: Likewise.
42480 * math/w_j0l.c: Likewise.
42481 * math/w_j1.c: Likewise.
42482 * math/w_j1f.c: Likewise.
42483 * math/w_j1l.c: Likewise.
42484 * math/w_jn.c: Likewise.
42485 * math/w_jnf.c: Likewise.
42486 * math/w_jnl.c: Likewise.
42487 * math/w_lgamma.c: Likewise.
42488 * math/w_lgamma_r.c: Likewise.
42489 * math/w_lgammaf.c: Likewise.
42490 * math/w_lgammaf_r.c: Likewise.
42491 * math/w_lgammal.c: Likewise.
42492 * math/w_lgammal_r.c: Likewise.
42493 * math/w_log.c: Likewise.
42494 * math/w_log10.c: Likewise.
42495 * math/w_log10f.c: Likewise.
42496 * math/w_log10l.c: Likewise.
42497 * math/w_log2.c: Likewise.
42498 * math/w_log2f.c: Likewise.
42499 * math/w_log2l.c: Likewise.
42500 * math/w_logf.c: Likewise.
42501 * math/w_logl.c: Likewise.
42502 * math/w_pow.c: Likewise.
42503 * math/w_powf.c: Likewise.
42504 * math/w_powl.c: Likewise.
42505 * math/w_remainder.c: Likewise.
42506 * math/w_remainderf.c: Likewise.
42507 * math/w_remainderl.c: Likewise.
42508 * math/w_scalb.c: Likewise.
42509 * math/w_scalbf.c: Likewise.
42510 * math/w_scalbl.c: Likewise.
42511 * math/w_sinh.c: Likewise.
42512 * math/w_sinhf.c: Likewise.
42513 * math/w_sinhl.c: Likewise.
42514 * math/w_sqrt.c: Likewise.
42515 * math/w_sqrtf.c: Likewise.
42516 * math/w_sqrtl.c: Likewise.
42517 * math/w_tgamma.c: Likewise.
42518 * math/w_tgammaf.c: Likewise.
42519 * math/w_tgammal.c: Likewise.
42521 * po/ja.po: Update from translation team.
42523 2011-09-29 Andreas Jaeger <aj@suse.de>
42526 * sunrpc/netname.c (netname2host): Fix logic.
42530 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42532 * math/w_remainder.c (__remainder): Likewise.
42533 * math/w_remainderf.c (__remainderf): Likewise.
42534 * math/libm-test.inc (remainder_test): Add test cases.
42536 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42538 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42541 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42543 * string/test-memcmp.c: Avoid unncessary #defines.
42544 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42546 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42548 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42549 Use new sse2 version for core i3 - i7 as it's faster
42550 than sse42 version.
42551 (bit_Prefer_PMINUB_for_stringop): New.
42552 * sysdeps/x86_64/rawmemchr.S: Update.
42553 Replace with faster SSE2 version.
42554 * sysdeps/x86_64/memrchr.S: New file.
42555 * sysdeps/x86_64/memchr.S: Update.
42556 Replace with faster SSE2 version.
42558 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42560 * elf/dl-load.c (lose): Add cast to avoid warning.
42562 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42564 * po/ca.po: Update from translation team.
42566 * inet/getnetgrent_r.c: Hook up nscd.
42567 * nscd/Makefile (routines): Add nscd_netgroup.
42568 (nscd-modules): Add netgroupcache.
42569 (CFLAGS-netgroupcache.c): Define.
42570 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42571 (cache_search): Add const to second parameter.
42572 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42574 (dbs): Add netgrdb entry.
42575 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42576 (verify_persistent_db): Handle netgrdb.
42577 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42578 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42580 (netgroup_response_header): Define.
42581 (innetgroup_response_header): Define.
42582 (datahead): Add netgroup_response_header and innetgroup_response_header
42584 * nscd/nscd.conf: Add entries for netgroup cache.
42585 * nscd/nscd.h (dbtype): Add netgrdb.
42586 (_PATH_NSCD_NETGROUP_DB): Define.
42587 (netgroup_iov_disabled): Declare.
42588 (xmalloc, xcalloc, xrealloc): Move declarations here.
42589 (cache_search): Adjust prototype.
42590 Add netgroup-related prototypes.
42591 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42592 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42593 (__nscd_innetgr): Declare.
42594 * nscd/selinux.c (perms): Use access_vector_t as element type and
42595 add netgroup-related initializers.
42596 * nscd/netgroupcache.c: New file.
42597 * nscd/nscd_netgroup.c: New file.
42598 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42599 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42600 For four parameters use innetgr.
42601 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42602 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42603 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42604 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42606 * nscd/connections.c (register_traced_file): Don't register file
42607 for disabled databases.
42609 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42611 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42613 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42614 from tree and freeing node.
42616 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42618 * nss/nsswitch.c (__nss_database_lookup): Handle
42619 nss_parse_service_list out of memory case.
42621 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42623 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42624 out of memory case.
42626 2011-10-04 Andreas Schwab <schwab@redhat.com>
42628 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42629 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42631 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42632 elf_machine_rela, elf_machine_lazy_rel.
42633 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42634 (ELF_DYNAMIC_DO_REL): Likewise.
42635 (ELF_DYNAMIC_DO_RELA): Likewise.
42636 (ELF_DYNAMIC_RELOCATE): Likewise.
42637 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42638 to ELF_DYNAMIC_DO_REL.
42639 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42640 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42641 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42643 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42644 skip_ifunc, don't call ifunc function if non-zero.
42645 (elf_machine_rela): Likewise.
42646 (elf_machine_lazy_rel): Likewise.
42647 (elf_machine_lazy_rela): Likewise.
42648 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42649 (elf_machine_lazy_rel): Likewise.
42650 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42652 (elf_machine_lazy_rel): Likewise.
42653 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42655 (elf_machine_lazy_rel): Likewise.
42656 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42657 (elf_machine_lazy_rel): Likewise.
42658 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42659 (elf_machine_lazy_rel): Likewise.
42660 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42661 (elf_machine_lazy_rel): Likewise.
42662 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42663 (elf_machine_lazy_rel): Likewise.
42664 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42665 (elf_machine_lazy_rel): Likewise.
42666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42667 (elf_machine_lazy_rel): Likewise.
42669 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42671 * nss/nss_files/files-init.c (_nss_files_init): Use static
42672 initialization for all the *_traced_file variables.
42674 2011-09-28 Andreas Schwab <schwab@redhat.com>
42676 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42678 2011-09-27 Roland McGrath <roland@hack.frob.com>
42681 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42683 2011-09-27 Andreas Schwab <schwab@redhat.com>
42685 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42686 Reread the line before reparsing it.
42688 2011-09-26 Andreas Schwab <schwab@redhat.com>
42690 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42692 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42693 Maxim Kuvyrkov <maxim@codesourcery.com>
42694 Joseph Myers <joseph@codesourcery.com>
42696 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42697 if needed for __stack_chk_guard.
42699 2011-09-19 Roland McGrath <roland@hack.frob.com>
42701 * sysdeps/posix/spawni.c (script_execute): Always define it.
42702 It will be optimized away if unused.
42703 (maybe_script_execute): New function.
42704 (__spawni): Call it.
42706 * Makerules: Don't include tls.make.
42707 (config-tls): Always set to thread.
42708 * tls.make.c: File removed.
42710 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42712 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42713 * config.make.in (CPPFLAGS-config): New substituted variable.
42715 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42717 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42720 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42721 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42723 2011-09-15 Roland McGrath <roland@hack.frob.com>
42725 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42726 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42727 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42728 (CALL_FAIL): Likewise.
42729 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42730 (CALL_FAIL): Macro removed.
42731 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42733 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42735 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42736 for __FINITE_MATH_ONLY__ == 1.
42738 2011-09-15 Andreas Schwab <schwab@redhat.com>
42740 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42741 __ieee754_sqrt instead of sqrt.
42742 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42743 __ieee754_sqrtf instead of sqrtf.
42744 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42745 __floorf instead of floorf.
42746 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42747 __floorf, __truncf instead of floorf, truncf.
42749 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42751 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42753 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42754 __extern_always_inline.
42755 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42758 2011-09-14 Andreas Schwab <schwab@redhat.com>
42760 * elf/rtld.c (dl_main): Also relocate in dependency order when
42761 doing symbol dependency testing.
42763 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42765 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42766 Always define `refsym'.
42768 2011-09-13 Andreas Schwab <schwab@redhat.com>
42770 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42771 (__FD_ELT): Renamed from __FDELT.
42772 * misc/bits/select2.h (__FD_ELT): Likewise.
42773 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42774 __FD_MASK instead of __FDELT, __FDMASK.
42775 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42777 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42780 * elf/Makefile (gen-ldd): Fix pattern.
42782 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42783 (init_tls): Likewise.
42785 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42787 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42789 2011-09-12 Andreas Schwab <schwab@redhat.com>
42791 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42792 `struct cmsghdr *' instead of `void *'.
42793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42796 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42798 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42800 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42801 ldd_rewrite_script.
42803 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42805 * configure.in: Remove --with-tls option.
42806 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42807 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42808 out in case it is missing.
42809 * sysdeps/ia64/elf/configure.in: Likewise.
42810 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42811 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42812 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42813 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42814 * sysdeps/sh/elf/configure.in: Likewise.
42815 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42816 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42817 * sysdeps/x86_64/elf/configure.in: Likewise.
42818 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42819 * sysdeps/mach/hurd/tls.h: Likewise.
42822 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42825 * configure.in: Fix use of AC_INIT.
42827 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42829 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42831 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42833 * malloc/hooks.c: Likewise.
42836 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42837 variables statically.
42838 (narenas): Initialize.
42839 (list_lock): Initialize.
42840 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42841 initializtion of main_arena and list_lock. Small cleanups.
42842 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42843 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42844 Add initializers to main_arena and mp_.
42845 (malloc_state): Remove pagesize member. Change all users to use
42848 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42849 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42850 is always initialized.
42852 * malloc/malloc.c: Removed unused configurations and dead code.
42853 * malloc/arena.c: Likewise.
42854 * malloc/hooks.c: Likewise.
42855 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42857 * include/tls.h: Removed. USE___THREAD must always be defined.
42858 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42859 * elf/dl-libc.c: Likewise.
42860 * elf/dl-tsd.c: Likewise.
42861 * include/errno.h: Likewise.
42862 * include/netdb.h: Likewise.
42863 * include/resolv.h: Likewise.
42864 * inet/herrno-loc.c: Likewise.
42865 * inet/herrno.c: Likewise.
42866 * malloc/arena.c: Likewise.
42867 * malloc/hooks.c: Likewise.
42868 * malloc/malloc.c: Likewise.
42869 * resolv/res-state.c: Likewise.
42870 * resolv/res_libc.c: Likewise.
42871 * sysdeps/i386/dl-machine.h: Likewise.
42872 * sysdeps/ia64/dl-machine.h: Likewise.
42873 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42874 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42875 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42876 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42877 * sysdeps/sh/dl-machine.h: Likewise.
42878 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42879 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42880 * sysdeps/unix/i386/sysdep.S: Likewise.
42881 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42882 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42887 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42891 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42892 * sysdeps/x86_64/dl-machine.h: Likewise.
42893 * tls.make.c: Likewise.
42895 * configure.in: Remove --with-__thread option. Make tests for
42896 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42897 tls_model attribute fail if no support is available. Remove
42899 * Makeconfig: Adjust for dropped configure option. All features are
42901 * Makerules: Likewise.
42902 * Versions.def: Likewise.
42903 * argp/argp-fmtstream.c: Likewise.
42904 * argp/argp-fmtstream.h: Likewise.
42905 * argp/argp-help.c: Likewise.
42906 * assert/assert.c: Likewise.
42907 * config.h.in: Likewise.
42908 * config.make.in: Likewise.
42909 * configure: Likewise.
42910 * configure.in: Likewise.
42911 * csu/Versions: Likewise.
42912 * csu/init.c: Likewise.
42913 * elf/tst-audit2.c: Likewise.
42914 * elf/tst-tls10.c: Likewise.
42915 * elf/tst-tls10.h: Likewise.
42916 * elf/tst-tls11.c: Likewise.
42917 * elf/tst-tls12.c: Likewise.
42918 * elf/tst-tls14.c: Likewise.
42919 * elf/tst-tlsmod11.c: Likewise.
42920 * elf/tst-tlsmod12.c: Likewise.
42921 * elf/tst-tlsmod13.c: Likewise.
42922 * elf/tst-tlsmod13a.c: Likewise.
42923 * elf/tst-tlsmod14a.c: Likewise.
42924 * elf/tst-tlsmod15b.c: Likewise.
42925 * elf/tst-tlsmod16a.c: Likewise.
42926 * elf/tst-tlsmod16b.c: Likewise.
42927 * elf/tst-tlsmod7.c: Likewise.
42928 * elf/tst-tlsmod8.c: Likewise.
42929 * elf/tst-tlsmod9.c: Likewise.
42930 * gmon/gmon.c: Likewise.
42931 * grp/fgetgrent_r.c: Likewise.
42932 * grp/putgrent.c: Likewise.
42933 * hurd/fopenport.c: Likewise.
42934 * include/libc-symbols.h: Likewise.
42935 * include/tls.h: Likewise.
42936 * intl/gettextP.h: Likewise.
42937 * intl/loadinfo.h: Likewise.
42938 * locale/global-locale.c: Likewise.
42939 * locale/localeinfo.h: Likewise.
42940 * mach/devstream.c: Likewise.
42941 * malloc/arena.c: Likewise.
42942 * malloc/set-freeres.c: Likewise.
42943 * misc/err.c: Likewise.
42944 * misc/getttyent.c: Likewise.
42945 * misc/mntent_r.c: Likewise.
42946 * posix/getopt.c: Likewise.
42947 * posix/wordexp.c: Likewise.
42948 * pwd/fgetpwent_r.c: Likewise.
42949 * resolv/Versions: Likewise.
42950 * resolv/res_hconf.c: Likewise.
42951 * shadow/fgetspent_r.c: Likewise.
42952 * shadow/putspent.c: Likewise.
42953 * stdio-common/printf_fphex.c: Likewise.
42954 * stdio-common/tmpfile.c: Likewise.
42955 * stdlib/abort.c: Likewise.
42956 * stdlib/fmtmsg.c: Likewise.
42957 * sunrpc/auth_unix.c: Likewise.
42958 * sunrpc/clnt_perr.c: Likewise.
42959 * sunrpc/clnt_tcp.c: Likewise.
42960 * sunrpc/clnt_udp.c: Likewise.
42961 * sunrpc/clnt_unix.c: Likewise.
42962 * sunrpc/openchild.c: Likewise.
42963 * sunrpc/svc_simple.c: Likewise.
42964 * sunrpc/svc_tcp.c: Likewise.
42965 * sunrpc/svc_udp.c: Likewise.
42966 * sunrpc/svc_unix.c: Likewise.
42967 * sunrpc/xdr.c: Likewise.
42968 * sunrpc/xdr_array.c: Likewise.
42969 * sunrpc/xdr_rec.c: Likewise.
42970 * sunrpc/xdr_ref.c: Likewise.
42971 * sunrpc/xdr_stdio.c: Likewise.
42973 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42975 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42977 2011-07-03 Andreas Jaeger <aj@suse.de>
42979 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42980 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42981 regenerate with gen-libm-tests.pl.
42983 2010-05-12 Petr Baudis <pasky@suse.cz>
42986 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42987 around j0() zero points by switching to j1().
42988 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42989 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42991 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42993 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42995 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42997 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42999 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43000 Patch in part by Pavel Roskin <proski@gnu.org>.
43003 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43005 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43006 Free memory block if necessary.
43009 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43010 be NULL. Don't lock in this case.
43012 2011-09-09 Roland McGrath <roland@hack.frob.com>
43014 * elf/elf.h (ELFOSABI_GNU): New macro.
43015 (ELFOSABI_LINUX): Define to that.
43017 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43019 * string/strncat.c (strncat): Undef the symbol in case it has been
43020 defined in bits/string.h.
43022 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43024 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43026 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43029 2011-08-17 Andreas Jaeger <aj@suse.de>
43031 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43033 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43034 Ian Lance Taylor <iant@google.com>
43036 * math/libm-test.inc (lround_test): New testcase.
43037 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43039 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43041 * Makefile: Remove support for automatic cvs check-ins.
43042 * Makerules: Likewise.
43043 * config.make.in: Likewise.
43044 * configure.in: Likewise.
43045 * intl/Makefile: Likewise.
43046 * locale/Makefile: Likewise.
43047 * po/Makefile: Likewise.
43048 * posix/Makefile: Likewise.
43049 * sysdeps/gnu/Makefile: Likewise.
43050 * sysdeps/mach/hurd/Makefile: Likewise.
43051 * sysdeps/sparc/sparc32/Makefile: Likewise.
43054 * posix/Makefile (bug-regex32-ENV): Define.
43055 Patch by John Stanley <jpsinthemix@verizon.net>.
43057 * misc/Makefile (headers): Add bits/select2.h.
43058 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43059 * misc/bits/select2.h: New file.
43060 * include/bits/select2.h: New file.
43061 * debug/Makefile (routines): Add fdelt_chk.
43062 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43063 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43065 * debug/fdelt_chk.c: New file.
43067 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43068 * wcsmbs/test-wmemcmp.c: Likewise.
43069 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43070 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43072 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43074 * string/Makefile (strop-tests): Add memcmp.
43075 * string/test-wmemcmp.c: New file.
43076 * string/test-memcmp.c: Add wmemcmp support.
43078 2011-09-08 Roland McGrath <roland@hack.frob.com>
43081 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43084 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43085 garbage value in a __mach_port_mod_refs call in the cases of the
43086 task-self and thread-self ports.
43088 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43090 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43092 2011-09-08 Andreas Schwab <schwab@redhat.com>
43094 * elf/dl-load.c (lose): Check for non-null L.
43096 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43098 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43100 * elf/dl-libc.c (dlerror_run): Pass back error code from
43104 * elf/dl-load.c (lose): Free l_origin if it is valid.
43106 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43108 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43109 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43110 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43111 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43112 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43113 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43115 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43117 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43118 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43119 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43120 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43121 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43122 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43123 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43124 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43125 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43126 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43128 2011-08-15 Alan Modra <amodra@gmail.com>
43131 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43132 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43133 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43134 ppc_mcount to static-only-routines.
43135 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43137 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43138 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43140 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43142 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43143 for finite and infinity parameters.
43145 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43147 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43148 and add nop instructions for throughput optimization.
43149 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43151 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43153 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43154 aligned copy for power7 with vector-scalar instructions.
43155 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43157 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43162 2011-09-07 Andreas Schwab <schwab@redhat.com>
43165 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43168 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43170 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43171 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43172 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43173 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43176 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43178 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43179 Forgot to demangle the pointer.
43181 * sysdeps/i386/sysdep.h: Define atom_text_section.
43182 * sysdeps/x86_64/sysdep.h: Likewise.
43183 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43184 section with atom_text_section.
43185 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43186 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43187 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43188 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43189 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43191 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43192 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43193 already be defined. Change to take two parameters and don't assign
43194 result to variable. Adjust all users.
43195 Define INTERNAL_GETTIME if not already defined.
43196 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43199 HAVE_CLOCK_GETTIME_VSYSCALL.
43200 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43203 gettimeofday vsyscall, just use time.
43205 2011-09-06 Andreas Schwab <schwab@redhat.com>
43207 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43210 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43212 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43214 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43216 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43217 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43218 syscall if possible.
43220 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43222 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43223 e_ident. Don't pass to find_mapsXX.
43224 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43226 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43229 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43230 * sysdeps/x86_64/multiarch/strchr.S: Update.
43231 Check bit_slow_BSF bit.
43232 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43233 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43234 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43236 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43239 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43241 (tryshell): Define.
43242 (__spawni): Change last parameter to be flag. Test
43243 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43244 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43245 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43246 * posix/spawni.c: Likewise.
43247 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43248 * posix/spawnp.c: Likewise. Change normal version to use
43249 SPAWN_XFLAGS_USE_PATH.
43250 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43251 SPAWN_XFLAGS_TRY_SHELL.
43254 * posix/glob.h: Remove gcc 1.x support.
43257 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43259 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43262 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43264 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43265 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43266 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43267 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43268 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43269 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43271 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43273 * sysdeps/x86_64/wcscmp.S: New file.
43275 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43276 wcscmp-c wcscmp-sse2
43277 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43278 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43279 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43280 * wcsmbs/wcscmp.c: Allow renaming.
43282 2011-09-05 David S. Miller <davem@davemloft.net>
43284 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43285 stack slot, rather than the struct return pointer slot.
43286 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43287 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43289 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43291 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43293 * po/ja.po: Update from translation team.
43296 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43297 kernel in 64-bit binaries.
43299 2011-09-01 David S. Miller <davem@davemloft.net>
43301 * elf/elf.h (HWCAP_SPARC_*): Move to..
43302 * sysdeps/sparc/sysdep.h: this new file and add new values.
43303 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43304 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43305 _DL_HWCAP_COUNT to 24.
43306 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43308 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43309 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43310 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43311 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43312 instead of magic constants.
43313 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43315 2011-08-31 David S. Miller <davem@davemloft.net>
43317 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43319 Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
43325 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43326 (PSEUDO): Reimplement to do errno handling inline.
43327 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43328 (SYSCALL_ERROR_HANDLER): New macro.
43329 (__SYSCALL_STRING): Do not do errno handling in asm.
43330 (__CLONE_SYSCALL_STRING): Delete.
43331 (__INTERNAL_SYSCALL_STRING): Delete.
43332 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43333 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43335 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43336 (inline_syscall*): Add 'err' argument.
43337 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43338 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43339 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43340 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43342 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43343 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43345 2011-08-30 Andreas Schwab <schwab@redhat.com>
43347 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43349 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43351 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43354 2011-08-24 David S. Miller <davem@davemloft.net>
43356 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43358 2011-08-24 Andreas Schwab <schwab@redhat.com>
43360 * elf/Makefile: Add rules to build and run unload8 test.
43361 * elf/unload8.c: New file.
43362 * elf/unload8mod1.c: New file.
43363 * elf/unload8mod1x.c: New file.
43364 * elf/unload8mod2.c: New file.
43365 * elf/unload8mod3.c: New file.
43367 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43370 2011-08-23 David S. Miller <davem@davemloft.net>
43372 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43373 subtract stack bias.
43374 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43375 %sp not %fp in calculations.
43376 (_JMPBUF_UNWINDS_ADJ): Likewise.
43378 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43379 (aio_suspend): Call it to force an exception region around the
43380 AIO_MISC_WAIT() invocation.
43382 2011-08-23 Andreas Schwab <schwab@redhat.com>
43384 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43387 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43389 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43391 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43392 and <dl-machine.h>.
43393 (Elf64_FuncDesc): Remove.
43395 2011-08-22 David S. Miller <davem@davemloft.net>
43397 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43398 sigaltstack check, add missing cfi directives.
43399 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43400 missing cfi directives, and sigaltstack handling.
43402 2011-08-16 Andreas Schwab <schwab@redhat.com>
43405 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43406 object is seen twice.
43407 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43409 * elf/Makefile (distribute): Add tst-initorder2.c.
43410 (tests): Add tst-initorder2.
43411 (modules-names): Add tst-initorder2a tst-initorder2b
43412 tst-initorder2c tst-initorder2d. Add rules to build them.
43413 ($(objpfx)tst-initorder2.out): New rule.
43414 * elf/tst-initorder2.c: New file.
43415 * elf/tst-initorder2.exp: New file.
43417 2011-08-22 Andreas Schwab <schwab@redhat.com>
43419 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43421 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43422 dependencies back to end of function.
43424 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43425 $(elfobjdir)/ld.so.
43427 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43429 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43430 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43431 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43432 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43433 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43434 of __vdso_gettimeofday.
43435 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43436 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43438 (_libc_vdso_platform_setup): Remove initialization of
43439 __vdso_gettimeofday and __vdso_time.
43441 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43443 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43444 and fgetc_unlocked.
43445 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43448 * elf/dl-open.c (add_to_global): Report additions to the global scope
43449 for LD_DEBUG=scopes.
43450 (dl_open_worker): Also print scope of newly loaded dependencies.
43451 (_dl_show_scope): Indicate if there is no scope.
43454 * stdio-common/Makefile (tests): Add bug24.
43455 * stdio-common/bug24.c: New file.
43457 2011-08-19 Andreas Jaeger <aj@suse.de>
43460 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43461 non-existant file when using close-on-exec mode.
43463 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43466 the very first instruction.
43468 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43469 the CFI state in the end.
43470 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43471 inclusion of dl-trampoline.h.
43472 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43474 2011-08-19 Andreas Schwab <schwab@redhat.com>
43476 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43477 expectations for long double.
43479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43480 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43482 2011-08-14 David S. Miller <davem@davemloft.net>
43484 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43485 artificual limit depends upon the system page size.
43487 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43489 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43490 * resolv/Makefile: Define CFLAGS-libresolv.
43492 2011-08-17 Andreas Schwab <schwab@redhat.com>
43494 * nss/makedb.c (compute_tables): Make variables used in nested
43497 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43499 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43500 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43501 if buffer was too small.
43503 * elf/pldd.c (main): Attach to all threads in the process.
43504 Rewrite /proc handling to use *at functions.
43506 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43508 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43509 specifies first scope to show.
43510 (dl_open_worker): Update callers. Move printing scope of new
43511 object to before the relocation.
43512 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43513 * sysdeps/generic/ldsodefs.h: Update declaration.
43515 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43516 string for the scope number.
43518 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43520 * nscd/servicescache.c (cache_addserv): Make sure written is always
43523 2011-08-14 Roland McGrath <roland@hack.frob.com>
43525 * sysdeps/i386/i486/bits/atomic.h
43526 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43527 statement expression, so as to suppress "set but not used" warning.
43528 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43530 * string/strncat.c (STRNCAT): Use prototype definition.
43532 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43533 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43535 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43536 (localedef-modules): Add localedef.
43537 (locale-modules): Add locale.
43539 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43540 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43541 to avoid a warning.
43543 2011-08-14 David S. Miller <davem@davemloft.net>
43545 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43546 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43548 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43550 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43551 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43552 * elf/rtld.c (dl_main): Set l_name of vDSO.
43553 Call _dl_show_scope when DL_DEBUG_SCOPES.
43554 (process_dl_debug): Recognize scopes flag and also set it for all.
43555 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43556 Declare _dl_show_scope.
43558 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43559 (do_dlopen): Pass caller_dlopen to dl_open.
43560 (__libc_dlopen_mode): Initialize caller_dlopen.
43562 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43563 of libc. Make tolower call locale-independent. Optimize a bit by
43564 using isdigit instead of isalnum.
43565 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43567 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43569 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43570 was a dependency or dynamically loaded.
43572 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43574 * intl/l10nflist.c: Allow architecture-specific pop function.
43575 * sysdeps/x86_64/l10nflist.c: New file.
43577 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43580 2011-08-10 Andreas Schwab <schwab@redhat.com>
43582 * include/dirent.h: Add libc_hidden_proto for scandirat and
43583 scandirat64. Don't declare __scandirat64.
43584 * dirent/scandirat.c: Add libc_hidden_def.
43585 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43586 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43588 2011-08-10 David S. Miller <davem@davemloft.net>
43590 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43592 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43593 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43594 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43596 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43598 * Versions.def [libc]: Add GLIBC_2.15.
43599 * dirent/Makefile (routines): Add scandirat and scandirat64.
43600 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43602 * dirent/dirent.h: Declare scandirat and scandirat64.
43603 * dirent/scandirat.c: New file.
43604 * dirent/scandirat64.c: New file.
43605 * sysdeps/wordsize-64/scandirat.c: New file.
43606 * sysdeps/wordsize-64/scandirat64.c: New file.
43607 * dirent/opendir.c: Define opendirat.
43608 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43610 * dirent/scandir64.c: Adjust for scandir.c change.
43611 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43612 __scandirat64, and __scandir_cancel_handler.
43613 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43614 additional parameter and use openat instead of open (outside of ld.so).
43615 Add new __opendir as wrapper around __opendirat.
43616 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43617 here without requiring old scandirat implementation.
43619 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43621 * dirent/scandir.c (cancel_handler): Renamed to
43622 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43623 defined. Adjust users.
43624 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43625 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43627 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43629 * string/test-string.h (IMPL): Use __STRING to expand name and then
43632 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43635 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43637 * string/Makefile: Update.
43638 (strop-tests): Append strncat.
43639 * string/test-wcscmp.c: New file.
43640 New comprehensive test for wcscmp.
43641 * string/test-strcmp.c: Update.
43642 (WIDE): New define.
43644 2011-07-22 Andreas Schwab <schwab@redhat.com>
43646 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43649 2011-07-26 Andreas Schwab <schwab@redhat.com>
43651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43652 encoding to ACE if AI_IDN.
43654 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43657 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43659 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43661 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43662 Fix overflow bug in strncat.
43663 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43665 * string/test-strncat.c: Update.
43666 Add new tests for checking overflow bugs.
43668 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43671 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43672 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43673 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43674 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43675 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43676 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43677 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43678 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43680 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43681 (USE_AS_STRCAT): Define.
43682 Add strcat and strncat support.
43683 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43685 2011-07-25 Andreas Schwab <schwab@redhat.com>
43687 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43688 __n bigger than INT_MAX+1.
43689 (__strncmp_g): Likewise.
43691 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43693 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43694 * libio/stido.h: Likewise.
43696 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43701 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43702 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43703 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43704 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43705 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43708 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43713 (_dl_x86_64_save_sse): Likewise.
43715 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43719 (_dl_x86_64_save_sse): Likewise.
43721 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43723 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43725 2011-07-21 Andreas Schwab <schwab@redhat.com>
43727 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43729 (_dl_x86_64_save_sse): Use correct AVX check.
43731 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43733 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43734 bug in strncpy/strncat.
43735 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43737 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43739 * string/tester.c (test_strcat): Add tests for different alignments
43740 of source and destination.
43741 (test_strncat): Likewise.
43743 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43746 * posix/glob.c (glob): Check passed in values before using them in
43747 expressions to avoid some overflows.
43748 (glob_in_dir): Likewise.
43751 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43752 check for AVX enablement so that we don't crash with old kernels and
43754 * elf/tst-audit4.c: Add same checks here.
43755 * elf/tst-audit6.c: Likewise.
43757 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43759 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43761 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43763 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43765 * po/cs.po: Update from translation team.
43766 * po/bg.po: Likewise.
43768 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43770 * misc/sys/cdefs.h: Add support for const attribute.
43771 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43772 to gnu_dev_{major,minor,makedev} functions.
43774 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43776 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43778 2011-07-20 Andreas Schwab <schwab@redhat.com>
43780 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43783 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43785 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43786 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43787 register in order to avoid conflicts with the soft frame pointer
43788 being held in r11 when necessary.
43789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43790 (INTERNAL_VSYSCALL_NCS): Likewise.
43792 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43794 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43795 * elf/dl-fini.c (_dl_fini): Adjust caller.
43796 * elf/dl-close.c (_dl_close_worker): Likewise.
43797 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43799 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43801 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43802 "aux_cache->nlibs < 0".
43804 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43805 in the reload-count case.
43807 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43810 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43811 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43812 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43813 * sysdeps/x86_64/multiarch/strcat.S: New file.
43814 * sysdeps/x86_64/multiarch/strncat.S: New file.
43815 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43816 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43817 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43818 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43819 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43820 (USE_AS_STRCAT): Define.
43821 Add strcat and strncat support.
43822 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43823 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43824 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43825 * string/strncat.c: Update.
43826 (USE_AS_STRNCAT): Define.
43827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43828 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43830 * sysdeps/x86_64/multiarch/init-arch.h
43831 (bit_Prefer_PMINUB_for_stringop): New.
43832 (index_Prefer_PMINUB_for_stringop): Likewise.
43833 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43834 bit_Prefer_PMINUB_for_stringop.
43836 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43838 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43840 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43841 of casting of buffer.
43842 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43843 buffer32 and buffer64.
43844 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43845 writes instead of casting of buffer.
43846 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43848 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43851 2011-07-19 Andreas Schwab <schwab@redhat.com>
43853 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43855 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43857 * nscd/nscd.c (termination_handler): Don't do anything for a database
43858 if it has not yet been initialized.
43860 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43862 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43864 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43866 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43868 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43870 * po/nl.po: Update from translation team.
43871 * po/sv.po: Likewise.
43873 2011-07-16 Roland McGrath <roland@hack.frob.com>
43875 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43876 now disallowed by GCC.
43878 * configure.in (use-default-link): Default to yes if a test -shared
43879 link meets our qualifications.
43880 * configure: Regenerated.
43882 * config.make.in (output-format): New variable.
43883 * configure.in: Check for ld --print-output-format support.
43884 * configure: Regenerated.
43885 * Makerules ($(common-objpfx)format.lds)
43886 [$(output-format) != unknown]: Just use $(output-format),
43887 instead of the linker-script munging.
43889 2011-07-14 Roland McGrath <roland@hack.frob.com>
43891 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43892 of $(common-objpfx)shlib.lds.
43893 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43895 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43896 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43898 * configure.in (-z relro check): Adjust test code to add a large
43899 writable data section after it.
43900 * configure: Regenerated.
43902 2011-07-11 Roland McGrath <roland@hack.frob.com>
43904 * configure.in (-z relro check): Fix test code to make the variable
43906 * configure: Regenerated.
43908 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43910 * nscd/nscd.h (struct traced_file): Define.
43911 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43912 elements. Add traced_files.
43913 (inotify_fd): Declare.
43914 (register_traced_file): Declare.
43915 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43916 (inotify_fd): Export.
43917 (resolv_conf_descr): Remove.
43918 (nscd_init): Move inotify descriptor creation to main.
43919 Don't register files for notification here.
43920 (register_traced_file): New function.
43921 (invalidate_cache): Don't use reset_res to determine whether to call
43922 res_init, go through the list of registered files.
43923 (main_loop_poll): The inotify descriptors are now stored in the
43924 structures for the traced files.
43925 (main_loop_epoll): Likewise
43926 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43927 to __nss_disable_nscd.
43928 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43929 for a database anymore. Check the records for all the registered
43931 * nss/Makefile (libnss_files-routines): Add files-init.
43932 (libnss_db-routines): Add db-init.
43933 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43934 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43935 * nss/nss_db/db-init.c: New file.
43936 * nss/nss_files/files-init.c: New file.
43937 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43938 __nss_lookup_function.
43939 (__nss_lookup_function): Call nss_load_library.
43940 (nss_load_all_libraries): New function.
43941 (__nss_disable_nscd): Take parameter with callback function for files
43942 to register. Set is_nscd. Load all the DSOs for the NSS modules
43943 used for the cached services.
43944 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43945 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43946 options for features to all the files in nscd.
43948 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43950 2011-07-10 Roland McGrath <roland@hack.frob.com>
43952 * csu/elf-init.c (__libc_csu_init): Comment typo.
43954 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43956 * po/pl.po: Update from translation team.
43957 * po/ja.po: Likewise.
43958 * po/ru.po: Likewise.
43959 * po/ko.po: Likewise.
43960 * po/fr.po: Likewise.
43962 2011-07-09 Roland McGrath <roland@hack.frob.com>
43964 * configure.in (.ctors/.dtors header and trailer check):
43965 Use an empirical test on a built program.
43966 * configure: Regenerated.
43968 * configure.in (-z relro check): Use an empirical test on a built DSO.
43969 Detect, but do not require, on ia64.
43970 * configure: Regenerated.
43972 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43973 Update tests that use readelf to use $READELF instead.
43974 * configure: Regenerated.
43976 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43978 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43979 if the result is not used.
43981 2011-07-05 Andreas Jaeger <aj@suse.de>
43984 * stdlib/tst-strtod.c: Add testcase.
43986 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43988 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43989 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43990 The latter has a higher limit. Take additional parameter to pass to
43992 (__pathconf): Pass file to __statfs_link_max.
43993 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43995 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43999 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44000 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44002 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44003 (__statfs_filesize_max): Likewise.
44004 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44006 2011-07-05 Andreas Jaeger <aj@suse.de>
44008 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44010 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44012 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44014 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44017 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44019 * Makefile (strop-tests): Add strncat.
44020 * string/test-strncat.c: New file.
44022 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44024 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44026 2011-06-21 Andreas Jaeger <aj@suse.de>
44028 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44029 Copy rule from iconvdata/Makefile.
44031 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44034 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44035 but no long options are defined, just return 'W'.
44037 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44040 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44042 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44044 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44046 (innetgr): Likewise.
44048 2011-07-05 Roland McGrath <roland@hack.frob.com>
44050 * config.make.in (install_root): Default to $(DESTDIR).
44052 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44054 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44056 2011-07-02 Roland McGrath <roland@hack.frob.com>
44058 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44060 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44061 containing directory rather than embedding absolute directory names.
44063 * scripts/check-local-headers.sh: Rewritten using awk.
44064 Match by word, not by line. Print error messages for matches.
44065 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44067 * Makerules [shlib-lds-flags empty]:
44068 ($(common-objpfx)libc_pic.opts): New target.
44069 ($(common-objpfx)libc_pic.os.clean): New target.
44070 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44072 * config.make.in (OBJCOPY): New variable.
44073 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44074 * configure: Regenerated.
44076 * config.make.in (use-default-link): New variable.
44077 * configure.in (use_default_link): Grok --with-default-link to set it.
44078 * configure: Regenerated.
44079 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44080 (shlib-lds, shlib-lds-flags): Define to empty.
44082 * Makerules (shlib-lds): New variable.
44083 (shlib-lds-flags): New variable.
44084 (build-shlib, build-moduile, build-module-asneeded): Use it.
44085 ($(common-objpfx)libc.so): Use $(shlib-lds).
44086 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44087 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44089 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44090 DT_FLAGS/DT_FLAGS_1 with zero flags.
44092 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44093 linker script munging.
44095 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44097 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44099 * crypt/sha512.c (sha512_process_block): Perform total addition using
44100 128-bit if possible.
44101 (__sha512_finish_ctx): Likewise.
44102 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44104 * crypt/sha256.c (SWAP64): Define.
44105 (sha256_process_block): Perform total addition using 64-bit if
44107 (__sha256_finish_ctx): Likewise.
44109 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44111 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44113 * nscd/hstcache.c (cache_addhst): Likewise.
44114 * nscd/grpcache.c (cache_addgr): Likewise.
44115 * nscd/aicache.c (addhstaiX): Likewise
44116 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44118 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44120 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44121 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44122 * nscd/hstcache.c (cache_addhst): Likewise.
44123 * nscd/grpcache.c (cache_addgr): Likewise.
44124 * nscd/aicache.c (addhstaiX): Likewise
44126 2011-07-01 Andreas Schwab <schwab@redhat.com>
44128 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44129 domain only when needed.
44131 2011-06-30 Andreas Schwab <schwab@redhat.com>
44133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44134 is always restored.
44136 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44138 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44139 are re-adding the entry.
44140 * nscd/servicescache.c (cache_addserv): Likewise.
44142 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44144 * sysdeps/generic/dl-irel.h: fix protection against multiple
44146 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44148 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44151 * malloc/memusage.sh: Fix quoting in message.
44152 * debug/xtrace.sh: Likewise.
44154 * configure.in: Remove support for --experimental-malloc option, make
44156 * config.make.in: Likewise.
44157 * malloc/Makefile: Likewise.
44159 2011-06-27 Andreas Schwab <schwab@redhat.com>
44161 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44162 two-byte characters.
44164 2011-06-27 Roland McGrath <roland@hack.frob.com>
44166 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44167 AC_CACHE_CHECK invocation.
44168 * configure: Regenerated.
44170 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44172 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44175 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44176 bit from old_res_options.
44178 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44180 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44181 value type for setfct.
44183 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44186 __gettimeofday instead of gettimeofday.
44188 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44190 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44192 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44194 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44196 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44199 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44202 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44203 strcpy-sse2-unaligned strncpy-sse2-unaligned
44204 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44205 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44206 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44207 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44208 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44209 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44210 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44211 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44212 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44213 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44214 (STRCPY): Support SSE2 and SSSE3 versions.
44216 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44219 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44220 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44221 kernels which artificially limit size of requests.
44223 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44226 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44227 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44228 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44229 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44230 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44231 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44232 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44233 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44234 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44235 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44236 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44237 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44238 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44239 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44241 Enable unaligned load optimization for Intel Core i3, i5 and i7
44243 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44245 (index_Fast_Unaligned_Load): Define.
44246 (HAS_FAST_UNALIGNED_LOAD): Define.
44248 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44250 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44252 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44255 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44256 until it is clear that the information is realy needed.
44257 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44259 2011-06-22 Andreas Schwab <schwab@redhat.com>
44261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44263 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44265 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44266 /sys/devices/system/cpu/online if it is usable.
44268 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44269 reading the information from the /proc filesystem to once a second.
44271 2011-06-21 Andreas Jaeger <aj@suse.de>
44273 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44274 NULL after inclusion of kernel headers.
44276 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44278 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44279 calls to internal_setent.
44282 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44283 addresses using gethostbyname4_r ignore IPv4 addresses.
44285 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44286 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44288 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44290 2011-06-20 David S. Miller <davem@davemloft.net>
44292 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44294 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44296 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44297 (elf_irel): Use it.
44298 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44299 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44300 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44301 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44302 * sysdeps/x86_64/dl-irel.h: Likewise.
44304 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44305 * elf/dl-sym.c: Likewise.
44307 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44309 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44310 need to dereference resplen2.
44312 2011-06-14 Andreas Schwab <schwab@redhat.com>
44314 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44316 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44318 * Makeconfig: Define vardbdir and inst_vardbdir.
44319 * nss/Makefile: Add rules to install db-Makefile.
44321 * nss/nss_db/db-XXX.c: Cleanup.
44323 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44324 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44326 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44327 * nss/makedb.c: Implement -g option to specify that value strings
44328 are generated and should not be added to table iterated over for
44330 * nss/nss_db/db-initgroups.c: New file.
44332 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44335 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44336 (internal_getgrouplist): Adjust to name change.
44337 Update use_initgroups_entry if this is not the first call.
44338 * nss/databases.def: Add initgroups entry.
44340 * nss/makedb.c (compute_tables): Check result of multiple hash table
44341 sizes to minimize maximum chain length.
44343 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44345 * Versions.def: Add entry for libnss_db.
44346 * shlib-versions: Likewise.
44347 * nss/Makefile: Add rules to build libnss_db.
44348 * nss/Versions: Add libnss_db information. Organize libnss_files
44350 * nss/db-Makefile: Add gshadow support. Change rules for the new
44351 makedb progra. Some minor improvements to generate smaller files.
44352 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44354 * nss/makedb.c: ...here.
44355 Improve database format to be smaller and require less memory at
44357 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44359 * nss/nss_db/db-netgrp.c: Likewise.
44360 * nss/nss_db/db-open.c: Likewise.
44361 * nss/nss_files/flies-XXX.x: Adjust comments.
44362 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44363 * nss/nss_files/files-grp.c: Likewise.
44364 * nss/nss_files/files-hosts.c: Likewise.
44365 * nss/nss_files/files-network.c: Likewise.
44366 * nss/nss_files/files-proto.c: Likewise.
44367 * nss/nss_files/files-pwd.c: Likewise.
44368 * nss/nss_files/files-rpc.c: Likewise.
44369 * nss/nss_files/files-service.c: Likewise.
44370 * nss/nss_files/files-sgrp.c: Likewise.
44371 * nss/nss_files/files-spwd.c: Likewise.
44372 * nss/nss_db/db-alias.c: Removed.
44373 * nss/nss_db/dummy-db.h: Removed.
44375 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44377 * nss/makedb.c: Rewritten to not use database library.
44378 * nss/Makefile: Update to build new makedb program.
44380 2011-06-14 Andreas Jaeger <aj@suse.de>
44382 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44383 memset declaration.
44385 2011-06-10 Andreas Schwab <schwab@redhat.com>
44387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44390 2011-06-10 Roland McGrath <roland@hack.frob.com>
44392 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44393 * elf/Makefile ($(objpfx)ld.so): Likewise.
44395 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44396 Don't list ld.so twice in dependencies.
44398 * posix/bug-regex31.c: Include <stdlib.h>.
44400 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44402 * nis/nss_compat/compat-spwd.c
44403 (getspent_next_nss_netgr): Remove unused variable.
44404 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44406 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44407 nonmembers" output to use the right array.
44409 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44411 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44413 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44414 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44415 * catgets/gencat.c (read_input_file): Likewise.
44416 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44418 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44419 variable definition inside #if's controlling its use.
44421 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44423 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44425 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44427 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44430 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44432 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44433 * configure: Regenerated.
44435 * Makerules: Revert last change.
44436 * elf/Makefile: Likewise.
44438 2011-06-09 Roland McGrath <roland@hack.frob.com>
44440 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44441 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44442 (reloc-link): Likewise.
44444 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44446 * elf/Makefile: Add rules to build pldd.
44447 * elf/pldd.c: New file.
44448 * elf/pldd-xx.c: New file.
44450 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44452 * version.h: Update for 2.15 development version.
44454 2011-06-07 David S. Miller <davem@davemloft.net>
44456 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44458 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44459 elf_machine_lazy_rel): Likewise.
44460 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44461 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44462 elf_machine_lazy_rel): Likewise.
44463 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44464 dl_hwcap via passed in argument.
44465 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44468 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44470 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44472 2011-06-06 Roland McGrath <roland@hack.frob.com>
44475 * manual/fdl-1.1.texi: New file, verbatim from:
44476 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44477 * manual/lgpl-2.1.texi: New file, verbatim from:
44478 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44479 * manual/Makefile (licenses): New variable, list those new file names.
44481 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44483 * manual/fdl.texi: File removed.
44484 * manual/lesser.texi: File removed.
44485 * manual/libc.texinfo (Copying, Documentation License):
44486 Use new @include file names, put @appendix directive before @include.
44488 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44491 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44492 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44493 (mq_open): Add __NTH.
44495 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44498 Assume Intel Core i3/i5/i7 processor if AVX is available.
44500 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44502 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44505 2011-05-31 Andreas Schwab <schwab@redhat.com>
44507 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44508 memory. Use alloca_account. Fix memory leak when retrying.
44510 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44512 * version.h (RELEASE): Bump for 2.14 release.
44513 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44515 * config.make.in (RANLIB): Remove entry.
44517 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44519 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44520 (libc.pot): Work around missing support for .ksh extension in xgettext.
44523 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44524 if both request failed.
44525 (send_dg): In case of server errors clear resplen or *resplen2.
44528 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44529 when there are multiple maps.
44530 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44531 (_dl_fini): Remove test here.
44533 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44535 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44538 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44539 bit from old_res_options.
44540 (gaih_inet): Likewise.
44543 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44546 * resolv/res_init.c (res_setoptions): Make the code more compact.
44549 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44553 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44555 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44558 * malloc/malloc.h: Declare malloc hook variables as volatile.
44560 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44564 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44565 raise in the comment.
44566 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44567 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44568 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44570 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44573 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44574 grow the buffers more if it already has to be sufficient.
44575 (build_wcs_upper_buffer): Likewise.
44576 * posix/regexec.c (check_matching): Likewise.
44577 (clean_state_log_if_needed): Likewise.
44578 (extend_buffers): Don't enlarge buffers beyond size of the input
44580 Patches mostly by Emil Wojak <emil@wojak.eu>.
44581 * posix/bug-regex32.c: New file.
44582 * posix/Makefile (tests): Add bug-regex32.
44584 * locale/findlocale.c (_nl_find_locale): Return right away if
44585 _nl_explode_name failed.
44586 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44588 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44590 * debug/xtrace.sh: Unify messages.
44591 * malloc/memusage.sh: Likewise.
44594 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44595 time symbol from vDSO. Substitute with vsyscall if not available.
44596 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44599 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44600 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44601 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44602 Add sendmmsg and internal_sendmmsg.
44603 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44604 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44605 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44607 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44608 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44609 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44611 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44614 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44615 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44617 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44621 * iconvdata/Makefile (tests): Add bug-iconv9.
44622 * iconvdata/bug-iconv9.c: New file.
44624 2011-05-27 Andreas Schwab <schwab@redhat.com>
44627 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44629 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44631 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44632 (struct user_regs_struct): Change intcs field back to cs.
44634 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44636 * po/ja.po: Update from translation team.
44638 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44641 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44642 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44644 2011-05-20 Andreas Schwab <schwab@redhat.com>
44646 * stdlib/longlong.h: Update from GCC.
44648 2011-05-23 Andreas Schwab <schwab@redhat.com>
44650 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44652 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44653 Add parameter name.
44654 (__sysconf): Pass it down.
44656 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44659 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44661 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44662 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44663 add in in __libc_use_alloca calls. Adjust callers.
44664 (glob): Use malloc in some situations.
44666 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44667 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44670 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44672 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44673 and CLOCK_BOOTTIME_ALARM.
44676 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44679 * string/_strerror.c (__strerror_r): Print negative errors as signed
44683 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44684 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44685 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44687 * configure.in: Fix typo in redirection and correct removal of test
44688 files in two cases.
44691 * locale/setlocale.c (new_composite_name): Fix test to check for
44692 identical name of all categories.
44695 * libio/filedoalloc.c (local_isatty): New function.
44696 (_IO_file_doallocate): Use local_isatty.
44697 * stdio-common/perror.c (perror): In case a new stream is used
44698 forward the stream error.
44699 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44702 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44707 * include/alloca.h (extend_alloca_account): Define.
44710 * posix/regex.h: Fix comments with documentation of user-accessible
44711 fields after compilation and describe correct free'ing of pattern
44712 after re_compile_pattern.
44713 Patch by Reuben Thomas <rrt@sc3d.org>.
44715 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44717 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44718 and -mno-altivec to prevent the compiler from using Altivec and/or
44719 VSX instructions when the corresponding registers are not available.
44721 2011-05-19 Andreas Schwab <schwab@redhat.com>
44723 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44725 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44727 * libio/freopen.c (freopen): Use __dup2, not dup2.
44728 * libio/freopen64.c (freopen64): Likewise.
44730 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44733 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44734 * math/Makefile (tests): Add test-powl.
44735 (CFLAGS-test-powl.c): Define.
44736 * math/test-powl.c: New file.
44738 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44740 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44742 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44745 * iconvdata/gb18030.c: Update to GB18020-2005.
44747 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44749 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44750 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44751 Patch by Aharon Robbins <arnold@skeeve.com>.
44754 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44758 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44759 through underflows.
44762 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44763 point to strings before performing equality test for error_one_per_line
44767 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44771 (struct user_fpregs_struct): Avoid __uint*_t types.
44774 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44775 symbol info. Use it instead of calling _dl_addr locally.
44776 (lock_and_info): New function.
44777 (tr_freehook): Call lock_and_info and pass symbol info as additional
44778 parameter to tr_where.
44779 (tr_mallochook): Likewise.
44780 (tr_reallochook): Likewise.
44781 (tr_memalignhook): Likewise.
44783 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44784 used and couldn't be at all thread-safe.
44786 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44788 * libio/freopen.c (freopen): Don't close old file descriptor
44789 before the new one is opened. Instead dup the new file descriptor
44790 to the old one after the new stream is created.
44791 * libio/freopen64.c (freopen64): Likewise.
44792 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44793 * libio/fileops.c (_IO_new_file_close_it): Handle new
44794 _IO_FLAGS2_NOCLOSE flag.
44795 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44796 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44797 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44798 _IO_FLAGS2_NOCLOSE flag.
44799 * include/unistd.h: Add hidden_proto for dup3.
44800 Define __have_dup3.
44801 * io/dup3.c: Define hidden symbol.
44802 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44805 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44806 when an incomplete long option is used.
44807 * posix/tst-getopt_long1.c: New file.
44808 * posix/Makefile (tests): Add tst-getopt_long1.
44811 * scripts/config.guess: Update from autoconf-2.68.
44812 * scripts/config.sub: Likewise.
44815 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44817 (has_cpuclock): ...this. New function.
44818 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44819 macro here based on has_cpuclock code.
44822 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44823 First byte (not low byte) is now always NUL.
44824 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44826 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44827 Use non-cancelable interfaces.
44830 * locale/iso-639.def: Add entry for Sorani.
44833 * include/stdlib.h: Move include protection to the right place.
44834 Define abort_msg_s. Declare __abort_msg with it.
44835 * stdlib/abort.c (__abort_msg): Adjust type.
44836 * assert/assert.c (__assert_fail_base): New function. Majority
44837 of code from __assert_fail. Allocate memory for __abort_msg with
44839 (__assert_fail): Now call __assert_fail_base.
44840 * assert/assert-perr.c: Remove bulk of implementation. Use
44841 __assert_fail_base.
44842 * include/assert.hL Declare __assert_fail_base.
44843 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44845 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44847 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44851 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44852 until all modules are registered in the DTV.
44853 * elf/Makefile: Add rules to build and run tst-tls19.
44854 * elf/tst-tls19.c: New file.
44855 * elf/tst-tls19mod1.c: New file.
44856 * elf/tst-tls19mod2.c: New file.
44857 * elf/tst-tls19mod3.c: New file.
44858 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44861 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44865 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44866 two-byte sequence errors.
44867 * iconvdata/Makefile (tests): Add bug-iconv8.
44868 * iconvdata/bug-iconv8.c: New file.
44871 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44874 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44877 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44878 (dummy_getcfa): New function.
44879 (init): Get _Unwind_GetCFA address, use dummy if not found.
44880 (backtrace_helper): In recursion check, also check whether CFA changes.
44881 (__backtrace): Completely initialize arg.
44883 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44884 storing incomplete byte sequence in state object. Avoid testing for
44885 guaranteed too small input if we know there is enough data available.
44887 2011-05-11 Andreas Schwab <schwab@redhat.com>
44889 * Makeconfig (+link-pie): Indent.
44890 * Rules (binaries-pie): Define if $(have-fpie) and
44892 (binaries-shared): Also filter out $(binaries-pie).
44893 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44894 * nscd/Makefile (others-pie): Add nscd.
44895 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44896 ($(objpfx)nscd): Remove command override.
44897 * login/Makefile (others-pie): Add pt_chown.
44898 ($(objpfx)pt_chown): Remove command override.
44899 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44900 remove command overrides.
44902 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44904 * libio/tst_putwc.c: Fix error messages.
44907 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44908 currently writing and seek to current position when not.
44909 * libio/Makefile (tests): Add bug-fclose1.
44910 * libio/bug-fclose1.c: New file.
44912 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44915 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44916 don't set DF_1_NODELETE here.
44917 (do_lookup_x): When entering new entry test for copy relocation
44918 and if necessary set DF_1_NODELETE flag.
44919 * elf/tst-unique4.cc: New file.
44920 * elf/tst-unique4.h: New file.
44921 * elf/tst-unique4lib.cc: New file.
44922 * elf/Makefile: Add rules to build and run tst-unique4.
44923 Patch by Piotr Bury <pbury@goahead.com>.
44925 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44928 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44931 * misc/mntent_r.c (addmntent): Flush the stream after the output
44934 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44935 (is_trusted_path_normalize): Skip initial colon. Append slash
44936 to empty buffer. Duplicate is_trusted_path code but allow
44937 constructed patch to be prefix.
44938 (is_dst): Allow $ORIGIN followed by /.
44939 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44940 Correct testing of result of is_trusted_path_normalize
44941 (decompose_rpath): Fix warning.
44943 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44946 * grp/initgroups.c (internal_getgrouplist): When we found the service
44947 list through the initgroups entry in nsswitch.conf do not always
44948 continue on a successful lookup. Don't always use the
44949 __nss_group_database value if it is set.
44950 * nss/nsswitch.conf (initgroups): Change action for successful db
44951 lookup to continue for compatibility.
44953 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44956 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44958 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44960 * iconvdata/tst-tables.sh: Likewise.
44961 * iconvdata/cp770.c: New file.
44962 * iconvdata/cp771.c: New file.
44963 * iconvdata/cp772.c: New file.
44964 * iconvdata/cp773.c: New file.
44965 * iconvdata/cp774.c: New file.
44966 * iconvdata/testdata/CP770: New file.
44967 * iconvdata/testdata/CP770..UTF8: New file.
44968 * iconvdata/testdata/CP771: New file.
44969 * iconvdata/testdata/CP771..UTF8: New file.
44970 * iconvdata/testdata/CP772: New file.
44971 * iconvdata/testdata/CP772..UTF8: New file.
44972 * iconvdata/testdata/CP773: New file.
44973 * iconvdata/testdata/CP773..UTF8: New file.
44974 * iconvdata/testdata/CP774: New file.
44975 * iconvdata/testdata/CP774..UTF8: New file.
44977 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44979 * iconvdata/gen-8bit-gap.sh: Likewise.
44980 * iconvdata/gen-8bit.sh: Likewise.
44982 * locale/iso-639.def: Add ary entry.
44985 * locale/C-translit.h.in: Add U20A1 transliteration.
44988 * locale/iso-639.def: Add wae entry.
44989 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44992 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44996 * locale/C-translit.h.in: Add entry for U20B9.
44997 Patch by pravin.d.s@gmail.com.
44999 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45002 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45003 ENAMETOOLONG use generic getcwd.
45004 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45005 in rtld. Use *stat64.
45006 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45007 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45008 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45009 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45010 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45011 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45012 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45013 __fstatat64 macros.
45014 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45015 * dirent/rewinddir.c: Add libc_hidden_def.
45016 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45017 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45019 * include/dirent.h (__alloc_dir): Add flags parameter.
45020 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45021 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45023 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45024 from fdopendir if O_CLOEXEC is already set.
45026 2011-03-15 Alan Modra <amodra@gmail.com>
45028 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45029 l_tls_firstbyte_offset non-zero. Save padding offset in
45030 l_tls_firstbyte_offset for later use.
45031 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45032 freeing static tls block.
45034 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45036 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45037 where #ifdef was intended. The intent is to prevent ARG_MAX from
45038 being defined by the kernel headers.
45040 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45043 * resolv/resolv.h: Define RES_NOTLDQUERY.
45044 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45045 no-tld-query and set RES_NOTLDQUERY.
45046 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45047 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45048 modern BIND to search name as TLD unless forbidden.
45050 2011-05-07 Petr Baudis <pasky@suse.cz>
45051 Ulrich Drepper <drepper@gmail.com>
45054 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45055 (is_trusted_path): ...to here.
45056 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45057 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45058 using is_trusted_path_normalize() in setuid scripts.
45060 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45062 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45063 __BEGIN/__END_DECLS.
45065 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45068 NSS_STATUS_NOTFOUND if no record was found.
45070 2011-05-05 Andreas Schwab <schwab@redhat.com>
45072 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45073 (headers-not-in-tirpc): Remove rpc/netdb.h
45074 * resolv/netdb.h: Revert last change.
45076 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45078 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45079 circular dependency between libgcc.a and libc.a.
45081 2011-05-05 Andreas Schwab <schwab@redhat.com>
45083 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45084 * nis/Makefile: Don't install rpcsvc/*.
45085 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45086 instead of <rpc/types.h>.
45087 (MAXHOSTNAMELEN): Define.
45089 2011-05-03 Andreas Schwab <schwab@redhat.com>
45091 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45093 2011-04-28 Maciej Babinski <mbabinski@google.com>
45096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45097 gethostbyname4_r when IPv6 results are possible.
45099 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45102 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45103 _PC_PIPE_BUF handling.
45105 2011-04-30 Bruno Haible <bruno@clisp.org>
45108 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45109 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45111 * inet/getnameinfo.c (getnameinfo): Likewise.
45113 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45115 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45116 to groups setting in database lookup.
45117 * nss/nsswitch.conf: Add initgroups entry.
45119 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45122 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45124 Patch by Eric Blake <eblake@redhat.com>.
45126 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45128 * sunrpc/Makefile (need-export-routines): Add svc_run.
45129 (routines): Remove svc_run.
45130 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45131 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45132 * sunrpc/svc_run.c (svc_run): Likewise.
45133 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45135 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45138 problem in reallocation in last patch.
45140 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45142 * sunrpc/Makefile: Move inclusion of Rules.
45144 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45146 * nss/nss_files/files-initgroups.c: New file.
45147 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45148 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45149 _nss_files_initgroups_dyn.
45151 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45153 * elf/elf.h (R_ARM_IRELATIVE): Define.
45155 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45157 * po/ru.po: Update from translation team.
45159 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45161 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45164 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45167 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45168 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45169 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45170 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45171 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45173 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45175 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45177 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45178 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45179 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45181 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45184 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45186 * stdlib/bug-getcontext.c: New file.
45187 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45189 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45191 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45192 instructions into .machine "z9-109".
45193 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45194 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45196 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45198 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45199 between environment variables and auxiliary vector.
45201 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45203 * Makefile: Add rules to build linkobj/libc.so.
45204 * include/libc-symbols.h: Define libc_hidden_nolink.
45205 * include/rpc/auth.h: Mark functions which are to be hidden.
45206 * include/rpc/auth_des.h: Likewise.
45207 * include/rpc/auth_unix.h: Likewise.
45208 * include/rpc/clnt.h: Likewise.
45209 * include/rpc/des_crypt.h: Likewise.
45210 * include/rpc/key_prot.h: Likewise.
45211 * include/rpc/pmap_clnt.h: Likewise.
45212 * include/rpc/pmap_prot.h: Likewise.
45213 * include/rpc/pmap_rmt.h: Likewise.
45214 * include/rpc/rpc_msg.h: Likewise.
45215 * include/rpc/svc.h: Likewise.
45216 * include/rpc/svc_auth.h: Likewise.
45217 * include/rpc/xdr.h: Likewise.
45218 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45219 * nss/Makefile: Likewise.
45220 * sunrpc/Makefile: Don't install headers. Build library with normal
45221 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45222 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45223 for the compat linking library. Remove use of INTDEF/INTUSE.
45224 * sunrpc/auth_none.c: Likewise.
45225 * sunrpc/auth_unix.c: Likewise.
45226 * sunrpc/authdes_prot.c: Likewise.
45227 * sunrpc/authuxprot.c: Likewise.
45228 * sunrpc/clnt_gen.c: Likewise.
45229 * sunrpc/clnt_perr.c: Likewise.
45230 * sunrpc/clnt_raw.c: Likewise.
45231 * sunrpc/clnt_simp.c: Likewise.
45232 * sunrpc/clnt_tcp.c: Likewise.
45233 * sunrpc/clnt_udp.c: Likewise.
45234 * sunrpc/clnt_unix.c: Likewise.
45235 * sunrpc/des_crypt.c: Likewise.
45236 * sunrpc/des_soft.c: Likewise.
45237 * sunrpc/get_myaddr.c: Likewise.
45238 * sunrpc/key_call.c: Likewise.
45239 * sunrpc/key_prot.c: Likewise.
45240 * sunrpc/netname.c: Likewise.
45241 * sunrpc/pm_getmaps.c: Likewise.
45242 * sunrpc/pm_getport.c: Likewise.
45243 * sunrpc/pmap_clnt.c: Likewise.
45244 * sunrpc/pmap_prot.c: Likewise.
45245 * sunrpc/pmap_prot2.c: Likewise.
45246 * sunrpc/pmap_rmt.c: Likewise.
45247 * sunrpc/publickey.c: Likewise.
45248 * sunrpc/rpc_cmsg.c: Likewise.
45249 * sunrpc/rpc_common.c: Likewise.
45250 * sunrpc/rpc_dtable.c: Likewise.
45251 * sunrpc/rpc_prot.c: Likewise.
45252 * sunrpc/rpc_thread.c: Likewise.
45253 * sunrpc/rtime.c: Likewise.
45254 * sunrpc/svc.c: Likewise.
45255 * sunrpc/svc_auth.c: Likewise.
45256 * sunrpc/svc_authux.c: Likewise.
45257 * sunrpc/svc_raw.c: Likewise.
45258 * sunrpc/svc_run.c: Likewise.
45259 * sunrpc/svc_simple.c: Likewise.
45260 * sunrpc/svc_tcp.c: Likewise.
45261 * sunrpc/svc_udp.c: Likewise.
45262 * sunrpc/svc_unix.c: Likewise.
45263 * sunrpc/svcauth_des.c: Likewise.
45264 * sunrpc/xcrypt.c: Likewise.
45265 * sunrpc/xdr.c: Likewise.
45266 * sunrpc/xdr_array.c: Likewise.
45267 * sunrpc/xdr_float.c: Likewise.
45268 * sunrpc/xdr_intXX_t.c: Likewise.
45269 * sunrpc/xdr_mem.c: Likewise.
45270 * sunrpc/xdr_rec.c: Likewise.
45271 * sunrpc/xdr_ref.c: Likewise.
45272 * sunrpc/xdr_sizeof.c: Likewise.
45273 * sunrpc/xdr_stdio.c: Likewise.
45275 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45278 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45279 * sysdeps/ia64/dl-tls.h: Likewise.
45280 * sysdeps/powerpc/dl-tls.h: Likewise.
45281 * sysdeps/s390/dl-tls.h: Likewise.
45282 * sysdeps/sh/dl-tls.h: Likewise.
45283 * sysdeps/sparc/dl-tls.h: Likewise.
45284 * sysdeps/x86_64/dl-tls.h: Likewise.
45285 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45287 2011-03-14 Andreas Schwab <schwab@redhat.com>
45289 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45290 rpath element also skip the following colon.
45291 (expand_dynamic_string_token): Add is_path parameter and pass
45292 down to DL_DST_REQUIRED and _dl_dst_substitute.
45293 (decompose_rpath): Call expand_dynamic_string_token with
45294 non-zero is_path. Ignore empty rpaths.
45295 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45298 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45303 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45306 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45307 Patch by Filipe David Manana <fdmanana@apache.org>.
45309 2011-04-07 Andreas Schwab <schwab@redhat.com>
45311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45312 Maintain aligned stack.
45313 (CHECK_RSP): Remove unused macro.
45315 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45317 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45318 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45320 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45322 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45324 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45326 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45329 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45330 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45331 * sysdeps/x86_64/memmove.c: New file.
45332 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45333 (memcpy): Renamed to ...
45334 (__new_memcpy): This.
45335 (memcpy): Provide GLIBC_2_14 memcpy.
45336 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45337 (memcpy): Provide GLIBC_2_2_5 memcpy.
45339 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45342 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45344 2011-03-30 Andreas Schwab <schwab@redhat.com>
45346 * misc/syncfs.c: New file.
45347 * misc/Makefile (routines): Add syncfs.
45348 * posix/unistd.h: Declare syncfs.
45349 * sysdeps/unix/syscalls.list: Add syncfs.
45351 2011-04-01 Andreas Schwab <schwab@redhat.com>
45353 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45355 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45356 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45357 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45358 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45360 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45361 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45363 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45365 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45367 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45369 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45373 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45374 sync_file_range.c with -fexceptions.
45375 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45376 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45377 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45378 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45379 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45380 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45381 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45382 sync_file_range as cancellation point
45383 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45384 now a wrapper around __call_sync_file_range with cancellation handling.
45385 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45386 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45387 function name to __call_sync_file_range.
45388 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45389 Add call_sync_file_range.
45391 2011-04-01 Andreas Schwab <schwab@redhat.com>
45393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45396 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45398 * iconv/iconv.h: Fix typo in comment.
45399 * io/fcntl.h: Likewise.
45400 * libio/stdio.h: Likewise.
45401 * posix/spawn.h: Likewise.
45402 * posix/unistd.h: Likewise.
45403 * stdlib/stdlib.h: Likewise.
45404 * time/time.h: Likewise.
45405 * wcsmbs/wchar.h: Likewise.
45407 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45408 open_by_handle): Add.
45409 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45410 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45411 Augment a few comments.
45412 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45414 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45416 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45417 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45420 * io/fcntl.h (AT_EMPTY_PATH): Define.
45422 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45424 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45425 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45426 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45428 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45429 * Versions.def: Add GLIBC_2.14.
45430 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45433 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45435 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45437 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45439 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45442 * string/test-strncmp.c (do_page_test): New function.
45443 (check2): Likewise.
45444 (test_main): Call check2.
45445 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45447 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45450 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45451 Handle cache information in CPU leaf 4.
45452 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45454 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45457 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45458 character representation.
45459 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45461 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45463 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45464 END(__isnan) to END(__isnanf) to match function entry point/label
45465 EALIGN(__isnanf,...).
45467 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45469 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45471 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45474 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45475 copy from the symbol referenced in the relocation to initialize the
45477 Patch by Piotr Bury <pbury@goahead.com>.
45478 * elf/Makefile: Add rules to build and tst-unique3.
45479 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45480 * elf/tst-unique3.cc: New file.
45481 * elf/tst-unique3.h: New file.
45482 * elf/tst-unique3lib.cc: New file.
45483 * elf/tst-unique3lib2.cc: New file.
45485 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45487 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45489 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45490 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45493 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45495 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45496 to-be-loaded object along a path to loader is ld.so.
45498 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45499 Ulrich Drepper <drepper@gmail.com>
45501 * sysdeps/x86_64/memset.S: After aligning destination, code
45502 branches to different locations depending on the value of
45503 misalignment, when multiarch is enabled. Fix this.
45505 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45507 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45508 Set _x86_64_preferred_memory_instruction for AMD processsors.
45509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45510 Set bit_Prefer_SSE_for_memop for AMD processors.
45512 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45514 * libio/fmemopen.c (fmemopen): Optimize a bit.
45516 2011-03-03 Andreas Schwab <schwab@redhat.com>
45518 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45520 2011-03-03 Roland McGrath <roland@redhat.com>
45522 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45524 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45526 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45527 __bzero_ultra1 instead of __memset_ultra1.
45529 2011-02-23 Andreas Schwab <schwab@redhat.com>
45530 Ulrich Drepper <drepper@gmail.com>
45533 * include/link.h (struct link_map): Add l_orig_initfini.
45534 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45535 returning unsuccessfully.
45536 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45537 close of a file loaded at startup, restore the original l_initfini
45539 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45540 list, store the pointer.
45541 * elf/Makefile ($(objpfx)noload-mem): New rule.
45542 (noload-ENV): Define.
45543 (tests): Add $(objpfx)noload-mem.
45544 * elf/noload.c: Include <memcheck.h>.
45545 (main): Call mtrace. Close all opened handles.
45547 2011-02-17 Andreas Schwab <schwab@redhat.com>
45550 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45551 dependencies are missing.
45553 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45555 Fix __if_freereq crash: Unlike the generic version which uses free,
45557 * sysdeps/mach/hurd/ifreq.h: New file.
45559 2011-01-27 Petr Baudis <pasky@suse.cz>
45560 Ulrich Drepper <drepper@gmail.com>
45563 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45564 to extend_alloca().
45565 * stdio-common/bug23.c: New file.
45566 * stdio-common/Makefile (tests): Add bug23.
45568 2010-09-28 Andreas Schwab <schwab@redhat.com>
45569 Ulrich Drepper <drepper@gmail.com>
45572 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45573 before performing relro protection. At old place add assertion
45574 to make sure nothing changed.
45576 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45577 Glauber de Oliveira Costa <glommer@gmail.com>
45579 * elf/elf.h: Add new ARM TLS relocs.
45581 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45584 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45586 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45588 * sysdeps/wordsize-64/tst-writev.c: New file.
45590 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45592 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45593 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45594 insns in _dl_start to prevent a TOC reference before relocs are
45597 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45600 * Makeconfig: Remove RANLIB definition.
45601 * Makerules: Don't use RANLIB.
45602 * aclocal.m4: Remove ranlib test.
45603 * configure.in: No need to check for ranlib.
45604 * elf/rtld-Rules: Don't use RANLIB.
45606 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45608 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45610 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45611 inclusion protection macro.
45613 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45614 SIGRTMIN and SIGRTMAX and print information in that case only when
45615 SIGRTMIN is defined.
45617 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45619 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45620 arginfo fn returning -1.
45622 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45623 and thousands string is zero terminated.
45625 2011-02-03 Andreas Schwab <schwab@redhat.com>
45627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45628 sysdeps/unix/sysv/linux/bits/socket.h.
45630 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45632 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45633 (__CPU_COUNT): Remove old macros.
45634 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45635 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45636 (__CPU_ALLOC, __CPU_FREE): Add macros.
45637 (__sched_cpualloc, __sched_cpufree): Add declarations.
45639 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45641 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45642 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45643 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45644 (readdhstai): Return value of addhstaiX call.
45645 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45646 (addgrbyX): Return value returned by cache_addgr.
45647 (readdgrbyname): Return value returned by addgrbyX.
45648 (readdgrbygid): Likewise.
45649 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45650 (addpwbyX): Return value returned by cache_addpw.
45651 (readdpwbyname): Return value returned by addhstbyX.
45652 (readdpwbyuid): Likewise.
45653 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45654 (addservbyX): Return value returned by cache_addserv.
45655 (readdservbyname): Return value returned by addservbyX:
45656 (readdservbyport): Likewise.
45657 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45658 (addhstbyX): Return value returned by cache_addhst.
45659 (readdhstbyname): Return value returned by addhstbyX.
45660 (readdhstbyaddr): Likewise.
45661 (readdhstbynamev6): Likewise.
45662 (readdhstbyaddrv6): Likewise.
45663 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45664 (readdinitgroups): Return value returned by addinitgroupsX.
45665 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45666 (prune_cache): Keep track of timeout value of re-added entries.
45667 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45668 * nscd/nscd.h: Adjust prototypes of readd* functions.
45670 2011-02-04 Roland McGrath <roland@redhat.com>
45672 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45673 (nis_stats): Likewise.
45674 * nis/nis_modify.c (nis_modify): Likewise.
45675 * nis/nis_remove.c (nis_remove): Likewise.
45676 * nis/nis_add.c (nis_add): Likewise.
45678 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45680 * posix/fnmatch_loop.c: Add some consts.
45682 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45684 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45687 * config.make.in (config-cflags-novzeroupper): Define.
45688 * configure.in: Substitute libc_cv_cc_novzeroupper.
45689 * elf/Makefile (AVX-CFLAGS): Define.
45690 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45691 (CFLAGS-tst-auditmod4a.c): Likewise.
45692 (CFLAGS-tst-auditmod4b.c): Likewise.
45693 (CFLAGS-tst-auditmod6b.c): Likewise.
45694 (CFLAGS-tst-auditmod6c.c): Likewise.
45695 (CFLAGS-tst-auditmod7b.c): Likewise.
45696 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45698 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45700 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45701 function to the callback.
45702 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45704 2011-02-02 Andreas Schwab <schwab@redhat.com>
45706 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45709 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45712 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45714 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45716 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45719 * elf/Makefile: Add rules to build and run new test.
45720 * elf/tst-initorder.c: New file.
45721 * elf/tst-initorder.exp: New file.
45722 * elf/tst-initordera1.c: New file.
45723 * elf/tst-initordera2.c: New file.
45724 * elf/tst-initordera3.c: New file.
45725 * elf/tst-initordera4.c: New file.
45726 * elf/tst-initorderb1.c: New file.
45727 * elf/tst-initorderb2.c: New file.
45728 * elf/tst-order-a1.c: New file.
45729 * elf/tst-order-a2.c: New file.
45730 * elf/tst-order-a3.c: New file.
45731 * elf/tst-order-a4.c: New file.
45732 * elf/tst-order-b1.c: New file.
45733 * elf/tst-order-b2.c: New file.
45734 * elf/tst-order-main.c: New file.
45735 New test case by George Gensure <werkt0@gmail.com>.
45737 2010-10-01 Andreas Schwab <schwab@redhat.com>
45739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45740 decoding ACE if AI_CANONIDN.
45742 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45744 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45746 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45748 * version.h (RELEASE): Bump for 2.13 release.
45749 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45751 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45753 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45755 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45756 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45757 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45758 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45759 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45760 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45762 * posix/getconf.c: Update copyright year.
45763 * catgets/gencat.c: Likewise.
45764 * csu/version.c: Likewise.
45765 * debug/catchsegv.sh: Likewise.
45766 * debug/xtrace.sh: Likewise.
45767 * elf/ldconfig.c: Likewise.
45768 * elf/ldd.bash.in: Likewise.
45769 * elf/sprof.c (print_version): Likewise.
45770 * iconv/iconv_prog.c: Likewise.
45771 * iconv/iconvconfig.c: Likewise.
45772 * locale/programs/locale.c: Likewise.
45773 * locale/programs/localedef.c: Likewise.
45774 * malloc/memusage.sh: Likewise.
45775 * malloc/mtrace.pl: Likewise.
45776 * nscd/nscd.c (print_version): Likewise.
45777 * nss/getent.c: Likewise.
45779 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45780 PF_CAIF, and PF_ALG.
45781 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45783 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45785 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45786 (modules-names): Use them.
45787 (ifunc-test-modules, ifunc-pie-tests): Define.
45788 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45789 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45790 (test-extras): Likewise.
45791 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45792 $(compile-command.c).
45793 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45794 (all-built-dso): Define.
45795 (check-textrel.out, check-execstack.out): Depend on it.
45797 * configure.in: Don't override --enable-multi-arch.
45799 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45802 * nscd/hstcache.c (tryagain): Define.
45803 (cache_addhst): Return tryagain not notfound for temporary errors.
45804 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45807 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45810 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45811 to make the syscall.
45812 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45815 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45816 and fall back to matching as normal character if the string ends before
45817 the matching ']' is found. This is what POSIX requires.
45818 * posix/testfnm.c: Adjust test result.
45819 * posix/globtest.sh: Adjust test result. Add new test.
45820 * posix/tst-fnmatch.input: Likewise.
45821 * posix/tst-fnmatch2.c: Add new test.
45823 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45825 * elf/Makefile (check-execstack): Revert last change. Depend on
45827 (check-execstack.h): New target.
45828 (generated): Add check-execstack.h.
45829 * elf/check-execstack.c: Include "check-execstack.h".
45830 (main): Revert last change.
45831 (handle_file): Return zero if GNU_STACK is absent and
45832 DEFAULT_STACK_PERMS doesn't include PF_X.
45834 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45836 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45837 in child fails because the descriptor is already closed.
45838 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45839 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45840 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45843 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45847 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45848 temporary buffer used to handle multi lookups locally.
45849 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45851 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45853 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45856 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45858 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45859 alignment for SSE2.
45861 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45864 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45865 characters. When rounding increased number of integer digits recompute
45867 * stdio-common/tst-grouping.c: New file.
45868 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45870 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45872 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45873 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45875 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45877 * bits/select.h: Likewise.
45879 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45881 * po/ja.po: Update from translation team.
45883 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45886 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45887 implementation just like for lxstat, fxstatat, et al.
45889 2010-12-27 Jim Meyering <meyering@redhat.com>
45892 * posix/regexec.c (build_trtable): Return failure indication upon
45893 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45895 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45898 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45899 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45900 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45901 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45904 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45907 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45908 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45910 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45912 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45913 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45914 script has SORT_BY_INIT_PRIORITY.
45915 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45916 NO_CTORS_DTORS_SECTIONS is defined.
45917 * elf/soinit.c: Likewise.
45918 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45919 NO_CTORS_DTORS_SECTIONS is defined.
45920 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45921 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45922 * sysdeps/sh/init-first.c: Likewise.
45923 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45925 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45927 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45928 always use the slow path.
45930 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45932 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45933 similar rule which adds the sysdep directories to the header search in
45934 order to pick up the correct platform stackinfo.h.
45935 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45936 perform test if it is, otherwise return successfully without testing.
45937 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45938 DEFAULT_STACK_PERMS define in stackinfo.h.
45939 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45940 defined in stackinfo.h.
45941 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45942 DEFAULT_STACK_PERMS defined in stackinfo.h.
45943 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45944 * sysdeps/ia64/stackinfo.h: Likewise.
45945 * sysdeps/s390/stackinfo.h: Likewise.
45946 * sysdeps/sh/stackinfo.h: Likewise.
45947 * sysdeps/sparc/stackinfo.h: Likewise.
45948 * sysdeps/x86_64/stackinfo.h: Likewise.
45949 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45950 PF_X for powerpc64. Retain PF_X for powerpc32.
45952 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45954 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45956 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45957 GETDENTS_64BIT_ALIGNED.
45959 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45961 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45963 2010-12-10 Andreas Schwab <schwab@redhat.com>
45965 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45968 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45969 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45971 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45972 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45974 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45977 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45980 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45982 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45984 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45986 * po/it.po: Update from translation team.
45988 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45993 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45995 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45997 2010-11-24 Andreas Schwab <schwab@redhat.com>
45999 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46001 (gaih_getanswer_slice): Likewise.
46003 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46007 2010-05-31 Petr Baudis <pasky@suse.cz>
46010 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46011 silently even in the chroot mode.
46013 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46015 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46016 last patch a bit. Pretty printing
46018 2010-05-31 Petr Baudis <pasky@suse.cz>
46021 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46022 initialization of skip_initgroups_dyn.
46024 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46026 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46027 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46029 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46031 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46033 2010-11-11 Andreas Schwab <schwab@redhat.com>
46035 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46036 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46037 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46038 ($(objpfx)tst-fnmatch-mem): New rule.
46039 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46040 * posix/tst-fnmatch.c (main): Call mtrace.
46042 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46045 Support Intel processor model 6 and model 0x2c.
46047 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46049 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46052 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46055 * string/test-strncasecmp.c (check_result): New function.
46056 (do_one_test): Use it.
46057 (check1): New function.
46058 (test_main): Use it.
46059 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46060 Support strcasecmp and strncasecmp.
46062 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46065 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46066 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46068 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46070 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46074 * sysdeps/x86_64/multiarch/bzero.S: New file.
46075 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46076 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46077 * sysdeps/x86_64/multiarch/memset.S: New file.
46078 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46080 Set bit_Prefer_SSE_for_memop for Intel processors.
46081 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46083 (index_Prefer_SSE_for_memop): Define.
46084 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46086 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46088 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46089 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46091 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46094 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46095 (__x86_64_raw_data_cache_size_half): Likewise.
46096 (__x86_64_raw_shared_cache_size): Likewise.
46097 (__x86_64_raw_shared_cache_size_half): Likewise.
46099 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46100 (__x86_64_raw_data_cache_size_half): Likewise.
46101 (__x86_64_raw_shared_cache_size): Likewise.
46102 (__x86_64_raw_shared_cache_size_half): Likewise.
46103 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46104 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46105 and __x86_64_raw_shared_cache_size_half. Round
46106 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46107 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46108 to multiple of 256 bytes.
46110 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46113 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46114 of inacessible symlinks. Verify result of symlink before returning it.
46115 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46116 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46118 2010-10-28 Erich Ritz <erichritz@gmail.com>
46120 * math/math.h (isinf): Fix typo in comment.
46122 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46124 * po/da.po: Update from translation team.
46126 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46128 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46129 is added to the list.
46131 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46132 Ulrich Drepper <drepper@gmail.com>
46134 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46135 the global list here. Move code to...
46136 (_dl_add_to_namespace_list): ...here. New function.
46137 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46138 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46139 * elf/dl-load.c (lose): Don't remove the element from the list.
46140 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46141 (_dl_map_object): Likewise.
46143 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46146 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46147 into all bytes of SSE register.
46148 Patch by Richard Li <richardpku@gmail.com>.
46150 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46153 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46156 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46158 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46159 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46160 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46161 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46166 2010-10-22 Andreas Schwab <schwab@redhat.com>
46168 * include/dlfcn.h (__RTLD_SECURE): Define.
46169 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46170 mode & __RTLD_SECURE instead.
46171 (open_path): Rename preloaded parameter to secure.
46172 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46173 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46174 * elf/dl-deps.c (openaux): Likewise.
46175 * elf/rtld.c (struct map_args): Remove is_preloaded.
46176 (map_doit): Don't use it.
46177 (dl_main): Likewise.
46178 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46179 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46181 2010-09-09 Andreas Schwab <schwab@redhat.com>
46183 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46184 (sysd-rules-targets): Remove duplicates.
46185 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46186 rtld-%.$o dependency.
46188 2010-10-18 Andreas Schwab <schwab@redhat.com>
46190 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46191 _dl_map_object do it.
46193 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46195 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46196 fast fma builtins, define the macros in the C99 standard.
46197 (FP_FAST_FMAF): Likewise.
46198 (FP_FAST_FMAL): Likewise.
46199 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46201 * bits/mathdef.h: Update copyright year.
46202 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46204 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46206 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46207 builtins, define the macros in the C99 standard.
46208 (FP_FAST_FMAF): Likewise.
46209 (FP_FAST_FMAL): Likewise.
46210 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46212 (FP_FAST_FMAF): Likewise.
46214 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46217 * math/libm-test.inc (fma_test): Some new testcases.
46218 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46219 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46220 y and infinite z. Do multiplication by C already in long double.
46221 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46222 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46223 y and infinite z. Do bitwise or of inexact bit into u.d.
46224 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46225 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46226 * sysdeps/i386/fpu/s_fma.S: Removed.
46227 * sysdeps/i386/fpu/s_fmal.S: Removed.
46229 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46232 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46233 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46234 computation is not scheduled after fetestexcept. Fix value
46235 of minimum denormal long double.
46237 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46240 * math/libm-test.inc (fma_test): Add some more tests.
46241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46244 2010-10-15 Andreas Schwab <schwab@redhat.com>
46246 * scripts/data/localplt-s390-linux-gnu.data: New file.
46247 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46249 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46252 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46253 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46255 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46257 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46259 if one of x and y is very large and the other is subnormal.
46260 * sysdeps/s390/fpu/s_fmaf.c: New file.
46261 * sysdeps/s390/fpu/s_fma.c: New file.
46262 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46263 * sysdeps/powerpc/fpu/s_fma.S: New file.
46264 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46265 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46266 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46268 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46271 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46273 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46274 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46275 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46276 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46277 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46278 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46279 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46281 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46284 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46285 * posix/bug-regex31.input: Add test case.
46287 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46289 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46290 * posix/bug-regex31.input: New file.
46293 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46294 (parse_sub_exp): Fix last change, use postorder.
46296 * posix/bug-regex31.c: New file.
46297 * posix/Makefile: Add rules to build and run bug-regex31.
46299 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46302 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46305 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46306 to have entries in sys_siglist.
46309 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46312 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46315 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46316 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46317 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46318 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46319 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46320 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46321 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46322 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46323 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46324 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46325 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46326 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46327 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46328 * math/ftestexcept.c (fetestexcept): Likewise.
46329 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46330 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46331 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46332 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46333 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46334 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46335 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46337 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46340 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46343 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46345 * string/bug-strstr1.c: New file.
46346 * string/Makefile: Add rules to build and run bug-strstr1.
46348 2010-10-05 Eric Blake <eblake@redhat.com>
46351 * string/str-two-way.h (two_way_long_needle): Always clear memory
46352 when skipping input due to the shift table.
46354 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46357 * malloc/mcheck.c: Handle large requests.
46360 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46361 for strncmp and strncasecmp.
46362 * string/stratcliff.c: Add tests for strcmp and strncmp.
46363 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46365 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46367 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46370 2010-09-30 Andreas Jaeger <aj@suse.de>
46372 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46373 (CGROUP_SUPER_MAGIC): Define.
46374 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46375 Handle btrfs and cgroup file systems.
46376 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46379 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46381 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46382 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46384 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46387 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46388 trying to locate the ELF header.
46390 2010-09-27 Andreas Schwab <schwab@redhat.com>
46393 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46394 Mask out sign-bit copies when constructing f_fsid.
46396 2010-09-24 Petr Baudis <pasky@suse.cz>
46398 * debug/stack_chk_fail_local.c: Add missing licence exception.
46399 * debug/warning-nop.c: Likewise.
46401 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46403 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46404 implementing getdents64 using getdents syscall, set d_type if
46405 __ASSUME_GETDENTS32_D_TYPE.
46407 2010-09-16 Andreas Schwab <schwab@redhat.com>
46409 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46410 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46412 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46415 * posix/unistd.h: Undo change of feature selection for ftruncate from
46418 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46420 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46423 2010-09-20 Andreas Schwab <schwab@redhat.com>
46425 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46427 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46429 2010-09-14 Andreas Schwab <schwab@redhat.com>
46431 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46432 variables after CHECK_SP call.
46433 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46435 2010-09-13 Andreas Schwab <schwab@redhat.com>
46436 Ulrich Drepper <drepper@redhat.com>
46438 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46439 re-relocationg ld.so.
46440 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46441 _dl_init_paths call.
46442 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46445 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46447 * resolv/res_init.c (__res_vinit): Count the default server we added.
46449 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46450 Ulrich Drepper <drepper@redhat.com>
46453 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46454 (____longjmp_chk): Use %ebx for saving value across system call.
46457 2010-09-06 Andreas Schwab <schwab@redhat.com>
46459 * manual/Makefile: Don't mix pattern rules with normal rules.
46461 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46463 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46465 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46466 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46467 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46468 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46469 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46472 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46475 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46476 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46478 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46480 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46481 * sysdeps/x86_64/addmul_1.S: Likewise.
46482 * sysdeps/x86_64/lshift.S: Likewise.
46483 * sysdeps/x86_64/mul_1.S: Likewise.
46484 * sysdeps/x86_64/rshift.S: Likewise.
46485 * sysdeps/x86_64/sub_n.S: Likewise.
46486 * sysdeps/x86_64/submul_1.S: Likewise.
46488 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46490 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46491 Define __sched_param instead of SCHED_* and sched_param when
46492 <bits/sched.h> is included with __need_schedparam defined.
46493 * bits/sched.h [__need_schedparam]
46494 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46495 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46496 (__defined_schedparam): Define to 1.
46497 (__sched_param): New structure, identical to sched_param.
46498 (__need_schedparam): Undefine.
46500 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46502 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46503 (epoll_create1): Declare.
46505 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46507 2010-08-31 Andreas Schwab <schwab@redhat.com>
46510 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46511 shifting retval into place.
46513 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46515 * nis/rpcsvc/nis.h: Update copyright notice.
46516 * nis/rpcsvc/nis.x: Likewise.
46517 * nis/rpcsvc/nis_callback.h: Likewise.
46518 * nis/rpcsvc/nis_callback.x: Likewise.
46519 * nis/rpcsvc/nis_object.x: Likewise.
46520 * nis/rpcsvc/nis_tags.h: Likewise.
46521 * nis/rpcsvc/yp.h: Likewise.
46522 * nis/rpcsvc/yp.x: Likewise.
46523 * nis/rpcsvc/ypupd.h: Likewise.
46524 * nis/yp_xdr.c: Likewise.
46525 * nis/ypupdate_xdr.c: Likewise.
46527 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46528 mainly the body of pmap_getport. Add parameters to specify timeouts.
46529 (pmap_getport): Use __libc_rpc_getport.
46530 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46531 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46532 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46534 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46539 2010-08-27 Roland McGrath <roland@redhat.com>
46541 * sysdeps/i386/i686/multiarch/Makefile
46542 (CFLAGS-varshift.c): New variable.
46544 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46546 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46547 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46549 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46551 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46553 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46555 * sysdeps/x86_64/strlen.S: Unroll the loop.
46556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46557 strlen-sse2 strlen-sse2-bsf.
46558 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46559 __strlen_no_bsf if bit_Slow_BSF is set.
46560 (__strlen_sse42): Removed.
46561 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46562 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46564 2010-08-25 Roland McGrath <roland@redhat.com>
46566 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46567 * sysdeps/x86_64/multiarch/varshift.c: New file.
46568 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46569 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46570 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46571 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46573 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46576 strlen-sse2 strlen-sse2-bsf.
46577 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46578 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46579 (__strlen_sse2): Removed.
46580 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46581 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46583 bit_Slow_BSF for Atom.
46584 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46585 (index_Slow_BSF): Define.
46586 (HAS_SLOW_BSF): Define.
46588 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46591 * resolv/res_init.c (__res_vinit): When no server address at all
46592 is given default to loopback.
46594 2010-08-24 Roland McGrath <roland@redhat.com>
46596 * configure.in: Remove config-name.h generation.
46597 * configure: Regenerated.
46598 * config-name.in: File removed.
46599 * scripts/config-uname.sh: New file.
46600 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46601 ($(objdir)config-name.h): New target.
46603 * sunrpc/rpc_parse.h: Avoid nested comment.
46605 2010-08-24 Richard Henderson <rth@redhat.com>
46606 Ulrich Drepper <drepper@redhat.com>
46607 H.J. Lu <hongjiu.lu@intel.com>
46609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46611 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46612 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46613 _mm_alignr_epi8 with _mm_loadu_si128.
46614 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46615 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46616 (__m128i_shift_right): Removed.
46617 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46618 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46619 * sysdeps/x86_64/multiarch/varshift.h: New file.
46620 * sysdeps/x86_64/multiarch/varshift.S: New file.
46622 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46624 * configure.in: Move assembler checks to before sysdep dir checking.
46626 2010-08-20 Petr Baudis <pasky@suse.cz>
46628 * LICENSES: Sync the sunrpc license.
46630 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46632 * sunrpc/auth_des.c: Update copyright notice once again.
46633 * sunrpc/auth_none.c: Likewise.
46634 * sunrpc/auth_unix.c: Likewise.
46635 * sunrpc/authdes_prot.c: Likewise.
46636 * sunrpc/authuxprot.c: Likewise.
46637 * sunrpc/bindrsvprt.c: Likewise.
46638 * sunrpc/clnt_gen.c: Likewise.
46639 * sunrpc/clnt_perr.c: Likewise.
46640 * sunrpc/clnt_raw.c: Likewise.
46641 * sunrpc/clnt_simp.c: Likewise.
46642 * sunrpc/clnt_tcp.c: Likewise.
46643 * sunrpc/clnt_udp.c: Likewise.
46644 * sunrpc/clnt_unix.c: Likewise.
46645 * sunrpc/des_crypt.c: Likewise.
46646 * sunrpc/des_soft.c: Likewise.
46647 * sunrpc/get_myaddr.c: Likewise.
46648 * sunrpc/getrpcport.c: Likewise.
46649 * sunrpc/key_call.c: Likewise.
46650 * sunrpc/key_prot.c: Likewise.
46651 * sunrpc/openchild.c: Likewise.
46652 * sunrpc/pm_getmaps.c: Likewise.
46653 * sunrpc/pm_getport.c: Likewise.
46654 * sunrpc/pmap_clnt.c: Likewise.
46655 * sunrpc/pmap_prot.c: Likewise.
46656 * sunrpc/pmap_prot2.c: Likewise.
46657 * sunrpc/pmap_rmt.c: Likewise.
46658 * sunrpc/rpc/auth.h: Likewise.
46659 * sunrpc/rpc/auth_unix.h: Likewise.
46660 * sunrpc/rpc/clnt.h: Likewise.
46661 * sunrpc/rpc/des_crypt.h: Likewise.
46662 * sunrpc/rpc/key_prot.h: Likewise.
46663 * sunrpc/rpc/netdb.h: Likewise.
46664 * sunrpc/rpc/pmap_clnt.h: Likewise.
46665 * sunrpc/rpc/pmap_prot.h: Likewise.
46666 * sunrpc/rpc/pmap_rmt.h: Likewise.
46667 * sunrpc/rpc/rpc.h: Likewise.
46668 * sunrpc/rpc/rpc_des.h: Likewise.
46669 * sunrpc/rpc/rpc_msg.h: Likewise.
46670 * sunrpc/rpc/svc.h: Likewise.
46671 * sunrpc/rpc/svc_auth.h: Likewise.
46672 * sunrpc/rpc/types.h: Likewise.
46673 * sunrpc/rpc/xdr.h: Likewise.
46674 * sunrpc/rpc_clntout.c: Likewise.
46675 * sunrpc/rpc_cmsg.c: Likewise.
46676 * sunrpc/rpc_common.c: Likewise.
46677 * sunrpc/rpc_cout.c: Likewise.
46678 * sunrpc/rpc_dtable.c: Likewise.
46679 * sunrpc/rpc_hout.c: Likewise.
46680 * sunrpc/rpc_main.c: Likewise.
46681 * sunrpc/rpc_parse.c: Likewise.
46682 * sunrpc/rpc_parse.h: Likewise.
46683 * sunrpc/rpc_prot.c: Likewise.
46684 * sunrpc/rpc_sample.c: Likewise.
46685 * sunrpc/rpc_scan.c: Likewise.
46686 * sunrpc/rpc_scan.h: Likewise.
46687 * sunrpc/rpc_svcout.c: Likewise.
46688 * sunrpc/rpc_tblout.c: Likewise.
46689 * sunrpc/rpc_util.c: Likewise.
46690 * sunrpc/rpc_util.h: Likewise.
46691 * sunrpc/rpcinfo.c: Likewise.
46692 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46693 * sunrpc/rpcsvc/key_prot.x: Likewise.
46694 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46695 * sunrpc/rpcsvc/mount.x: Likewise.
46696 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46697 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46698 * sunrpc/rpcsvc/rex.x: Likewise.
46699 * sunrpc/rpcsvc/rstat.x: Likewise.
46700 * sunrpc/rpcsvc/rusers.x: Likewise.
46701 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46702 * sunrpc/rpcsvc/spray.x: Likewise.
46703 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46704 * sunrpc/rtime.c: Likewise.
46705 * sunrpc/svc.c: Likewise.
46706 * sunrpc/svc_auth.c: Likewise.
46707 * sunrpc/svc_authux.c: Likewise.
46708 * sunrpc/svc_raw.c: Likewise.
46709 * sunrpc/svc_run.c: Likewise.
46710 * sunrpc/svc_simple.c: Likewise.
46711 * sunrpc/svc_tcp.c: Likewise.
46712 * sunrpc/svc_udp.c: Likewise.
46713 * sunrpc/svc_unix.c: Likewise.
46714 * sunrpc/svcauth_des.c: Likewise.
46715 * sunrpc/xcrypt.c: Likewise.
46716 * sunrpc/xdr.c: Likewise.
46717 * sunrpc/xdr_array.c: Likewise.
46718 * sunrpc/xdr_float.c: Likewise.
46719 * sunrpc/xdr_mem.c: Likewise.
46720 * sunrpc/xdr_rec.c: Likewise.
46721 * sunrpc/xdr_ref.c: Likewise.
46722 * sunrpc/xdr_sizeof.c: Likewise.
46723 * sunrpc/xdr_stdio.c: Likewise.
46725 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46728 2010-08-19 Andreas Schwab <schwab@redhat.com>
46730 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46732 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46734 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46735 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46736 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46737 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46738 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46739 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46740 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46741 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46742 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46743 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46744 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46745 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46746 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46747 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46749 2010-07-26 Anton Blanchard <anton@samba.org>
46751 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46752 * malloc/arena.c (heap_trim): Likewise.
46754 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46756 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46758 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46759 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46761 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46763 * sysdeps/i386/elf/Makefile: New file.
46765 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46767 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46768 from fanotify_init.
46769 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46772 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46774 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46776 * sysdeps/multiarch/strcmp.S: Likewise.
46778 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46780 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46781 strncase_l-nonascii.
46782 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46783 Add strncase_l-ssse3.
46784 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46785 * sysdeps/x86_64/strcmp.S: Likewise.
46786 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46787 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46788 * sysdeps/x86_64/strncase.S: New file.
46789 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46790 * sysdeps/x86_64/strncase_l.S: New file.
46791 * string/Makefile (strop-tests): Add strncasecmp.
46792 * string/test-strncasecmp.c: New file.
46794 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46797 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46798 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46800 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46802 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46804 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46806 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46807 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46808 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46810 2010-05-01 Alan Modra <amodra@gmail.com>
46812 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46813 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46814 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46815 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46816 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46817 tidying. Don't tail-call __sigjmp_save for static lib.
46818 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46820 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46821 (CALL_MCOUNT): Add eh info, and nop after bl.
46822 (TAIL_CALL_SYSCALL_ERROR): New macro.
46823 (PSEUDO_RET): Use it.
46824 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46825 Correct save location of integer regs and cr.
46826 (_dl_profile_resolve): Correct cr save location. Delete nops
46827 after bl when SHARED. Reduce cfi size a little by better
46828 placement of cfi directives.
46829 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46830 make a stack frame. Instead use parm save area as a temp.
46831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46832 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46834 Don't make a stack frame for parent, use parm save area.
46835 Increase child stack frame to 112 bytes. Don't save unused reg,
46836 and adjust reg usage. Set up cfi on error recovery and
46837 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46839 (__makecontext): Add dummy nop after jump to exit.
46840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46841 Use correct parm save area and cr save, reduce stack frame.
46842 Correct cfi for possible PSEUDO_RET frame setup.
46843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46844 Branch to local label emitted by PSEUDO_RET rather than
46847 2010-08-12 Andreas Schwab <schwab@redhat.com>
46850 * locale/programs/locale.c (print_assignment): New function.
46851 (show_locale_vars): Use it.
46853 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46855 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46857 (struct statfs64): Likewise.
46858 (_STATFS_F_FLAGS): Define.
46859 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46860 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46861 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46862 (ST_VALID): Define locally.
46863 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46864 __statvfs_getflags, use the provided value.
46865 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46866 __ASSUME_STATFS_F_FLAGS.
46868 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46870 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46871 Add sys/fanotify.h.
46872 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46873 fanotify_mask for GLIBC_2.13.
46874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46875 fanotify_init and fanotify_mark.
46876 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46877 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46879 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46881 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46882 prlimit64 for GLIBC_2.13.
46883 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46885 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46888 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46889 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46890 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46891 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46893 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46896 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46897 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46899 * nss/Makefile: Add rules to build and run tst-nss-test1.
46900 * shlib-versions: Add entry for libnss_test1.
46901 * nss/nss_test1.c: New file.
46902 * nss/tst-nss-test1.c: New file.
46904 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46905 (__nss_configure_lookup): Set appropriate entry in
46906 __nss_configure_lookup to true.
46907 * nss/nsswitch.h: Define enum with indeces of databases in
46908 databases and __nss_database_custom arrays. Declare
46909 __nss_database_custom.
46910 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46911 to avoid using nscd when custom rules are installed.
46912 * nss/getXXbyYY_r.c: Likewise.
46913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46915 * nss/nss_files/files-parse.c: Whitespace fixes.
46917 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46920 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46921 * posix/fnmatch_loop.c: Likewise.
46923 2010-07-17 Andi Kleen <ak@linux.intel.com>
46925 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46926 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46927 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46928 * Versions.def [GLIBC_2.13]: Add.
46930 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46932 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46933 Also fail if tpwd after pwuid call is NULL.
46935 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46937 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46938 when converting to ms.
46940 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46942 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46943 EOPNOTSUPP errors with ENOTTY.
46944 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46945 EOPNOTSUPP errors with ENOTTY.
46947 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46949 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46950 Add strcasecmp_l-ssse3.
46951 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46953 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46954 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46955 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46957 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46959 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46961 * string/Makefile (strop-tests): Add strcasecmp.
46962 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46963 strcasecmp_l-nonascii.
46964 (gen-as-const-headers): Add locale-defines.sym.
46965 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46966 * sysdeps/x86_64/strcasecmp.S: New file.
46967 * sysdeps/x86_64/strcasecmp_l.S: New file.
46968 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46969 * sysdeps/x86_64/locale-defines.sym: New file.
46970 * string/test-strcasecmp.c: New file.
46972 * string/test-strcasestr.c: Test both ends of the range of characters.
46973 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46975 2010-07-29 Roland McGrath <roland@redhat.com>
46978 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46980 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46982 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46985 2010-07-27 Andreas Schwab <schwab@redhat.com>
46987 * manual/memory.texi (Malloc Tunable Parameters): Document
46990 2010-07-26 Roland McGrath <roland@redhat.com>
46993 * configure.in (-fgnu89-inline check): Set and substitute
46994 gnu89_inline, not libc_cv_gnu89_inline.
46995 * configure: Regenerated.
46996 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46998 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47000 * string/test-strnlen.c: New file.
47001 * string/Makefile (strop-tests): Add strnlen.
47002 * string/tester.c (test_strnlen): Add a few more test cases.
47003 * string/tst-strlen.c: Better error reporting.
47005 * sysdeps/x86_64/strnlen.S: New file.
47007 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47009 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47010 lower-latency instructions.
47012 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47014 * string/test-strcasestr.c: New file.
47015 * string/test-strstr.c: New file.
47016 * string/Makefile (strop-tests): Add strstr and strcasestr.
47017 * string/str-two-way.h: Don't undefine MAX.
47018 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47020 2010-07-21 Andreas Schwab <schwab@redhat.com>
47022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47023 strcasestr-nonascii.
47024 (CFLAGS-strcasestr-nonascii.c): Define.
47025 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47026 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47027 Remove unused attribute.
47029 2010-07-20 Roland McGrath <roland@redhat.com>
47031 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47032 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47033 ld.so.cache was broken. With it, there is no way to disable dsocaps
47034 like LD_HWCAP_MASK can disable hwcaps.
47036 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47038 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47040 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47042 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47043 call in strcasestr.
47044 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47045 __strcasestr_sse42_nonascii.
47046 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47047 strcasestr-nonascii.c.
47048 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47050 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47052 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47053 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47054 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47055 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47057 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47059 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47062 2010-07-06 Andreas Schwab <schwab@redhat.com>
47065 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47068 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47070 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47071 _PC_PIPE_BUF using F_GETPIPE_SZ.
47073 2010-07-05 Roland McGrath <roland@redhat.com>
47075 * manual/arith.texi (Rounding Functions): Fix rint description
47076 implicit in round description.
47078 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47080 * elf/Makefile: Fix linking for a few tests to make recent linker
47083 2010-06-30 Andreas Schwab <schwab@redhat.com>
47085 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47086 $(common-objpfx)libc_nonshared.a.
47088 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47090 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47091 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47092 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47093 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47094 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47095 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47096 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47097 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47112 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47113 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47114 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47115 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47116 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47117 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47118 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47119 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47120 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47121 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47122 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47123 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47139 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47141 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47142 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47143 * string/memmove.c (memmove): Renamed to ...
47144 (MEMMOVE): ...this. Default to memmove.
47145 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47146 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47149 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47150 mempcpy-ssse3-back memmove-ssse3-back.
47151 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47152 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47153 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47154 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47155 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47156 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47157 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47158 * sysdeps/x86_64/multiarch/memmove.c: New file.
47159 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47160 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47161 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47162 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47163 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47164 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47166 (index_Fast_Copy_Backward): Define.
47167 (HAS_ARCH_FEATURE): Define.
47168 (HAS_FAST_REP_STRING): Define.
47169 (HAS_FAST_COPY_BACKWARD): Define.
47171 2010-06-21 Andreas Schwab <schwab@redhat.com>
47173 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47174 Restore proper fallback handling.
47176 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47179 * posix/group_member.c (__group_member): Correct checking loop.
47181 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47182 OOM in getpwuid_r correctly. Return error number when the caller
47183 should return, otherwise -1.
47184 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47185 call returning > 0 value.
47186 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47188 2010-06-07 Andreas Schwab <schwab@redhat.com>
47190 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47191 libc_nonshared.a from targets in modules-names.
47193 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47195 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47198 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47200 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47201 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47202 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47203 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47205 2010-06-02 Andreas Schwab <schwab@redhat.com>
47207 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47209 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47211 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47213 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47214 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47217 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47218 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47220 2010-06-14 Roland McGrath <roland@redhat.com>
47222 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47224 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47226 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47227 __REDIRECT followed by __THROW.
47228 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47229 * posix/getopt.h (getopt): Likewise.
47231 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47233 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47234 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47235 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47237 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47238 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47240 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47242 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47244 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47248 Properly check family and model.
47250 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47252 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47254 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47256 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47258 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47260 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47263 2010-05-19 Andreas Schwab <schwab@redhat.com>
47265 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47268 2010-05-21 Andreas Schwab <schwab@redhat.com>
47270 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47271 and internal_recvmmsg.
47272 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47273 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47274 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47275 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47277 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47278 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47279 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47281 2010-05-20 Andreas Schwab <schwab@redhat.com>
47283 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47285 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47287 POWER7 optimizations.
47288 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47289 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47291 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47293 * version.h: Update for 2.13 development version.
47295 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47297 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47298 exceptions. Return 0.
47300 2010-05-07 Roland McGrath <roland@redhat.com>
47302 * elf/ldconfig.c (main): Add a const.
47304 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47306 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47307 (args_options): Add no-idn option.
47308 (ahosts_keys_int): Add idn_flags to ai_flags.
47309 (parse_option): Handle 'i' option to clear idn_flags.
47311 * malloc/malloc.c (_int_free): Possible race in the most recently
47312 added check. Only act on the data if no current modification
47315 See ChangeLog.17 for earlier changes.